diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc6..2312dc58 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index b87f2be4..eaa0abcc 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "format": "prettier --write .", "generate": "turbo run generate", "lint": "turbo run lint -- --fix", - "prepare": "husky install", + "prepare": "husky", "test": "turbo run test", "watch": "turbo run watch", "write": "turbo run write" @@ -23,7 +23,7 @@ "esbuild": "^0.20.0", "esbuild-jest": "^0.5.0", "eslint": "^8.56.0", - "husky": "^8.0.3", + "husky": "^9.0.10", "jest": "29.7.0", "lint-staged": "^15.2.2", "prettier": "^3.2.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e9e4d06..629544f4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,8 +30,8 @@ importers: specifier: ^8.56.0 version: 8.56.0 husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.0.10 + version: 9.0.10 jest: specifier: 29.7.0 version: 29.7.0(@types/node@18.19.15) @@ -4060,9 +4060,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.10: + resolution: {integrity: sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==} + engines: {node: '>=18'} hasBin: true dev: true