anl
Version:
FE command line tool
89 lines (87 loc) โข 2.14 kB
JavaScript
const types = {
features: {
description: 'A new feature',
title: 'Features',
emoji: '๐ก',
subject: 'feat',
},
bugfix: {
description: 'A bug fix (development/test environment)',
title: 'Bug Fixes',
emoji: '๐',
subject: 'fix',
},
hotfix: {
description: 'A bug fix (production environment)',
title: 'Hot Fixes',
emoji: '๐ฅ',
subject: 'fix',
},
chore: {
description: "Daily work, miscellaneous",
title: 'Chores',
emoji: '๐ป',
subject: 'chore',
},
config: {
description: 'Configuration changes',
title: 'Configuration',
emoji: '๐ง',
subject: 'config',
},
style: {
description: 'Non-functional changes (whitespace, formatting, missing semicolons) or style file changes (css, less, scss, sass, stylus, styl)',
title: 'Styles',
emoji: '๐',
subject: 'style',
},
refactor: {
description: 'Code changes that neither fix bugs nor add features (code refactoring)',
title: 'Code Refactoring',
emoji: '๐ธ',
subject: 'refactor',
},
performance: {
description: 'Performance optimization, improve performance (optimize code)',
title: 'Performance Improvements',
emoji: '๐',
subject: 'perf',
},
revert: {
description: 'Revert previous commits',
title: 'Reverts',
emoji: '๐ฃ',
subject: 'revert',
},
document: {
description: 'Document changes (README.md, CHANGELOG.md)',
title: 'Documentation',
emoji: '๐',
subject: 'docs',
},
test: {
description: 'Add missing tests or correct existing tests (test code)',
title: 'Tests',
emoji: '๐งช',
subject: 'test',
},
cicd: {
description: 'Change CI / CD configuration files and scripts (example scope: Travis, Circle, BrowserStack, SauceLabs)',
title: 'Continuous Integrations',
emoji: '๐ข',
subject: 'ci',
},
build: {
description: 'Changes affecting the build system or external dependencies (example scope: gulp, broccoli, npm, webpack, rollup, vite, esbuild, webpack)',
title: 'Builds',
emoji: '๐ฆ',
subject: 'build',
},
release: {
description: 'Release version',
title: 'Releases',
emoji: '๐',
subject: 'release',
},
}
module.exports = { types };