diff --git a/components/settings-dialog.tsx b/components/settings-dialog.tsx index 17bcde5..b2ba8b7 100644 --- a/components/settings-dialog.tsx +++ b/components/settings-dialog.tsx @@ -452,6 +452,11 @@ export function SettingsDialog({ /> +
+

+ Version {process.env.APP_VERSION} +

+
) diff --git a/next.config.ts b/next.config.ts index 8c0356a..a9579a2 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,8 +1,12 @@ import type { NextConfig } from "next" +import packageJson from "./package.json" const nextConfig: NextConfig = { /* config options here */ output: "standalone", + env: { + APP_VERSION: packageJson.version, + }, } export default nextConfig