Skip to content

Commit e3a4178

Browse files
committed
only allow pnpm
1 parent bd40708 commit e3a4178

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"dist"
2525
],
2626
"scripts": {
27+
"preinstall": "npx only-allow pnpm",
28+
"postinstall": "simple-git-hooks",
2729
"cli": "tsx src/cli/index.ts",
2830
"cli:watch": "tsx watch src/cli/index.ts",
2931
"build": "unbuild",
@@ -35,7 +37,6 @@
3537
"check:lint": "eslint .",
3638
"check:format": "prettier --check .",
3739
"taze": "taze -I",
38-
"prepare": "simple-git-hooks",
3940
"release": "bumpp"
4041
},
4142
"dependencies": {

0 commit comments

Comments
 (0)