From f935cab5703089881325a602347a464a611b00ef Mon Sep 17 00:00:00 2001 From: Ruggero Cino Date: Tue, 30 Jan 2024 11:17:45 +0100 Subject: [PATCH] Update husky to v9 --- .husky/pre-commit | 4 ---- package.json | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 4cf137215..372362317 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn lint-staged - diff --git a/package.json b/package.json index 26960e130..65ef69a27 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "tailwind.config.js" ], "scripts": { - "setup": "husky install", + "setup": "husky", "storybook": "storybook dev -p 6006", "build": "rollup -c", "build:watch": "rollup -c --watch", @@ -91,7 +91,7 @@ "eslint-plugin-storybook": "^0.6.15", "eslint-plugin-tailwindcss": "^3.14.1", "eslint-plugin-testing-library": "^6.2.0", - "husky": "^8.0.3", + "husky": "^9.0.7", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.2.0", diff --git a/yarn.lock b/yarn.lock index 545eb7895..1280e8032 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6793,10 +6793,10 @@ human-signals@^5.0.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== -husky@^8.0.3: - version "8.0.3" - resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184" - integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== +husky@^9.0.7: + version "9.0.7" + resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.7.tgz#047f24ec1b6c681206af714b4217c13ee97fff20" + integrity sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg== iconv-lite@0.4.24: version "0.4.24"