mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 09:31:16 +00:00
fix: fixed husky with commitlint and biome
This commit is contained in:
parent
8cd3e996c4
commit
dae8c4145e
3 changed files with 3 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx --no -- commitlint --edit
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
if (process.env.NODE_ENV === "production" || process.env.CI === "true") {
|
||||
process.exit(0);
|
||||
}
|
||||
const husky = (await import("husky")).default;
|
||||
console.log(husky());
|
|
@ -20,7 +20,7 @@
|
|||
"prisma:generate": "npx prisma generate",
|
||||
"prisma:seed": "prisma db seed",
|
||||
"prisma:studio": "npx prisma studio",
|
||||
"prepare": "husky .husky/install",
|
||||
"prepare": "husky",
|
||||
"prod": "npm run migrate:deploy && node dist/main",
|
||||
"start": "nest start",
|
||||
"test": "jest",
|
||||
|
|
Loading…
Reference in a new issue