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"
},
"bin": {
"bmad": "tools/cli/bmad-cli.js"
"bmad": "tools/bmad-npx-wrapper.js",
"bmad-method": "tools/bmad-npx-wrapper.js"
},
"devDependencies": {
"@eslint/js": "^9.33.0",

View File

@ -4,6 +4,9 @@ const yaml = require('js-yaml');
const crypto = require('node:crypto');
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
*/
@ -451,7 +454,7 @@ class ManifestGenerator {
const manifest = {
installation: {
version: '6.0.0-alpha.0',
version: packageJson.version,
installDate: new Date().toISOString(),
lastUpdated: new Date().toISOString(),
},