-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.versionrc.js
33 lines (32 loc) · 891 Bytes
/
.versionrc.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
'use strict'
module.exports = {
types: [
{ type: 'feat', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'chore', section: 'Chore', hidden: true },
{ type: 'docs', section: 'Docs', hidden: false },
{ type: 'style', section: 'Refactor', hidden: false },
{ type: 'refactor', section: 'Refactor', hidden: false },
{ type: 'perf', section: 'Perf', hidden: false },
{ type: 'test', section: 'Refactor', hidden: false },
{ type: 'build', section: 'Build', hidden: false }
],
bumpFiles: [
{
filename: 'VERSION.txt',
updater: require('./scripts/release/bumpVersion')
},
{
filename: 'README.md',
updater: require('./scripts/release/changeReadmeVersion')
},
{
filename: 'package.json',
type: 'json'
},
{
filename: 'package-lock.json',
type: 'json'
}
]
}