Skip to content

Commit 822e324

Browse files
committed
Merge branch 'develop'
2 parents d4efbb6 + 6bb741e commit 822e324

File tree

2 files changed

+67
-1
lines changed

2 files changed

+67
-1
lines changed

changelog.config.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
module.exports = {
2+
disableEmoji: true,
3+
format: '{type}{scope}: {emoji}{subject}',
4+
list: ['chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test'],
5+
maxMessageLength: 64,
6+
minMessageLength: 3,
7+
questions: ['type', 'scope', 'subject', 'body', 'breaking', 'issues', 'lerna'],
8+
scopes: [],
9+
types: {
10+
chore: {
11+
description: 'Build process or auxiliary tool changes',
12+
emoji: '🤖',
13+
value: 'chore',
14+
},
15+
ci: {
16+
description: 'CI related changes',
17+
emoji: '🎡',
18+
value: 'ci',
19+
},
20+
docs: {
21+
description: 'Documentation only changes',
22+
emoji: '✏️',
23+
value: 'docs',
24+
},
25+
feat: {
26+
description: 'A new feature',
27+
emoji: '⚜️',
28+
value: 'feat',
29+
},
30+
fix: {
31+
description: 'A bug fix',
32+
emoji: '🐛',
33+
value: 'fix',
34+
},
35+
perf: {
36+
description: 'A code change that improves performance',
37+
emoji: '⚡️',
38+
value: 'perf',
39+
},
40+
refactor: {
41+
description: 'A code change that neither fixes a bug or adds a feature',
42+
emoji: '♻️',
43+
value: 'refactor',
44+
},
45+
release: {
46+
description: 'Create a release commit',
47+
emoji: '🚀',
48+
value: 'release',
49+
},
50+
revert: {
51+
description: 'Revert changes',
52+
emoji: '↩️',
53+
value: 'release',
54+
},
55+
style: {
56+
description: 'Markup, white-space, formatting, missing semi-colons...',
57+
emoji: '💄',
58+
value: 'style',
59+
},
60+
test: {
61+
description: 'Adding missing tests',
62+
emoji: '🧪',
63+
value: 'test',
64+
},
65+
},
66+
};g

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"scripts": {
2626
"authors": "node ./scripts/authors.js",
27-
"postinstall": "yarn husky install && npm run build && npm run authors",
27+
"prepare": "yarn husky install && npm run build && npm run authors",
2828
"prepublishOnly": "npm test && npm run lint",
2929
"preversion": "npm run lint",
3030
"postversion": "git push && git push --tags",

0 commit comments

Comments
 (0)