Skip to content

Commit bfdbe6f

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 f679fb8 commit bfdbe6f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

website/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,12 @@
4848
"rimraf": "^6.0.0",
4949
"typescript": "^6.0.0"
5050
},
51-
"packageManager": "pnpm@10.24.0"
51+
"packageManager": "pnpm@10.24.0",
52+
"devEngines": {
53+
"packageManager": {
54+
"name": "pnpm",
55+
"version": "10.x",
56+
"onFail": "error"
57+
}
58+
}
5259
}

0 commit comments

Comments
 (0)