fix: rollback version from 5.0.0 to 4.3.0 and improve lint-staged config

- Reset both package.json files to version 4.3.0
- The v5.0.0 bump was accidental due to BREAKING CHANGE in commit message
- Enhanced lint-staged to check all YAML files in project including .bmad-core/
- This ensures husky catches YAML formatting issues before push

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Brian Madison
2025-06-15 14:30:20 -05:00
parent fbc3444240
commit 39e6db82b1
2 changed files with 10 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "bmad-method", "name": "bmad-method",
"version": "5.0.0", "version": "4.3.0",
"description": "Breakthrough Method of Agile AI-driven Development", "description": "Breakthrough Method of Agile AI-driven Development",
"main": "tools/cli.js", "main": "tools/cli.js",
"bin": { "bin": {
@@ -60,14 +60,20 @@
"yaml-lint": "^1.7.0" "yaml-lint": "^1.7.0"
}, },
"lint-staged": { "lint-staged": {
"*.{yml,yaml}": [ "**/*.{yml,yaml}": [
"node tools/yaml-format.js" "node tools/yaml-format.js"
], ],
"*.md": [ "**/*.md": [
"node tools/yaml-format.js" "node tools/yaml-format.js"
], ],
".roomodes": [ ".roomodes": [
"node tools/yaml-format.js" "node tools/yaml-format.js"
],
".bmad-core/**/*.yml": [
"node tools/yaml-format.js"
],
".github/**/*.yml": [
"node tools/yaml-format.js"
] ]
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "bmad-method", "name": "bmad-method",
"version": "5.0.0", "version": "4.3.0",
"description": "BMAD Method installer - AI-powered Agile development framework", "description": "BMAD Method installer - AI-powered Agile development framework",
"main": "lib/installer.js", "main": "lib/installer.js",
"bin": { "bin": {