Skip to content

Commit

Permalink
ci(husky): fix broken husky hooks (#762)
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
  • Loading branch information
chimurai and vmarchaud authored Dec 5, 2021
1 parent aacfe82 commit 53691e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"scripts": {
"clean": "lerna run clean",
"postinstall": "npm run bootstrap",
"prepare": "husky install",
"precompile": "tsc --version && lerna run version",
"version:update": "lerna run version:update",
"compile": "lerna run compile",
Expand Down Expand Up @@ -54,16 +55,11 @@
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.23.4",
"gts": "3.1.0",
"husky": "7.0.1",
"husky": "7.0.4",
"lerna": "3.22.1",
"lerna-changelog": "1.0.1",
"typescript": "4.3.5"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"changelog": {
"labels": {
"breaking": ":boom: Breaking Change",
Expand Down

0 comments on commit 53691e4

Please sign in to comment.