cz-conventional-changelog-befe
Version:
cz adaptor for baidu BEFE
24 lines (22 loc) • 1.34 kB
JavaScript
const chalk = require('chalk').default
module.exports = {
'first.hint': 'Line 1 will be cropped at 100 characters. All other ' + 'lines will be wrapped after 100 characters.',
'feat.hint': "Select the type of change that you're committing:",
'has-breaking.hint': 'Are there any breaking changes?',
'has-issues.hint': 'Does this change affect any open issues?',
'scope.hint': 'Denote the scope of this change (location, browser, compile, etc.):',
'subject.hint': 'Write a short, imperative tense description of the change:\n',
'body.hint': 'Provide a longer description of the change:\n',
'breaking.change.hint': 'List any breaking changes:\n',
'issues.hint':
'List any issues closed by this change\n' +
"1. use icafe prefix config, you can start with '#' (e.g. close #123)\n" +
"2. without icafe prefix config, just don't start with '#' (e.g. fix asset-123 123 12312)\n" +
"3. multiple issues seperate by space or ',' (e.g. re asset-123,#2345,#123123,hard-3)\n",
'subject.error': "Please write some short description here, it's required",
'warn.suggest-disabled':
chalk.redBright('Warning:issues suggest is disabled,please see ') +
chalk.cyan('https://bit.ly/2JdTSQT') +
chalk.redBright(' for more information.'),
'succ.suggest-enabled': chalk.green('${1} issue suggest is enabled!')
}