diff --git a/.husky/commit-msg b/.husky/commit-msg index e8511ea..fd2bf70 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 f91359d..4fcdfc5 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 f0eb2cd..0b9cc64 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": "^7.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "microbundle": "^0.15.0", "np": "^8.0.0", "npm-run-all": "^4.1.5", @@ -8683,15 +8683,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.1", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.1.tgz", + "integrity": "sha512-rXCT8yF2v3awSG03AG6IgICDhJ+m8o3jL1ROwsT4nQZ6urEyKSj0IWFDIh5YC2zgZeAxWksNMbN6rYY4BE1Zrw==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" @@ -26126,9 +26126,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.1", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.1.tgz", + "integrity": "sha512-rXCT8yF2v3awSG03AG6IgICDhJ+m8o3jL1ROwsT4nQZ6urEyKSj0IWFDIh5YC2zgZeAxWksNMbN6rYY4BE1Zrw==", "dev": true }, "iconv-lite": { diff --git a/package.json b/package.json index 26dc700..4745618 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@wdio/local-runner": "^8.0.0", "@wdio/mocha-framework": "^8.0.0", "html-validate": "^7.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "microbundle": "^0.15.0", "np": "^8.0.0", "npm-run-all": "^4.1.5", @@ -55,6 +55,6 @@ "build": "microbundle", "dev": "microbundle watch", "release": "np", - "prepare": "husky install" + "prepare": "husky" } }