Skip to content

Commit effb575

Browse files
committed
fix: pnpm v10 build scripts
1 parent 8dce346 commit effb575

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,10 @@ async function init() {
447447

448448
// Vitest should be the last one to render.
449449
if (needsVitest) {
450+
if (packageManager === 'pnpm') {
451+
render('vitest-pnpm')
452+
}
453+
450454
if (needsTypeScript) {
451455
render('vitest-typescript')
452456
} else {
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
onlyBuiltDependencies:
2+
- esbuild

0 commit comments

Comments
 (0)