📦 (add git-cz for better commit) add git-cz for better commit
This commit is contained in:
@ -7,6 +7,7 @@
|
|||||||
"dev": "bun run --watch src/index.ts",
|
"dev": "bun run --watch src/index.ts",
|
||||||
"map": "madge --image structure.svg src/index.ts",
|
"map": "madge --image structure.svg src/index.ts",
|
||||||
"lint": "bunx eslint",
|
"lint": "bunx eslint",
|
||||||
|
"commit": "bun x git-cz",
|
||||||
"route:sync": "bun run ./scripts/sync-routes.ts",
|
"route:sync": "bun run ./scripts/sync-routes.ts",
|
||||||
"env:publish": "bun run ./scripts/create-example-env.ts"
|
"env:publish": "bun run ./scripts/create-example-env.ts"
|
||||||
},
|
},
|
||||||
@ -30,10 +31,17 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^9.29.0",
|
"@eslint/js": "^9.29.0",
|
||||||
"bun-types": "latest",
|
"bun-types": "latest",
|
||||||
|
"commitizen": "^4.3.1",
|
||||||
|
"cz-emoji": "^1.3.2-canary.2",
|
||||||
"eslint": "^9.29.0",
|
"eslint": "^9.29.0",
|
||||||
"globals": "^16.2.0",
|
"globals": "^16.2.0",
|
||||||
"prisma": "^6.7.0",
|
"prisma": "^6.7.0",
|
||||||
"typescript-eslint": "^8.34.1"
|
"typescript-eslint": "^8.34.1"
|
||||||
},
|
},
|
||||||
|
"config": {
|
||||||
|
"commitizen": {
|
||||||
|
"path": "cz-emoji"
|
||||||
|
}
|
||||||
|
},
|
||||||
"module": "src/index.js"
|
"module": "src/index.js"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user