|
| 1 | +// @see https://cz-git.qbb.sh/config/#configure-template |
| 2 | +module.exports = { |
| 3 | + alias: { fd: 'docs: fix typos' }, |
| 4 | + messages: { |
| 5 | + type: 'Select the type of change that you\'re committing:', |
| 6 | + scope: 'Denote the SCOPE of this change (optional):', |
| 7 | + customScope: 'Denote the SCOPE of this change:', |
| 8 | + subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n', |
| 9 | + body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n', |
| 10 | + breaking: 'List any BREAKING CHANGES (optional). Use "|" to break new line:\n', |
| 11 | + footerPrefixesSelect: 'Select the ISSUES type of changeList by this change (optional):', |
| 12 | + customFooterPrefix: 'Input ISSUES prefix:', |
| 13 | + footer: 'List any ISSUES by this change. E.g.: #31, #34:\n', |
| 14 | + generatingByAI: 'Generating your AI commit subject...', |
| 15 | + generatedSelectByAI: 'Select suitable subject by AI generated:', |
| 16 | + confirmCommit: 'Are you sure you want to proceed with the commit above?' |
| 17 | + }, |
| 18 | + types: [ |
| 19 | + { value: 'feat', name: 'feat: A new feature', emoji: ':sparkles:' }, |
| 20 | + { value: 'fix', name: 'fix: A bug fix', emoji: ':bug:' }, |
| 21 | + { value: 'perf', name: 'perf: A code change that improves performance', emoji: ':zap:' }, |
| 22 | + { value: 'docs', name: 'docs: Documentation only changes', emoji: ':memo:' }, |
| 23 | + { value: 'style', name: 'style: Changes that do not affect the meaning of the code', emoji: ':lipstick:' }, |
| 24 | + { value: 'deps', name: 'deps: A dependency update', emoji: ':package:' }, |
| 25 | + { value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature', emoji: ':recycle:' }, |
| 26 | + { value: 'ci', name: 'ci: Changes to our CI configuration files and scripts', emoji: ':ferris_wheel:' }, |
| 27 | + { value: 'test', name: 'test: Adding missing tests or correcting existing tests', emoji: ':white_check_mark:' }, |
| 28 | + { value: 'revert', name: 'revert: Reverts a previous commit', emoji: ':rewind:' }, |
| 29 | + { value: 'build', name: 'build: Changes that affect the build system or external dependencies', emoji: ':package:' }, |
| 30 | + { value: 'chore', name: 'chore: Other changes that don\'t modify src or test files', emoji: ':hammer:' }, |
| 31 | + { value: 'security', name: 'security: A code change that fixes a security issue', emoji: ':lock:' } |
| 32 | + ], |
| 33 | + useEmoji: false, |
| 34 | + emojiAlign: 'center', |
| 35 | + useAI: false, |
| 36 | + aiNumber: 1, |
| 37 | + themeColorCode: '', |
| 38 | + scopes: [], |
| 39 | + allowCustomScopes: true, |
| 40 | + allowEmptyScopes: true, |
| 41 | + customScopesAlign: 'bottom', |
| 42 | + customScopesAlias: 'custom', |
| 43 | + emptyScopesAlias: 'empty', |
| 44 | + upperCaseSubject: false, |
| 45 | + markBreakingChangeMode: false, |
| 46 | + allowBreakingChanges: ['feat', 'fix'], |
| 47 | + breaklineNumber: 100, |
| 48 | + breaklineChar: '|', |
| 49 | + skipQuestions: [], |
| 50 | + issuePrefixes: [{ value: 'closed', name: 'closed: ISSUES has been processed' }], |
| 51 | + customIssuePrefixAlign: 'top', |
| 52 | + emptyIssuePrefixAlias: 'skip', |
| 53 | + customIssuePrefixAlias: 'custom', |
| 54 | + allowCustomIssuePrefix: true, |
| 55 | + allowEmptyIssuePrefix: true, |
| 56 | + confirmColorize: true, |
| 57 | + maxHeaderLength: Infinity, |
| 58 | + maxSubjectLength: Infinity, |
| 59 | + minSubjectLength: 0, |
| 60 | + scopeOverrides: undefined, |
| 61 | + defaultBody: '', |
| 62 | + defaultIssues: '', |
| 63 | + defaultScope: '', |
| 64 | + defaultSubject: '' |
| 65 | +} |
0 commit comments