module.exports = { types: [ { types: ['feat', 'feature', 'Feat'], label: '๐ŸŽ‰ New Features' }, { types: ['security'], label: '๐Ÿ” Security' }, { types: ['fix', 'bugfix', 'Fix'], label: '๐Ÿ› Bugfixes' }, { types: ['improvements', 'enhancement'], label: '๐Ÿ”จ Improvements' }, { types: ['perf'], label: '๐ŸŽ๏ธ Performance Improvements' }, { types: ['build', 'ci'], label: '๐Ÿ—๏ธ Build System' }, { types: ['refactor'], label: '๐Ÿชš Refactors' }, { types: ['doc', 'docs'], label: '๐Ÿ“š Documentation Changes' }, { types: ['config'], label: '๐Ÿช› Configuration Changes' }, { types: ['test', 'tests'], label: '๐Ÿ” Tests' }, { types: ['style', 'codestyle', 'lint'], label: '๐Ÿ’… Code Style Changes' }, { types: ['chore', 'Chore', 'deps', 'Deps'], label: '๐Ÿงน Chores' }, { types: ['other', 'Other'], label: 'Other Changes' }, ], excludeTypes: [], renderTypeSection: function(label, commits) { let text = `\n## ${label}\n\n` commits.forEach(commit => { const scope = commit.scope ? `**${commit.scope}:** ` : '' text += `- ${scope}${commit.subject}\n` }) return text }, renderChangelog: function(release, changes) { const now = new Date() const d = now.toISOString().substring(0, 10) const header = `# ${release} - ${d}\n` return header + changes + '\n\n' }, }