Skip to content

Commit 46ea52e

Browse files
committed
chore: update husky
1 parent 3a281b4 commit 46ea52e

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn commitlint -e $HUSKY_GIT_PARAMS

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn lint-staged

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build": "yarn ncc-build --minify --no-source-map-register",
1616
"build:watch": "yarn ncc-build --watch",
1717
"lint": "eslint . --ignore-pattern '!.eslintrc.js'",
18-
"prepare": " husky install && yarn build",
18+
"prepare": "husky && yarn build",
1919
"prettylint": "prettier README.md package.json --check",
2020
"test": "jest",
2121
"typecheck": "tsc -p . --noEmit"
@@ -69,7 +69,7 @@
6969
"eslint-plugin-prettier": "^4.0.0",
7070
"eslint-plugin-react": "^7.16.0",
7171
"eslint-plugin-react-hooks": "^4.0.2",
72-
"husky": "^8.0.0",
72+
"husky": "^9.0.0",
7373
"ink": "^3.2.0",
7474
"jest": "^29.0.2",
7575
"jest-util": "^29.0.2",

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4530,12 +4530,12 @@ __metadata:
45304530
languageName: node
45314531
linkType: hard
45324532

4533-
"husky@npm:^8.0.0":
4534-
version: 8.0.3
4535-
resolution: "husky@npm:8.0.3"
4533+
"husky@npm:^9.0.0":
4534+
version: 9.0.11
4535+
resolution: "husky@npm:9.0.11"
45364536
bin:
4537-
husky: lib/bin.js
4538-
checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0
4537+
husky: bin.mjs
4538+
checksum: 1aebc3334dc7ac6288ff5e1fb72cfb447cfa474e72cf7ba692e8c5698c573ab725c28c6a5088c9f8e6aca5f47d40fa7261beffbc07a4d307ca21656dc4571f07
45394539
languageName: node
45404540
linkType: hard
45414541

@@ -5463,7 +5463,7 @@ __metadata:
54635463
eslint-plugin-prettier: ^4.0.0
54645464
eslint-plugin-react: ^7.16.0
54655465
eslint-plugin-react-hooks: ^4.0.2
5466-
husky: ^8.0.0
5466+
husky: ^9.0.0
54675467
ink: ^3.2.0
54685468
jest: ^29.0.2
54695469
jest-util: ^29.0.2

0 commit comments

Comments
 (0)