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 eda2536..df6ca07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@wdio/mocha-framework": "^8.0.0", "@wdio/sync": "^7.19.5", "html-validate": "^8.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "np": "^9.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.3.2", @@ -6458,15 +6458,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" @@ -19973,9 +19973,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 a032cf7..501d283 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "validate:html": "html-validate demos", "lint:xo": "xo datalist-polyfill.js", "release": "np", - "prepare": "husky install" + "prepare": "husky" }, "repository": { "type": "git", @@ -42,7 +42,7 @@ "@wdio/mocha-framework": "^8.0.0", "@wdio/sync": "^7.19.5", "html-validate": "^8.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "np": "^9.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.3.2",