From 454403cae6e35de457393ef7ee7b095778474906 Mon Sep 17 00:00:00 2001 From: Nathan Klick Date: Thu, 29 Feb 2024 00:08:29 -0600 Subject: [PATCH] chore: disable husky hooks (#265) Signed-off-by: Nathan Klick --- .pre-commit-config.yaml | 5 +++-- package-lock.json | 22 ---------------------- package.json | 4 +--- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67650f69..b2811289 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,14 +7,15 @@ repos: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files + - id: check-shebang-scripts-are-executable - id: check-merge-conflict - id: detect-private-key - - id: forbid-new-submodules + - id: forbid-submodules - repo: https://github.com/compilerla/conventional-pre-commit rev: v2.4.0 hooks: - id: conventional-pre-commit - stages: [ commit-msg ] + stages: [commit-msg] - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.1.0 hooks: diff --git a/package-lock.json b/package-lock.json index 89d15915..61bbebe3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,6 @@ "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.0.1", - "husky": "^9.0.7", "jest": "^29.7.0", "prettier": "^3.1.1", "rimraf": "^5.0.5", @@ -4719,21 +4718,6 @@ "node": ">=10.17.0" } }, - "node_modules/husky": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz", - "integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==", - "dev": true, - "bin": { - "husky": "bin.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -11498,12 +11482,6 @@ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true }, - "husky": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz", - "integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==", - "dev": true - }, "ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", diff --git a/package.json b/package.json index b31c5db9..eef75287 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,7 @@ "unit-test": "jest -- __tests__/commands/**/*.test.ts", "e2e-test": "jest -- __tests__/e2e.test.ts --runInBand", "test": "npm run unit-test && npm run e2e-test", - "single-test": "jest", - "prepare": "husky" + "single-test": "jest" }, "keywords": [ "CLI", @@ -47,7 +46,6 @@ "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.0.1", - "husky": "^9.0.7", "jest": "^29.7.0", "prettier": "^3.1.1", "rimraf": "^5.0.5",