From 079e3feaf5d9c16244b07851adfbad04f63f3994 Mon Sep 17 00:00:00 2001 From: sverweij Date: Sat, 8 Jun 2024 19:05:40 +0200 Subject: [PATCH] chore(ci): makes husky config husky@9.x compliant --- .husky/pre-commit | 3 --- package.json | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 85f2e1a2d..598cc16c0 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx lint-staged --config=.lintstagedrc.json diff --git a/package.json b/package.json index fc3f14490..9f0c923e3 100644 --- a/package.json +++ b/package.json @@ -173,7 +173,7 @@ "lint:types:fix": "eslint --no-ignore --config types/.eslintrc.json --fix types/*.d.mts", "prepack": "clean-pkg-json --dry --keep overrides --keep resolutions | jq '.scripts = {test: \"echo for test, build and static analysis scripts: see the github repository\"}' | jq '.type = \"module\"' > smaller-package.json && mv smaller-package.json package.json", "postpack": "git restore package.json", - "prepare": "husky install", + "prepare": "husky", "scm:push": "run-p --aggregate-output scm:push:*", "scm:push:bitbucket-mirror": "run-p --aggregate-output scm:push:bitbucket-mirror:*", "scm:push:bitbucket-mirror:commits": "git push bitbucket-mirror", @@ -270,11 +270,11 @@ "yarn": "1.22.22" }, "overrides": { - "semver": "^7.6.1", + "semver": ">=7.6.2", "postcss": "^8.4.31" }, "resolutions": { - "semver": "^7.6.1", + "semver": ">=7.6.2", "postcss": "^8.4.31" }, "upem": {