Skip to content

fix: report package version in CLI - #3

Merged
v-liuxingan merged 1 commit into
mainfrom
fix/cli-version-from-package
Jul 7, 2026
Merged

fix: report package version in CLI#3
v-liuxingan merged 1 commit into
mainfrom
fix/cli-version-from-package

Conversation

@v-liuxingan

Copy link
Copy Markdown
Owner

Summary

  • read the CLI version from package.json instead of the hardcoded 1.0.0 value
  • add an e2e assertion that learn --version matches package.json

Verification

  • npm run verify
  • downloaded the v0.1.0-alpha.1 release asset and confirmed SHA-256 10ba7cafb2e5c6abbe9b6efaf64471be0746f800266589167957a9a32e1ec947
  • installed the release asset into an isolated npm prefix; confirmed the existing asset runs, but currently reports 1.0.0 before this fix

@v-liuxingan
v-liuxingan merged commit b22233d into main Jul 7, 2026
6 checks passed
@v-liuxingan
v-liuxingan deleted the fix/cli-version-from-package branch July 7, 2026 15:15
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