Skip to content

Commit 04ba1a6

Browse files
committed
chore(deps): resolve husky deprecations
1 parent d9a7729 commit 04ba1a6

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx --no -- commitlint --edit "$1"

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npm run lint-staged

.husky/pre-push

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npm run sass && npm run docs:check

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"sass-embedded": "^1.63.6"
5252
},
5353
"scripts": {
54-
"prepare": "husky install",
54+
"prepare": "husky",
5555
"start": "node ./scripts/start-dev-server.js",
5656
"clean": "find . -name \"node_modules\" -type d -prune | xargs rm -rf",
5757
"clean:dist": "find ./packages -name \"dist\" -type d -prune -maxdepth 2 | xargs rm -rf",

0 commit comments

Comments
 (0)