Skip to content

Commit

Permalink
chore: update husky to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
ernscht committed Jul 18, 2024
1 parent 7e33aa9 commit 9a13370
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
12 changes: 6 additions & 6 deletions package-lock.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 @@ -16,7 +16,7 @@
"clean:modules": "npm exec --workspaces -- npx -y rimraf node_modules && npx -y rimraf node_modules",
"contributors": "npx all-contributors-cli generate",
"commit": "git-cz",
"prepare": "husky install",
"prepare": "husky",
"prettier": "prettier --write **/src/**/*.{ts,tsx}",
"posttest": "prettier --list-different **/src/**/*.{ts,tsx}",
"size": "npm run build && size-limit",
Expand Down Expand Up @@ -57,7 +57,7 @@
"@merkle-open/prettier-config": "1.2.0",
"@size-limit/preset-small-lib": "11.1.4",
"cz-conventional-changelog": "3.3.0",
"husky": "8.0.3",
"husky": "9.1.0",
"lerna": "8.1.6",
"lint-staged": "15.2.7",
"npm-check-updates": "16.14.20",
Expand Down

0 comments on commit 9a13370

Please sign in to comment.