From ab0a42649c138d9fae8bd08bf9eb6d2cc3f62516 Mon Sep 17 00:00:00 2001 From: Thomas Rupprecht Date: Sat, 27 Jan 2024 00:50:03 +0100 Subject: [PATCH] chore(package): update `husky` --- .husky/commit-msg | 3 --- .husky/pre-commit | 3 --- CHANGELOG.md | 1 + package-lock.json | 12 ++++++------ package.json | 4 ++-- 5 files changed, 9 insertions(+), 14 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index c160a77..0398b7a 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no -- commitlint --edit ${1} diff --git a/.husky/pre-commit b/.husky/pre-commit index eaee3ba..f6cf8fa 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,3 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npm run lint npm test npm run update-changelog && git add CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index c6f5b7b..2abca4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ All notable changes to this project will be documented in this file. - Update dependencies - Update `eslint-plugin-jsdoc` - Update dependencies +- Update dependencies ### ✳️ Other diff --git a/package-lock.json b/package-lock.json index 6ad63c8..81b5818 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-unicorn": "^50.0.1", "git-cliff": "^1.4.0", - "husky": "^8.0.3", + "husky": "^9.0.6", "stylelint": "^16.2.0", "stylelint-config-standard": "^36.0.0", "stylelint-plugin-defensive-css": "^1.0.2", @@ -4547,15 +4547,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.0.6", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.6.tgz", + "integrity": "sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==", "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 185172e..560a28b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-unicorn": "^50.0.1", "git-cliff": "^1.4.0", - "husky": "^8.0.3", + "husky": "^9.0.6", "stylelint": "^16.2.0", "stylelint-config-standard": "^36.0.0", "stylelint-plugin-defensive-css": "^1.0.2", @@ -53,7 +53,7 @@ "preversion": "npm run fmt:check && npm run lint && npm test", "version": "npm run copy-version && npm run update-changelog && git add CHANGELOG.md src/manifest.json", "postversion": "npm run build:firefox", - "prepare": "husky install", + "prepare": "husky", "commit": "git-cz" }, "config": {