📦 (git-cz) add commit formatter

add formatter in git espesially commit for better commit message in the future.
This commit is contained in:
rafiarrafif
2025-06-24 11:25:02 +07:00
parent 6bcf1d1b97
commit 9870984afd

View File

@ -7,6 +7,7 @@
"dev": "bun run --watch src/index.ts",
"map": "madge --image structure.svg src/index.ts",
"lint": "bunx eslint",
"commit": "bun x git-cz",
"route:sync": "bun run ./scripts/sync-routes.ts",
"env:publish": "bun run ./scripts/create-example-env.ts"
},
@ -30,10 +31,17 @@
"devDependencies": {
"@eslint/js": "^9.29.0",
"bun-types": "latest",
"commitizen": "^4.3.1",
"cz-emoji": "^1.3.2-canary.2",
"eslint": "^9.29.0",
"globals": "^16.2.0",
"prisma": "^6.7.0",
"typescript-eslint": "^8.34.1"
},
"config": {
"commitizen": {
"path": "cz-emoji"
}
},
"module": "src/index.js"
}