mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #61] [MERGED] fix: read CLI version from package.json instead of hardcoded value #280
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#280
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/61
Author: @southpolesteve
Created: 2/25/2026
Status: ✅ Merged
Merged: 2/25/2026
Merged by: @southpolesteve
Base:
main← Head:fix/cli-version-clean📝 Commits (1)
2a58ee9fix: read CLI version from package.json instead of hardcoded value📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
packages/vinext/src/cli.ts(+3 -1)📄 Description
Summary
--versionoutput was hardcoded tov0.0.1— now reads frompackage.jsonat 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.