From b1e75b6b064290861fa71ced64a5b6eb3e9bae79 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Thu, 18 Jul 2024 22:36:48 -0700 Subject: [PATCH] chore(deps-dev): remove precommit hooks --- lefthook.yml | 6 ---- package.json | 2 -- yarn.lock | 92 ---------------------------------------------------- 3 files changed, 100 deletions(-) delete mode 100644 lefthook.yml diff --git a/lefthook.yml b/lefthook.yml deleted file mode 100644 index f91e8e0e0..000000000 --- a/lefthook.yml +++ /dev/null @@ -1,6 +0,0 @@ -pre-commit: - commands: - check: - glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}" - run: yarn biome check --write --no-errors-on-unmatched --files-ignore-unknown=true {staged_files} - stage_fixed: true \ No newline at end of file diff --git a/package.json b/package.json index a9efd3853..20c764afd 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "build": "tsc", "format": "biome format --write .", "lint": "biome lint --write src", - "prepare": "lefthook install", "release": "yarn build && changeset publish", "test": "vitest" }, @@ -50,7 +49,6 @@ "@types/jscodeshift": "^0.11.11", "@types/node": "^16.18.101", "aws-sdk": "2.1641.0", - "lefthook": "^1.6.15", "tsx": "^4.7.1", "typescript": "~5.5.2", "vitest": "~2.0.1" diff --git a/yarn.lock b/yarn.lock index 10639bcee..bf46c425a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1520,7 +1520,6 @@ __metadata: "@types/node": "npm:^16.18.101" aws-sdk: "npm:2.1641.0" jscodeshift: "npm:0.16.1" - lefthook: "npm:^1.6.15" tsx: "npm:^4.7.1" typescript: "npm:~5.5.2" vitest: "npm:~2.0.1" @@ -2848,97 +2847,6 @@ __metadata: languageName: node linkType: hard -"lefthook-darwin-arm64@npm:1.6.15": - version: 1.6.15 - resolution: "lefthook-darwin-arm64@npm:1.6.15" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-darwin-x64@npm:1.6.15": - version: 1.6.15 - resolution: "lefthook-darwin-x64@npm:1.6.15" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"lefthook-freebsd-arm64@npm:1.6.15": - version: 1.6.15 - resolution: "lefthook-freebsd-arm64@npm:1.6.15" - conditions: os=freebsd & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-freebsd-x64@npm:1.6.15": - version: 1.6.15 - resolution: "lefthook-freebsd-x64@npm:1.6.15" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"lefthook-linux-arm64@npm:1.6.15": - version: 1.6.15 - resolution: "lefthook-linux-arm64@npm:1.6.15" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-linux-x64@npm:1.6.15": - version: 1.6.15 - resolution: "lefthook-linux-x64@npm:1.6.15" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - -"lefthook-windows-arm64@npm:1.6.15": - version: 1.6.15 - resolution: "lefthook-windows-arm64@npm:1.6.15" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"lefthook-windows-x64@npm:1.6.15": - version: 1.6.15 - resolution: "lefthook-windows-x64@npm:1.6.15" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"lefthook@npm:^1.6.15": - version: 1.6.15 - resolution: "lefthook@npm:1.6.15" - dependencies: - lefthook-darwin-arm64: "npm:1.6.15" - lefthook-darwin-x64: "npm:1.6.15" - lefthook-freebsd-arm64: "npm:1.6.15" - lefthook-freebsd-x64: "npm:1.6.15" - lefthook-linux-arm64: "npm:1.6.15" - lefthook-linux-x64: "npm:1.6.15" - lefthook-windows-arm64: "npm:1.6.15" - lefthook-windows-x64: "npm:1.6.15" - dependenciesMeta: - lefthook-darwin-arm64: - optional: true - lefthook-darwin-x64: - optional: true - lefthook-freebsd-arm64: - optional: true - lefthook-freebsd-x64: - optional: true - lefthook-linux-arm64: - optional: true - lefthook-linux-x64: - optional: true - lefthook-windows-arm64: - optional: true - lefthook-windows-x64: - optional: true - bin: - lefthook: bin/index.js - checksum: 10c0/582e4ab1f0b3e28cfbc9e773e0027e78c9660448e098740363611873495f127ce0f04efaafbee88425c6a8b88a1f4fe2b0bbe335ac59a8c65705098ba0e68112 - languageName: node - linkType: hard - "load-yaml-file@npm:^0.2.0": version: 0.2.0 resolution: "load-yaml-file@npm:0.2.0"