-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy path.versionrc.js
77 lines (74 loc) · 1.48 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
71
72
73
74
75
76
77
// List of all of the packages that will want to create a changelog for
const packages = [
"terra-draw",
"terra-draw-arcgis-adapter",
"terra-draw-google-maps-adapter",
"terra-draw-leaflet-adapter",
"terra-draw-mapbox-gl-adapter",
"terra-draw-maplibre-gl-adapter",
"terra-draw-openlayers-adapter",
];
// The list of the types of commits that will be used to generate the changelog
// See: https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.2.0/README.md#types
const types = [];
// For each package, add the types of commits that will be used to generate the changelog
packages.forEach((packageName) => {
types.push(
{
type: "feat",
section: "Features",
scope: packageName,
},
{
type: "fix",
section: "Bug Fixes",
scope: packageName,
},
{
type: "docs",
section: "Documentation",
scope: packageName,
},
{
type: "style",
section: "Styling",
scope: packageName,
},
{
type: "refactor",
section: "Refactors",
scope: packageName,
},
{
type: "perf",
section: "Performance",
scope: packageName,
},
{
type: "test",
section: "Tests",
scope: packageName,
},
{
type: "build",
section: "Build System",
scope: packageName,
},
{
type: "ci",
section: "CI",
scope: packageName,
},
{
type: "chore",
section: "Chore",
scope: packageName,
},
{
type: "revert",
section: "Reverts",
scope: packageName,
},
);
});
export default { types };