Add version info display to Settings page and enable JSON module resolution in TypeScript config

This commit is contained in:
2025-11-27 21:38:29 +01:00
parent 3f66182484
commit 56892db6ee
2 changed files with 7 additions and 0 deletions

View File

@@ -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>
);

View File

@@ -9,6 +9,7 @@
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,