Skip to content

Commit dcbd661

Browse files
build: run husky only after deps installation
1 parent abf8eba commit dcbd661

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[
88
"@semantic-release/exec",
99
{
10-
"prepareCmd": "npm pkg set version=${nextRelease.version} && bun pm pack"
10+
"prepareCmd": "npm pkg set version=${nextRelease.version} && npm pkg delete postinstall && bun pm pack"
1111
}
1212
],
1313
[

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"format:base": "bun --bun prettier . --cache",
4545
"lint": "bun --bun eslint . --cache",
4646
"type-check": "bun --bun tsc",
47-
"prepare": "bun --bun husky"
47+
"postinstall": "bun --bun husky"
4848
},
4949
"dependencies": {
5050
"semver": "^7.6.3"

0 commit comments

Comments
 (0)