Skip to content

Commit

Permalink
chore: update husky install
Browse files Browse the repository at this point in the history
  • Loading branch information
birtles committed Jan 26, 2024
1 parent c04f1c0 commit fabbc3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 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"

yarn lint-staged
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"build": "tsup",
"test": "vitest run",
"prepublishOnly": "pinst --disable && tsup",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"prepare": "husky install"
"postinstall": "husky",
"postpublish": "pinst --enable"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -37,7 +36,7 @@
"devDependencies": {
"@release-it/conventional-changelog": "8.0.1",
"@types/node": "18",
"husky": "9.0.5",
"husky": "9.0.6",
"knip": "4.1.0",
"lint-staged": "15.2.0",
"pinst": "3.0.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2711,10 +2711,10 @@ human-signals@^5.0.0:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28"
integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==

[email protected].5:
version "9.0.5"
resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.5.tgz#b01f5bcd5ca2230c5b29b0c891a9699bebefc4ab"
integrity sha512-/EX48XLor4FczjgdJjwK4qMETrJxJqF4rkgo+NUeK8b2F4TV6s5QxAuG2JZfxm4b9WnrgBGS7bA/JK+H5CKg+A==
[email protected].6:
version "9.0.6"
resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.6.tgz#cee0245d60480b12279cf492ec6cfc1aeb7fa759"
integrity sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==

iconv-lite@^0.4.24:
version "0.4.24"
Expand Down

0 comments on commit fabbc3b

Please sign in to comment.