|
@@ -51,25 +51,35 @@ module.exports = {
|
|
|
},
|
|
},
|
|
|
prompt: {
|
|
prompt: {
|
|
|
/** @use `pnpm commit :f` */
|
|
/** @use `pnpm commit :f` */
|
|
|
- alias: {
|
|
|
|
|
- f: 'docs: fix typos',
|
|
|
|
|
- r: 'docs: update README',
|
|
|
|
|
- s: 'style: update code format',
|
|
|
|
|
- b: 'build: bump dependencies',
|
|
|
|
|
- c: 'chore: update config',
|
|
|
|
|
- },
|
|
|
|
|
- customScopesAlign: !scopeComplete ? 'top' : 'bottom',
|
|
|
|
|
- defaultScope: scopeComplete,
|
|
|
|
|
- scopes: [...scopes, 'mock'],
|
|
|
|
|
- allowEmptyIssuePrefixs: false,
|
|
|
|
|
- allowCustomIssuePrefixs: false,
|
|
|
|
|
-
|
|
|
|
|
- // English
|
|
|
|
|
- typesAppend: [
|
|
|
|
|
- { value: 'wip', name: 'wip: work in process' },
|
|
|
|
|
- { value: 'workflow', name: 'workflow: workflow improvements' },
|
|
|
|
|
- { value: 'types', name: 'types: type definition file changes' },
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ useEmoji: false,
|
|
|
|
|
+ emojiAlign: 'center',
|
|
|
|
|
+ useAI: false,
|
|
|
|
|
+ aiNumber: 1,
|
|
|
|
|
+ themeColorCode: '',
|
|
|
|
|
+ scopes: [],
|
|
|
|
|
+ allowCustomScopes: true,
|
|
|
|
|
+ allowEmptyScopes: true,
|
|
|
|
|
+ customScopesAlign: 'bottom',
|
|
|
|
|
+ customScopesAlias: 'custom',
|
|
|
|
|
+ emptyScopesAlias: 'empty',
|
|
|
|
|
+ upperCaseSubject: false,
|
|
|
|
|
+ markBreakingChangeMode: false,
|
|
|
|
|
+ allowBreakingChanges: ['feat', 'fix'],
|
|
|
|
|
+ breaklineNumber: 100,
|
|
|
|
|
+ breaklineChar: '|',
|
|
|
|
|
+ skipQuestions: [],
|
|
|
|
|
+ issuePrefixes: [{ value: 'closed', name: 'closed: ISSUES has been processed' }],
|
|
|
|
|
+ customIssuePrefixAlign: 'top',
|
|
|
|
|
+ emptyIssuePrefixAlias: 'skip',
|
|
|
|
|
+ customIssuePrefixAlias: 'custom',
|
|
|
|
|
+ allowCustomIssuePrefix: true,
|
|
|
|
|
+ allowEmptyIssuePrefix: true,
|
|
|
|
|
+ confirmColorize: true,
|
|
|
|
|
+ minSubjectLength: 0,
|
|
|
|
|
+ defaultBody: '',
|
|
|
|
|
+ defaultIssues: '',
|
|
|
|
|
+ defaultScope: '',
|
|
|
|
|
+ defaultSubject: '',
|
|
|
|
|
|
|
|
// 中英文对照版
|
|
// 中英文对照版
|
|
|
messages: {
|
|
messages: {
|