From c4314540e66e3a20fdd6e4ec66311a6beb8ddc78 Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Wed, 31 Jul 2024 14:58:54 +0530 Subject: [PATCH] chore: update husky hooks (#1610) --- .husky/commit-msg | 2 +- .husky/pre-commit | 2 +- package-lock.json | 11 ++++++----- package.json | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index fd2bf708..dbce4f4c 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1 +1 @@ -npx --no-install commitlint --edit $1 +commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 041c660c..c27d8893 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npx --no-install lint-staged +lint-staged diff --git a/package-lock.json b/package-lock.json index 6ac65b16..8cfabca5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.0", "file-loader": "^6.2.0", - "husky": "^9.0.11", + "husky": "^9.1.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "less": "^4.2.0", @@ -11103,12 +11103,13 @@ } }, "node_modules/husky": { - "version": "9.0.11", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", - "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.3.tgz", + "integrity": "sha512-ET3TQmQgdIu0pt+jKkpo5oGyg/4MQZpG6xcam5J5JyNJV+CBT23OBpCF15bKHKycRyMH9k6ONy8g2HdGIsSkMQ==", "dev": true, + "license": "MIT", "bin": { - "husky": "bin.mjs" + "husky": "bin.js" }, "engines": { "node": ">=18" diff --git a/package.json b/package.json index 095c1793..dee547f4 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.0", "file-loader": "^6.2.0", - "husky": "^9.0.11", + "husky": "^9.1.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "less": "^4.2.0",