Skip to content

Commit

Permalink
Upgrade to husky@9
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkopiu committed Jan 31, 2024
1 parent 18021e4 commit d1a9eb4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
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"

npm run full
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.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"prettier-fix": "prettier --write './**/*.ts'",
"validate": "tsc --noEmit",
"full": "npm run validate && npm run lint && npm run prettier && npm run test",
"prepare": "husky install",
"prepare": "husky",
"prepublishOnly": "rimraf dist && npm run build",
"build": "tsc --project tsconfig.build.json"
},
Expand Down Expand Up @@ -71,7 +71,7 @@
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"husky": "^9.0.7",
"mocha": "^10.2.0",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
Expand All @@ -82,4 +82,4 @@
"node": ">=18",
"npm": ">=8"
}
}
}

0 comments on commit d1a9eb4

Please sign in to comment.