forked from cyclejs/cyclejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cz-config.js
49 lines (43 loc) · 1.26 KB
/
.cz-config.js
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
'use strict';
var packageScopes = [
'devtool',
'dom',
'html',
'history',
'http',
'isolate',
'most-run',
'run',
'rxjs-run',
'time'
];
var otherScopes = [
'META',
'examples'
];
module.exports = {
types: [
{value: 'feat', name: 'feat: Add a new feature'},
{value: 'fix', name: 'fix: Submit a bug fix'},
{value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature.\n Includes code style changes.'},
{value: 'test', name: 'test: Add tests only'},
{value: 'docs', name: 'docs: Documentation only changes'},
{value: 'release', name: 'release: Publish a new version of a package.'},
{value: 'chore', name: 'chore: Changes to the build process or auxiliary tools\n and libraries such as documentation generation. META only.'},
{value: 'perf', name: 'perf: A code change that improves performance'},
],
scopes: packageScopes.concat(otherScopes)
.sort()
.map(name => ({name})),
scopeOverrides: {
chore: [
{name: 'META'},
],
feat: packageScopes,
fix: packageScopes,
release: packageScopes,
test: packageScopes,
},
allowCustomScopes: false,
allowBreakingChanges: ['feat', 'fix'],
};