Skip to content

Commit af3de42

Browse files
committed
chore: integrate commitizen
1 parent f922ce3 commit af3de42

File tree

3 files changed

+1011
-18
lines changed

3 files changed

+1011
-18
lines changed

.cz-config.js

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
'use strict'
2+
3+
module.exports = {
4+
types: [
5+
{ value: 'feat', name: 'feat: A new feature' },
6+
{ value: 'fix', name: 'fix: A bug fix' },
7+
{ value: 'docs', name: 'docs: Documentation only changes' },
8+
{
9+
value: 'style',
10+
name:
11+
'style: Changes that do not affect the meaning of the code\n (white-space, formatting, missing semi-colons, etc)',
12+
},
13+
{
14+
value: 'refactor',
15+
name:
16+
'refactor: A code change that neither fixes a bug nor adds a feature',
17+
},
18+
{
19+
value: 'perf',
20+
name: 'perf: A code change that improves performance',
21+
},
22+
{ value: 'test', name: 'test: Adding missing tests' },
23+
{
24+
value: 'chore',
25+
name:
26+
'chore: Changes to the build process or auxiliary tools\n and libraries such as documentation generation',
27+
},
28+
{ value: 'revert', name: 'revert: Revert to a commit' },
29+
],
30+
31+
scopes: [
32+
{ name: 'action-chain' },
33+
{ name: 'overmind' },
34+
{ name: 'overmind-devtools' },
35+
{ name: 'proxy-state-tree' },
36+
],
37+
38+
// it needs to match the value for field type. Eg.: 'fix'
39+
scopeOverrides: {
40+
chore: [],
41+
},
42+
43+
allowCustomScopes: true,
44+
allowBreakingChanges: ['feat', 'fix'],
45+
appendBranchNameToCommitMessage: false,
46+
}

0 commit comments

Comments
 (0)