Skip to content

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

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

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

Conversation

@fengmk2

Copy link
Copy Markdown
Member

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

netlifyBot commented Mar 28, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

NameLink
🔨 Latest commitacee8b6
🔍 Latest deploy loghttps://app.netlify.com/projects/viteplus-preview/deploys/69ca323b36e3b30008a81aa5

@fengmk2fengmk2 self-assigned this Mar 28, 2026
@fengmk2Graphite App

fengmk2 commented Mar 28, 2026

Copy link
Copy Markdown
MemberAuthor

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/1178March 28, 2026 08:40
@fengmk2
fengmk2 changed the base branch from graphite-base/1178 to fix-vitest-globalsMarch 28, 2026 08:40
@fengmk2
fengmk2force-pushed the fix-vitest-globals branch from fd1b75e to 7c58334CompareMarch 29, 2026 11:36
@fengmk2
fengmk2force-pushed the fix-vitest-globals branch from 7c58334 to dfc2d61CompareMarch 29, 2026 14:52
@graphite-app
graphite-appBot changed the base branch from fix-vitest-globals to graphite-base/1178March 29, 2026 15:33
@graphite-app
graphite-appBot changed the base branch from graphite-base/1178 to mainMarch 29, 2026 15:43
@fengmk2
fengmk2 marked this pull request as ready for review March 30, 2026 02:43
@fengmk2
fengmk2 requested review from cpojer and wan9chiMarch 30, 2026 02:43

@cpojercpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sweet!

@fengmk2
fengmk2force-pushed the vp-run-alias-vpr branch 3 times, most recently from cb20872 to 834d8e5CompareMarch 30, 2026 07:40
@graphite-app

graphite-appBot commented Mar 30, 2026

Copy link
Copy Markdown

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-appBot merged commit acee8b6 into mainMar 30, 2026
33 checks passed
@graphite-app
graphite-appBot 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 freeto 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

@fengmk2@cpojer