diff --git a/.husky/post-checkout b/.husky/post-checkout index faf775b..3cd8db2 100644 --- a/.husky/post-checkout +++ b/.husky/post-checkout @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no package-changed diff --git a/.husky/post-merge b/.husky/post-merge index faf775b..3cd8db2 100644 --- a/.husky/post-merge +++ b/.husky/post-merge @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no package-changed diff --git a/.husky/post-rebase b/.husky/post-rebase index faf775b..3cd8db2 100644 --- a/.husky/post-rebase +++ b/.husky/post-rebase @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no package-changed diff --git a/.husky/pre-commit b/.husky/pre-commit index 41ae0d5..718da8a 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no lint-staged diff --git a/package-lock.json b/package-lock.json index 0fe532e..504eec7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@tsconfig/node-lts": "^20.0.0", - "husky": "^8.0.3", + "husky": "^9.0.6", "lint-staged": "^15.0.0", "npm-package-json-lint": "^7.0.0", "npm-package-json-lint-config-default": "^6.0.0", @@ -3770,15 +3770,15 @@ } }, "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.6.tgz", + "integrity": "sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index bc587b1..b512586 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "prebuild": "rimraf dist", "build": "tsc --build", - "prepare": "node -e \"process.env.NODE_ENV != 'production' && process.exit(1)\" || husky install", + "prepare": "node -e \"process.env.NODE_ENV != 'production' && process.exit(1)\" || husky", "prestart": "npm run build", "start": "node .", "test": "xo" @@ -69,7 +69,7 @@ }, "devDependencies": { "@tsconfig/node-lts": "^20.0.0", - "husky": "^8.0.3", + "husky": "^9.0.6", "lint-staged": "^15.0.0", "npm-package-json-lint": "^7.0.0", "npm-package-json-lint-config-default": "^6.0.0",