diff --git a/.husky/commit-msg b/.husky/commit-msg index 10cb55106df..bd5945af16c 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,3 @@ #!/bin/sh -. "$(dirname "$0")/_/husky.sh" pnpm commitlint --edit "$1" diff --git a/.husky/pre-commit b/.husky/pre-commit index fab6428a1a7..46a165512ae 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,3 @@ #!/bin/sh -. "$(dirname "$0")/_/husky.sh" pnpm lint-staged diff --git a/package.json b/package.json index c1f25cf026a..47f5456c6fe 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "lint-es:file:fix": "eslint --fix", "lint-es:fix": "eslint --fix .", "lint:fix": "run-s lint-es:fix prettier-fix", - "prepare": "husky install", + "prepare": "husky", "prettier": "prettier --cache --check --ignore-unknown \"{**/*,*}.*\"", "prettier-fix": "prettier --cache --write --ignore-unknown \"{**/*,*}.*\"", "release": "run-s clean build semantic-release", @@ -54,7 +54,7 @@ "eslint": "8.56.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-json": "3.1.0", - "husky": "8.0.3", + "husky": "9.0.7", "lint-staged": "15.2.1", "npm-run-all2": "6.1.2", "prettier": "2.8.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1409b0644bb..c871027a488 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,8 +56,8 @@ devDependencies: specifier: 3.1.0 version: 3.1.0 husky: - specifier: 8.0.3 - version: 8.0.3 + specifier: 9.0.7 + version: 9.0.7 lint-staged: specifier: 15.2.1 version: 15.2.1 @@ -1932,9 +1932,9 @@ packages: engines: {node: '>=16.17.0'} dev: true - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + /husky@9.0.7: + resolution: {integrity: sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==} + engines: {node: '>=18'} hasBin: true dev: true