Skip to content

Commit

Permalink
ci: update husky config for version 9
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Jul 18, 2024
1 parent 6e02751 commit 17e26f5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/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 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/npm-run-all preCommit test linters postinstall
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"test": "wtr --coverage",
"test:ci": "npm-run-all test lint",
"test:watch": "wtr --watch",
"prepare": "husky install",
"prepare": "husky",
"types": "tsc",
"postversion": "npm-run-all build:api build:docs"
}
Expand Down

0 comments on commit 17e26f5

Please sign in to comment.