-
Notifications
You must be signed in to change notification settings - Fork 124
chore: upgrade vite-plus and use setup-vite-plus-action for Node.js setup #659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+541
−333
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: node-modules/urllib
Length of output: 548
🏁 Script executed:
Repository: node-modules/urllib
Length of output: 268
🏁 Script executed:
Repository: node-modules/urllib
Length of output: 107
🏁 Script executed:
Repository: node-modules/urllib
Length of output: 6369
🏁 Script executed:
Repository: node-modules/urllib
Length of output: 2303
🌐 Web query:
vite-plus npm package vp binary command💡 Result:
The
vite-plusnpm package installs two CLI binaries:vitevpIn the package metadata, both commands point to the same executable (
./bin/vite), sovpis just an alias ofvite. [1]That means you can run the same subcommands either way, e.g.
vite dev/vp dev,vite build/vp build, etc. (Vite+’s CLI is described as adding commands likevite test,vite lint,vite fmt,vite run, etc.). [2]Sources: [1] [2]
🌐 Web query:
vite-plus vp cli tool💡 Result:
There isn’t a widely documented “vp” CLI for Vite+. What’s online points to two different things:
Vite+ (VoidZero) unified toolchain
Vite+ is a “drop-in superset of Vite” that aims to unify dev/build, test, lint, format, monorepo task running (with caching), UI devtools, and library bundling under a single CLI experience. The public overview lists these capabilities (dev & build, test, lint, fmt, run, ui, lib). [1] It was announced as a unified CLI/toolchain by VoidZero. [2]
vpCLI is commonly “VersionPress CLI”A known
vpcommand comes from@versionpress/vp-cli(“VersionPress.com CLI”), installed globally and run asvp. [3]If you share where you saw “vite-plus vp” (a repo link, npm package name, or command snippet), I can pinpoint exactly which tool it refers to.
Sources: [1] [2] [3]
Update
CLAUDE.mdto reflect the renamedvpCLIThe
vite→vprename in scripts is correct and applied consistently across all package.json scripts (lines 48–72) and lint-staged (lines 118–119). Thevpbinary is a documented official alias exported byvite-plusalongsidevite, so all commands will function correctly.However,
CLAUDE.mdstill documentsvitecommands (vite lint,vite fmt,vite test,vite install). Since this file guides contributors and is the source of project learnings, update it to referencevpinstead so the stored guidance remains accurate:vite lint→vp lintvite fmt→vp fmtvite test→vp testvite install→vp installvite run→vp runvpcommands🤖 Prompt for AI Agents