Skip to content

Commit 30fd0e4

Browse files
adriencacciaclaude
andcommitted
feat(vitest-plugin): add vite 8 support
Add vite ^8.0.0 to the peer dependency range and bump the dev dependency to test against the latest. Vite 8 replaces esbuild/Rollup with Rolldown, which changes the Plugin type's inheritance chain. Add rolldown as a dev dependency so pnpm can resolve the transitive types needed for the build. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4f97cbe commit 30fd0e4

2 files changed

Lines changed: 430 additions & 25 deletions

File tree

packages/vitest-plugin/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@
3232
},
3333
"peerDependencies": {
3434
"tinybench": ">=2.9.0",
35-
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0",
35+
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
3636
"vitest": "^3.2 || ^4"
3737
},
3838
"devDependencies": {
3939
"@total-typescript/shoehorn": "^0.1.1",
4040
"execa": "^8.0.1",
41+
"rolldown": "1.0.0-rc.11",
4142
"tinybench": "^2.9.0",
42-
"vite": "^7.0.0",
43+
"vite": "^8.0.0",
4344
"vitest": "^4.0.18"
4445
}
4546
}

0 commit comments

Comments
 (0)