diff --git a/.cz-config.js b/.cz-config3.js similarity index 84% rename from .cz-config.js rename to .cz-config3.js index c6fd06d..bea5fea 100644 --- a/.cz-config.js +++ b/.cz-config3.js @@ -60,12 +60,13 @@ module.exports = { // override the messages, defaults are as follows messages: { type: "选择提交类型:", - scope: "选择该提交的影响范围(可选):", + scope: "选择该提交的影响范围(回车跳过):", customScope: "选择本次提交影响的范围:", - subject: "编写简短的变更描述:\n", - body: '编写更加详细的描述 (可选). 使用 "|" 进行换行:\n', - breaking: "列出与上一个版本不兼容的变更 (可选):\n", - footer: "列出本次变更后需要关闭的问题(ISSUES)(可选). 例如: #31, #34:\n", + subject: "编写简短的变更描述:", + body: '编写更加详细的描述,使用 "|" 进行换行 (回车跳过):', + breaking: "列出与上一个版本不兼容的变更 (回车跳过):", + footer: + "列出本次变更后需要关闭的问题(ISSUES). 例如: #31, #34.(回车跳过):", confirmCommit: "确定提交吗?", }, diff --git a/package.json b/package.json index 311f3cf..51a8394 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ }, "config": { "commitizen": { - "path": "node_modules/cz-customizable" + "path": "node_modules/cz-conventional-changelog" } }, "husky": {