import type { Group } from './types'; export const COMMIT_FORMAT_PREFIX = // eslint-disable-next-line unicorn/no-unsafe-regex /^(break|breaking|build|chore|ci|cd|deps|docs|feature|fix|internal|misc|new|patch|perf|release|revert|security|style|styles|test|tests|type|types|update)(?:\(([a-zA-Z0-9\-., ]+)\))?(!)?:/u; export const GROUPS: Group[] = [ { bump: 'major', emoji: 'đŸ’Ĩ', label: 'Breaking', types: ['break', 'breaking'], }, { bump: 'patch', emoji: 'đŸ“Ļ', label: 'Dependencies', types: ['deps'], }, { emoji: '📘', label: 'Docs', types: ['docs'], }, { bump: 'patch', emoji: '🐞', label: 'Fixes', types: ['fix', 'patch'], }, { emoji: '🛠', label: 'Internals', types: ['ci', 'cd', 'build', 'test', 'tests', 'internal'], }, { bump: 'patch', emoji: '📋', label: 'Misc', types: ['chore', 'misc'], }, { bump: 'major', emoji: '🎉', label: 'Release', types: ['release'], }, { bump: 'patch', emoji: 'â†Šī¸', label: 'Reverts', types: ['revert'], }, { bump: 'patch', emoji: '🔑', label: 'Security', types: ['security'], }, { bump: 'patch', emoji: '🎨', label: 'Styles', types: ['style', 'styles'], }, { bump: 'patch', emoji: 'âšĄī¸', label: 'Performance', types: ['perf'], }, { bump: 'patch', emoji: 'âš™ī¸', label: 'Types', types: ['type', 'types'], }, { bump: 'minor', emoji: '🚀', label: 'Updates', types: ['new', 'update', 'feature'], }, ];