From f25568a1449c616a65b738b36197d84942f207a4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 03:15:31 +0000 Subject: [PATCH 1/2] chore(deps): update dependency husky to v9 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 191ec66..da5761a 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@commitlint/cli": "^18.0.0", "@commitlint/config-conventional": "^18.0.0", "@rstacruz/bump-cli": "^2.0.1", - "husky": "^8.0.1", + "husky": "^9.0.0", "standard-changelog": "^5.0.0" } } diff --git a/yarn.lock b/yarn.lock index d723870..df915cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -749,10 +749,10 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -husky@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9" - integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw== +husky@^9.0.0: + version "9.0.1" + resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.1.tgz#710ed0d06b7fb2f5723ea8db436b632e7aecc284" + integrity sha512-rXCT8yF2v3awSG03AG6IgICDhJ+m8o3jL1ROwsT4nQZ6urEyKSj0IWFDIh5YC2zgZeAxWksNMbN6rYY4BE1Zrw== import-fresh@^3.0.0, import-fresh@^3.3.0: version "3.3.0" From 6308ede5a2b9304edc20858e69fdb34de6667264 Mon Sep 17 00:00:00 2001 From: Pascal Iske Date: Sun, 4 Feb 2024 15:35:48 +0100 Subject: [PATCH 2/2] refactor: migrate to husky v9 --- .husky/commit-msg | 4 ++-- package.json | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 51cdc2a..21b09f1 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,5 +1,5 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" +#!/usr/bin/env sh +# -*- coding: utf-8 -*- # lint commit messages yarn commitlint --edit $1 diff --git a/package.json b/package.json index da5761a..88006c4 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "private": true, "scripts": { - "prepare": "husky install", + "prepare": "husky", "version": "bump --yes package.json", "changelog": "standard-changelog" }, @@ -25,7 +25,7 @@ "@commitlint/cli": "^18.0.0", "@commitlint/config-conventional": "^18.0.0", "@rstacruz/bump-cli": "^2.0.1", - "husky": "^9.0.0", + "husky": "^9.0.10", "standard-changelog": "^5.0.0" } } diff --git a/yarn.lock b/yarn.lock index df915cc..a46b58c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -749,10 +749,10 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -husky@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.1.tgz#710ed0d06b7fb2f5723ea8db436b632e7aecc284" - integrity sha512-rXCT8yF2v3awSG03AG6IgICDhJ+m8o3jL1ROwsT4nQZ6urEyKSj0IWFDIh5YC2zgZeAxWksNMbN6rYY4BE1Zrw== +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== import-fresh@^3.0.0, import-fresh@^3.3.0: version "3.3.0"