Skip to content

fix: dynamically resolve CLI and template version from package.json#146

Merged
QuantGeekDev merged 1 commit intomainfrom
fix/117-cli-outdated-version
Apr 1, 2026
Merged

fix: dynamically resolve CLI and template version from package.json#146
QuantGeekDev merged 1 commit intomainfrom
fix/117-cli-outdated-version

Conversation

@QuantGeekDev
Copy link
Copy Markdown
Owner

Summary

  • Replaces hardcoded 0.2.2 version strings in src/cli/index.ts and src/cli/project/create.ts with dynamic reads from the framework's package.json
  • The CLI now reports the correct version and mcp create generates projects with the current framework version as a dependency
  • Adds unit tests verifying no hardcoded versions remain

Test plan

  • 3 new tests pass in tests/cli/cli-version.test.ts
  • Run mcp create test-project and verify package.json has current version
  • Run mcp --version and verify it matches package.json

Closes #117

🤖 Generated with Claude Code

Closes #117

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

outdated mcp-framework version on mcp create command

1 participant