From 3658c73f17ca5c65f5fa9672f4817001c84635fd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 02:34:25 +0000 Subject: [PATCH 1/2] chore(deps): update dependency husky to v9 --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 4c871f24..dd37659b 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "eslint": "8.56.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "5.1.3", - "husky": "8.0.3", + "husky": "9.0.6", "lint-staged": "15.2.0", "nuxt": "3.9.3", "prettier": "3.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e6b6d72..897b7ae7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,8 +52,8 @@ importers: specifier: 5.1.3 version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4) husky: - specifier: 8.0.3 - version: 8.0.3 + specifier: 9.0.6 + version: 9.0.6 lint-staged: specifier: 15.2.0 version: 15.2.0 @@ -4798,9 +4798,9 @@ packages: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + /husky@9.0.6: + resolution: {integrity: sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==} + engines: {node: '>=18'} hasBin: true dev: true From f616c1ff5e092d14225cc010c83a230df50f2d3a Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Fri, 26 Jan 2024 15:09:17 +0100 Subject: [PATCH 2/2] refactor(husky): migrate to v9 --- .husky/commit-msg | 6 +----- .husky/pre-commit | 4 ---- package.json | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) mode change 100755 => 100644 .husky/commit-msg mode change 100755 => 100644 .husky/pre-commit diff --git a/.husky/commit-msg b/.husky/commit-msg old mode 100755 new mode 100644 index 20bcf293..af3090a8 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,5 +1 @@ -#!/bin/sh -# shellcheck source=./_/husky.sh -. "$(dirname "$0")/_/husky.sh" - -pnpm commitlint --config .commitlintrc.cjs --edit "$1" \ No newline at end of file +pnpm commitlint --config .commitlintrc.cjs --edit "$1" diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100755 new mode 100644 index 4610e58d..cb2c84d5 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1 @@ -#!/bin/sh -# shellcheck source=./_/husky.sh -. "$(dirname "$0")/_/husky.sh" - pnpm lint-staged diff --git a/package.json b/package.json index dd37659b..e5f03d5f 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "lint": "eslint --ext .js,.ts,.vue . && nuxt typecheck", "lint:fix": "eslint --ext .js,.ts,.vue --fix . && nuxt typecheck --fix", "prepack": "pnpm build", - "prepare": "husky install" + "prepare": "husky" }, "type": "module", "types": "./dist/module.d.ts",