From a1850baee26a236ddfd99ab3e6d0bc1866f2d1e6 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 4 Mar 2024 13:22:12 +0800 Subject: [PATCH] chore(deps): update dependency husky to v9 #87 --- .husky/pre-commit | 3 --- package.json | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af2198..2312dc58 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index e26ee0f7..0f736dac 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "coverage": "tsbb test --coverage --bail", "prettier": "prettier --write --ignore-unknown \"**/*.{js,ts,css,json}\"", "type-check": "tsc --noEmit", - "prepare": "husky install" + "prepare": "husky" }, "lint-staged": { "**/*.{js,ts,css,json}": "prettier --write --ignore-unknown" @@ -90,7 +90,7 @@ "yaml": "^2.0.0" }, "devDependencies": { - "husky": "^8.0.3", + "husky": "^9.0.11", "lint-staged": "^14.0.0", "prettier": "^3.0.0", "tsbb": "^4.1.5"