Skip to content

Commit 0e934d1

Browse files
committed
migrate to husky v9
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
1 parent 6178a67 commit 0e934d1

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
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
yarn lint-staged

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"build-storybook": "yarn ./storybook run build-storybook",
4141
"techdocs-cli": "node scripts/techdocs-cli.js",
4242
"techdocs-cli:dev": "cross-env TECHDOCS_CLI_DEV_MODE=true node scripts/techdocs-cli.js",
43-
"prepare": "husky install",
44-
"postinstall": "husky install || true"
43+
"prepare": "husky",
44+
"postinstall": "husky || true"
4545
},
4646
"workspaces": {
4747
"packages": [

0 commit comments

Comments
 (0)