name: vite-plus description: Use when working in this repository and needing package management, development, build, lint, test, formatting, or JS tool execution through the Vite+ toolchain.
Vite Plus
Use vp as the unified JS/TS toolchain for this repo.
Command Rules
- Do not run
pnpm,npm,yarn,vite,vitest, orplaywrightdirectly from the agent shell. Usevpwrappers instead. - Do not run wrapped tools directly. Use
vp test,vp lint,vp fmt,vp check,vp build,vp exec, and relatedvpcommands. - If a
package.jsonscript name collides with a built-invpcommand, run it withvp run <script>. - Use
vp dlxfor one-off binaries andvp execfor localnode_modules/.binbinaries. - Do not install
vitest,oxlint,oxfmt, ortsdowndirectly; Vite+ provides them. - Prefer
vite-plusconfig APIs for Vite+ managed package configs. Keep framework-owned config imports when the framework requires them, such as React Router's Vite plugin or Playwright's config API.
Common Commands
vp installvp install --lockfile-onlyvp devvp checkvp lintvp fmtvp testvp buildvp previewvp add <pkg>vp remove <pkg>vp updatevp outdated -r --longvp run website#buildvp run update-worker#test
Run vp --help or vp <command> --help for details. Use vp --version when you need the wrapped toolchain version.
Review Checklist
- Run
vp installafter pulling remote changes or changing lock-sensitive dependency state. - Run
vp checkbefore finishing JS/TS changes. - Run targeted tests for changed packages, such as
vp run update-worker#test. - Run
vp run website#buildafter dependency, OpenAPI client, React Compiler, PWA, or chunking changes.