From 76e50731a27a81e03c89ecd1c7ee7d08ef57a5d8 Mon Sep 17 00:00:00 2001 From: Thomas Tykesson Date: Fri, 5 Apr 2024 08:56:07 +0200 Subject: [PATCH] Oppgrader til Husky v9 --- .husky/pre-commit | 3 --- package.json | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 06cc084c..f4a59cc0 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 566a5f9d..ea1ac52b 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "devDependencies": { "dotenv": "^16.4.5", "eslint": "^8.57.0", - "husky": "^8.0.1", + "husky": "^9.0.11", "lint-staged": "^15.2.2", "prettier": "^3.2.5" }, @@ -24,7 +24,7 @@ "node-fetch": "^3.3.2" }, "scripts": { - "prepare": "husky install", + "prepare": "husky", "lint:staged": "lint-staged" } } diff --git a/yarn.lock b/yarn.lock index 5e3035a8..cafe9b13 100644 --- a/yarn.lock +++ b/yarn.lock @@ -620,10 +620,10 @@ human-signals@^5.0.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== -husky@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9" - integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw== +husky@^9.0.11: + version "9.0.11" + resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9" + integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw== ignore@^5.2.0: version "5.2.0"