|
| 1 | +// prettier-ignore |
| 2 | +/** @type {import('cz-git').UserConfig['prompt']} */ |
| 3 | +module.exports = { |
| 4 | + alias: { fd: 'docs: fix typos' }, |
| 5 | + messages: { |
| 6 | + type: 'Selecione o tipo de alteração que você está comitando:', |
| 7 | + scope: 'Informe o ESCOPO desta alteração (opcional):', |
| 8 | + customScope: 'Escreva o ESCOPO desta alteração:', |
| 9 | + subject: 'Escreva uma descrição CURTA e IMPERATIVA da mudança:\n', |
| 10 | + body: 'Forneça uma descrição MAIS LONGA da mudança (opcional). Use "|" para quebrar uma nova linha:\n', |
| 11 | + breaking: 'Liste quaisquer BREAKING CHANGES (opcional). Use "|" para quebrar nova linha:\n', |
| 12 | + footerPrefixesSelect: 'Select the ISSUES type of change List by this change (optional):', |
| 13 | + customFooterPrefix: 'Input ISSUES prefix:', |
| 14 | + footer: 'List any ISSUES by this change. E.g.: #31, #34:\n', |
| 15 | + generatingByAI: 'Generating your AI commit subject...', |
| 16 | + generatedSelectByAI: 'Select suitable subject by AI generated:', |
| 17 | + confirmCommit: 'Are you sure you want to proceed with the commit above?' |
| 18 | + }, |
| 19 | + types: [ |
| 20 | + { value: 'feat', name: 'feat: Nova funcionalidade', emoji: ':sparkles:' }, |
| 21 | + { value: 'fix', name: 'fix: Correção de bug', emoji: ':bug:' }, |
| 22 | + { value: 'docs', name: 'docs: Apenas mudanças em documentação', emoji: ':memo:' }, |
| 23 | + { value: 'style', name: 'style: Mudança no código que não afeta seu funcionamento', emoji: ':lipstick:' }, |
| 24 | + { value: 'refactor', name: 'refactor: Alteração de código que não corrige bug nem adiciona recurso', emoji: ':recycle:' }, |
| 25 | + { value: 'perf', name: 'perf: Mudança no código que melhora o desempenho', emoji: ':zap:' }, |
| 26 | + { value: 'test', name: 'test: Adiciona testes ou corrige testes existentes', emoji: ':white_check_mark:' }, |
| 27 | + { value: 'build', name: 'build: Alteração que afeta o build ou dependências externas', emoji: ':package:' }, |
| 28 | + { value: 'ci', name: 'ci: Alteração em arquivos de configuração e scripts de CI', emoji: ':ferris_wheel:' }, |
| 29 | + { value: 'chore', name: 'chore: Alteração fora dos diretórios src/**/*', emoji: ':hammer:' }, |
| 30 | + { value: 'revert', name: 'revert: Reverte um commit anterior', emoji: ':rewind:' } |
| 31 | + ], |
| 32 | + useEmoji: false, |
| 33 | + emojiAlign: 'center', |
| 34 | + useAI: false, |
| 35 | + aiNumber: 1, |
| 36 | + themeColorCode: '', |
| 37 | + scopes: [], |
| 38 | + allowCustomScopes: true, |
| 39 | + allowEmptyScopes: true, |
| 40 | + customScopesAlign: 'bottom', |
| 41 | + customScopesAlias: 'custom', |
| 42 | + emptyScopesAlias: 'empty', |
| 43 | + upperCaseSubject: false, |
| 44 | + markBreakingChangeMode: false, |
| 45 | + allowBreakingChanges: ['feat', 'fix'], |
| 46 | + breaklineNumber: 100, |
| 47 | + breaklineChar: '|', |
| 48 | + skipQuestions: [], |
| 49 | + issuePrefixes: [{ value: 'closed', name: 'closed: ISSUES has been processed' }], |
| 50 | + customIssuePrefixAlign: 'top', |
| 51 | + emptyIssuePrefixAlias: 'skip', |
| 52 | + customIssuePrefixAlias: 'custom', |
| 53 | + allowCustomIssuePrefix: false, |
| 54 | + allowEmptyIssuePrefix: false, |
| 55 | + confirmColorize: true, |
| 56 | + maxHeaderLength: Infinity, |
| 57 | + maxSubjectLength: Infinity, |
| 58 | + minSubjectLength: 0, |
| 59 | + scopeOverrides: undefined, |
| 60 | + defaultBody: '', |
| 61 | + defaultIssues: '', |
| 62 | + defaultScope: '', |
| 63 | + defaultSubject: '' |
| 64 | +} |
0 commit comments