-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.versionrc.js
85 lines (83 loc) · 2.24 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
78
79
80
81
82
83
84
85
// Config file for npm package "standard-version"
// >Any of the command line parameters accepted by standard-version can instead be provided via configuration.
// https://github.com/conventional-changelog/standard-version#configuration
// At this time there is no possibility to include <commit body. while generation CHANGELOG:
// https://github.com/conventional-changelog/standard-version/issues/242
module.exports = {
header: "# Changelog for app Wesnoth duel replay parser\n", // def: Changelog
scripts: {
// https://github.com/conventional-changelog/standard-version/issues/317#issuecomment-823944371
// "bash" added for correct run from Windows PowerShell
postchangelog: "bash ./tools/for_standard-version.sh",
},
// https://github.com/conventional-changelog/standard-version#can-i-use-standard-version-for-additional-metadata-files-languages-or-version-files
bumpFiles: [
{
filename: "./frontend_static_files/version.txt",
// The `plain-text` updater assumes the file contents represents the version.
type: "plain-text",
},
{
filename: "package-lock.json",
// The `json` updater assumes the version is available under a `version` key in the provided JSON document.
type: "json",
},
{
filename: "package.json",
// The `json` updater assumes the version is available under a `version` key in the provided JSON document.
type: "json",
},
],
types: [
{
type: "chore",
section: "Others",
hidden: false,
},
{
type: "feat",
section: "Features",
hidden: false,
},
{
type: "fix",
section: "Bug Fixes",
hidden: false,
},
{
type: "docs",
section: "Docs",
hidden: false,
},
{
type: "style",
section: "Styling",
hidden: false,
},
{
type: "refactor",
section: "Code Refactoring",
hidden: false,
},
{
type: "perf",
section: "Performance Improvements",
hidden: false,
},
{
type: "test",
section: "Tests",
hidden: false,
},
{
type: "build",
section: "Build System",
hidden: false,
},
{
type: "ci",
section: "CI",
hidden: false,
},
],
};