Skip to content

Commit

Permalink
chore: husky v9 対応 (#4330)
Browse files Browse the repository at this point in the history
* chore: Change the prepare script to `husky`

* chore: Update husky hook to remove deprecated husky.sh script
  • Loading branch information
f440 authored Feb 17, 2024
1 parent 40845c2 commit e884d30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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"

npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"testcafe": "testcafe",
"e2e": "ts-node scripts/e2e.ts",
"e2e:dev": "testcafe chrome --host localhost --skip-js-errors",
"prepare": "husky install",
"prepare": "husky",
"chromatic": "chromatic",
"write:ui-props": "ts-node scripts/exportUIProps.ts",
"export:ui-props": "run-s build:lib write:ui-props"
Expand Down

0 comments on commit e884d30

Please sign in to comment.