chore: remove husky integration and related scripts from the project
Some checks failed
Build Docker images / build-and-push-image-docs (push) Has been cancelled
Build Docker images / build-and-push-image-website (push) Has been cancelled

This commit is contained in:
Mauricio Siu 2025-04-17 16:44:11 -06:00
parent b46705a572
commit fa06dd0284
6 changed files with 1 additions and 26 deletions

View File

@ -1,4 +0,0 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
pnpm commitlint --edit $1

View File

@ -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());

View File

@ -1 +0,0 @@
pnpm lint-staged

View File

@ -4,8 +4,6 @@ on:
pull_request:
branches: [main]
env:
HUSKY: 0
jobs:
lint-and-typecheck:

View File

@ -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",

View File

@ -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