Skip to content

Commit

Permalink
build: run husky only after deps installation
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetTechuila committed Sep 8, 2024
1 parent abf8eba commit dcbd661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "npm pkg set version=${nextRelease.version} && bun pm pack"
"prepareCmd": "npm pkg set version=${nextRelease.version} && npm pkg delete postinstall && bun pm pack"
}
],
[
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"format:base": "bun --bun prettier . --cache",
"lint": "bun --bun eslint . --cache",
"type-check": "bun --bun tsc",
"prepare": "bun --bun husky"
"postinstall": "bun --bun husky"
},
"dependencies": {
"semver": "^7.6.3"
Expand Down

0 comments on commit dcbd661

Please sign in to comment.