Skip to content

Commit

Permalink
chore: update husky (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Mar 19, 2024
1 parent 156bcdc commit e212f5e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

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

yarn lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"scripts": {
"build": "babel --extensions .js,.ts src --out-dir lib --copy-files && rimraf --glob lib/__tests__ 'lib/**/__tests__'",
"postinstall": "is-ci || husky install",
"postinstall": "is-ci || husky",
"lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
"prepack": "rimraf lib && yarn build",
"prepublishOnly": "pinst --disable",
Expand Down Expand Up @@ -126,7 +126,7 @@
"eslint-plugin-prettier": "^5.0.0",
"eslint-remote-tester": "^3.0.0",
"eslint-remote-tester-repositories": "~1.0.0",
"husky": "^8.0.1",
"husky": "^9.0.1",
"is-ci": "^3.0.0",
"jest": "^29.0.0",
"jest-runner-eslint": "^2.0.0",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5162,7 +5162,7 @@ __metadata:
eslint-plugin-prettier: ^5.0.0
eslint-remote-tester: ^3.0.0
eslint-remote-tester-repositories: ~1.0.0
husky: ^8.0.1
husky: ^9.0.1
is-ci: ^3.0.0
jest: ^29.0.0
jest-runner-eslint: ^2.0.0
Expand Down Expand Up @@ -6263,12 +6263,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^8.0.1":
version: 8.0.3
resolution: "husky@npm:8.0.3"
"husky@npm:^9.0.1":
version: 9.0.11
resolution: "husky@npm:9.0.11"
bin:
husky: lib/bin.js
checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0
husky: bin.mjs
checksum: 1aebc3334dc7ac6288ff5e1fb72cfb447cfa474e72cf7ba692e8c5698c573ab725c28c6a5088c9f8e6aca5f47d40fa7261beffbc07a4d307ca21656dc4571f07
languageName: node
linkType: hard

Expand Down

0 comments on commit e212f5e

Please sign in to comment.