diff --git a/.husky/commit-msg b/.husky/commit-msg index e8511eae..fd2bf708 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx --no-install commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index f91359dc..4fcdfc50 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx --no-install pretty-quick --staged diff --git a/package-lock.json b/package-lock.json index d97a357c..e51ca9cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@wdio/local-runner": "^8.0.0", "@wdio/mocha-framework": "^8.0.0", "html-validate": "^8.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "microbundle": "^0.15.0", "np": "^9.0.0", "npm-run-all": "^4.1.5", @@ -8895,15 +8895,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.5", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.5.tgz", + "integrity": "sha512-/EX48XLor4FczjgdJjwK4qMETrJxJqF4rkgo+NUeK8b2F4TV6s5QxAuG2JZfxm4b9WnrgBGS7bA/JK+H5CKg+A==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" @@ -26630,9 +26630,9 @@ "dev": true }, "husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.5.tgz", + "integrity": "sha512-/EX48XLor4FczjgdJjwK4qMETrJxJqF4rkgo+NUeK8b2F4TV6s5QxAuG2JZfxm4b9WnrgBGS7bA/JK+H5CKg+A==", "dev": true }, "iconv-lite": { diff --git a/package.json b/package.json index 7a479b72..bf2f5345 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@wdio/local-runner": "^8.0.0", "@wdio/mocha-framework": "^8.0.0", "html-validate": "^8.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "microbundle": "^0.15.0", "np": "^9.0.0", "npm-run-all": "^4.1.5", @@ -54,6 +54,6 @@ "build": "microbundle", "dev": "microbundle watch", "release": "np", - "prepare": "husky install" + "prepare": "husky" } }