From 9b4dce7114f0b642a7fb2b73f739b3fc2f2c4e15 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Thu, 1 Feb 2024 00:10:22 +0100 Subject: [PATCH] Update husky to 9.0.0 --- .husky/pre-commit | 3 --- package.json | 4 ++-- yarn.lock | 12 ++++++------ 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d2ae35e..3723623 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn lint-staged diff --git a/package.json b/package.json index 5022cdd..31f5ef5 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "build-cjs-package": "echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json", "clean": "rimraf dist", "lint": "eslint .", - "postinstall": "husky install", + "postinstall": "husky", "prepack": "yarn clean && yarn build", "prettier": "prettier --check . --cache", "test": "yarn lint && yarn tsc && yarn prettier && yarn unit", @@ -39,7 +39,7 @@ "eslint": "^8.26.0", "eslint-config-wojtekmaj": "^0.9.0", "happy-dom": "^12.6.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "lint-staged": "^15.0.0", "prettier": "^3.0.0", "rimraf": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 997f7c4..6e6cd75 100644 --- a/yarn.lock +++ b/yarn.lock @@ -616,7 +616,7 @@ __metadata: eslint: "npm:^8.26.0" eslint-config-wojtekmaj: "npm:^0.9.0" happy-dom: "npm:^12.6.0" - husky: "npm:^8.0.0" + husky: "npm:^9.0.0" lint-staged: "npm:^15.0.0" prettier: "npm:^3.0.0" rimraf: "npm:^3.0.0" @@ -1933,12 +1933,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^8.0.0": - version: 8.0.3 - resolution: "husky@npm:8.0.3" +"husky@npm:^9.0.0": + version: 9.0.7 + resolution: "husky@npm:9.0.7" bin: - husky: lib/bin.js - checksum: 6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668 + husky: bin.js + checksum: ac36838bc230b42ca878eeb6993cba5499b858700581fa9e8b579227af9ad47bdbf4c050f4145f51f33f77c16d359f329622b7050150c78a7c52be26cc24174e languageName: node linkType: hard