bmad-fh 6.0.0-alpha.23.96db56c9 → 6.0.0-alpha.23.bac0a3f0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/{publish-multi-artifact.yaml → publish.yaml} +19 -5
- package/.husky/pre-push +49 -0
- package/README.md +117 -14
- package/package.json +1 -2
- package/src/core/lib/scope/scope-manager.js +37 -4
- package/test/test-scope-cli.js +1306 -0
- package/test/test-scope-e2e.js +618 -17
- package/test/test-scope-system.js +907 -97
- package/tools/cli/bmad-cli.js +5 -0
- package/tools/cli/commands/scope.js +1178 -43
- package/tools/cli/installers/lib/modules/manager.js +4 -0
|
@@ -416,6 +416,8 @@ class ModuleManager {
|
|
|
416
416
|
if (needsDependencyInstall || wasNewClone || nodeModulesMissing) {
|
|
417
417
|
const installSpinner = ora(`Installing dependencies for ${moduleInfo.name}...`).start();
|
|
418
418
|
try {
|
|
419
|
+
// Remove lockfile first - it may reference devDeps that don't exist
|
|
420
|
+
execSync('rm -f package-lock.json', { cwd: moduleCacheDir, stdio: 'pipe' });
|
|
419
421
|
execSync('npm install --omit=dev --ignore-scripts --no-package-lock --no-audit --no-fund --prefer-offline --no-progress', {
|
|
420
422
|
cwd: moduleCacheDir,
|
|
421
423
|
stdio: 'pipe',
|
|
@@ -441,6 +443,8 @@ class ModuleManager {
|
|
|
441
443
|
if (packageJsonNewer) {
|
|
442
444
|
const installSpinner = ora(`Installing dependencies for ${moduleInfo.name}...`).start();
|
|
443
445
|
try {
|
|
446
|
+
// Remove lockfile first - it may reference devDeps that don't exist
|
|
447
|
+
execSync('rm -f package-lock.json', { cwd: moduleCacheDir, stdio: 'pipe' });
|
|
444
448
|
execSync('npm install --omit=dev --ignore-scripts --no-package-lock --no-audit --no-fund --prefer-offline --no-progress', {
|
|
445
449
|
cwd: moduleCacheDir,
|
|
446
450
|
stdio: 'pipe',
|