diff --git a/.config/.husky/commit-msg b/.config/.husky/commit-msg deleted file mode 100644 index 4f9d7bc..0000000 --- a/.config/.husky/commit-msg +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -pnpm commitlint --edit $1 diff --git a/.config/.husky/install.mjs b/.config/.husky/install.mjs deleted file mode 100644 index 9b13ce1..0000000 --- a/.config/.husky/install.mjs +++ /dev/null @@ -1,6 +0,0 @@ -// Skip Husky install in production and CI -if (process.env.NODE_ENV === "production" || process.env.CI === "true") { - process.exit(0); -} -const husky = (await import("husky")).default; -console.log(husky()); diff --git a/.config/.husky/pre-commit b/.config/.husky/pre-commit deleted file mode 100644 index cb2c84d..0000000 --- a/.config/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -pnpm lint-staged diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 91b6378..152259f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,8 +4,6 @@ on: pull_request: branches: [main] -env: - HUSKY: 0 jobs: lint-and-typecheck: diff --git a/package.json b/package.json index b1400fb..37057e4 100644 --- a/package.json +++ b/package.json @@ -14,15 +14,13 @@ "build": "pnpm -r run build", "format-and-lint": "biome check .", "check": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true", - "format-and-lint:fix": "biome check . --write", - "prepare": "node .husky/install.mjs" + "format-and-lint:fix": "biome check . --write" }, "devDependencies": { "@biomejs/biome": "1.8.3", "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", "@types/node": "^20.9.0", - "husky": "^9.1.6", "lint-staged": "^15.2.7" }, "packageManager": "pnpm@9.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b73d4e..dd6c6d4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,9 +24,6 @@ importers: '@types/node': specifier: ^20.9.0 version: 20.17.16 - husky: - specifier: ^9.1.6 - version: 9.1.6 lint-staged: specifier: ^15.2.7 version: 15.2.7 @@ -2490,11 +2487,6 @@ packages: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} - husky@9.1.6: - resolution: {integrity: sha512-sqbjZKK7kf44hfdE94EoX8MZNk0n7HeW37O4YrVGCF4wzgQjp+akPAkfUK5LZ6KuR/6sqeAVuXHji+RzQgOn5A==} - engines: {node: '>=18'} - hasBin: true - image-size@1.1.1: resolution: {integrity: sha512-541xKlUw6jr/6gGuk92F+mYM5zaFAc5ahphvkqvNe2bQ6gVBkd6bfrmVJ2t4KDAfikAYZyIqTnktX3i6/aQDrQ==} engines: {node: '>=16.x'} @@ -6391,8 +6383,6 @@ snapshots: human-signals@5.0.0: {} - husky@9.1.6: {} - image-size@1.1.1: dependencies: queue: 6.0.2