Skip to content

Commit

Permalink
chore: [#1574] The current husky version no longer supports the insta…
Browse files Browse the repository at this point in the history
…ll command (#1574)

* chore: [husky] The current husky version no longer supports the install command

* chore: [husky] Update husky

---------

Co-authored-by: David Ortner <david@ortner.se>
  • Loading branch information
btea and capricorn86 authored Nov 6, 2024
1 parent 1416396 commit 343bc49
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

node ./node_modules/.bin/happy-validate-commit-message --commitFile=$1
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"

node ./node_modules/.bin/happy-lint-changed
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint:fix": "eslint --max-warnings 0 --cache --cache-location ./.turbo/eslint.cache --fix .",
"test": "turbo run test --cache-dir=.turbo",
"test:watch": "turbo run test:watch --parallel",
"prepare": "husky install"
"prepare": "husky"
},
"devDependencies": {
"@types/he": "^1.1.2",
Expand Down

0 comments on commit 343bc49

Please sign in to comment.