-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
.cz-config.cjs
56 lines (51 loc) · 1.68 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
55
56
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: 'comps' },
{ name: 'consts' },
{ name: 'interfaces' },
{ name: 'redux' },
{ name: 'scripts' },
{ name: 'styles' },
{ name: 'types' },
{ name: 'utils' },
{ name: 'env' },
{ name: 'manifest' },
{ name: 'bg' }, // background script (src/background.ts)
{ name: 'content' }, // content script (src/content.ts)
{ name: 'main' }, // main script (src/main.ts)
{ name: 'app' },
{ 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,
};