diff --git a/.husky/commit-msg b/.husky/commit-msg index 61681a81f..6a2e4c842 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - pnpm exec commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 51cc29c8d..afd297971 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - pnpm run build:affected && pnpm exec lint-staged diff --git a/package.json b/package.json index e5542a564..a62f40ebc 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "fmt:affected": "turbo run format --filter='...[origin/main]' --concurrency=4", "docs": "turbo run docs --concurrency=4", "docs:affected": "turbo run docs --filter='...[origin/main]' --concurrency=4", - "prepare": "is-ci || husky install", + "prepare": "is-ci || husky", "update": "pnpm --recursive update --interactive", "update:latest": "pnpm --recursive update --interactive --latest", "create-package": "turbo gen create-package --args" @@ -59,7 +59,7 @@ "conventional-changelog-cli": "^4.1.0", "eslint": "^8.56.0", "eslint-config-neon": "^0.1.57", - "husky": "^8.0.3", + "husky": "^9.0.10", "is-ci": "^3.0.1", "lint-staged": "^15.2.0", "lodash.merge": "^4.6.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 587c80734..c2c3ceb20 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,8 +52,8 @@ importers: specifier: ^0.1.57 version: 0.1.57(eslint@8.56.0)(typescript@5.2.2) husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.0.10 + version: 9.0.10 is-ci: specifier: ^3.0.1 version: 3.0.1 @@ -15072,9 +15072,9 @@ packages: ms: 2.1.3 dev: true - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + /husky@9.0.10: + resolution: {integrity: sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==} + engines: {node: '>=18'} hasBin: true dev: true