Skip to content

Commit 3494ed8

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 f5fa76f commit 3494ed8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

impit-node/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@
4242
"engines": {
4343
"node": ">= 20"
4444
},
45+
"devEngines": {
46+
"packageManager": {
47+
"name": "pnpm",
48+
"version": "10.x",
49+
"onFail": "error"
50+
}
51+
},
4552
"scripts": {
4653
"artifacts": "napi artifacts --output-dir ../artifacts --npm-dir npm",
4754
"build": "napi build --platform --release --no-const-enum",

0 commit comments

Comments
 (0)