build: replace lefthook with husky, commitlint and commit-and-tag-version

This commit is contained in:
Deivid Soto 2026-02-12 17:53:24 +01:00
parent fa913d1561
commit 92ed47ebdf
11 changed files with 3607 additions and 73 deletions

1
.husky/commit-msg Normal file
View file

@ -0,0 +1 @@
npx --no -- commitlint --edit $1

2
.husky/pre-commit Normal file
View file

@ -0,0 +1,2 @@
npx lint-staged
npx tsc --noEmit

1
.husky/pre-push Normal file
View file

@ -0,0 +1 @@
npm test