From 750fc5f86d215ff07a91d95ccc99ef887ff85fc8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:18:49 +0000 Subject: [PATCH 1/2] build(deps-dev): bump husky from 8.0.3 to 9.1.5 Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.1.5. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.1.5) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index f8d212fd5..e51059b40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-yml": "^1.14.0", - "husky": "^8.0.3", + "husky": "^9.1.5", "jest": "^29.7.0", "lint-staged": "^15.2.9", "prettier": "^3.3.3", @@ -8583,15 +8583,15 @@ } }, "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.1.5", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.5.tgz", + "integrity": "sha512-rowAVRUBfI0b4+niA4SJMhfQwc107VLkBUgEYYAOQAbqDCnra1nYh83hF/MDmhYs9t9n1E3DuKOrs2LYNC+0Ag==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index 9db04c45a..dc1d0c5bf 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^7.1.0", "eslint-plugin-yml": "^1.14.0", - "husky": "^8.0.3", + "husky": "^9.1.5", "jest": "^29.7.0", "lint-staged": "^15.2.9", "prettier": "^3.3.3", From 364ee3d771ba359ade611315fc74b3f19eead511 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Tue, 20 Aug 2024 15:22:24 +0200 Subject: [PATCH 2/2] Cleanup for Husky v9 --- .husky/pre-commit | 3 --- package.json | 3 +-- 2 files changed, 1 insertion(+), 5 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 dc1d0c5bf..e63278d29 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,7 @@ "scripts": { "test": "jest --verbose", "test-coverage": "jest --coverage", - "eslint": "eslint .", - "prepare": "husky install" + "eslint": "eslint ." }, "dependencies": { "archiver": "^7.0.1",