Skip to content

Commit

Permalink
fix(husky): remove postinstall script before being published
Browse files Browse the repository at this point in the history
  • Loading branch information
dorayx committed Sep 8, 2023
1 parent 255da93 commit 81413eb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"coverage": "vitest run --coverage",
"postinstall": "is-ci || husky install",
"plop": "plop",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"prepack": "pinst --disable",
"postpack": "pinst --enable"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
Expand All @@ -46,6 +48,7 @@
"husky": "^8.0.0",
"is-ci": "^3.0.1",
"lint-staged": "^14.0.1",
"pinst": "^3.0.0",
"plop": "^3.1.2",
"prettier": "3.0.2",
"semantic-release": "^21.1.1",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3004,6 +3004,7 @@ __metadata:
husky: ^8.0.0
is-ci: ^3.0.1
lint-staged: ^14.0.1
pinst: ^3.0.0
plop: ^3.1.2
prettier: 3.0.2
semantic-release: ^21.1.1
Expand Down Expand Up @@ -6439,6 +6440,15 @@ __metadata:
languageName: node
linkType: hard

"pinst@npm:^3.0.0":
version: 3.0.0
resolution: "pinst@npm:3.0.0"
bin:
pinst: bin.js
checksum: 4ae48a6a60f79c37071233af51b4d91bfc85cfa3c12b66ccda60cdb642b4d14a4ab0cb3587afc55b1f6192cea1772a5e4822026a0d0d3528296edef00cc2d61f
languageName: node
linkType: hard

"pkg-conf@npm:^2.1.0":
version: 2.1.0
resolution: "pkg-conf@npm:2.1.0"
Expand Down

0 comments on commit 81413eb

Please sign in to comment.