Skip to content

Commit

Permalink
feat: sync with official
Browse files Browse the repository at this point in the history
  • Loading branch information
seatonjiang committed Nov 29, 2022
1 parent 65af291 commit 9a9cb7f
Show file tree
Hide file tree
Showing 2 changed files with 378 additions and 580 deletions.
378 changes: 378 additions & 0 deletions src/gitmoji.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,378 @@
// Links: https://github.com/carloscuesta/gitmoji/blob/master/src/data/gitmojis.json
import * as vscode from 'vscode';

interface gitmojiList {
readonly emoji: any;
readonly code: any;
readonly description: any;
}

let Gitmoji: Array<gitmojiList> = [
{
emoji: '🎨',
code: ':art:',
description: vscode.l10n.t('Improve structure/format of the code'),
},
{
emoji: '⚑️',
code: ':zap:',
description: vscode.l10n.t('Improve performance'),
},
{
emoji: 'πŸ”₯',
code: ':fire:',
description: vscode.l10n.t('Remove code or files'),
},
{
emoji: 'πŸ›',
code: ':bug:',
description: vscode.l10n.t('Fix a bug'),
},
{
emoji: 'πŸš‘',
code: ':ambulance:',
description: vscode.l10n.t('Critical hotfix'),
},
{
emoji: '✨',
code: ':sparkles:',
description: vscode.l10n.t('Introduce new features'),
},
{
emoji: 'πŸ“',
code: ':memo:',
description: vscode.l10n.t('Add or update documentation'),
},
{
emoji: 'πŸš€',
code: ':rocket:',
description: vscode.l10n.t('Deploy stuff'),
},
{
emoji: 'πŸ’„',
code: ':lipstick:',
description: vscode.l10n.t('Add or update the UI and style files'),
},
{
emoji: 'πŸŽ‰',
code: ':tada:',
description: vscode.l10n.t('Begin a project'),
},
{
emoji: 'βœ…',
code: ':white_check_mark:',
description: vscode.l10n.t('Add, update, or pass tests'),
},
{
emoji: 'πŸ”’οΈ',
code: ':lock:',
description: vscode.l10n.t('Fix security issues'),
},
{
emoji: 'πŸ”',
code: ':closed_lock_with_key:',
description: vscode.l10n.t('Add or update secrets'),
},
{
emoji: 'πŸ”–',
code: ':bookmark:',
description: vscode.l10n.t('Release/Version tags'),
},
{
emoji: '🚨',
code: ':rotating_light:',
description: vscode.l10n.t('Fix compiler/linter warnings'),
},
{
emoji: '🚧',
code: ':construction:',
description: vscode.l10n.t('Work in progress'),
},
{
emoji: 'πŸ’š',
code: ':green_heart:',
description: vscode.l10n.t('Fix CI Build'),
},
{
emoji: '⬇️',
code: ':arrow_down:',
description: vscode.l10n.t('Downgrade dependencies'),
},
{
emoji: '⬆️',
code: ':arrow_up:',
description: vscode.l10n.t('Upgrade dependencies'),
},
{
emoji: 'πŸ“Œ',
code: ':pushpin:',
description: vscode.l10n.t('Pin dependencies to specific versions'),
},
{
emoji: 'πŸ‘·',
code: ':construction_worker:',
description: vscode.l10n.t('Add or update CI build system'),
},
{
emoji: 'πŸ“ˆ',
code: ':chart_with_upwards_trend:',
description: vscode.l10n.t('Add or update analytics or track code'),
},
{
emoji: '♻️',
code: ':recycle:',
description: vscode.l10n.t('Refactor code'),
},
{
emoji: 'βž•',
code: ':heavy_plus_sign:',
description: vscode.l10n.t('Add a dependency'),
},
{
emoji: 'βž–',
code: ':heavy_minus_sign:',
description: vscode.l10n.t('Remove a dependency'),
},
{
emoji: 'πŸ”§',
code: ':wrench:',
description: vscode.l10n.t('Add or update configuration files'),
},
{
emoji: 'πŸ”¨',
code: ':hammer:',
description: vscode.l10n.t('Add or update development scripts'),
},
{
emoji: '🌐',
code: ':globe_with_meridians:',
description: vscode.l10n.t('Internationalization and localization'),
},
{
emoji: '✏️',
code: ':pencil2:',
description: vscode.l10n.t('Fix typos'),
},
{
emoji: 'πŸ’©',
code: ':poop:',
description: vscode.l10n.t('Write bad code that needs to be improved'),
},
{
emoji: 'βͺ',
code: ':rewind:',
description: vscode.l10n.t('Revert changes'),
},
{
emoji: 'πŸ”€',
code: ':twisted_rightwards_arrows:',
description: vscode.l10n.t('Merge branches'),
},
{
emoji: 'πŸ“¦',
code: ':package:',
description: vscode.l10n.t('Add or update compiled files or packages'),
},
{
emoji: 'πŸ‘½οΈ',
code: ':alien:',
description: vscode.l10n.t('Update code due to external API changes'),
},
{
emoji: '🚚',
code: ':truck:',
description: vscode.l10n.t('Move or rename resources (e.g.: files, paths, routes)'),
},
{
emoji: 'πŸ“„',
code: ':page_facing_up:',
description: vscode.l10n.t('Add or update license'),
},
{
emoji: 'πŸ’₯',
code: ':boom:',
description: vscode.l10n.t('Introduce breaking changes'),
},
{
emoji: '🍱',
code: ':bento:',
description: vscode.l10n.t('Add or update assets'),
},
{
emoji: '♿️',
code: ':wheelchair:',
description: vscode.l10n.t('Improve accessibility'),
},
{
emoji: 'πŸ’‘',
code: ':bulb:',
description: vscode.l10n.t('Add or update comments in source code'),
},
{
emoji: '🍻',
code: ':beers:',
description: vscode.l10n.t('Write code drunkenly'),
},
{
emoji: 'πŸ’¬',
code: ':speech_balloon:',
description: vscode.l10n.t('Add or update text and literals'),
},
{
emoji: 'πŸ—ƒοΈ',
code: ':card_file_box:',
description: vscode.l10n.t('Perform database related changes'),
},
{
emoji: 'πŸ”Š',
code: ':loud_sound:',
description: vscode.l10n.t('Add or update logs'),
},
{
emoji: 'πŸ”‡',
code: ':mute:',
description: vscode.l10n.t('Remove logs'),
},
{
emoji: 'πŸ‘₯',
code: ':busts_in_silhouette:',
description: vscode.l10n.t('Add or update contributor(s)'),
},
{
emoji: '🚸',
code: ':children_crossing:',
description: vscode.l10n.t('Improve user experience/usability'),
},
{
emoji: 'πŸ—οΈ',
code: ':building_construction:',
description: vscode.l10n.t('Make architectural changes'),
},
{
emoji: 'πŸ“±',
code: ':iphone:',
description: vscode.l10n.t('Work on responsive design'),
},
{
emoji: '🀑',
code: ':clown_face:',
description: vscode.l10n.t('Mock things'),
},
{
emoji: 'πŸ₯š',
code: ':egg:',
description: vscode.l10n.t('Add or update an easter egg'),
},
{
emoji: 'πŸ™ˆ',
code: ':see_no_evil:',
description: vscode.l10n.t('Add or update a .gitignore file'),
},
{
emoji: 'πŸ“Έ',
code: ':camera_flash:',
description: vscode.l10n.t('Add or update snapshots'),
},
{
emoji: 'βš—οΈ',
code: ':alembic:',
description: vscode.l10n.t('Perform experiments'),
},
{
emoji: 'πŸ”',
code: ':mag:',
description: vscode.l10n.t('Improve SEO'),
},
{
emoji: '🏷️',
code: ':label:',
description: vscode.l10n.t('Add or update types'),
},
{
emoji: '🌱',
code: ':seedling:',
description: vscode.l10n.t('Add or update seed files'),
},
{
emoji: '🚩',
code: ':triangular_flag_on_post:',
description: vscode.l10n.t('Add, update, or remove feature flags'),
},
{
emoji: 'πŸ₯…',
code: ':goal_net:',
description: vscode.l10n.t('Catch errors'),
},
{
emoji: 'πŸ’«',
code: ':dizzy:',
description: vscode.l10n.t('Add or update animations and transitions'),
},
{
emoji: 'πŸ—‘οΈ',
code: ':wastebasket:',
description: vscode.l10n.t('Deprecate code that needs to be cleaned up'),
},
{
emoji: 'πŸ›‚',
code: ':passport_control:',
description: vscode.l10n.t('Work on code related to authorization, roles and permissions'),
},
{
emoji: '🩹',
code: ':adhesive_bandage:',
description: vscode.l10n.t('Simple fix for a non-critical issue'),
},
{
emoji: '🧐',
code: ':monocle_face:',
description: vscode.l10n.t('Data exploration/inspection'),
},
{
emoji: '⚰️',
code: ':coffin:',
description: vscode.l10n.t('Remove dead code'),
},
{
emoji: 'πŸ§ͺ',
code: ':test_tube:',
description: vscode.l10n.t('Add a failing test'),
},
{
emoji: 'πŸ‘”',
code: ':necktie:',
description: vscode.l10n.t('Add or update business logic'),
},
{
emoji: '🩺',
code: ':stethoscope:',
description: vscode.l10n.t('Add or update healthcheck'),
},
{
emoji: '🧱',
code: ':bricks:',
description: vscode.l10n.t('Infrastructure related changes'),
},
{
emoji: 'πŸ§‘β€πŸ’»',
code: ':technologist:',
description: vscode.l10n.t('Improve developer experience'),
},
{
emoji: 'πŸ’Έ',
code: ':money_with_wings:',
description: vscode.l10n.t('Add sponsorships or money related infrastructure'),
},
{
emoji: '🧡',
code: ':thread:',
description: vscode.l10n.t('Add or update code related to multithreading or concurrency'),
},
{
emoji: '🦺',
code: ':safety_vest:',
description: vscode.l10n.t('Add or update code related to validation'),
},
];

export default Gitmoji;
Loading

0 comments on commit 9a9cb7f

Please sign in to comment.