Skip to content

Commit 05ae576

Browse files
authored
chore: upgrade vite-plus to v0.2.0 (#829)
Upgrade the toolchain from vite-plus v0.1.24 to v0.2.0. v0.2.0 has two relevant breaking changes: 1. It consumes upstream Vitest directly, removing the `@voidzero-dev/vite-plus-test` wrapper; `vitest` now arrives transitively through `vite-plus`. 2. It raises the minimum Node.js to `^22.18.0 || >=24.11.0`. ## Changes - `vite-plus`: `^0.1.24` -> `^0.2.0` - `vite` override: bumped to `npm:@voidzero-dev/vite-plus-core@^0.2.0` (still required), in both `package.json` and `pnpm-workspace.yaml` - `vitest`: dropped the `@voidzero-dev/vite-plus-test` alias, pinned to upstream `4.1.9` (the version bundled with vite-plus 0.2.0) - `@vitest/coverage-v8`: `^4.1.8` -> `4.1.9` (this project uses the coverage provider directly, so it is pinned to the single vitest version) - Removed the now-obsolete `vitest` override and its `peerDependencyRules.allowAny` entry in `pnpm-workspace.yaml` `engines.node` was left at `>= 22.19.0` since it already excludes Node below 22.18.0. ## Verification - No `@voidzero-dev/vite-plus-test` references remain outside `node_modules`. - Dependency tree resolves to a single `vitest@4.1.9` and `@vitest/coverage-v8@4.1.9`. - `vp test run`: native Vitest banner `RUN v4.1.9`, 229 passed / 6 skipped, 0 failures. - `vp check`: format, lint, and type checks all pass.
1 parent e96fec9 commit 05ae576

3 files changed

Lines changed: 591 additions & 346 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"@types/selfsigned": "^2.1.0",
9090
"@types/tar-stream": "^2.2.3",
9191
"@typescript/native-preview": "beta",
92-
"@vitest/coverage-v8": "^4.1.8",
92+
"@vitest/coverage-v8": "4.1.9",
9393
"busboy": "^1.6.0",
9494
"cross-env": "^10.1.0",
9595
"iconv-lite": "^0.7.0",
@@ -99,9 +99,9 @@
9999
"tshy": "^4.0.0",
100100
"tshy-after": "^1.4.1",
101101
"typescript": "^6.0.0",
102-
"vite": "npm:@voidzero-dev/vite-plus-core@^0.1.24",
103-
"vite-plus": "^0.1.24",
104-
"vitest": "npm:@voidzero-dev/vite-plus-test@^0.1.24"
102+
"vite": "npm:@voidzero-dev/vite-plus-core@^0.2.0",
103+
"vite-plus": "^0.2.0",
104+
"vitest": "4.1.9"
105105
},
106106
"tshy": {
107107
"exports": {

0 commit comments

Comments
 (0)