Skip to content

feat: add vpr as standalone shorthand for vp run#1178

Merged
graphite-app[bot] merged 1 commit intomainfrom
vp-run-alias-vpr
Mar 30, 2026
Merged

feat: add vpr as standalone shorthand for vp run#1178
graphite-app[bot] merged 1 commit intomainfrom
vp-run-alias-vpr

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Mar 28, 2026

Add vpr as a shim binary that acts as a shorthand for vp run,
following the same pattern as vpx (shorthand for vp exec).
When invoked, vpr delegates to the same run-or-delegate logic:
local vite-plus CLI when vite-plus is a dependency, otherwise
falls back to <pm> run.

  • Add vpr command module with execute_vpr entry point
  • Add vpr detection in shim/mod.rs detect_shim_tool()
  • Add vpr dispatch in shim/dispatch.rs
  • Add vpr to SHIM_TOOLS in env setup and doctor
  • Update tip message to mention vpr shorthand
  • Update run guide, run RFC, and trampoline RFC docs

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 28, 2026

Deploy Preview for viteplus-preview canceled.

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

@fengmk2 fengmk2 self-assigned this Mar 28, 2026
Copy link
Copy Markdown
Member Author

fengmk2 commented Mar 28, 2026


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 fengmk2 changed the base branch from main to graphite-base/1178 March 28, 2026 08:40
@fengmk2 fengmk2 changed the base branch from graphite-base/1178 to fix-vitest-globals March 28, 2026 08:40
@fengmk2 fengmk2 force-pushed the fix-vitest-globals branch from fd1b75e to 7c58334 Compare March 29, 2026 11:36
@fengmk2 fengmk2 force-pushed the fix-vitest-globals branch from 7c58334 to dfc2d61 Compare March 29, 2026 14:52
@graphite-app graphite-app bot changed the base branch from fix-vitest-globals to graphite-base/1178 March 29, 2026 15:33
@graphite-app graphite-app bot force-pushed the graphite-base/1178 branch from dfc2d61 to 33fbc2c Compare March 29, 2026 15:43
@graphite-app graphite-app bot force-pushed the vp-run-alias-vpr branch from 442164a to 959f493 Compare March 29, 2026 15:43
@graphite-app graphite-app bot changed the base branch from graphite-base/1178 to main March 29, 2026 15:43
@graphite-app graphite-app bot force-pushed the vp-run-alias-vpr branch from 959f493 to cf48911 Compare March 29, 2026 15:43
@fengmk2 fengmk2 marked this pull request as ready for review March 30, 2026 02:43
@fengmk2 fengmk2 requested review from branchseer and cpojer March 30, 2026 02:43
Copy link
Copy Markdown
Member

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet!

@fengmk2 fengmk2 force-pushed the vp-run-alias-vpr branch 3 times, most recently from cb20872 to 834d8e5 Compare March 30, 2026 07:40
@graphite-app
Copy link
Copy Markdown

graphite-app bot commented Mar 30, 2026

Merge activity

Add `vpr` as a shim binary that acts as a shorthand for `vp run`,
following the same pattern as `vpx` (shorthand for `vp exec`).
When invoked, `vpr` delegates to the same run-or-delegate logic:
local vite-plus CLI when vite-plus is a dependency, otherwise
falls back to `<pm> run`.

- Add vpr command module with execute_vpr entry point
- Add vpr detection in shim/mod.rs detect_shim_tool()
- Add vpr dispatch in shim/dispatch.rs
- Add vpr to SHIM_TOOLS in env setup and doctor
- Update tip message to mention vpr shorthand
- Update run guide, run RFC, and trampoline RFC docs
@graphite-app graphite-app bot force-pushed the vp-run-alias-vpr branch from 834d8e5 to acee8b6 Compare March 30, 2026 08:20
@graphite-app graphite-app bot merged commit acee8b6 into main Mar 30, 2026
33 checks passed
@graphite-app graphite-app bot deleted the vp-run-alias-vpr branch March 30, 2026 08:31
fengmk2 pushed a commit that referenced this pull request Mar 31, 2026
Add dynamic shell completion support for `vpr` shorthand.

This is a follow-up to #1181, applying the same completion logic to
`vpr` in #1178.
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.

2 participants