diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec138..0000000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/commit-msg b/.husky/commit-msg index d71a03b9f3..2785bc1d25 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index d2ae35e84b..3723623171 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn lint-staged diff --git a/package.json b/package.json index 07c6b8d04e..e269a8f715 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test:local": "node scripts/run-local-tests.js", "lerna": "lerna", "graduate": "lerna publish --conventional-commits --conventional-graduate", - "prepare": "husky install", + "prepare": "husky", "update:package": "cd $INIT_CWD && yarn node ${PROJECT_CWD}/scripts/update-package.js", "update:example": "cd $INIT_CWD && yarn node ${PROJECT_CWD}/scripts/update-example.js", "update:packages": "yarn workspaces foreach --include '@angular-builders/*' run update:package", @@ -39,7 +39,7 @@ "@lerna-lite/publish": "^4.10.5", "@types/lodash": "^4.14.118", "@types/node": "^24.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "lint-staged": "^16.0.0", "lodash": "^4.17.15", "prettier": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 2569ca8ff3..e045fc5196 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8103,7 +8103,7 @@ __metadata: "@lerna-lite/publish": ^4.10.5 "@types/lodash": ^4.14.118 "@types/node": ^24.0.0 - husky: ^8.0.0 + husky: ^9.0.0 lint-staged: ^16.0.0 lodash: ^4.17.15 prettier: ^3.0.0 @@ -13145,12 +13145,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^8.0.0": - version: 8.0.3 - resolution: "husky@npm:8.0.3" +"husky@npm:^9.0.0": + version: 9.1.7 + resolution: "husky@npm:9.1.7" bin: - husky: lib/bin.js - checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0 + husky: bin.js + checksum: c2412753f15695db369634ba70f50f5c0b7e5cb13b673d0826c411ec1bd9ddef08c1dad89ea154f57da2521d2605bd64308af748749b27d08c5f563bcd89975f languageName: node linkType: hard