-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy path.versionrc.js
70 lines (70 loc) · 1.38 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
module.exports = {
commitUrlFormat: 'https://github.com/mailjet/mailjet-apiv3-nodejs/commits/{{hash}}',
compareUrlFormat: 'https://github.com/mailjet/mailjet-apiv3-nodejs/compare/{{previousTag}}...{{currentTag}}',
bumpFiles: [
{
filename: 'package.json',
type: 'json',
},
{
filename: 'package-lock.json',
type: 'json',
},
{
filename: 'README.md',
updater: './scripts/standardVersionUpdater.js',
},
],
types: [
{
type: 'breaking',
section: 'Breaking changes',
},
{
type: 'security',
section: 'Dependency changes for security',
},
{
type: 'feature',
section: 'Added features',
},
{
type: 'deprecate',
section: 'Deprecated features',
},
{
type: 'remove',
section: 'Removed features',
},
{
type: 'fix',
section: 'Bug Fixes',
},
{
type: 'test',
section: 'Tests',
},
{
type: 'build',
section: 'Build changes',
},
{
type: 'docs',
section: 'Docs changes',
},
{
type: 'other',
section: 'Other changes',
},
{
type: 'chore',
hidden: true,
},
],
scripts: {
prebump: 'node ./scripts/VersionBump.js',
postchangelog: 'npm run build && npm run docs',
precommit: 'git add -A',
posttag: 'git push && git push --tags',
},
};