This project uses Vite+ through the vp CLI. Use vp for package management and project tooling; do not run npm, pnpm, or Yarn directly unless the user explicitly asks.
vp install- install dependencies and configure Vite+ hooks.vp dev- start the Vite development server.vp check- run Oxfmt formatting checks, Oxlint, and TypeScript checks.vp lint/vp fmt- run focused lint or format commands when a full check is not needed.vp test- run Vitest through Vite+ when tests are present.vp build- build the app with Vite+.vp preview- preview a production build locally.vp run <script>- run apackage.jsonscript when its name collides with a Vite+ built-in command. For example, usevp run buildif you need the fullbuildscript pluspostbuild.
- Import Vite/Vitest utilities from
vite-pluswhere applicable, for exampleimport { defineConfig } from "vite-plus";and test utilities fromvite-plus/test. - Do not install ESLint, Prettier, Vitest, Oxlint, Oxfmt, or tsdown directly; Vite+ provides the active lint, format, test, and build tooling.
- Use Vite+ dependency commands such as
vp add,vp remove,vp update, andvp whyinstead of package-manager equivalents. - Use
vp dlxfor one-off package binaries instead ofnpx,pnpm dlx, oryarn dlx. - Do not call wrapped tools as fake subcommands such as
vp vitestorvp oxlint; usevp test,vp lint, andvp fmt. - Use
vp help,vp <command> --help, orvp --versionto confirm command options and bundled tool versions.
- Run
vp installafter pulling remote changes and before getting started. - Run
vp checkto validate formatting, linting, and types. - Run
vp testonly when test files exist or the change adds tests. - Run
vp buildfor production-build validation.