We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e09a62 commit 6e8bdd3Copy full SHA for 6e8bdd3
package.json
@@ -44,7 +44,7 @@
44
"test-unit": "vitest run",
45
"coverage": "vitest run --coverage",
46
"release": "esno ./scripts/release.mts",
47
- "preinstall": "npx only-allow pnpm",
+ "preinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx only-allow pnpm",
48
"postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx simple-git-hooks"
49
},
50
"peerDependencies": {
0 commit comments