diff --git a/package.json b/package.json index c370c34..6dc88e3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "private": true, + "version": "2.0.1", "scripts": { "build": "nitro build", "dev": "nitro dev", diff --git a/server/utils/config.ts b/server/utils/config.ts index 3bb4667..7684a90 100644 --- a/server/utils/config.ts +++ b/server/utils/config.ts @@ -1 +1,3 @@ -export const version = '2.0.0'; +import { version } from '../../package.json'; + +export { version };