Skip to content

Commit 8cbb84f

Browse files
committed
chore: enforce pnpm via devEngines
Block accidental npm/yarn install — npm 10.5+ and pnpm 10.x both honor devEngines.packageManager and refuse to run when it doesn't match.
1 parent 931a6ae commit 8cbb84f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

website/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,12 @@
6969
"rimraf": "^6.0.0",
7070
"typescript": "^6.0.0"
7171
},
72-
"packageManager": "pnpm@10.24.0"
72+
"packageManager": "pnpm@10.24.0",
73+
"devEngines": {
74+
"packageManager": {
75+
"name": "pnpm",
76+
"version": "10.x",
77+
"onFail": "error"
78+
}
79+
}
7380
}

0 commit comments

Comments
 (0)