From dd355a71e7796f25b113e4e975ae41cf48d0935c Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 25 Jun 2024 07:26:17 +0800 Subject: [PATCH] Fallback husky to v8.0.3 due to commit-msg hook issue Reference: - https://github.com/typicode/husky/issues/1432 - https://github.com/typicode/husky/issues/1447 --- package-lock.json | 14 +++++++------- package.json | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 21ed4e285a..729710c397 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,8 +61,8 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-vue": "^9.26.0", - "husky": "^9.0.11", - "lint-staged": "^15.2.5", + "husky": "^8.0.3", + "lint-staged": "^15.2.7", "md5": "^2.3.0", "prettier": "^3.2.5", "prettier-plugin-vue": "^1.1.6", @@ -12396,15 +12396,15 @@ } }, "node_modules/husky": { - "version": "9.0.11", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", - "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true, "bin": { - "husky": "bin.mjs" + "husky": "lib/bin.js" }, "engines": { - "node": ">=18" + "node": ">=14" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index 1879e8ab63..0f379a9415 100644 --- a/package.json +++ b/package.json @@ -76,8 +76,8 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-vue": "^9.26.0", - "husky": "^9.0.11", - "lint-staged": "^15.2.5", + "husky": "^8.0.3", + "lint-staged": "^15.2.7", "md5": "^2.3.0", "prettier": "^3.2.5", "prettier-plugin-vue": "^1.1.6",