$ npm install vite-plus-cliThe Unified Toolchain for the Web dev, build, test, lint, format, monorepo caching & more in a single dependency, built for scale, speed, and sanity
Vite+ combines Vite, Vitest, Oxlint, Oxfmt, tsdown and Rolldown as a single zero-config toolchain:
Vite+ is built to scale with your codebase while reducing your devtools to a single dependency.
Install Vite+ globally as vp:
For Linux or macOS:
curl -fsSL https://viteplus.dev/install.sh | bash
For Windows:
irm https://viteplus.dev/install.ps1 | iex
vp handles the full development lifecycle such as package management, development servers, linting, formatting, testing and building for production.
package.json scriptsVite+ automatically detects and wraps the underlying package manager such as pnpm, npm, or Yarn through the packageManager field in package.json or package manager-specific lockfiles.
Use vp create to create a new project:
vp create
You can run vp create inside of a project to add new apps or libraries to your project.
You can migrate an existing project to Vite+:
vp migrate
If you are manually migrating a project to Vite+, install these dev dependencies first:
npm install -D vite-plus @voidzero-dev/vite-plus-core@latest
You need to add overrides to your package manager for vite and vitest so that other packages depending on Vite and Vitest will use the Vite+ versions:
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
}
If you are using pnpm, add this to your pnpm-workspace.yaml:
overrides:
vite: npm:@voidzero-dev/vite-plus-core@latest
vitest: npm:@voidzero-dev/vite-plus-test@latest
Or, if you are using Yarn:
"resolutions": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
}