Skip to content

fix: stop intercepting vite as a vp command in task scripts#1186

Draft
fengmk2 wants to merge 2 commits intovp-run-no-fallbackfrom
fix-issue-1176
Draft

fix: stop intercepting vite as a vp command in task scripts#1186
fengmk2 wants to merge 2 commits intovp-run-no-fallbackfrom
fix-issue-1176

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Mar 28, 2026

VitePlusCommandHandler was intercepting both vp and vite program
names in task scripts. This caused vp run dev to fail with "Invalid
vite task command" when a package.json script used bare vite (e.g.
"dev": "vite"), because vite is a separate tool, not a vp alias.

Only intercept vp commands now; vite runs verbatim as an external
process.

Closes #1176

Copy link
Copy Markdown
Member Author

fengmk2 commented Mar 28, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

fengmk2 added 2 commits March 29, 2026 15:44
`VitePlusCommandHandler` was intercepting both `vp` and `vite` program
names in task scripts. This caused `vp run dev` to fail with "Invalid
vite task command" when a package.json script used bare `vite` (e.g.
`"dev": "vite"`), because `vite` is a separate tool, not a vp alias.

Only intercept `vp` commands now; `vite` runs verbatim as an external
process.

Closes #1176
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: e2e Auto run e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant