From bdd8dd8b07d1ffd84e635f42c63574669ae7c305 Mon Sep 17 00:00:00 2001 From: Hangjit Rai Date: Mon, 11 Nov 2024 12:17:17 +1100 Subject: [PATCH] cleanup --- .husky/.gitignore | 1 - .husky/pre-commit | 5 ----- .husky/prepare-commit-msg | 5 ----- package.json | 2 +- 4 files changed, 1 insertion(+), 12 deletions(-) delete mode 100755 .husky/.gitignore diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100755 index 31354ec..0000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/pre-commit b/.husky/pre-commit index abc3a6d..3723623 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1 @@ -#!/bin/bash - -. "$(dirname "$0")/_/husky.sh" -. "$(dirname "$0")/common.sh" - yarn lint-staged diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index 0a075bc..ae72413 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -1,8 +1,3 @@ -#!/bin/bash - -. "$(dirname "$0")/_/husky.sh" -. "$(dirname "$0")/common.sh" - # # Bash sets the BASH environment variable, so if it is not set, then we # # are running in a different shell, so manually run ourselves in BASH. # if [ -z "${BASH:-}" ]; then diff --git a/package.json b/package.json index 4d65d7b..096d46f 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "update-version:firefox": "yarn dot-json distribution/manifest_v2.json version $VER && cd distribution && mv manifest_v2.json manifest.json", "release:firefox": "cd distribution && yarn web-ext sign --channel listed", "release:chrome": "cd distribution && npx chrome-webstore-upload-cli@2 upload --auto-publish", - "prepare": "yarn husky install" + "prepare": "yarn husky" }, "prettier": { "trailingComma": "es5",