From cde22c4369343b3082a0817a1607600734b39166 Mon Sep 17 00:00:00 2001 From: Alexandre Frits Date: Fri, 3 Apr 2020 13:24:04 +0200 Subject: [PATCH 1/4] :see_no_evil: ignore .vscode/settings.json - because of peacock --- .gitignore | 1 + .vscode/settings.json | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c6f9a44 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index a8d6186..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "vsicons.presets.angular": false -} \ No newline at end of file From 099572b575ba16edd055b96db632e8bf75986a33 Mon Sep 17 00:00:00 2001 From: Alexandre Frits Date: Fri, 3 Apr 2020 13:39:12 +0200 Subject: [PATCH 2/4] :art: update existing gitmojis - update some emojis (writing docs, refactoring code) to be up-to-date with https://gitmoji.carloscuesta.me/ - change some prefixes to be closer to actual message (easier to find) - merge _removing code_ & _removing files_ in one snippet because the output was similar --- snippets/git-commit.json | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/snippets/git-commit.json b/snippets/git-commit.json index 99cd2fd..06bddfb 100644 --- a/snippets/git-commit.json +++ b/snippets/git-commit.json @@ -4,17 +4,13 @@ "body": ":art: improve $1" }, "⚑️ Improving performance": { - "prefix": "gm update performance", + "prefix": "gm improve performance", "body": ":zap: improve $1" }, - "πŸ”₯ Removing code": { + "πŸ”₯ Removing code or files": { "prefix": "gm remove code", "body": ":fire: remove $1" }, - "πŸ”₯ Removing files": { - "prefix": "gm remove file", - "body": ":fire: remove $1" - }, "πŸ› Fixing a bug": { "prefix": "gm fix bug", "body": ":bug: fix $1" @@ -29,22 +25,22 @@ }, "πŸ“ Writing docs": { "prefix": "gm add update doc", - "body": ":memo: $1" + "body": ":pencil: $1" }, "πŸš€ Deploying stuff": { "prefix": "gm release deploy", "body": ":rocket: $1" }, "πŸ’„ Updating the UI and style files": { - "prefix": "gm update file", + "prefix": "gm update UI & style files", "body": ":lipstick: update $1" }, "πŸŽ‰ Initial commit": { - "prefix": "gm initial commit release", + "prefix": "gm initial commit", "body": ":tada: initial commit $1" }, "βœ… Adding tests": { - "prefix": "gm add test", + "prefix": "gm add/update tests", "body": ":white_check_mark: $1" }, "πŸ”’ Fixing security issues": { @@ -92,7 +88,7 @@ "body": ":arrow_up: $1" }, "⬇️ Downgrading dependencies": { - "prefix": "gm update dependency", + "prefix": "gm downgrade dependency", "body": ":arrow_down: $1" }, "πŸ‘· Adding CI build system": { @@ -103,9 +99,9 @@ "prefix": "gm add analytics tracking code", "body": ":chart_with_upwards_trend: add $1" }, - "πŸ”¨ Refactoring code": { + "♻️ Refactoring code": { "prefix": "gm update code", - "body": ":hammer: refactor $1" + "body": ":recycle: refactor $1" }, "βž– Removing a dependency": { "prefix": "gm remove dependency", @@ -148,7 +144,7 @@ "body": ":package: $1" }, "πŸ‘½ Updating code due to external API changes": { - "prefix": "gm update code", + "prefix": "gm update code API", "body": ":alien: update $1" }, "🚚 Moving files": { @@ -180,11 +176,11 @@ "body": ":bento: update $1" }, "πŸ‘Œ Updating code due to code review changes": { - "prefix": "gm update code", + "prefix": "gm update code review", "body": ":ok_hand: update $1" }, "♿️ Improving accessibility": { - "prefix": "gm improve accessibility", + "prefix": "gm improve a11y accessibility", "body": ":wheelchair: improve $1" }, "πŸ’‘ Documenting source code": { From 56299dbbdddc9f294f09e1a7b58a7325cb338df4 Mon Sep 17 00:00:00 2001 From: Alexandre Frits Date: Fri, 3 Apr 2020 13:55:30 +0200 Subject: [PATCH 3/4] :art: update descriptions/order to match "spec" --- snippets/git-commit.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/snippets/git-commit.json b/snippets/git-commit.json index 06bddfb..a16eec3 100644 --- a/snippets/git-commit.json +++ b/snippets/git-commit.json @@ -39,7 +39,7 @@ "prefix": "gm initial commit", "body": ":tada: initial commit $1" }, - "βœ… Adding tests": { + "βœ… Updating tests": { "prefix": "gm add/update tests", "body": ":white_check_mark: $1" }, @@ -83,14 +83,14 @@ "prefix": "gm fix ci build", "body": ":green_heart: $1" }, - "⬆️ Upgrading dependencies": { - "prefix": "gm update dependency", - "body": ":arrow_up: $1" - }, "⬇️ Downgrading dependencies": { "prefix": "gm downgrade dependency", "body": ":arrow_down: $1" }, + "⬆️ Upgrading dependencies": { + "prefix": "gm update dependency", + "body": ":arrow_up: $1" + }, "πŸ‘· Adding CI build system": { "prefix": "gm add ci build", "body": ":construction_worker: $1" @@ -103,10 +103,6 @@ "prefix": "gm update code", "body": ":recycle: refactor $1" }, - "βž– Removing a dependency": { - "prefix": "gm remove dependency", - "body": ":heavy_minus_sign: remove $1" - }, "🐳 Work about Docker": { "prefix": "gm work docker", "body": ":whale: $1" @@ -115,6 +111,10 @@ "prefix": "gm add dependency", "body": ":heavy_plus_sign: add $1" }, + "βž– Removing a dependency": { + "prefix": "gm remove dependency", + "body": ":heavy_minus_sign: remove $1" + }, "πŸ”§ Changing configuration files": { "prefix": "gm update file config", "body": ":wrench: update $1" From 7f8a9afa16387bb8053e20f7475c259f87454f64 Mon Sep 17 00:00:00 2001 From: Alexandre Frits Date: Fri, 3 Apr 2020 14:16:20 +0200 Subject: [PATCH 4/4] :sparkles: add 13 new gitmojis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - πŸ“Œ Pinning dependencies to specific versions - πŸ₯š Adding an easter egg - πŸ™ˆ Adding or updating a .gitignore file - πŸ“Έ Adding/updating snapshots - βš— Experimenting new things - πŸ” Improving SEO - ☸️ Work about Kubernetes - 🏷️ Adding/updating types (Flow, TypeScript) - 🌱 Adding/updating seed files - 🚩 Adding/updating/removing feature flags - πŸ₯… Catching errors - πŸ’« Adding/updating animations and transitions - πŸ—‘ Deprecating code that needs to be cleaned up --- snippets/git-commit.json | 76 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/snippets/git-commit.json b/snippets/git-commit.json index a16eec3..777cdf9 100644 --- a/snippets/git-commit.json +++ b/snippets/git-commit.json @@ -91,6 +91,10 @@ "prefix": "gm update dependency", "body": ":arrow_up: $1" }, + "πŸ“Œ Pinning dependencies to specific versions": { + "prefix": "gm pinning dependencies", + "body": ":pushpin: pinning $1" + }, "πŸ‘· Adding CI build system": { "prefix": "gm add ci build", "body": ":construction_worker: $1" @@ -230,5 +234,77 @@ "🀑 Mocking things": { "prefix": "gm mocking", "body": ":clown_face: mock $1" + }, + "πŸ₯š Adding an easter egg": { + "prefix": "gm easter egg", + "body": ":egg: add $1" + }, + "πŸ™ˆ Adding or updating a .gitignore file": { + "prefix": "gm ignore file", + "body": ":see_no_evil: ignore $1" + }, + "πŸ“Έ Adding snapshots": { + "prefix": "gm add snapshot", + "body": ":camera_flash: add $1" + }, + "πŸ“Έ Updating snapshots": { + "prefix": "gm update snapshot", + "body": ":camera_flash: update $1" + }, + "βš— Experimenting new things": { + "prefix": "gm experimental", + "body": ":alembic: $1" + }, + "πŸ” Improving SEO": { + "prefix": "gm improve seo", + "body": ":mag: $1" + }, + "☸️ Work about Kubernetes": { + "prefix": "gm kubernetes", + "body": ":wheel_of_dharma: $1" + }, + "🏷️ Adding types (Flow, TypeScript)": { + "prefix": "gm add types", + "body": ":label: add $1" + }, + "🏷️ Updating types (Flow, TypeScript)": { + "prefix": "gm update types", + "body": ":label: update $1" + }, + "🌱 Adding seed files": { + "prefix": "gm add seed", + "body": ":seedling: add $1" + }, + "🌱 Updating seed files": { + "prefix": "gm update seed", + "body": ":seedling: update $1" + }, + "🚩 Adding feature flags": { + "prefix": "gm add feature flag", + "body": ":triangular_flag_on_post: add $1" + }, + "🚩 Updating feature flags": { + "prefix": "gm update feature flag", + "body": ":triangular_flag_on_post: update $1" + }, + "🚩 Removing feature flags": { + "prefix": "gm remove feature flag", + "body": ":triangular_flag_on_post: remove $1" + }, + "πŸ₯… Catching errors": { + "prefix": "gm catch error", + "body": ":goal_net: catch $1" + }, + "πŸ’« Adding animations and transitions": { + "prefix": "gm add animation transition", + "body": ":dizzy: add $1" + }, + "πŸ’« Updating animations and transitions": { + "prefix": "gm update animation transition", + "body": ":dizzy: update $1" + }, + "πŸ—‘ Deprecating code that needs to be cleaned up": { + "prefix": "gm deprecate code", + "body": ":wastebasket: deprecate $1" } }