-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
.cz-config.cjs
54 lines (50 loc) · 1.66 KB
/
.cz-config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
types: [
{ value: 'feat', name: 'New feature' },
{ value: 'fix', name: 'Bug fix' },
{ value: 'wip', name: 'Work in progress' },
{ value: 'style', name: 'Code styling changes' },
{ value: 'refac', name: 'Non-feat, non-fix code changes' },
{ value: 'perf', name: 'Performance improvements' },
{ value: 'chore', name: 'Project build/package changes' },
{ value: 'docs', name: 'Documentation-only changes' },
{ value: 'test', name: 'Unit testing changes' },
{ value: 'undo', name: 'Reverting a commit' },
{ value: 'misc', name: 'Other miscellaneous changes' },
],
scopes: [
{ name: 'assets' },
{ name: 'bg' }, // background script (src/background.ts)
{ name: 'comps' },
{ name: 'consts' },
{ name: 'content' }, // content script (src/content.ts)
{ name: 'env' },
{ name: 'interfaces' },
{ name: 'main' }, // main script (src/main.ts)
{ name: 'manifest' },
{ name: 'redux' },
{ name: 'scripts' },
{ name: 'styles' },
{ name: 'types' },
{ name: 'utils' },
{ name: 'calcdex' },
{ name: 'hellodex' },
{ name: 'honkdex' },
{ name: 'teamdex' },
],
messages: {
type: 'Commit type:',
scope: 'Optional scope:',
customScope: 'Custom scope:',
subject: 'Short message (imperative):',
body: 'Optional longer message (use pipe "|" for "\\n"):',
breaking: 'Optional list of breaking changes:',
footer: 'Optional list of closed issues (e.g., #31, #34):',
confirmCommit: 'Yee?', // #cringe
},
allowBreakingChanges: [],
allowCustomScopes: true,
allowTicketNumber: false,
skipQuestions: ['breaking', 'footer'],
subjectLimit: 50,
};