diff --git a/.husky/commit-msg b/.husky/commit-msg index 482222a..78f4d1d 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npm run commitlint ${1} diff --git a/package.json b/package.json index 25ee7cd..8464db4 100644 --- a/package.json +++ b/package.json @@ -36,12 +36,12 @@ "@commitlint/config-conventional": "^18.0.0", "@smartive/prettier-config": "^3.0.0", "cz-conventional-changelog": "^3.3.0", - "husky": "^8.0.3", + "husky": "^9.0.0", "prettier": "^3.0.0" }, "scripts": { "commitlint": "commitlint --edit", - "prepare": "[ ! -f node_modules/.bin/husky ] || husky install" + "prepare": "[ ! -f node_modules/.bin/husky ] || husky" }, "config": { "commitizen": {