mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-17 17:55:34 +00:00
manifest version comes from package
This commit is contained in:
parent
d6036e18dd
commit
519e2f3d59
3
package-lock.json
generated
3
package-lock.json
generated
@ -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",
|
||||||
|
|||||||
@ -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(),
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user