🐛 Fix cli package json after ts build change (#4957)

* fix cli package json after ts build change

* release ntoes
This commit is contained in:
Michael Clark
2025-05-07 09:06:09 +01:00
committed by GitHub
parent 8878f36eaf
commit e30735104e
3 changed files with 7 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ if (values.help) {
if (values.version) {
const __dirname = dirname(fileURLToPath(import.meta.url));
const packageJsonPath = resolve(__dirname, '../package.json');
const packageJsonPath = resolve(__dirname, '../../package.json');
const packageJson = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
console.log('v' + packageJson.version);

View File

@@ -9,7 +9,6 @@
"type": "module",
"files": [
"build",
"default-db.sqlite",
"README.md",
"LICENSE"
],

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MikesGlitch]
---
Fix cli tool version after server typescript update