diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100755 index c160a771..00000000 --- a/.husky/commit-msg +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -npx --no -- commitlint --edit ${1} diff --git a/.husky/post-merge b/.husky/post-merge deleted file mode 100755 index 0cf548cf..00000000 --- a/.husky/post-merge +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -pnpm install diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index 7d0de5da..00000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -lint-staged diff --git a/.husky/pre-push b/.husky/pre-push deleted file mode 100755 index 146e9688..00000000 --- a/.husky/pre-push +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -tsc --noEmit diff --git a/package.json b/package.json index db365974..e5c3b8be 100644 --- a/package.json +++ b/package.json @@ -39,8 +39,7 @@ "patch": "npm version patch -m 'chore(release): %s'", "minor": "npm version minor -m 'chore(release): %s'", "major": "npm version major -m 'chore(release): %s'", - "prepublishOnly": "pnpm test && pnpm build", - "prepare": "husky install" + "prepublishOnly": "pnpm test && pnpm build" }, "commitlint": { "extends": [ @@ -72,7 +71,6 @@ "coffeescript": "^2.7.0", "conventional-changelog-cli": "^2.2.2", "eslint": "^8.29.0", - "husky": "^8.0.2", "jest": "^29.5.0", "less": "^3.13.1", "lint-staged": "^10.5.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bcc98704..65d4d5e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -67,9 +67,6 @@ devDependencies: eslint: specifier: ^8.29.0 version: 8.29.0 - husky: - specifier: ^8.0.2 - version: 8.0.2 jest: specifier: ^29.5.0 version: 29.5.0(@types/node@14.18.34) @@ -4347,12 +4344,6 @@ packages: engines: {node: '>=10.17.0'} dev: true - /husky@8.0.2: - resolution: {integrity: sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==} - engines: {node: '>=14'} - hasBin: true - dev: true - /ignore@5.2.1: resolution: {integrity: sha512-d2qQLzTJ9WxQftPAuEQpSPmKqzxePjzVbpAVv62AQ64NTL+wR4JkrVqR/LqFsFEUsHDAiId52mJteHDFuDkElA==} engines: {node: '>= 4'}