Skip to content

feat(cli): show package manager and Node.js version in --version#918

Merged
fengmk2 merged 6 commits intovoidzero-dev:mainfrom
nekomoyi:feat/version-env-info
Mar 16, 2026
Merged

feat(cli): show package manager and Node.js version in --version#918
fengmk2 merged 6 commits intovoidzero-dev:mainfrom
nekomoyi:feat/version-env-info

Conversation

@nekomoyi
Copy link
Contributor

Enhances vp --version to display configured package manager and node version.

Example output:

VITE+ - The Unified Toolchain for the Web

vp v0.0.0

Local vite-plus:
  vite-plus  v0.0.0

Tools:
  vite             v8.0.0
  rolldown         v1.0.0-rc.9
  vitest           v4.1.0
  oxfmt            v0.40.0
  oxlint           v1.55.0
  oxlint-tsgolint  v0.16.0
  tsdown           v0.21.2

Environment:
  Package manager  pnpm v10.28.0
  Node.js          v22.18.0 (.node-version)

Closes #889

@netlify
Copy link

netlify bot commented Mar 15, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit af23333
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69b7b5fe9e59690008c547eb

@fengmk2
Copy link
Member

fengmk2 commented Mar 16, 2026

@nekomoyi You need to run snap test in your local development environment, I expect there will be snap diffs updates

@fengmk2
Copy link
Member

fengmk2 commented Mar 16, 2026

let me rerun it before merge. @nekomoyi Thanks!

@nekomoyi
Copy link
Contributor Author

@fengmk2 Thanks for the review! The snap test is failing because there's an extra newline in the output. I'm currently updating the output format to match the preceding Tools format and will add new tests accordingly.

@nekomoyi nekomoyi requested a review from fengmk2 March 16, 2026 07:18
@fengmk2 fengmk2 merged commit 1d5f337 into voidzero-dev:main Mar 16, 2026
21 checks passed
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.

vp info command for current versions and status

2 participants