Skip to content

Commit b489f47

Browse files
committed
chore(deps): migrate husky from 8 to 9
1 parent 4230724 commit b489f47

File tree

4 files changed

+11
-17
lines changed

4 files changed

+11
-17
lines changed

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

.husky/pre-push

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npm run test

package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"validate:swagger-watch": "nodemon --watch swagger.json ./test/swagger-validate.js",
1919
"start": "bash -c '/wait; cat /KTH_NODEJS; NODE_ENV=production node app.js'",
2020
"start-dev": "bash -c 'NODE_ENV=development nodemon app.js'",
21-
"prepare": "husky install"
21+
"prepare": "husky"
2222
},
2323
"dependencies": {
2424
"@hokify/agenda": "^6.3.0",
@@ -43,7 +43,7 @@
4343
"@kth/eslint-config-kth": "^3.4.0",
4444
"@types/jest": "^29.5.12",
4545
"eslint": "^8.56.0",
46-
"husky": "^8.0.3",
46+
"husky": "^9.0.11",
4747
"jest": "^29.7.0",
4848
"jest-extended": "^4.0.2",
4949
"jest-sonar-reporter": "^2.0.0",

0 commit comments

Comments
 (0)