This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called vp. Vite+ is distinct from Vite, and it invokes Vite through vp dev and vp build. Run vp help to print a list of commands and vp <command> --help for information about a specific command.
- Running scripts: Vite+ built-in commands (
vp lint,vp dev,vp build,vp test, etc.) always run the Vite+ built-in tool. Usevp run <script>to runpackage.jsonscripts or tasks defined invite.config.ts - Do not install Vitest, Oxlint, Oxfmt, or tsdown directly: Vite+ wraps these tools. Do not install or upgrade them, use Vite+ directly.
- Import JavaScript modules from
vite-plus: Import modules from thevite-plusdependency, not fromviteorvitest. For example,import { defineConfig } from 'vite-plus';orimport { expect, test, vi } from 'vite-plus/test';. You must not installvitestto import test utilities.
- Run
vp installafter pulling remote changes and before getting started. - Run
vp checkandvp testto format, lint, type check and test changes. - Check if there are tasks or
package.jsonscripts necessary for validation, run viavp run <script>.