manifest version comes from package

This commit is contained in:
Brian Madison 2025-10-29 20:04:04 -05:00
parent d6036e18dd
commit 519e2f3d59
2 changed files with 6 additions and 2 deletions

3
package-lock.json generated
View File

@ -27,7 +27,8 @@
"xml2js": "^0.6.2" "xml2js": "^0.6.2"
}, },
"bin": { "bin": {
"bmad": "tools/cli/bmad-cli.js" "bmad": "tools/bmad-npx-wrapper.js",
"bmad-method": "tools/bmad-npx-wrapper.js"
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.33.0", "@eslint/js": "^9.33.0",

View File

@ -4,6 +4,9 @@ const yaml = require('js-yaml');
const crypto = require('node:crypto'); const crypto = require('node:crypto');
const { getSourcePath, getModulePath } = require('../../../lib/project-root'); const { getSourcePath, getModulePath } = require('../../../lib/project-root');
// Load package.json for version info
const packageJson = require('../../../../../package.json');
/** /**
* Generates manifest files for installed workflows, agents, and tasks * Generates manifest files for installed workflows, agents, and tasks
*/ */
@ -451,7 +454,7 @@ class ManifestGenerator {
const manifest = { const manifest = {
installation: { installation: {
version: '6.0.0-alpha.0', version: packageJson.version,
installDate: new Date().toISOString(), installDate: new Date().toISOString(),
lastUpdated: new Date().toISOString(), lastUpdated: new Date().toISOString(),
}, },