From 962efafb9d9329aace9a039e0ed00904eb4d01a2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 09:48:23 +0000 Subject: [PATCH 1/2] bump(deps): update dependency husky to v9 --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index b87f2be4..ba81541f 100644 --- a/package.json +++ b/package.json @@ -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 From af4ef6eb6eb0dc89078413ce0cf4e9c40de08bbc Mon Sep 17 00:00:00 2001 From: Fuxing Loh Date: Tue, 13 Feb 2024 17:55:05 +0800 Subject: [PATCH 2/2] fix --- .husky/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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 ba81541f..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"