Skip to content

fix: read CLI version from package.json instead of hardcoded value#61

Merged
southpolesteve merged 1 commit intomainfrom
fix/cli-version-clean
Feb 25, 2026
Merged

fix: read CLI version from package.json instead of hardcoded value#61
southpolesteve merged 1 commit intomainfrom
fix/cli-version-clean

Conversation

@southpolesteve
Copy link
Copy Markdown
Collaborator

Summary

  • The CLI help and --version output was hardcoded to v0.0.1 — now reads from package.json at runtime so it always matches the published version.

Note: for users installing from npm this works immediately (the published tarball has the correct version in package.json). For the git repo to stay in sync, we'll need a separate PR to wire up the version commit-back in the publish workflow.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Feb 25, 2026

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/vinext@61

commit: 2a58ee9

@github-actions
Copy link
Copy Markdown

Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original

@southpolesteve southpolesteve enabled auto-merge (squash) February 25, 2026 16:12
@southpolesteve southpolesteve merged commit c0acaa6 into main Feb 25, 2026
24 checks passed
@southpolesteve southpolesteve deleted the fix/cli-version-clean branch February 25, 2026 16:14
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