Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit e38ff20

Browse files
fix: don't autorun husky on npm install (#35)
1 parent 6eb9d6c commit e38ff20

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
"lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/**/*.ts examples/**/*.ts",
2424
"lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/ examples/",
2525
"lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm",
26-
"prepack": "pinst --disable && yarn build",
27-
"postinstall": "husky",
28-
"postpack": "pinst --enable",
26+
"prepack": "yarn build",
2927
"format": "prettier --config .prettierrc --write \"src/**/*.ts\" \"examples/**/*.ts\"",
3028
"format:check": "prettier --config .prettierrc --check \"src\" \"examples/**/*.ts\"",
3129
"test": "vitest run",
@@ -83,7 +81,6 @@
8381
"husky": "^9.0.11",
8482
"lint-staged": "^15.2.2",
8583
"npm-run-all": "^4.1.5",
86-
"pinst": "^3.0.0",
8784
"prettier": "^2.8.3",
8885
"release-it": "^17.6.0",
8986
"rollup": "^4.5.2",

yarn.lock

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,6 @@ __metadata:
535535
husky: ^9.0.11
536536
lint-staged: ^15.2.2
537537
npm-run-all: ^4.1.5
538-
pinst: ^3.0.0
539538
prettier: ^2.8.3
540539
release-it: ^17.6.0
541540
rollup: ^4.5.2
@@ -6151,15 +6150,6 @@ __metadata:
61516150
languageName: node
61526151
linkType: hard
61536152

6154-
"pinst@npm:^3.0.0":
6155-
version: 3.0.0
6156-
resolution: "pinst@npm:3.0.0"
6157-
bin:
6158-
pinst: bin.js
6159-
checksum: 4ae48a6a60f79c37071233af51b4d91bfc85cfa3c12b66ccda60cdb642b4d14a4ab0cb3587afc55b1f6192cea1772a5e4822026a0d0d3528296edef00cc2d61f
6160-
languageName: node
6161-
linkType: hard
6162-
61636153
"pkce-challenge@npm:^4.1.0":
61646154
version: 4.1.0
61656155
resolution: "pkce-challenge@npm:4.1.0"

0 commit comments

Comments
 (0)