-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.versionrc.js
57 lines (57 loc) · 1.07 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
module.exports = {
// Where we read the current version
packageFiles: 'packages/craco-esbuild/package.json',
// Empty array as we update the version in the release bash script
bumpFiles: [
{
filename: 'packages/craco-esbuild/package.json',
type: 'json',
},
],
scripts: {
postbump: 'yarn && git add yarn.lock && yarn prettier',
},
// Configuration passed down to the preset
types: [
{
type: 'feat',
section: 'Features',
},
{
type: 'fix',
section: 'Bug Fixes',
},
{
type: 'perf',
section: 'Performance Improvements',
},
{
type: 'revert',
section: 'Reverts',
},
{
type: 'docs',
section: 'Documentation',
},
{
type: 'chore',
section: 'Miscellaneous Chores',
},
{
type: 'refactor',
section: 'Code Refactoring',
},
{
type: 'test',
section: 'Tests',
},
{
type: 'build',
section: 'Build System',
},
{
type: 'ci',
section: 'Continuous Integration',
},
],
};