From 147b7adecf57e12af07e78b2189ea6a1ccfad150 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Tue, 23 Apr 2024 22:49:29 +0100 Subject: [PATCH] chore: update husky dependency --- .husky/commit-msg | 1 - .husky/pre-commit | 1 - package-lock.json | 12 ++++++------ package.json | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 1a089f4..fd93c82 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,3 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" npx --no-install commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index cf0c46b..7e617c2 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,3 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" npx --no-install lint-staged diff --git a/package-lock.json b/package-lock.json index c3f2ada..2e2cc68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@commitlint/config-conventional": "^19.0.0", "eslint": "^8.25.0", "eslint-config-standard": "^17.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "lint-staged": "^15.0.0", "markdownlint-cli": "^0.39.0", "stylelint": "^16.0.0", @@ -3700,15 +3700,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.11", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", + "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.mjs" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index fe56333..6ae5a83 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "lint:js": "eslint *.js", "lint:css": "stylelint src/**/*.css", "lint": "npm run lint:md && npm run lint:js && npm run lint:css", - "prepare": "husky install" + "prepare": "husky" }, "dependencies": { "@11ty/eleventy": "^2.0.0", @@ -48,7 +48,7 @@ "@commitlint/config-conventional": "^19.0.0", "eslint": "^8.25.0", "eslint-config-standard": "^17.0.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "lint-staged": "^15.0.0", "markdownlint-cli": "^0.39.0", "stylelint": "^16.0.0",