From 74993b1678dcff62958f3f417b4600abe3f15aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ari=20Perkki=C3=B6?= Date: Fri, 14 Jun 2024 08:25:50 +0300 Subject: [PATCH] chore: remove pre-commit hooks --- .husky/pre-commit | 4 ---- .nano-staged.json | 5 ----- package.json | 3 --- pnpm-lock.yaml | 22 ---------------------- 4 files changed, 34 deletions(-) delete mode 100755 .husky/pre-commit delete mode 100644 .nano-staged.json diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index 592dddf..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -./node_modules/.bin/nano-staged --config ./.nano-staged.json diff --git a/.nano-staged.json b/.nano-staged.json deleted file mode 100644 index 738a0c7..0000000 --- a/.nano-staged.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "*.{js,ts,tsx,md}": [ - "prettier --write" - ] -} \ No newline at end of file diff --git a/package.json b/package.json index 1b0e3f4..f7d0b20 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "dev": "tsup --watch", "build": "tsup", "publish": "clean-publish", - "prepare": "husky install", "lint": "eslint --max-warnings=0" }, "devDependencies": { @@ -49,8 +48,6 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-unicorn": "^53.0.0", - "husky": "^7.0.4", - "nano-staged": "^0.5.0", "prettier": "^3.3.2", "tsup": "^8.0.2", "typescript": "^5.4.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1ebf12..2e8f596 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,12 +29,6 @@ importers: eslint-plugin-unicorn: specifier: ^53.0.0 version: 53.0.0(eslint@9.4.0) - husky: - specifier: ^7.0.4 - version: 7.0.4 - nano-staged: - specifier: ^0.5.0 - version: 0.5.0 prettier: specifier: ^3.3.2 version: 3.3.2 @@ -969,11 +963,6 @@ packages: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} - husky@7.0.4: - resolution: {integrity: sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==} - engines: {node: '>=12'} - hasBin: true - ignore@5.3.1: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} @@ -1167,11 +1156,6 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nano-staged@0.5.0: - resolution: {integrity: sha512-5jkhLvyZM974RmCyI8vt7zo0QK6GIAOCBe6e7L36awXIlG+40/5zJiDvESFrFmO4PhBCRm9lUlnH0SsWAFLDLg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - hasBin: true - nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -2554,8 +2538,6 @@ snapshots: human-signals@5.0.0: {} - husky@7.0.4: {} - ignore@5.3.1: {} import-fresh@3.3.0: @@ -2718,10 +2700,6 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nano-staged@0.5.0: - dependencies: - picocolors: 1.0.0 - nanoid@3.3.7: {} natural-compare@1.4.0: {}