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 15d8a75..30657a4 100644 --- a/package.json +++ b/package.json @@ -11,14 +11,14 @@ "build": "yarn workspace @wojtekmaj/react-timerange-picker build", "dev": "yarn workspace @wojtekmaj/react-timerange-picker watch & yarn workspace test dev", "lint": "yarn workspaces foreach --all run lint", - "postinstall": "husky install", + "postinstall": "husky", "prettier": "yarn workspaces foreach --all run prettier", "test": "yarn workspaces foreach --all run test", "tsc": "yarn workspaces foreach --all run tsc", "unit": "yarn workspaces foreach --all run unit" }, "devDependencies": { - "husky": "^8.0.0", + "husky": "^9.0.0", "lint-staged": "^15.0.0", "prettier": "^3.0.0" }, diff --git a/yarn.lock b/yarn.lock index 6be70af..9b389ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1146,7 +1146,7 @@ __metadata: version: 0.0.0-use.local resolution: "@wojtekmaj/react-timerange-picker-monorepo@workspace:." dependencies: - husky: "npm:^8.0.0" + husky: "npm:^9.0.0" lint-staged: "npm:^15.0.0" prettier: "npm:^3.0.0" languageName: unknown @@ -2934,12 +2934,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