diff --git a/data/gitmoji/index.json b/data/gitmoji/index.json index 6cb80adc..46432c4a 100644 --- a/data/gitmoji/index.json +++ b/data/gitmoji/index.json @@ -1 +1 @@ -{"types":{"chore":{"code":":computer_disk:","description":"Changes that don’t modify src or test files","emoji":"πŸ’½οΈ","entity":"💽","hidden":false,"name":"computer-disk","release":null,"section":"Changes that don’t modify src or test files","semver":null,"value":"chore"},"style":{"code":":art:","description":"Improve structure / format of the code.","emoji":"🎨","entity":"🎨","hidden":false,"name":"art","release":null,"section":"Improve structure / format of the code.","semver":null,"value":"style"},"perf":{"code":":zap:","description":"Improve performance.","emoji":"⚑️","entity":"⚡","hidden":false,"name":"zap","release":"patch","section":"Improve performance.","semver":"patch","value":"perf"},"prune":{"code":":fire:","description":"Remove code or files.","emoji":"πŸ”₯","entity":"🔥","hidden":false,"name":"fire","release":null,"section":"Remove code or files.","semver":null,"value":"prune"},"fix":{"code":":bug:","description":"Fix a bug.","emoji":"πŸ›","entity":"🐛","hidden":false,"name":"bug","release":"patch","section":"Fix a bug.","semver":"patch","value":"fix"},"quickfix":{"code":":ambulance:","description":"Critical hotfix.","emoji":"πŸš‘","entity":"🚑","hidden":false,"name":"ambulance","release":"patch","section":"Critical hotfix.","semver":"patch","value":"quickfix"},"feat":{"code":":sparkles:","description":"Introduce new features.","emoji":"✨","entity":"✨","hidden":false,"name":"sparkles","release":"minor","section":"Introduce new features.","semver":"minor","value":"feat"},"docs":{"code":":memo:","description":"Add or update documentation.","emoji":"πŸ“","entity":"📝","hidden":false,"name":"memo","release":null,"section":"Add or update documentation.","semver":null,"value":"docs"},"deploy":{"code":":rocket:","description":"Deploy stuff.","emoji":"πŸš€","entity":"🚀","hidden":false,"name":"rocket","release":null,"section":"Deploy stuff.","semver":null,"value":"deploy"},"ui":{"code":":lipstick:","description":"Add or update the UI and style files.","emoji":"πŸ’„","entity":"&#ff99cc;","hidden":false,"name":"lipstick","release":"patch","section":"Add or update the UI and style files.","semver":"patch","value":"ui"},"init":{"code":":tada:","description":"Begin a project.","emoji":"πŸŽ‰","entity":"🎉","hidden":false,"name":"tada","release":null,"section":"Begin a project.","semver":null,"value":"init"},"test":{"code":":white_check_mark:","description":"Add or update tests.","emoji":"βœ…","entity":"✅","hidden":false,"name":"white-check-mark","release":null,"section":"Add or update tests.","semver":null,"value":"test"},"security":{"code":":lock:","description":"Fix security issues.","emoji":"πŸ”’","entity":"🔒","hidden":false,"name":"lock","release":"patch","section":"Fix security issues.","semver":"patch","value":"security"},"release":{"code":":bookmark:","description":"Release / Version tags.","emoji":"πŸ”–","entity":"🔖","hidden":false,"name":"bookmark","release":null,"section":"Release / Version tags.","semver":null,"value":"release"},"lint":{"code":":rotating_light:","description":"Fix compiler / linter warnings.","emoji":"🚨","entity":"🚨","hidden":false,"name":"rotating-light","release":null,"section":"Fix compiler / linter warnings.","semver":null,"value":"lint"},"wip":{"code":":construction:","description":"Work in progress.","emoji":"🚧","entity":"🚧","hidden":false,"name":"construction","release":null,"section":"Work in progress.","semver":null,"value":"wip"},"fix-ci":{"code":":green_heart:","description":"Fix CI Build.","emoji":"πŸ’š","entity":"💚","hidden":false,"name":"green-heart","release":null,"section":"Fix CI Build.","semver":null,"value":"fix-ci"},"downgrade":{"code":":arrow_down:","description":"Downgrade dependencies.","emoji":"⬇️","entity":"⬇️","hidden":false,"name":"arrow-down","release":"patch","section":"Downgrade dependencies.","semver":"patch","value":"downgrade"},"upgrade":{"code":":arrow_up:","description":"Upgrade dependencies.","emoji":"⬆️","entity":"⬆️","hidden":false,"name":"arrow-up","release":"patch","section":"Upgrade dependencies.","semver":"patch","value":"upgrade"},"pushpin":{"code":":pushpin:","description":"Pin dependencies to specific versions.","emoji":"πŸ“Œ","entity":"📌","hidden":false,"name":"pushpin","release":"patch","section":"Pin dependencies to specific versions.","semver":"patch","value":"pushpin"},"ci":{"code":":construction_worker:","description":"Add or update CI build system.","emoji":"πŸ‘·","entity":"👷","hidden":false,"name":"construction-worker","release":null,"section":"Add or update CI build system.","semver":null,"value":"ci"},"analytics":{"code":":chart_with_upwards_trend:","description":"Add or update analytics or track code.","emoji":"πŸ“ˆ","entity":"📈","hidden":false,"name":"chart-with-upwards-trend","release":"patch","section":"Add or update analytics or track code.","semver":"patch","value":"analytics"},"refactor":{"code":":recycle:","description":"Refactor code.","emoji":"♻️","entity":"♲","hidden":false,"name":"recycle","release":null,"section":"Refactor code.","semver":null,"value":"refactor"},"dep-add":{"code":":heavy_plus_sign:","description":"Add a dependency.","emoji":"βž•","entity":"➕","hidden":false,"name":"heavy-plus-sign","release":"patch","section":"Add a dependency.","semver":"patch","value":"dep-add"},"dep-rm":{"code":":heavy_minus_sign:","description":"Remove a dependency.","emoji":"βž–","entity":"➖","hidden":false,"name":"heavy-minus-sign","release":"patch","section":"Remove a dependency.","semver":"patch","value":"dep-rm"},"config":{"code":":wrench:","description":"Add or update configuration files.","emoji":"πŸ”§","entity":"🔧","hidden":false,"name":"wrench","release":"patch","section":"Add or update configuration files.","semver":"patch","value":"config"},"build":{"code":":hammer:","description":"Add or update development scripts.","emoji":"πŸ”¨","entity":"🔨","hidden":false,"name":"hammer","release":null,"section":"Add or update development scripts.","semver":null,"value":"build"},"i18n":{"code":":globe_with_meridians:","description":"Internationalization and localization.","emoji":"🌐","entity":"🌐","hidden":false,"name":"globe-with-meridians","release":"patch","section":"Internationalization and localization.","semver":"patch","value":"i18n"},"typo":{"code":":pencil2:","description":"Fix typos.","emoji":"✏️","entity":"","hidden":false,"name":"pencil2","release":"patch","section":"Fix typos.","semver":"patch","value":"typo"},"poo":{"code":":poop:","description":"Write bad code that needs to be improved.","emoji":"πŸ’©","entity":"","hidden":false,"name":"poop","release":null,"section":"Write bad code that needs to be improved.","semver":null,"value":"poo"},"revert":{"code":":rewind:","description":"Revert changes.","emoji":"βͺ","entity":"⏪","hidden":false,"name":"rewind","release":"patch","section":"Revert changes.","semver":"patch","value":"revert"},"merge":{"code":":twisted_rightwards_arrows:","description":"Merge branches.","emoji":"πŸ”€","entity":"🔀","hidden":false,"name":"twisted-rightwards-arrows","release":null,"section":"Merge branches.","semver":null,"value":"merge"},"dep-up":{"code":":package:","description":"Add or update compiled files or packages.","emoji":"πŸ“¦","entity":"F4E6;","hidden":false,"name":"package","release":"patch","section":"Add or update compiled files or packages.","semver":"patch","value":"dep-up"},"compat":{"code":":alien:","description":"Update code due to external API changes.","emoji":"πŸ‘½","entity":"F47D;","hidden":false,"name":"alien","release":"patch","section":"Update code due to external API changes.","semver":"patch","value":"compat"},"mv":{"code":":truck:","description":"Move or rename resources (e.g.: files, paths, routes).","emoji":"🚚","entity":"F69A;","hidden":false,"name":"truck","release":null,"section":"Move or rename resources (e.g.: files, paths, routes).","semver":null,"value":"mv"},"license":{"code":":page_facing_up:","description":"Add or update license.","emoji":"πŸ“„","entity":"F4C4;","hidden":false,"name":"page-facing-up","release":null,"section":"Add or update license.","semver":null,"value":"license"},"breaking":{"code":":boom:","description":"Introduce breaking changes.","emoji":"πŸ’₯","entity":"💥","hidden":false,"name":"boom","release":"major","section":"Introduce breaking changes.","semver":"major","value":"breaking"},"assets":{"code":":bento:","description":"Add or update assets.","emoji":"🍱","entity":"F371","hidden":false,"name":"bento","release":"patch","section":"Add or update assets.","semver":"patch","value":"assets"},"access":{"code":":wheelchair:","description":"Improve accessibility.","emoji":"♿️","entity":"♿","hidden":false,"name":"wheelchair","release":"patch","section":"Improve accessibility.","semver":"patch","value":"access"},"docs-code":{"code":":bulb:","description":"Add or update comments in source code.","emoji":"πŸ’‘","entity":"💡","hidden":false,"name":"bulb","release":null,"section":"Add or update comments in source code.","semver":null,"value":"docs-code"},"beer":{"code":":beers:","description":"Write code drunkenly.","emoji":"🍻","entity":"🍻","hidden":false,"name":"beers","release":null,"section":"Write code drunkenly.","semver":null,"value":"beer"},"texts":{"code":":speech_balloon:","description":"Add or update text and literals.","emoji":"πŸ’¬","entity":"💬","hidden":false,"name":"speech-balloon","release":"patch","section":"Add or update text and literals.","semver":"patch","value":"texts"},"db":{"code":":card_file_box:","description":"Perform database related changes.","emoji":"πŸ—ƒ","entity":"🗃","hidden":false,"name":"card-file-box","release":"patch","section":"Perform database related changes.","semver":"patch","value":"db"},"log-add":{"code":":loud_sound:","description":"Add or update logs.","emoji":"πŸ”Š","entity":"🔊","hidden":false,"name":"loud-sound","release":null,"section":"Add or update logs.","semver":null,"value":"log-add"},"log-rm":{"code":":mute:","description":"Remove logs.","emoji":"πŸ”‡","entity":"🔇","hidden":false,"name":"mute","release":null,"section":"Remove logs.","semver":null,"value":"log-rm"},"contrib-add":{"code":":busts_in_silhouette:","description":"Add or update contributor(s).","emoji":"πŸ‘₯","entity":"👥","hidden":false,"name":"busts-in-silhouette","release":null,"section":"Add or update contributor(s).","semver":null,"value":"contrib-add"},"ux":{"code":":children_crossing:","description":"Improve user experience / usability.","emoji":"🚸","entity":"🚸","hidden":false,"name":"children-crossing","release":"patch","section":"Improve user experience / usability.","semver":"patch","value":"ux"},"arch":{"code":":building_construction:","description":"Make architectural changes.","emoji":"πŸ—","entity":"f3d7;","hidden":false,"name":"building-construction","release":null,"section":"Make architectural changes.","semver":null,"value":"arch"},"iphone":{"code":":iphone:","description":"Work on responsive design.","emoji":"πŸ“±","entity":"📱","hidden":false,"name":"iphone","release":"patch","section":"Work on responsive design.","semver":"patch","value":"iphone"},"mock":{"code":":clown_face:","description":"Mock things.","emoji":"🀑","entity":"🤡","hidden":false,"name":"clown-face","release":null,"section":"Mock things.","semver":null,"value":"mock"},"egg":{"code":":egg:","description":"Add or update an easter egg.","emoji":"πŸ₯š","entity":"🥚","hidden":false,"name":"egg","release":"patch","section":"Add or update an easter egg.","semver":"patch","value":"egg"},"ignore":{"code":":see_no_evil:","description":"Add or update a .gitignore file.","emoji":"πŸ™ˆ","entity":"bdfe7;","hidden":false,"name":"see-no-evil","release":null,"section":"Add or update a .gitignore file.","semver":null,"value":"ignore"},"snapshot":{"code":":camera_flash:","description":"Add or update snapshots.","emoji":"πŸ“Έ","entity":"📸","hidden":false,"name":"camera-flash","release":null,"section":"Add or update snapshots.","semver":null,"value":"snapshot"},"experiment":{"code":":alembic:","description":"Perform experiments.","emoji":"βš—","entity":"📸","hidden":false,"name":"alembic","release":"patch","section":"Perform experiments.","semver":"patch","value":"experiment"},"seo":{"code":":mag:","description":"Improve SEO.","emoji":"πŸ”","entity":"🔍","hidden":false,"name":"mag","release":"patch","section":"Improve SEO.","semver":"patch","value":"seo"},"types":{"code":":label:","description":"Add or update types.","emoji":"🏷️","entity":"🏷","hidden":false,"name":"label","release":"patch","section":"Add or update types.","semver":"patch","value":"types"},"seed":{"code":":seedling:","description":"Add or update seed files.","emoji":"🌱","entity":"🌱","hidden":false,"name":"seedling","release":null,"section":"Add or update seed files.","semver":null,"value":"seed"},"flags":{"code":":triangular_flag_on_post:","description":"Add, update, or remove feature flags.","emoji":"🚩","entity":"🚩","hidden":false,"name":"triangular-flag-on-post","release":"patch","section":"Add, update, or remove feature flags.","semver":"patch","value":"flags"},"catch":{"code":":goal_net:","description":"Catch errors.","emoji":"πŸ₯…","entity":"🥅","hidden":false,"name":"goal-net","release":"patch","section":"Catch errors.","semver":"patch","value":"catch"},"animation":{"code":":dizzy:","description":"Add or update animations and transitions.","emoji":"πŸ’«","entity":"💫","hidden":false,"name":"animation","release":"patch","section":"Add or update animations and transitions.","semver":"patch","value":"animation"},"clean":{"code":":wastebasket:","description":"Deprecate code that needs to be cleaned up.","emoji":"πŸ—‘","entity":"🗑","hidden":false,"name":"wastebasket","release":"patch","section":"Deprecate code that needs to be cleaned up.","semver":"patch","value":"clean"},"roles":{"code":":passport_control:","description":"Work on code related to authorization, roles and permissions.","emoji":"πŸ›‚","entity":"🛂","hidden":false,"name":"passport-control","release":"patch","section":"Work on code related to authorization, roles and permissions.","semver":"patch","value":"roles"},"patch":{"code":":adhesive_bandage:","description":"Simple fix for a non-critical issue.","emoji":"🩹","entity":"🩹","hidden":false,"name":"adhesive-bandage","release":"patch","section":"Simple fix for a non-critical issue.","semver":"patch","value":"patch"},"data":{"code":":monocle_face:","description":"Data exploration/inspection.","emoji":"🧐","entity":"🧐","hidden":false,"name":"monocle-face","release":null,"section":"Data exploration/inspection.","semver":null,"value":"data"},"rip":{"code":":coffin:","description":"Remove dead code.","emoji":"⚰️","entity":"⚰","hidden":false,"name":"coffin","release":null,"section":"Remove dead code.","semver":null,"value":"rip"}}} \ No newline at end of file +{"types":{"access":{"code":":wheelchair:","description":"Improve accessibility.","emoji":"♿️","entity":"♿","hidden":false,"name":"wheelchair","release":"patch","section":"Improve accessibility.","semver":"patch","value":"access"},"analytics":{"code":":chart_with_upwards_trend:","description":"Add or update analytics or track code.","emoji":"πŸ“ˆ","entity":"📈","hidden":false,"name":"chart-with-upwards-trend","release":"patch","section":"Add or update analytics or track code.","semver":"patch","value":"analytics"},"animation":{"code":":dizzy:","description":"Add or update animations and transitions.","emoji":"πŸ’«","entity":"💫","hidden":false,"name":"animation","release":"patch","section":"Add or update animations and transitions.","semver":"patch","value":"animation"},"arch":{"code":":building_construction:","description":"Make architectural changes.","emoji":"πŸ—","entity":"f3d7;","hidden":false,"name":"building-construction","release":null,"section":"Make architectural changes.","semver":null,"value":"arch"},"assets":{"code":":bento:","description":"Add or update assets.","emoji":"🍱","entity":"F371","hidden":false,"name":"bento","release":"patch","section":"Add or update assets.","semver":"patch","value":"assets"},"beer":{"code":":beers:","description":"Write code drunkenly.","emoji":"🍻","entity":"🍻","hidden":false,"name":"beers","release":null,"section":"Write code drunkenly.","semver":null,"value":"beer"},"breaking":{"code":":boom:","description":"Introduce breaking changes.","emoji":"πŸ’₯","entity":"💥","hidden":false,"name":"boom","release":"major","section":"Introduce breaking changes.","semver":"major","value":"breaking"},"build":{"code":":hammer:","description":"Add or update development scripts.","emoji":"πŸ”¨","entity":"🔨","hidden":false,"name":"hammer","release":null,"section":"Add or update development scripts.","semver":null,"value":"build"},"catch":{"code":":goal_net:","description":"Catch errors.","emoji":"πŸ₯…","entity":"🥅","hidden":false,"name":"goal-net","release":"patch","section":"Catch errors.","semver":"patch","value":"catch"},"chore":{"code":":computer_disk:","description":"Changes that don’t modify src or test files","emoji":"πŸ’½οΈ","entity":"💽","hidden":false,"name":"computer-disk","release":null,"section":"Changes that don’t modify src or test files","semver":null,"value":"chore"},"ci":{"code":":construction_worker:","description":"Add or update CI build system.","emoji":"πŸ‘·","entity":"👷","hidden":false,"name":"construction-worker","release":null,"section":"Add or update CI build system.","semver":null,"value":"ci"},"clean":{"code":":wastebasket:","description":"Deprecate code that needs to be cleaned up.","emoji":"πŸ—‘","entity":"🗑","hidden":false,"name":"wastebasket","release":"patch","section":"Deprecate code that needs to be cleaned up.","semver":"patch","value":"clean"},"compat":{"code":":alien:","description":"Update code due to external API changes.","emoji":"πŸ‘½","entity":"F47D;","hidden":false,"name":"alien","release":"patch","section":"Update code due to external API changes.","semver":"patch","value":"compat"},"config":{"code":":wrench:","description":"Add or update configuration files.","emoji":"πŸ”§","entity":"🔧","hidden":false,"name":"wrench","release":"patch","section":"Add or update configuration files.","semver":"patch","value":"config"},"contrib-add":{"code":":busts_in_silhouette:","description":"Add or update contributor(s).","emoji":"πŸ‘₯","entity":"👥","hidden":false,"name":"busts-in-silhouette","release":null,"section":"Add or update contributor(s).","semver":null,"value":"contrib-add"},"data":{"code":":monocle_face:","description":"Data exploration/inspection.","emoji":"🧐","entity":"🧐","hidden":false,"name":"monocle-face","release":null,"section":"Data exploration/inspection.","semver":null,"value":"data"},"db":{"code":":card_file_box:","description":"Perform database related changes.","emoji":"πŸ—ƒ","entity":"🗃","hidden":false,"name":"card-file-box","release":"patch","section":"Perform database related changes.","semver":"patch","value":"db"},"dep-add":{"code":":heavy_plus_sign:","description":"Add a dependency.","emoji":"βž•","entity":"➕","hidden":false,"name":"heavy-plus-sign","release":"patch","section":"Add a dependency.","semver":"patch","value":"dep-add"},"dep-rm":{"code":":heavy_minus_sign:","description":"Remove a dependency.","emoji":"βž–","entity":"➖","hidden":false,"name":"heavy-minus-sign","release":"patch","section":"Remove a dependency.","semver":"patch","value":"dep-rm"},"dep-up":{"code":":package:","description":"Add or update compiled files or packages.","emoji":"πŸ“¦","entity":"F4E6;","hidden":false,"name":"package","release":"patch","section":"Add or update compiled files or packages.","semver":"patch","value":"dep-up"},"deploy":{"code":":rocket:","description":"Deploy stuff.","emoji":"πŸš€","entity":"🚀","hidden":false,"name":"rocket","release":null,"section":"Deploy stuff.","semver":null,"value":"deploy"},"docs":{"code":":memo:","description":"Add or update documentation.","emoji":"πŸ“","entity":"📝","hidden":false,"name":"memo","release":null,"section":"Add or update documentation.","semver":null,"value":"docs"},"docs-code":{"code":":bulb:","description":"Add or update comments in source code.","emoji":"πŸ’‘","entity":"💡","hidden":false,"name":"bulb","release":null,"section":"Add or update comments in source code.","semver":null,"value":"docs-code"},"downgrade":{"code":":arrow_down:","description":"Downgrade dependencies.","emoji":"⬇️","entity":"⬇️","hidden":false,"name":"arrow-down","release":"patch","section":"Downgrade dependencies.","semver":"patch","value":"downgrade"},"egg":{"code":":egg:","description":"Add or update an easter egg.","emoji":"πŸ₯š","entity":"🥚","hidden":false,"name":"egg","release":"patch","section":"Add or update an easter egg.","semver":"patch","value":"egg"},"experiment":{"code":":alembic:","description":"Perform experiments.","emoji":"βš—","entity":"📸","hidden":false,"name":"alembic","release":"patch","section":"Perform experiments.","semver":"patch","value":"experiment"},"feat":{"code":":sparkles:","description":"Introduce new features.","emoji":"✨","entity":"✨","hidden":false,"name":"sparkles","release":"minor","section":"Introduce new features.","semver":"minor","value":"feat"},"fix":{"code":":bug:","description":"Fix a bug.","emoji":"πŸ›","entity":"🐛","hidden":false,"name":"bug","release":"patch","section":"Fix a bug.","semver":"patch","value":"fix"},"fix-ci":{"code":":green_heart:","description":"Fix CI Build.","emoji":"πŸ’š","entity":"💚","hidden":false,"name":"green-heart","release":null,"section":"Fix CI Build.","semver":null,"value":"fix-ci"},"flags":{"code":":triangular_flag_on_post:","description":"Add, update, or remove feature flags.","emoji":"🚩","entity":"🚩","hidden":false,"name":"triangular-flag-on-post","release":"patch","section":"Add, update, or remove feature flags.","semver":"patch","value":"flags"},"i18n":{"code":":globe_with_meridians:","description":"Internationalization and localization.","emoji":"🌐","entity":"🌐","hidden":false,"name":"globe-with-meridians","release":"patch","section":"Internationalization and localization.","semver":"patch","value":"i18n"},"ignore":{"code":":see_no_evil:","description":"Add or update a .gitignore file.","emoji":"πŸ™ˆ","entity":"bdfe7;","hidden":false,"name":"see-no-evil","release":null,"section":"Add or update a .gitignore file.","semver":null,"value":"ignore"},"init":{"code":":tada:","description":"Begin a project.","emoji":"πŸŽ‰","entity":"🎉","hidden":false,"name":"tada","release":null,"section":"Begin a project.","semver":null,"value":"init"},"iphone":{"code":":iphone:","description":"Work on responsive design.","emoji":"πŸ“±","entity":"📱","hidden":false,"name":"iphone","release":"patch","section":"Work on responsive design.","semver":"patch","value":"iphone"},"license":{"code":":page_facing_up:","description":"Add or update license.","emoji":"πŸ“„","entity":"F4C4;","hidden":false,"name":"page-facing-up","release":null,"section":"Add or update license.","semver":null,"value":"license"},"lint":{"code":":rotating_light:","description":"Fix compiler / linter warnings.","emoji":"🚨","entity":"🚨","hidden":false,"name":"rotating-light","release":null,"section":"Fix compiler / linter warnings.","semver":null,"value":"lint"},"log-add":{"code":":loud_sound:","description":"Add or update logs.","emoji":"πŸ”Š","entity":"🔊","hidden":false,"name":"loud-sound","release":null,"section":"Add or update logs.","semver":null,"value":"log-add"},"log-rm":{"code":":mute:","description":"Remove logs.","emoji":"πŸ”‡","entity":"🔇","hidden":false,"name":"mute","release":null,"section":"Remove logs.","semver":null,"value":"log-rm"},"merge":{"code":":twisted_rightwards_arrows:","description":"Merge branches.","emoji":"πŸ”€","entity":"🔀","hidden":false,"name":"twisted-rightwards-arrows","release":null,"section":"Merge branches.","semver":null,"value":"merge"},"mock":{"code":":clown_face:","description":"Mock things.","emoji":"🀑","entity":"🤡","hidden":false,"name":"clown-face","release":null,"section":"Mock things.","semver":null,"value":"mock"},"mv":{"code":":truck:","description":"Move or rename resources (e.g.: files, paths, routes).","emoji":"🚚","entity":"F69A;","hidden":false,"name":"truck","release":null,"section":"Move or rename resources (e.g.: files, paths, routes).","semver":null,"value":"mv"},"patch":{"code":":adhesive_bandage:","description":"Simple fix for a non-critical issue.","emoji":"🩹","entity":"🩹","hidden":false,"name":"adhesive-bandage","release":"patch","section":"Simple fix for a non-critical issue.","semver":"patch","value":"patch"},"perf":{"code":":zap:","description":"Improve performance.","emoji":"⚑️","entity":"⚡","hidden":false,"name":"zap","release":"patch","section":"Improve performance.","semver":"patch","value":"perf"},"poo":{"code":":poop:","description":"Write bad code that needs to be improved.","emoji":"πŸ’©","entity":"","hidden":false,"name":"poop","release":null,"section":"Write bad code that needs to be improved.","semver":null,"value":"poo"},"prune":{"code":":fire:","description":"Remove code or files.","emoji":"πŸ”₯","entity":"🔥","hidden":false,"name":"fire","release":null,"section":"Remove code or files.","semver":null,"value":"prune"},"pushpin":{"code":":pushpin:","description":"Pin dependencies to specific versions.","emoji":"πŸ“Œ","entity":"📌","hidden":false,"name":"pushpin","release":"patch","section":"Pin dependencies to specific versions.","semver":"patch","value":"pushpin"},"quickfix":{"code":":ambulance:","description":"Critical hotfix.","emoji":"πŸš‘","entity":"🚑","hidden":false,"name":"ambulance","release":"patch","section":"Critical hotfix.","semver":"patch","value":"quickfix"},"refactor":{"code":":recycle:","description":"Refactor code.","emoji":"♻️","entity":"♲","hidden":false,"name":"recycle","release":null,"section":"Refactor code.","semver":null,"value":"refactor"},"release":{"code":":bookmark:","description":"Release / Version tags.","emoji":"πŸ”–","entity":"🔖","hidden":false,"name":"bookmark","release":null,"section":"Release / Version tags.","semver":null,"value":"release"},"revert":{"code":":rewind:","description":"Revert changes.","emoji":"βͺ","entity":"⏪","hidden":false,"name":"rewind","release":"patch","section":"Revert changes.","semver":"patch","value":"revert"},"rip":{"code":":coffin:","description":"Remove dead code.","emoji":"⚰️","entity":"⚰","hidden":false,"name":"coffin","release":null,"section":"Remove dead code.","semver":null,"value":"rip"},"roles":{"code":":passport_control:","description":"Work on code related to authorization, roles and permissions.","emoji":"πŸ›‚","entity":"🛂","hidden":false,"name":"passport-control","release":"patch","section":"Work on code related to authorization, roles and permissions.","semver":"patch","value":"roles"},"security":{"code":":lock:","description":"Fix security issues.","emoji":"πŸ”’","entity":"🔒","hidden":false,"name":"lock","release":"patch","section":"Fix security issues.","semver":"patch","value":"security"},"seed":{"code":":seedling:","description":"Add or update seed files.","emoji":"🌱","entity":"🌱","hidden":false,"name":"seedling","release":null,"section":"Add or update seed files.","semver":null,"value":"seed"},"seo":{"code":":mag:","description":"Improve SEO.","emoji":"πŸ”","entity":"🔍","hidden":false,"name":"mag","release":"patch","section":"Improve SEO.","semver":"patch","value":"seo"},"snapshot":{"code":":camera_flash:","description":"Add or update snapshots.","emoji":"πŸ“Έ","entity":"📸","hidden":false,"name":"camera-flash","release":null,"section":"Add or update snapshots.","semver":null,"value":"snapshot"},"style":{"code":":art:","description":"Improve structure / format of the code.","emoji":"🎨","entity":"🎨","hidden":false,"name":"art","release":null,"section":"Improve structure / format of the code.","semver":null,"value":"style"},"test":{"code":":white_check_mark:","description":"Add or update tests.","emoji":"βœ…","entity":"✅","hidden":false,"name":"white-check-mark","release":null,"section":"Add or update tests.","semver":null,"value":"test"},"texts":{"code":":speech_balloon:","description":"Add or update text and literals.","emoji":"πŸ’¬","entity":"💬","hidden":false,"name":"speech-balloon","release":"patch","section":"Add or update text and literals.","semver":"patch","value":"texts"},"types":{"code":":label:","description":"Add or update types.","emoji":"🏷️","entity":"🏷","hidden":false,"name":"label","release":"patch","section":"Add or update types.","semver":"patch","value":"types"},"typo":{"code":":pencil2:","description":"Fix typos.","emoji":"✏️","entity":"","hidden":false,"name":"pencil2","release":"patch","section":"Fix typos.","semver":"patch","value":"typo"},"ui":{"code":":lipstick:","description":"Add or update the UI and style files.","emoji":"πŸ’„","entity":"&#ff99cc;","hidden":false,"name":"lipstick","release":"patch","section":"Add or update the UI and style files.","semver":"patch","value":"ui"},"upgrade":{"code":":arrow_up:","description":"Upgrade dependencies.","emoji":"⬆️","entity":"⬆️","hidden":false,"name":"arrow-up","release":"patch","section":"Upgrade dependencies.","semver":"patch","value":"upgrade"},"ux":{"code":":children_crossing:","description":"Improve user experience / usability.","emoji":"🚸","entity":"🚸","hidden":false,"name":"children-crossing","release":"patch","section":"Improve user experience / usability.","semver":"patch","value":"ux"},"wip":{"code":":construction:","description":"Work in progress.","emoji":"🚧","entity":"🚧","hidden":false,"name":"construction","release":null,"section":"Work in progress.","semver":null,"value":"wip"}}} \ No newline at end of file diff --git a/lib/questions/type.js b/lib/questions/type.js index 161e8350..bce6a347 100644 --- a/lib/questions/type.js +++ b/lib/questions/type.js @@ -17,7 +17,7 @@ const typeToListItem = ({types, disableEmoji}, type) => { * @param {string[]} config The whole config. */ const findType = function (substring, config) { - // @note Can add fields to type if this should be ordered, hidden and remove list + // @note Can add fields to type if this should be ordered, hidden const types = Object.keys(config.types).map((type) => config.types[type].value); return Promise.resolve( diff --git a/lib/themes/gitmoji.js b/lib/themes/gitmoji.js index 8d1833c9..5c47141f 100644 --- a/lib/themes/gitmoji.js +++ b/lib/themes/gitmoji.js @@ -11,6 +11,114 @@ module.exports = { scopes: [], theme: 'default', types: { + access: { + code: ':wheelchair:', + description: 'Improve accessibility.', + emoji: '♿️', + entity: '♿', + hidden: false, + name: 'wheelchair', + release: 'patch', + section: 'Improve accessibility.', + semver: 'patch', + value: 'access', + }, + analytics: { + code: ':chart_with_upwards_trend:', + description: 'Add or update analytics or track code.', + emoji: 'πŸ“ˆ', + entity: '📈', + hidden: false, + name: 'chart-with-upwards-trend', + release: 'patch', + section: 'Add or update analytics or track code.', + semver: 'patch', + value: 'analytics', + }, + animation: { + code: ':dizzy:', + description: 'Add or update animations and transitions.', + emoji: 'πŸ’«', + entity: '💫', + hidden: false, + name: 'animation', + release: 'patch', + section: 'Add or update animations and transitions.', + semver: 'patch', + value: 'animation', + }, + arch: { + code: ':building_construction:', + description: 'Make architectural changes.', + emoji: 'πŸ—', + entity: 'f3d7;', + hidden: false, + name: 'building-construction', + release: null, + section: 'Make architectural changes.', + semver: null, + value: 'arch', + }, + assets: { + code: ':bento:', + description: 'Add or update assets.', + emoji: '🍱', + entity: 'F371', + hidden: false, + name: 'bento', + release: 'patch', + section: 'Add or update assets.', + semver: 'patch', + value: 'assets', + }, + beer: { + code: ':beers:', + description: 'Write code drunkenly.', + emoji: '🍻', + entity: '🍻', + hidden: false, + name: 'beers', + release: null, + section: 'Write code drunkenly.', + semver: null, + value: 'beer', + }, + breaking: { + code: ':boom:', + description: 'Introduce breaking changes.', + emoji: 'πŸ’₯', + entity: '💥', + hidden: false, + name: 'boom', + release: 'major', + section: 'Introduce breaking changes.', + semver: 'major', + value: 'breaking', + }, + build: { + code: ':hammer:', + description: 'Add or update development scripts.', + emoji: 'πŸ”¨', + entity: '🔨', + hidden: false, + name: 'hammer', + release: null, + section: 'Add or update development scripts.', + semver: null, + value: 'build', + }, + catch: { + code: ':goal_net:', + description: 'Catch errors.', + emoji: 'πŸ₯…', + entity: '🥅', + hidden: false, + name: 'goal-net', + release: 'patch', + section: 'Catch errors.', + semver: 'patch', + value: 'catch', + }, chore: { code: ':computer_disk:', description: 'Changes that don’t modify src or test files', @@ -23,197 +131,161 @@ module.exports = { semver: null, value: 'chore', }, - style: { - code: ':art:', - description: 'Improve structure / format of the code.', - emoji: '🎨', - entity: '🎨', + ci: { + code: ':construction_worker:', + description: 'Add or update CI build system.', + emoji: 'πŸ‘·', + entity: '👷', hidden: false, - name: 'art', + name: 'construction-worker', release: null, - section: 'Improve structure / format of the code.', + section: 'Add or update CI build system.', semver: null, - value: 'style', + value: 'ci', }, - perf: { - code: ':zap:', - description: 'Improve performance.', - emoji: '⚑️', - entity: '⚡', + clean: { + code: ':wastebasket:', + description: 'Deprecate code that needs to be cleaned up.', + emoji: 'πŸ—‘', + entity: '🗑', hidden: false, - name: 'zap', + name: 'wastebasket', release: 'patch', - section: 'Improve performance.', + section: 'Deprecate code that needs to be cleaned up.', semver: 'patch', - value: 'perf', - }, - prune: { - code: ':fire:', - description: 'Remove code or files.', - emoji: 'πŸ”₯', - entity: '🔥', - hidden: false, - name: 'fire', - release: null, - section: 'Remove code or files.', - semver: null, - value: 'prune', + value: 'clean', }, - fix: { - code: ':bug:', - description: 'Fix a bug.', - emoji: 'πŸ›', - entity: '🐛', + compat: { + code: ':alien:', + description: 'Update code due to external API changes.', + emoji: 'πŸ‘½', + entity: 'F47D;', hidden: false, - name: 'bug', + name: 'alien', release: 'patch', - section: 'Fix a bug.', + section: 'Update code due to external API changes.', semver: 'patch', - value: 'fix', + value: 'compat', }, - quickfix: { - code: ':ambulance:', - description: 'Critical hotfix.', - emoji: 'πŸš‘', - entity: '🚑', + config: { + code: ':wrench:', + description: 'Add or update configuration files.', + emoji: 'πŸ”§', + entity: '🔧', hidden: false, - name: 'ambulance', + name: 'wrench', release: 'patch', - section: 'Critical hotfix.', + section: 'Add or update configuration files.', semver: 'patch', - value: 'quickfix', - }, - feat: { - code: ':sparkles:', - description: 'Introduce new features.', - emoji: '✨', - entity: '✨', - hidden: false, - name: 'sparkles', - release: 'minor', - section: 'Introduce new features.', - semver: 'minor', - value: 'feat', + value: 'config', }, - docs: { - code: ':memo:', - description: 'Add or update documentation.', - emoji: 'πŸ“', - entity: '📝', + 'contrib-add': { + code: ':busts_in_silhouette:', + description: 'Add or update contributor(s).', + emoji: 'πŸ‘₯', + entity: '👥', hidden: false, - name: 'memo', + name: 'busts-in-silhouette', release: null, - section: 'Add or update documentation.', + section: 'Add or update contributor(s).', semver: null, - value: 'docs', + value: 'contrib-add', }, - deploy: { - code: ':rocket:', - description: 'Deploy stuff.', - emoji: 'πŸš€', - entity: '🚀', + data: { + code: ':monocle_face:', + description: 'Data exploration/inspection.', + emoji: '🧐', + entity: '🧐', hidden: false, - name: 'rocket', + name: 'monocle-face', release: null, - section: 'Deploy stuff.', + section: 'Data exploration/inspection.', semver: null, - value: 'deploy', + value: 'data', }, - ui: { - code: ':lipstick:', - description: 'Add or update the UI and style files.', - emoji: 'πŸ’„', - entity: '&#ff99cc;', + db: { + code: ':card_file_box:', + description: 'Perform database related changes.', + emoji: 'πŸ—ƒ', + entity: '🗃', hidden: false, - name: 'lipstick', + name: 'card-file-box', release: 'patch', - section: 'Add or update the UI and style files.', + section: 'Perform database related changes.', semver: 'patch', - value: 'ui', - }, - init: { - code: ':tada:', - description: 'Begin a project.', - emoji: 'πŸŽ‰', - entity: '🎉', - hidden: false, - name: 'tada', - release: null, - section: 'Begin a project.', - semver: null, - value: 'init', + value: 'db', }, - test: { - code: ':white_check_mark:', - description: 'Add or update tests.', - emoji: 'βœ…', - entity: '✅', + 'dep-add': { + code: ':heavy_plus_sign:', + description: 'Add a dependency.', + emoji: 'βž•', + entity: '➕', hidden: false, - name: 'white-check-mark', - release: null, - section: 'Add or update tests.', - semver: null, - value: 'test', + name: 'heavy-plus-sign', + release: 'patch', + section: 'Add a dependency.', + semver: 'patch', + value: 'dep-add', }, - security: { - code: ':lock:', - description: 'Fix security issues.', - emoji: 'πŸ”’', - entity: '🔒', + 'dep-rm': { + code: ':heavy_minus_sign:', + description: 'Remove a dependency.', + emoji: 'βž–', + entity: '➖', hidden: false, - name: 'lock', + name: 'heavy-minus-sign', release: 'patch', - section: 'Fix security issues.', + section: 'Remove a dependency.', semver: 'patch', - value: 'security', + value: 'dep-rm', }, - release: { - code: ':bookmark:', - description: 'Release / Version tags.', - emoji: 'πŸ”–', - entity: '🔖', + 'dep-up': { + code: ':package:', + description: 'Add or update compiled files or packages.', + emoji: 'πŸ“¦', + entity: 'F4E6;', hidden: false, - name: 'bookmark', - release: null, - section: 'Release / Version tags.', - semver: null, - value: 'release', + name: 'package', + release: 'patch', + section: 'Add or update compiled files or packages.', + semver: 'patch', + value: 'dep-up', }, - lint: { - code: ':rotating_light:', - description: 'Fix compiler / linter warnings.', - emoji: '🚨', - entity: '🚨', + deploy: { + code: ':rocket:', + description: 'Deploy stuff.', + emoji: 'πŸš€', + entity: '🚀', hidden: false, - name: 'rotating-light', + name: 'rocket', release: null, - section: 'Fix compiler / linter warnings.', + section: 'Deploy stuff.', semver: null, - value: 'lint', + value: 'deploy', }, - wip: { - code: ':construction:', - description: 'Work in progress.', - emoji: '🚧', - entity: '🚧', + docs: { + code: ':memo:', + description: 'Add or update documentation.', + emoji: 'πŸ“', + entity: '📝', hidden: false, - name: 'construction', + name: 'memo', release: null, - section: 'Work in progress.', + section: 'Add or update documentation.', semver: null, - value: 'wip', + value: 'docs', }, - 'fix-ci': { - code: ':green_heart:', - description: 'Fix CI Build.', - emoji: 'πŸ’š', - entity: '💚', + 'docs-code': { + code: ':bulb:', + description: 'Add or update comments in source code.', + emoji: 'πŸ’‘', + entity: '💡', hidden: false, - name: 'green-heart', + name: 'bulb', release: null, - section: 'Fix CI Build.', + section: 'Add or update comments in source code.', semver: null, - value: 'fix-ci', + value: 'docs-code', }, downgrade: { code: ':arrow_down:', @@ -227,113 +299,77 @@ module.exports = { semver: 'patch', value: 'downgrade', }, - upgrade: { - code: ':arrow_up:', - description: 'Upgrade dependencies.', - emoji: '⬆️', - entity: '⬆️', + egg: { + code: ':egg:', + description: 'Add or update an easter egg.', + emoji: 'πŸ₯š', + entity: '🥚', hidden: false, - name: 'arrow-up', + name: 'egg', release: 'patch', - section: 'Upgrade dependencies.', + section: 'Add or update an easter egg.', semver: 'patch', - value: 'upgrade', + value: 'egg', }, - pushpin: { - code: ':pushpin:', - description: 'Pin dependencies to specific versions.', - emoji: 'πŸ“Œ', - entity: '📌', + experiment: { + code: ':alembic:', + description: 'Perform experiments.', + emoji: 'βš—', + entity: '📸', hidden: false, - name: 'pushpin', + name: 'alembic', release: 'patch', - section: 'Pin dependencies to specific versions.', + section: 'Perform experiments.', semver: 'patch', - value: 'pushpin', + value: 'experiment', }, - ci: { - code: ':construction_worker:', - description: 'Add or update CI build system.', - emoji: 'πŸ‘·', - entity: '👷', + feat: { + code: ':sparkles:', + description: 'Introduce new features.', + emoji: '✨', + entity: '✨', hidden: false, - name: 'construction-worker', - release: null, - section: 'Add or update CI build system.', - semver: null, - value: 'ci', + name: 'sparkles', + release: 'minor', + section: 'Introduce new features.', + semver: 'minor', + value: 'feat', }, - analytics: { - code: ':chart_with_upwards_trend:', - description: 'Add or update analytics or track code.', - emoji: 'πŸ“ˆ', - entity: '📈', + fix: { + code: ':bug:', + description: 'Fix a bug.', + emoji: 'πŸ›', + entity: '🐛', hidden: false, - name: 'chart-with-upwards-trend', + name: 'bug', release: 'patch', - section: 'Add or update analytics or track code.', + section: 'Fix a bug.', semver: 'patch', - value: 'analytics', + value: 'fix', }, - refactor: { - code: ':recycle:', - description: 'Refactor code.', - emoji: '♻️', - entity: '♲', + 'fix-ci': { + code: ':green_heart:', + description: 'Fix CI Build.', + emoji: 'πŸ’š', + entity: '💚', hidden: false, - name: 'recycle', + name: 'green-heart', release: null, - section: 'Refactor code.', + section: 'Fix CI Build.', semver: null, - value: 'refactor', - }, - 'dep-add': { - code: ':heavy_plus_sign:', - description: 'Add a dependency.', - emoji: 'βž•', - entity: '➕', - hidden: false, - name: 'heavy-plus-sign', - release: 'patch', - section: 'Add a dependency.', - semver: 'patch', - value: 'dep-add', - }, - 'dep-rm': { - code: ':heavy_minus_sign:', - description: 'Remove a dependency.', - emoji: 'βž–', - entity: '➖', - hidden: false, - name: 'heavy-minus-sign', - release: 'patch', - section: 'Remove a dependency.', - semver: 'patch', - value: 'dep-rm', + value: 'fix-ci', }, - config: { - code: ':wrench:', - description: 'Add or update configuration files.', - emoji: 'πŸ”§', - entity: '🔧', + flags: { + code: ':triangular_flag_on_post:', + description: 'Add, update, or remove feature flags.', + emoji: '🚩', + entity: '🚩', hidden: false, - name: 'wrench', + name: 'triangular-flag-on-post', release: 'patch', - section: 'Add or update configuration files.', + section: 'Add, update, or remove feature flags.', semver: 'patch', - value: 'config', - }, - build: { - code: ':hammer:', - description: 'Add or update development scripts.', - emoji: 'πŸ”¨', - entity: '🔨', - hidden: false, - name: 'hammer', - release: null, - section: 'Add or update development scripts.', - semver: null, - value: 'build', + value: 'flags', }, i18n: { code: ':globe_with_meridians:', @@ -347,41 +383,89 @@ module.exports = { semver: 'patch', value: 'i18n', }, - typo: { - code: ':pencil2:', - description: 'Fix typos.', - emoji: '✏️', - entity: '', + ignore: { + code: ':see_no_evil:', + description: 'Add or update a .gitignore file.', + emoji: 'πŸ™ˆ', + entity: 'bdfe7;', hidden: false, - name: 'pencil2', + name: 'see-no-evil', + release: null, + section: 'Add or update a .gitignore file.', + semver: null, + value: 'ignore', + }, + init: { + code: ':tada:', + description: 'Begin a project.', + emoji: 'πŸŽ‰', + entity: '🎉', + hidden: false, + name: 'tada', + release: null, + section: 'Begin a project.', + semver: null, + value: 'init', + }, + iphone: { + code: ':iphone:', + description: 'Work on responsive design.', + emoji: 'πŸ“±', + entity: '📱', + hidden: false, + name: 'iphone', release: 'patch', - section: 'Fix typos.', + section: 'Work on responsive design.', semver: 'patch', - value: 'typo', + value: 'iphone', }, - poo: { - code: ':poop:', - description: 'Write bad code that needs to be improved.', - emoji: 'πŸ’©', - entity: '', + license: { + code: ':page_facing_up:', + description: 'Add or update license.', + emoji: 'πŸ“„', + entity: 'F4C4;', + hidden: false, + name: 'page-facing-up', + release: null, + section: 'Add or update license.', + semver: null, + value: 'license', + }, + lint: { + code: ':rotating_light:', + description: 'Fix compiler / linter warnings.', + emoji: '🚨', + entity: '🚨', + hidden: false, + name: 'rotating-light', + release: null, + section: 'Fix compiler / linter warnings.', + semver: null, + value: 'lint', + }, + 'log-add': { + code: ':loud_sound:', + description: 'Add or update logs.', + emoji: 'πŸ”Š', + entity: '🔊', hidden: false, - name: 'poop', + name: 'loud-sound', release: null, - section: 'Write bad code that needs to be improved.', + section: 'Add or update logs.', semver: null, - value: 'poo', + value: 'log-add', }, - revert: { - code: ':rewind:', - description: 'Revert changes.', - emoji: 'βͺ', - entity: '⏪', + 'log-rm': { + code: ':mute:', + description: 'Remove logs.', + emoji: 'πŸ”‡', + entity: '🔇', hidden: false, - name: 'rewind', - release: 'patch', - section: 'Revert changes.', - semver: 'patch', - value: 'revert', + name: 'mute', + release: null, + section: 'Remove logs.', + semver: null, + value: 'log-rm', }, merge: { code: ':twisted_rightwards_arrows:', @@ -395,29 +479,17 @@ module.exports = { semver: null, value: 'merge', }, - 'dep-up': { - code: ':package:', - description: 'Add or update compiled files or packages.', - emoji: 'πŸ“¦', - entity: 'F4E6;', - hidden: false, - name: 'package', - release: 'patch', - section: 'Add or update compiled files or packages.', - semver: 'patch', - value: 'dep-up', - }, - compat: { - code: ':alien:', - description: 'Update code due to external API changes.', - emoji: 'πŸ‘½', - entity: 'F47D;', + mock: { + code: ':clown_face:', + description: 'Mock things.', + emoji: '🀑', + entity: '🤡', hidden: false, - name: 'alien', - release: 'patch', - section: 'Update code due to external API changes.', - semver: 'patch', - value: 'compat', + name: 'clown-face', + release: null, + section: 'Mock things.', + semver: null, + value: 'mock', }, mv: { code: ':truck:', @@ -431,209 +503,173 @@ module.exports = { semver: null, value: 'mv', }, - license: { - code: ':page_facing_up:', - description: 'Add or update license.', - emoji: 'πŸ“„', - entity: 'F4C4;', - hidden: false, - name: 'page-facing-up', - release: null, - section: 'Add or update license.', - semver: null, - value: 'license', - }, - breaking: { - code: ':boom:', - description: 'Introduce breaking changes.', - emoji: 'πŸ’₯', - entity: '💥', - hidden: false, - name: 'boom', - release: 'major', - section: 'Introduce breaking changes.', - semver: 'major', - value: 'breaking', - }, - assets: { - code: ':bento:', - description: 'Add or update assets.', - emoji: '🍱', - entity: 'F371', + patch: { + code: ':adhesive_bandage:', + description: 'Simple fix for a non-critical issue.', + emoji: '🩹', + entity: '🩹', hidden: false, - name: 'bento', + name: 'adhesive-bandage', release: 'patch', - section: 'Add or update assets.', + section: 'Simple fix for a non-critical issue.', semver: 'patch', - value: 'assets', + value: 'patch', }, - access: { - code: ':wheelchair:', - description: 'Improve accessibility.', - emoji: '♿️', - entity: '♿', + perf: { + code: ':zap:', + description: 'Improve performance.', + emoji: '⚑️', + entity: '⚡', hidden: false, - name: 'wheelchair', + name: 'zap', release: 'patch', - section: 'Improve accessibility.', + section: 'Improve performance.', semver: 'patch', - value: 'access', + value: 'perf', }, - 'docs-code': { - code: ':bulb:', - description: 'Add or update comments in source code.', - emoji: 'πŸ’‘', - entity: '💡', + poo: { + code: ':poop:', + description: 'Write bad code that needs to be improved.', + emoji: 'πŸ’©', + entity: '', hidden: false, - name: 'bulb', + name: 'poop', release: null, - section: 'Add or update comments in source code.', + section: 'Write bad code that needs to be improved.', semver: null, - value: 'docs-code', + value: 'poo', }, - beer: { - code: ':beers:', - description: 'Write code drunkenly.', - emoji: '🍻', - entity: '🍻', + prune: { + code: ':fire:', + description: 'Remove code or files.', + emoji: 'πŸ”₯', + entity: '🔥', hidden: false, - name: 'beers', + name: 'fire', release: null, - section: 'Write code drunkenly.', + section: 'Remove code or files.', semver: null, - value: 'beer', + value: 'prune', }, - texts: { - code: ':speech_balloon:', - description: 'Add or update text and literals.', - emoji: 'πŸ’¬', - entity: '💬', + pushpin: { + code: ':pushpin:', + description: 'Pin dependencies to specific versions.', + emoji: 'πŸ“Œ', + entity: '📌', hidden: false, - name: 'speech-balloon', + name: 'pushpin', release: 'patch', - section: 'Add or update text and literals.', + section: 'Pin dependencies to specific versions.', semver: 'patch', - value: 'texts', + value: 'pushpin', }, - db: { - code: ':card_file_box:', - description: 'Perform database related changes.', - emoji: 'πŸ—ƒ', - entity: '🗃', + quickfix: { + code: ':ambulance:', + description: 'Critical hotfix.', + emoji: 'πŸš‘', + entity: '🚑', hidden: false, - name: 'card-file-box', + name: 'ambulance', release: 'patch', - section: 'Perform database related changes.', + section: 'Critical hotfix.', semver: 'patch', - value: 'db', - }, - 'log-add': { - code: ':loud_sound:', - description: 'Add or update logs.', - emoji: 'πŸ”Š', - entity: '🔊', - hidden: false, - name: 'loud-sound', - release: null, - section: 'Add or update logs.', - semver: null, - value: 'log-add', - }, - 'log-rm': { - code: ':mute:', - description: 'Remove logs.', - emoji: 'πŸ”‡', - entity: '🔇', - hidden: false, - name: 'mute', - release: null, - section: 'Remove logs.', - semver: null, - value: 'log-rm', + value: 'quickfix', }, - 'contrib-add': { - code: ':busts_in_silhouette:', - description: 'Add or update contributor(s).', - emoji: 'πŸ‘₯', - entity: '👥', + refactor: { + code: ':recycle:', + description: 'Refactor code.', + emoji: '♻️', + entity: '♲', hidden: false, - name: 'busts-in-silhouette', + name: 'recycle', release: null, - section: 'Add or update contributor(s).', + section: 'Refactor code.', semver: null, - value: 'contrib-add', - }, - ux: { - code: ':children_crossing:', - description: 'Improve user experience / usability.', - emoji: '🚸', - entity: '🚸', - hidden: false, - name: 'children-crossing', - release: 'patch', - section: 'Improve user experience / usability.', - semver: 'patch', - value: 'ux', + value: 'refactor', }, - arch: { - code: ':building_construction:', - description: 'Make architectural changes.', - emoji: 'πŸ—', - entity: 'f3d7;', + release: { + code: ':bookmark:', + description: 'Release / Version tags.', + emoji: 'πŸ”–', + entity: '🔖', hidden: false, - name: 'building-construction', + name: 'bookmark', release: null, - section: 'Make architectural changes.', + section: 'Release / Version tags.', semver: null, - value: 'arch', + value: 'release', }, - iphone: { - code: ':iphone:', - description: 'Work on responsive design.', - emoji: 'πŸ“±', - entity: '📱', + revert: { + code: ':rewind:', + description: 'Revert changes.', + emoji: 'βͺ', + entity: '⏪', hidden: false, - name: 'iphone', + name: 'rewind', release: 'patch', - section: 'Work on responsive design.', + section: 'Revert changes.', semver: 'patch', - value: 'iphone', + value: 'revert', }, - mock: { - code: ':clown_face:', - description: 'Mock things.', - emoji: '🀑', - entity: '🤡', + rip: { + code: ':coffin:', + description: 'Remove dead code.', + emoji: '⚰️', + entity: '⚰', hidden: false, - name: 'clown-face', + name: 'coffin', release: null, - section: 'Mock things.', + section: 'Remove dead code.', semver: null, - value: 'mock', + value: 'rip', }, - egg: { - code: ':egg:', - description: 'Add or update an easter egg.', - emoji: 'πŸ₯š', - entity: '🥚', + roles: { + code: ':passport_control:', + description: 'Work on code related to authorization, roles and permissions.', + emoji: 'πŸ›‚', + entity: '🛂', hidden: false, - name: 'egg', + name: 'passport-control', release: 'patch', - section: 'Add or update an easter egg.', + section: 'Work on code related to authorization, roles and permissions.', semver: 'patch', - value: 'egg', + value: 'roles', }, - ignore: { - code: ':see_no_evil:', - description: 'Add or update a .gitignore file.', - emoji: 'πŸ™ˆ', - entity: 'bdfe7;', + security: { + code: ':lock:', + description: 'Fix security issues.', + emoji: 'πŸ”’', + entity: '🔒', hidden: false, - name: 'see-no-evil', + name: 'lock', + release: 'patch', + section: 'Fix security issues.', + semver: 'patch', + value: 'security', + }, + seed: { + code: ':seedling:', + description: 'Add or update seed files.', + emoji: '🌱', + entity: '🌱', + hidden: false, + name: 'seedling', release: null, - section: 'Add or update a .gitignore file.', + section: 'Add or update seed files.', semver: null, - value: 'ignore', + value: 'seed', + }, + seo: { + code: ':mag:', + description: 'Improve SEO.', + emoji: 'πŸ”', + entity: '🔍', + hidden: false, + name: 'mag', + release: 'patch', + section: 'Improve SEO.', + semver: 'patch', + value: 'seo', }, snapshot: { code: ':camera_flash:', @@ -647,29 +683,41 @@ module.exports = { semver: null, value: 'snapshot', }, - experiment: { - code: ':alembic:', - description: 'Perform experiments.', - emoji: 'βš—', - entity: '📸', + style: { + code: ':art:', + description: 'Improve structure / format of the code.', + emoji: '🎨', + entity: '🎨', hidden: false, - name: 'alembic', - release: 'patch', - section: 'Perform experiments.', - semver: 'patch', - value: 'experiment', + name: 'art', + release: null, + section: 'Improve structure / format of the code.', + semver: null, + value: 'style', }, - seo: { - code: ':mag:', - description: 'Improve SEO.', - emoji: 'πŸ”', - entity: '🔍', + test: { + code: ':white_check_mark:', + description: 'Add or update tests.', + emoji: 'βœ…', + entity: '✅', hidden: false, - name: 'mag', + name: 'white-check-mark', + release: null, + section: 'Add or update tests.', + semver: null, + value: 'test', + }, + texts: { + code: ':speech_balloon:', + description: 'Add or update text and literals.', + emoji: 'πŸ’¬', + entity: '💬', + hidden: false, + name: 'speech-balloon', release: 'patch', - section: 'Improve SEO.', + section: 'Add or update text and literals.', semver: 'patch', - value: 'seo', + value: 'texts', }, types: { code: ':label:', @@ -683,113 +731,65 @@ module.exports = { semver: 'patch', value: 'types', }, - seed: { - code: ':seedling:', - description: 'Add or update seed files.', - emoji: '🌱', - entity: '🌱', - hidden: false, - name: 'seedling', - release: null, - section: 'Add or update seed files.', - semver: null, - value: 'seed', - }, - flags: { - code: ':triangular_flag_on_post:', - description: 'Add, update, or remove feature flags.', - emoji: '🚩', - entity: '🚩', - hidden: false, - name: 'triangular-flag-on-post', - release: 'patch', - section: 'Add, update, or remove feature flags.', - semver: 'patch', - value: 'flags', - }, - catch: { - code: ':goal_net:', - description: 'Catch errors.', - emoji: 'πŸ₯…', - entity: '🥅', - hidden: false, - name: 'goal-net', - release: 'patch', - section: 'Catch errors.', - semver: 'patch', - value: 'catch', - }, - animation: { - code: ':dizzy:', - description: 'Add or update animations and transitions.', - emoji: 'πŸ’«', - entity: '💫', + typo: { + code: ':pencil2:', + description: 'Fix typos.', + emoji: '✏️', + entity: '', hidden: false, - name: 'animation', + name: 'pencil2', release: 'patch', - section: 'Add or update animations and transitions.', + section: 'Fix typos.', semver: 'patch', - value: 'animation', + value: 'typo', }, - clean: { - code: ':wastebasket:', - description: 'Deprecate code that needs to be cleaned up.', - emoji: 'πŸ—‘', - entity: '🗑', + ui: { + code: ':lipstick:', + description: 'Add or update the UI and style files.', + emoji: 'πŸ’„', + entity: '&#ff99cc;', hidden: false, - name: 'wastebasket', + name: 'lipstick', release: 'patch', - section: 'Deprecate code that needs to be cleaned up.', + section: 'Add or update the UI and style files.', semver: 'patch', - value: 'clean', + value: 'ui', }, - roles: { - code: ':passport_control:', - description: 'Work on code related to authorization, roles and permissions.', - emoji: 'πŸ›‚', - entity: '🛂', + upgrade: { + code: ':arrow_up:', + description: 'Upgrade dependencies.', + emoji: '⬆️', + entity: '⬆️', hidden: false, - name: 'passport-control', + name: 'arrow-up', release: 'patch', - section: 'Work on code related to authorization, roles and permissions.', + section: 'Upgrade dependencies.', semver: 'patch', - value: 'roles', + value: 'upgrade', }, - patch: { - code: ':adhesive_bandage:', - description: 'Simple fix for a non-critical issue.', - emoji: '🩹', - entity: '🩹', + ux: { + code: ':children_crossing:', + description: 'Improve user experience / usability.', + emoji: '🚸', + entity: '🚸', hidden: false, - name: 'adhesive-bandage', + name: 'children-crossing', release: 'patch', - section: 'Simple fix for a non-critical issue.', + section: 'Improve user experience / usability.', semver: 'patch', - value: 'patch', - }, - data: { - code: ':monocle_face:', - description: 'Data exploration/inspection.', - emoji: '🧐', - entity: '🧐', - hidden: false, - name: 'monocle-face', - release: null, - section: 'Data exploration/inspection.', - semver: null, - value: 'data', + value: 'ux', }, - rip: { - code: ':coffin:', - description: 'Remove dead code.', - emoji: '⚰️', - entity: '⚰', + wip: { + code: ':construction:', + description: 'Work in progress.', + emoji: '🚧', + entity: '🚧', hidden: false, - name: 'coffin', + name: 'construction', release: null, - section: 'Remove dead code.', + section: 'Work in progress.', semver: null, - value: 'rip', + value: 'wip', }, }, }; diff --git a/scripts/gitmoji/gitmojiFetch.js b/scripts/gitmoji/gitmojiFetch.js index 9c4b090b..88b1ab31 100644 --- a/scripts/gitmoji/gitmojiFetch.js +++ b/scripts/gitmoji/gitmojiFetch.js @@ -11,7 +11,7 @@ const dataFilename = path.resolve(dataDirectory, 'init.json'); const gitmojiFetch = async () => { const response = await fetch(gitmojiUrl); const json = await response.json(); - const data = await JSON.stringify(json, null, 4); + const data = await JSON.stringify(json, null, 2); // @todo(callback) // eslint-disable-next-line promise/prefer-await-to-callbacks @@ -20,7 +20,7 @@ const gitmojiFetch = async () => { throw err; } // eslint-disable-next-line no-console - console.log('πŸ’›οΈ 1. gitmojiFetch > ./data/gitmoji/init.json'); + console.log('πŸ’šοΈ 1. gitmojiFetch > ./data/gitmoji/init.json'); }); }; diff --git a/scripts/gitmoji/gitmojiRewrite.js b/scripts/gitmoji/gitmojiRewrite.js index ba9e1b3b..d2fc7478 100644 --- a/scripts/gitmoji/gitmojiRewrite.js +++ b/scripts/gitmoji/gitmojiRewrite.js @@ -109,5 +109,11 @@ const gitmoji = async () => { gitmoji(); module.exports = { - types, + types: Object.keys(types) + .sort() + .reduce((type, key) => { + type[key] = types[key]; + + return type; + }, {}), };