From 2413463bf6e922c8ee51f671edd47a6b766bdd9e Mon Sep 17 00:00:00 2001 From: Viachaslau Date: Mon, 15 Jul 2024 10:00:03 +0400 Subject: [PATCH] build(deps-dev): bump `husky` from 8.0.3 to 9.0.11 (#215) --- .husky/.gitignore | 1 - .husky/commit-msg | 3 --- .husky/post-commit | 3 --- .husky/pre-commit | 3 --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- 6 files changed, 11 insertions(+), 21 deletions(-) delete mode 100644 .husky/.gitignore diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/commit-msg b/.husky/commit-msg index 5426a932..a78cc751 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx commitlint --edit $1 diff --git a/.husky/post-commit b/.husky/post-commit index ec134308..88d5a7f2 100755 --- a/.husky/post-commit +++ b/.husky/post-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - git update-index --again diff --git a/.husky/pre-commit b/.husky/pre-commit index a165ed24..e3456b22 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged --relative diff --git a/package-lock.json b/package-lock.json index fb4992ef..79088a71 100644 --- a/package-lock.json +++ b/package-lock.json @@ -64,7 +64,7 @@ "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^28.6.0", - "husky": "^8.0.3", + "husky": "^9.0.11", "is-ci": "~3.0.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", @@ -11076,16 +11076,16 @@ } }, "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.0.11", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", + "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", "dev": true, "license": "MIT", "bin": { - "husky": "lib/bin.js" + "husky": "bin.mjs" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" @@ -28638,9 +28638,9 @@ "dev": true }, "husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.0.11", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", + "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", "dev": true }, "iconv-lite": { diff --git a/package.json b/package.json index 8ad6a8d4..08ebd40b 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "workspace-generator": "nx workspace-generator", "dep-graph": "nx dep-graph", "help": "nx help", - "prepare": "is-ci || husky install" + "prepare": "is-ci || husky" }, "homepage": "https://github.com/NeuraLegion/sectester-js#readme", "dependencies": { @@ -127,7 +127,7 @@ "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^28.6.0", - "husky": "^8.0.3", + "husky": "^9.0.11", "is-ci": "~3.0.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0",