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 191ec66..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": "^8.0.1", + "husky": "^9.0.10", "standard-changelog": "^5.0.0" } } diff --git a/yarn.lock b/yarn.lock index d723870..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@^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.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"