Skip to content

Commit

Permalink
chore: update husky package
Browse files Browse the repository at this point in the history
  • Loading branch information
jegj committed Feb 22, 2024
1 parent 4e52d78 commit 1f0cba3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
4 changes: 1 addition & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx commitlint --edit $1

npx commitlint --edit $1
18 changes: 9 additions & 9 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"unit": "c8 --100 node --test --loader esmock test/**/*.spec.js",
"unit:coverage": "node --test --experimental-test-coverage --loader esmock test/**/*.spec.js",
"test:coverage": "npm run lint && npm run unit:coverage",
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\""
"prepare": "husky"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -63,7 +63,7 @@
"c8": "^9.1.0",
"eslint": "^8.56.0",
"esmock": "^2.6.3",
"husky": "^8.0.3",
"husky": "^9.0.11",
"markdownlint-cli2": "^0.12.1",
"semantic-release": "^23.0.2",
"sinon": "^17.0.1",
Expand Down

0 comments on commit 1f0cba3

Please sign in to comment.