diff --git a/.husky/commit-msg b/.husky/commit-msg index e810522..0a4b97d 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no -- commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx lint-staged diff --git a/package-lock.json b/package-lock.json index faf770f..47d667e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "fastify": "^4.25.2", - "husky": "^9.0.7", + "husky": "^9.0.11", "lint-staged": "^15.2.0", "mercurius": "^14.0.0", "pg": "^8.11.3", diff --git a/package.json b/package.json index 4f3a2c0..e0a77b2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "lint": "eslint .", "test": "c8 node --test src/", "test:watch": "c8 node --test --watch src/", - "prepare": "husky install" + "prepare": "husky" }, "repository": { "type": "git", @@ -43,7 +43,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "fastify": "^4.25.2", - "husky": "^9.0.7", + "husky": "^9.0.11", "lint-staged": "^15.2.0", "mercurius": "^14.0.0", "pg": "^8.11.3",