From 0bb936d8ddde3bbec53d50d900a7b3a12914fccd Mon Sep 17 00:00:00 2001 From: Fernando Pasik Date: Fri, 26 Jan 2024 17:26:35 +0000 Subject: [PATCH] build: update hooks to husky 9 --- .husky/commit-msg | 3 --- .husky/pre-commit | 3 --- .husky/pre-push | 3 --- package.json | 2 +- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 04988426..229687d5 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm exec -c 'commitlint --edit $1' diff --git a/.husky/pre-commit b/.husky/pre-commit index 82be7ed0..5c3e95f0 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm exec lint-staged diff --git a/.husky/pre-push b/.husky/pre-push index 0fb96287..5f67d621 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm run verify diff --git a/package.json b/package.json index f99e6d7c..d6bcc6b5 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "lint": "eslint . --ext js,ts", "lit-analyze": "lit-analyzer src --strict", "prebuild": "del lib lit-redux-router.*", - "prepare": "husky install", + "prepare": "husky", "preversion": "npm run verify", "size": "bundlewatch", "start": "rollup -c",