Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
7bb2c1a to
5b55c81
Compare
VP-194 Equivalent of `pnpm --filter <pkgname> exec some-cmd`
With pnpm, you can run |
84935ee to
18670da
Compare
25ad522 to
95bde74
Compare
fengmk2
commented
Feb 25, 2026
95bde74 to
53b3810
Compare
487a0b0 to
ca728de
Compare
fengmk2
commented
Feb 25, 2026
53b3810 to
5755a2c
Compare
5755a2c to
0fd4d06
Compare
fa38f1e to
31ac034
Compare
Brooooooklyn
approved these changes
Feb 26, 2026
Member
Author
Add `vp exec` as the equivalent of `pnpm exec` — prepends `./node_modules/.bin` to PATH and executes a command. Commands resolve through the modified PATH (local bins first, then system PATH), matching pnpm exec's real behavior. No remote fallback unlike `vpx`. Global CLI: delegates to local CLI when vite-plus is a dependency, otherwise handles exec directly (prepend PATH + spawn). Local CLI: prepends PM bin dir and node_modules/.bin to PATH, sets VITE_PLUS_PACKAGE_NAME env var, supports --shell-mode/-c flag.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Add
vp execas the equivalent ofpnpm exec— prepends./node_modules/.binto PATH and executes a command. Commands resolvethrough the modified PATH (local bins first, then system PATH), matching
pnpm exec's real behavior. No remote fallback unlike
vpx.Global CLI: delegates to local CLI when vite-plus is a dependency,
otherwise handles exec directly (prepend PATH + spawn).
Local CLI: prepends PM bin dir and node_modules/.bin to PATH, sets
VITE_PLUS_PACKAGE_NAME env var, supports --shell-mode/-c flag.
closes VP-194