From 83941365c42ca1197648f49c431dfb2905f995be Mon Sep 17 00:00:00 2001 From: Maximiliano Kazanski Date: Thu, 15 Feb 2024 03:21:35 -0300 Subject: [PATCH] chore: migrate husky from v8 to v9 --- .husky/commit-msg | 3 --- .husky/pre-commit | 3 --- package.json | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index e8511eaea..fd2bf708e 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx --no-install commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af21989..2312dc587 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index d678b1f2b..ef7663487 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "publish:next": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=next --access public --skip-git -m \"chore(@nestjs) publish %s release\"", "publish:rc": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=rc --access public -m \"chore(@nestjs) publish %s release\"", "publish:test": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --force-publish --access public --npm-tag=test --skip-git -m \"chore(@nestjs) publish %s release\"", - "prepare": "husky install" + "prepare": "husky" }, "lint-staged": { "**/*.ts": [