From 3c4fd355c7dc8b30975df767c3ee87e073ed92ce Mon Sep 17 00:00:00 2001 From: Phillip Barta Date: Tue, 1 Oct 2024 13:19:40 +0200 Subject: [PATCH] chore(repo): updated husky to v9.1.5 (#27665) --- .husky/post-checkout | 3 +-- .husky/post-merge | 3 +-- .husky/pre-push | 10 ++++------ package.json | 4 ++-- pnpm-lock.yaml | 12 ++++++------ 5 files changed, 14 insertions(+), 18 deletions(-) diff --git a/.husky/post-checkout b/.husky/post-checkout index a2eaf794b9..86647471fb 100755 --- a/.husky/post-checkout +++ b/.husky/post-checkout @@ -1,3 +1,2 @@ -#!/bin/sh changedFiles="$(git diff-tree -r --name-only --no-commit-id $1 $2)" -node ./scripts/notify-lockfile-changes.js $changedFiles \ No newline at end of file +node ./scripts/notify-lockfile-changes.js $changedFiles diff --git a/.husky/post-merge b/.husky/post-merge index 8e7913dbdc..3c88ee708e 100755 --- a/.husky/post-merge +++ b/.husky/post-merge @@ -1,3 +1,2 @@ -#!/bin/sh changedFiles="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" -node ./scripts/notify-lockfile-changes.js $changedFiles \ No newline at end of file +node ./scripts/notify-lockfile-changes.js $changedFiles diff --git a/.husky/pre-push b/.husky/pre-push index 934cb5210b..64265e074f 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,6 +1,4 @@ -#!/usr/bin/env sh - -pnpm check-lock-files && -pnpm check-commit && -pnpm documentation && -pnpm pretty-quick --check +pnpm check-lock-files +pnpm check-commit +pnpm documentation +pretty-quick --check diff --git a/package.json b/package.json index c2b66dd3c6..34145b772b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "local-registry": "nx local-registry @nx/nx-source", "documentation": "ts-node -P scripts/tsconfig.scripts.json ./scripts/documentation/generators/main.ts && pnpm check-documentation-map", "submit-plugin": "node ./scripts/submit-plugin.js", - "prepare": "is-ci || husky install", + "prepare": "is-ci || husky", "echo": "echo 123458", "preinstall": "node ./scripts/preinstall.js", "test": "nx run-many -t test", @@ -205,7 +205,7 @@ "html-webpack-plugin": "5.5.0", "http-proxy-middleware": "^3.0.0", "http-server": "14.1.0", - "husky": "^8.0.1", + "husky": "^9.1.5", "identity-obj-proxy": "3.0.0", "ignore": "^5.0.4", "immer": "^9.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d95b50edb7..221ddd98fa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -704,8 +704,8 @@ importers: specifier: 14.1.0 version: 14.1.0 husky: - specifier: ^8.0.1 - version: 8.0.3 + specifier: ^9.1.5 + version: 9.1.5 identity-obj-proxy: specifier: 3.0.0 version: 3.0.0 @@ -10835,9 +10835,9 @@ packages: humanize-ms@1.2.1: resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} - husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + husky@9.1.5: + resolution: {integrity: sha512-rowAVRUBfI0b4+niA4SJMhfQwc107VLkBUgEYYAOQAbqDCnra1nYh83hF/MDmhYs9t9n1E3DuKOrs2LYNC+0Ag==} + engines: {node: '>=18'} hasBin: true hyperdyperid@1.2.0: @@ -30024,7 +30024,7 @@ snapshots: dependencies: ms: 2.1.3 - husky@8.0.3: {} + husky@9.1.5: {} hyperdyperid@1.2.0: {}