Merge pull request #161 from yanbowe/main

refactor(czg): update cz-git,czg breaking changes
This commit is contained in:
Soybean 2022-12-07 22:43:47 +08:00 committed by GitHub
commit 1b3d2a6168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,8 @@ module.exports = {
subject: '填写简短精炼的变更描述 :\n', subject: '填写简短精炼的变更描述 :\n',
body: '填写更加详细的变更描述(可选)。使用 "|" 换行 :\n', body: '填写更加详细的变更描述(可选)。使用 "|" 换行 :\n',
breaking: '列举非兼容性重大的变更(可选)。使用 "|" 换行 :\n', breaking: '列举非兼容性重大的变更(可选)。使用 "|" 换行 :\n',
footerPrefixsSelect: '选择关联issue前缀可选:', footerPrefixesSelect: '选择关联issue前缀可选:',
customFooterPrefixs: '输入自定义issue前缀 :', customFooterPrefix: '输入自定义issue前缀 :',
footer: '列举关联issue (可选) 例如: #31, #I3244 :\n', footer: '列举关联issue (可选) 例如: #31, #I3244 :\n',
confirmCommit: '是否提交或修改commit ?' confirmCommit: '是否提交或修改commit ?'
}, },
@ -76,16 +76,16 @@ module.exports = {
breaklineNumber: 100, breaklineNumber: 100,
breaklineChar: '|', breaklineChar: '|',
skipQuestions: [], skipQuestions: [],
issuePrefixs: [ issuePrefixes: [
// 如果使用 gitee 作为开发管理 // 如果使用 gitee 作为开发管理
{ value: 'link', name: 'link: 链接 ISSUES 进行中' }, { value: 'link', name: 'link: 链接 ISSUES 进行中' },
{ value: 'closed', name: 'closed: 标记 ISSUES 已完成' } { value: 'closed', name: 'closed: 标记 ISSUES 已完成' }
], ],
customIssuePrefixsAlign: 'top', customIssuePrefixAlign: 'top',
emptyIssuePrefixsAlias: 'skip', emptyIssuePrefixAlias: 'skip',
customIssuePrefixsAlias: 'custom', customIssuePrefixAlias: 'custom',
allowCustomIssuePrefixs: true, allowCustomIssuePrefix: true,
allowEmptyIssuePrefixs: true, allowEmptyIssuePrefix: true,
confirmColorize: true, confirmColorize: true,
maxHeaderLength: Infinity, maxHeaderLength: Infinity,
maxSubjectLength: Infinity, maxSubjectLength: Infinity,