From c5edceeaae8c74f6ba5678160bf8855e5d5abf94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:33:03 +0000 Subject: [PATCH 1/2] build(deps-dev): bump husky from 9.0.6 to 9.0.10 Bumps [husky](https://github.com/typicode/husky) from 9.0.6 to 9.0.10. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v9.0.6...v9.0.10) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5e16b34e..cae10549 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "eslint-config-prettier": "^9.1.0", "fast-xml-parser": "^4.3.3", "fs-extra": "^11.2.0", - "husky": "^9.0.6", + "husky": "^9.0.10", "lint-staged": "^15.2.0", "node-7z": "^3.0.0", "npm-run-all": "^4.1.5", diff --git a/yarn.lock b/yarn.lock index 9bd9ca3d..3552adc6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1748,10 +1748,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@^9.0.6: - version "9.0.6" - resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.6.tgz#cee0245d60480b12279cf492ec6cfc1aeb7fa759" - integrity sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA== +husky@^9.0.10: + version "9.0.10" + resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.10.tgz#ddca8908deb5f244e9286865ebc80b54387672c2" + integrity sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA== iconv-lite@^0.4.24: version "0.4.24" From 5be977c8e2943286e0b485b360509becd17a09d3 Mon Sep 17 00:00:00 2001 From: ato lash Date: Wed, 7 Feb 2024 07:10:30 +0900 Subject: [PATCH 2/2] ci: migrate husky to v9 --- .husky/pre-commit | 5 +---- package.json | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af2198..37236231 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npx lint-staged +yarn lint-staged diff --git a/package.json b/package.json index cae10549..fd358e17 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "fix": "run-s fix:prettier fix:eslint", "fix:prettier": "prettier --write .", "fix:eslint": "eslint --fix .", - "prepare": "husky install", + "prepare": "husky", "release": "release-it", "check-convert": "node util/check-convert.js", "check-update": "node util/check-update.js",