diff --git a/.husky/commit-msg b/.husky/commit-msg index 378f80f9922..951570f79b7 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx commitlint -e diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af219892f..2312dc587f6 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package-lock.json b/package-lock.json index 9055f4e5551..958ee32f9d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -88,7 +88,7 @@ "git-describe": "^4.1.0", "html-webpack-plugin": "^5.5.1", "html-webpack-skip-assets-plugin": "^1.0.3", - "husky": "=8.0.3", + "husky": "=9.0.10", "inspectpack": "=4.7.1", "jest": "=29.7.0", "jest-environment-jsdom": "=29.7.0", @@ -14011,15 +14011,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.10", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.10.tgz", + "integrity": "sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.mjs" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index be881f1515b..c1aa98e5eaf 100644 --- a/package.json +++ b/package.json @@ -152,7 +152,7 @@ "git-describe": "^4.1.0", "html-webpack-plugin": "^5.5.1", "html-webpack-skip-assets-plugin": "^1.0.3", - "husky": "=8.0.3", + "husky": "=9.0.10", "inspectpack": "=4.7.1", "jest": "=29.7.0", "jest-environment-jsdom": "=29.7.0",