-
Notifications
You must be signed in to change notification settings - Fork 1
/
latest.json
181 lines (181 loc) · 5.66 KB
/
latest.json
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"inspectVersion": {
"type": "boolean",
"description": "If set, Fork-Version will print the current version and exit."
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of the files to be updated."
},
"glob": {
"type": "string",
"description": "Glob pattern to match files to be updated."
},
"path": {
"type": "string",
"description": "The path Fork-Version will run from. Defaults to \"process.cwd()\"."
},
"changelog": {
"type": "string",
"description": "Name of the changelog file. Defaults to \"CHANGELOG.md\"."
},
"header": {
"type": "string",
"description": "The header text for the changelog."
},
"tagPrefix": {
"type": "string",
"description": "Specify a prefix for the created tag. Defaults to \"v\"."
},
"preRelease": {
"type": [
"string",
"boolean"
],
"description": "Make a pre-release with optional label if given value is a string."
},
"currentVersion": {
"type": "string",
"description": "If set, Fork-Version will use this version instead of trying to determine one."
},
"nextVersion": {
"type": "string",
"description": "If set, Fork-Version will attempt to update to this version, instead of incrementing using \"conventional-commit\"."
},
"releaseAs": {
"type": "string",
"enum": [
"major",
"minor",
"patch"
],
"description": "Release as increments the version by the specified level. Overrides the default behaviour of \"conventional-commit\"."
},
"allowMultipleVersions": {
"type": "boolean",
"description": "Don't throw an error if multiple versions are found in the given files."
},
"commitAll": {
"type": "boolean",
"description": "Commit all changes, not just files updated by Fork-Version."
},
"changelogAll": {
"type": "boolean",
"description": "If this flag is set, all default commit types will be added to the changelog, not just `feat` and `fix`."
},
"debug": {
"type": "boolean",
"description": "Output debug information."
},
"dryRun": {
"type": "boolean",
"description": "No output will be written to disk or committed."
},
"silent": {
"type": "boolean",
"description": "Run without logging to the terminal."
},
"gitTagFallback": {
"type": "boolean",
"description": "If unable to find a version in the given files, fallback and attempt to use the latest git tag. Defaults to true."
},
"sign": {
"type": "boolean",
"description": "If true, git will sign the commit with the systems GPG key."
},
"verify": {
"type": "boolean",
"description": "If true, git will run user defined git hooks before committing."
},
"skipBump": {
"type": "boolean",
"description": "Skip the bump step."
},
"skipChangelog": {
"type": "boolean",
"description": "Skip the changelog step."
},
"skipCommit": {
"type": "boolean",
"description": "Skip the commit step."
},
"skipTag": {
"type": "boolean",
"description": "Skip the tag step."
},
"changelogPresetConfig": {
"type": "object",
"properties": {
"types": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of commit message, such as \"feat\", \"fix\", \"chore\"."
},
"scope": {
"type": "string",
"description": "The scope of the commit message."
},
"section": {
"type": "string",
"description": "The section of the `CHANGELOG` the commit should show up in."
},
"hidden": {
"type": "boolean",
"description": "Should show in the generated changelog message?"
}
},
"required": [
"type"
],
"additionalProperties": false
},
"description": "List of explicitly supported commit message types."
},
"commitUrlFormat": {
"type": "string",
"description": "A URL representing a specific commit at a hash."
},
"compareUrlFormat": {
"type": "string",
"description": "A URL representing the comparison between two git SHAs."
},
"issueUrlFormat": {
"type": "string",
"description": "A URL representing the issue format."
},
"userUrlFormat": {
"type": "string",
"description": "A URL representing a user's profile on GitHub, Gitlab, etc."
},
"releaseCommitMessageFormat": {
"type": "string",
"description": "A string to be used to format the auto-generated release commit message."
},
"issuePrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of prefixes used to detect references to issues."
}
},
"additionalProperties": false,
"description": "Override the default \"conventional-changelog-conventionalcommits\" preset configuration."
},
"releaseMessageSuffix": {
"type": "string",
"description": "Add a suffix to the release commit message."
}
}
}