Skip to content

fix: read version from root package.json in installer#837

Closed
bmadcode wants to merge 1 commit intoV4from
fix/v4-installer-version
Closed

fix: read version from root package.json in installer#837
bmadcode wants to merge 1 commit intoV4from
fix/v4-installer-version

Conversation

@bmadcode
Copy link
Copy Markdown
Collaborator

Summary

  • Fixed hardcoded version in installer that was showing 4.43.0 instead of 4.44.2
  • Updated tools/installer/bin/bmad.js to always read version from root package.json
  • Synced tools/installer/package.json to match root version (4.44.2)

Problem

When running npx bmad-method@latest install, the installer was displaying version 4.43.0 even though 4.44.2 was published. This was due to:

  1. tools/installer/bin/bmad.js reading from tools/installer/package.json
  2. tools/installer/package.json having a hardcoded version (4.43.0)

Solution

Updated the version loading logic to always read from the root package.json, ensuring the displayed version matches the published version.

Test plan

  • Tested node tools/installer/bin/bmad.js --version - now shows 4.44.2
  • Code reads from root package.json correctly
  • Lint checks pass

Related to

  • Similar fix was also made in v6 branch for manifest-generator.js

@bmadcode bmadcode closed this Nov 5, 2025
@bmadcode bmadcode deleted the fix/v4-installer-version branch November 5, 2025 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant