From 2d2b5990a73574d7520577350bed7adc10c543ad Mon Sep 17 00:00:00 2001 From: Viacheslav Miroshko Date: Wed, 31 Jan 2024 13:38:38 +0200 Subject: [PATCH] chore(deps): upgraded husky (#77) --- .husky/pre-commit | 3 --- package.json | 4 ++-- pnpm-lock.yaml | 10 +++++----- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 3dd1ddf..6ca46a7 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - pnpm run lint diff --git a/package.json b/package.json index 70fed72..1aad52d 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint": "eslint .", "preinstall": "check-engine", "prestart": "check-engine", - "prepare": "husky install", + "prepare": "husky", "preview": "vite preview", "serve": "vite serve", "template:add:remote": "sh ./scripts/add-template-remote.sh", @@ -56,7 +56,7 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-unused-imports": "^3.0.0", - "husky": "^8.0.3", + "husky": "^9.0.7", "npm-check-updates": "^16.14.14", "prettier": "^3.2.4", "storybook": "^7.6.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a52b91d..81db5a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,8 +128,8 @@ devDependencies: specifier: ^3.0.0 version: 3.0.0(@typescript-eslint/eslint-plugin@6.20.0)(eslint@8.56.0) husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.0.7 + version: 9.0.7 npm-check-updates: specifier: ^16.14.14 version: 16.14.14 @@ -7111,9 +7111,9 @@ packages: ms: 2.1.3 dev: true - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + /husky@9.0.7: + resolution: {integrity: sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==} + engines: {node: '>=18'} hasBin: true dev: true