-
-
Notifications
You must be signed in to change notification settings - Fork 420
/
Copy path.cz-config.js
48 lines (42 loc) · 1023 Bytes
/
.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
'use strict';
var packageScopes = [
'devtool',
'dom',
'html',
'history',
'http',
'isolate',
'most-run',
'run',
'rxjs-run',
'state',
'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: 'docs', name: 'docs: Documentation only changes'},
{value: 'release', name: 'release: Publish a new version of a package.'},
{
value: 'chore',
name:
'chore: Any internal changes that do not affect the\n ' +
'the users of packages. Includes refactoring.',
},
],
scopes: packageScopes
.concat(otherScopes)
.sort()
.map(name => ({name})),
scopeOverrides: {
chore: packageScopes.concat(otherScopes),
feat: packageScopes,
fix: packageScopes,
release: packageScopes,
test: packageScopes,
},
allowCustomScopes: false,
allowBreakingChanges: ['feat', 'fix'],
};