mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-06-04 01:31:13 +02:00
Add version info display to Settings page and enable JSON module resolution in TypeScript config
This commit is contained in:
@@ -7,6 +7,7 @@ import { RelayListManager } from '@/components/RelayListManager';
|
||||
import { useTheme } from '@/hooks/useTheme';
|
||||
import { useAppContext } from '@/hooks/useAppContext';
|
||||
import { Moon, Sun, LayoutGrid } from 'lucide-react';
|
||||
import packageJson from '../../package.json';
|
||||
|
||||
export function Settings() {
|
||||
const { theme, setTheme } = useTheme();
|
||||
@@ -94,6 +95,11 @@ export function Settings() {
|
||||
<RelayListManager />
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
{/* Version Info */}
|
||||
<div className="text-center text-sm text-muted-foreground py-4">
|
||||
Version {packageJson.version}
|
||||
</div>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"moduleDetection": "force",
|
||||
"noEmit": true,
|
||||
|
||||
Reference in New Issue
Block a user