diff --git a/.husky/commit-msg b/.husky/commit-msg index 4002db7..b9dab70 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" +. "$(dirname "$0")/_/husky.sh" -npx --no -- commitlint --edit +npx --no -- commitlint --edit diff --git a/.husky/install.mjs b/.husky/install.mjs deleted file mode 100644 index ec3e4ab..0000000 --- a/.husky/install.mjs +++ /dev/null @@ -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()); diff --git a/package.json b/package.json index 9967735..dce9475 100644 --- a/package.json +++ b/package.json @@ -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",