From f8ee54aaa39b5b08488a0527a98afa008f04dac5 Mon Sep 17 00:00:00 2001 From: Developer Foundations <109541719+czi-developer-foundations@users.noreply.github.com> Date: Mon, 25 Nov 2024 08:04:17 -0800 Subject: [PATCH] chore(deps): update dependency husky to v9 (#2107) * chore(deps): update dependency husky to v9 * chore: make usage adjustments * Following guidance from https://github.com/typicode/husky/releases/tag/v9.0.1 --------- Co-authored-by: Renovate Bot Co-authored-by: Andrew Holloway --- .husky/pre-commit | 3 --- package.json | 2 +- yarn.lock | 12 ++++++------ 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc60..2312dc587 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 a501c20ce..96f8ef9e7 100644 --- a/package.json +++ b/package.json @@ -165,7 +165,7 @@ "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-storybook": "^0.11.0", "eslint-plugin-testing-library": "^6.4.0", - "husky": "^8.0.3", + "husky": "^9.1.7", "identity-obj-proxy": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", diff --git a/yarn.lock b/yarn.lock index c6268cd77..5f70f9e42 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2093,7 +2093,7 @@ __metadata: eslint-plugin-storybook: "npm:^0.11.0" eslint-plugin-testing-library: "npm:^6.4.0" graphemer: "npm:^1.4.0" - husky: "npm:^8.0.3" + husky: "npm:^9.1.7" identity-obj-proxy: "npm:^3.0.0" jest: "npm:^29.7.0" jest-environment-jsdom: "npm:^29.7.0" @@ -11671,12 +11671,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^8.0.3": - version: 8.0.3 - resolution: "husky@npm:8.0.3" +"husky@npm:^9.1.7": + version: 9.1.7 + resolution: "husky@npm:9.1.7" bin: - husky: lib/bin.js - checksum: 10/b754cf70fdc97c3b60fec5b80056b9c11436464953b1691bf2b5dcf0081fb6685d2c5f47abb8b2b1c49f504aabea5321fdd6496f8b755d9f6e7525a493406abb + husky: bin.js + checksum: 10/c2412753f15695db369634ba70f50f5c0b7e5cb13b673d0826c411ec1bd9ddef08c1dad89ea154f57da2521d2605bd64308af748749b27d08c5f563bcd89975f languageName: node linkType: hard