Skip to content

Commit efd4e29

Browse files
committedMar 29, 2020
🔧 chore (build) Automate git commit messages

File tree

2 files changed

+754
-1
lines changed

2 files changed

+754
-1
lines changed
 

‎package-lock.json

Lines changed: 712 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"braces": ">=2.3.1",
3535
"commitizen": "^4.0.3",
3636
"cz-conventional-changelog": "^3.1.0",
37+
"cz-emoji": "^1.2.1",
3738
"eslint": "4.19.1",
3839
"eslint-config-airbnb-base": "^13.1.0",
3940
"eslint-plugin-import": "^2.16.0",
@@ -50,7 +51,47 @@
5051
},
5152
"config": {
5253
"commitizen": {
53-
"path": "./node_modules/cz-conventional-changelog"
54+
"path": "cz-emoji"
55+
},
56+
"cz-emoji": {
57+
"types": [
58+
{
59+
"emoji": "🐛",
60+
"code": ":bug: fix",
61+
"description": "Fixing a bug on code.",
62+
"name": "fix code"
63+
},
64+
{
65+
"emoji": "📝",
66+
"code": ":pencil: fix",
67+
"description": "Fixing typos on book.",
68+
"name": "fix typo"
69+
},
70+
{
71+
"emoji": "",
72+
"code": ":sparkles: feat",
73+
"description": "Introducing new features on code and/or book.",
74+
"name": "feature"
75+
},
76+
{
77+
"emoji": "💥",
78+
"code": ":boom: break",
79+
"description": "Introducing breaking changes.",
80+
"name": "breaking"
81+
},
82+
{
83+
"emoji": "🔖",
84+
"code": ":bookmark: release",
85+
"description": "Releasing / Version tags.",
86+
"name": "release"
87+
},
88+
{
89+
"emoji": "🔩",
90+
"code": ":wrench: chore",
91+
"description": "Adding CI/build tools.",
92+
"name": "chore"
93+
}
94+
]
5495
}
5596
},
5697
"husky": {

0 commit comments

Comments
 (0)
Please sign in to comment.