renovate 40.4.0 → 40.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/options/index.js +34 -2
- package/dist/config/options/index.js.map +1 -1
- package/dist/config/types.d.ts +8 -1
- package/dist/config/types.js.map +1 -1
- package/dist/workers/repository/update/branch/bump-versions.d.ts +2 -0
- package/dist/workers/repository/update/branch/bump-versions.js +191 -0
- package/dist/workers/repository/update/branch/bump-versions.js.map +1 -0
- package/dist/workers/repository/update/branch/index.js +3 -0
- package/dist/workers/repository/update/branch/index.js.map +1 -1
- package/package.json +1 -1
- package/renovate-schema.json +63 -1
@@ -106,6 +106,38 @@ const options = [
|
|
106
106
|
default: [],
|
107
107
|
globalOnly: true,
|
108
108
|
},
|
109
|
+
{
|
110
|
+
name: 'bumpVersions',
|
111
|
+
description: 'A list of bumpVersion config options to bump generic version numbers.',
|
112
|
+
type: 'array',
|
113
|
+
subType: 'object',
|
114
|
+
default: [],
|
115
|
+
cli: false,
|
116
|
+
env: false,
|
117
|
+
experimental: true,
|
118
|
+
},
|
119
|
+
{
|
120
|
+
name: 'bumpType',
|
121
|
+
description: 'The semver level to use when bumping versions. This is used by the `bumpVersions` feature.',
|
122
|
+
type: 'string',
|
123
|
+
default: 'patch',
|
124
|
+
allowedValues: ['major', 'minor', 'patch', 'prerelease'],
|
125
|
+
parents: ['bumpVersions'],
|
126
|
+
},
|
127
|
+
{
|
128
|
+
name: 'filePatterns',
|
129
|
+
description: 'A list of patterns to match files that contain the version string.',
|
130
|
+
type: 'array',
|
131
|
+
subType: 'string',
|
132
|
+
parents: ['bumpVersions'],
|
133
|
+
},
|
134
|
+
{
|
135
|
+
name: 'name',
|
136
|
+
description: 'A name for the bumpVersion config. This is used for logging and debugging.',
|
137
|
+
type: 'string',
|
138
|
+
default: null,
|
139
|
+
parents: ['bumpVersions'],
|
140
|
+
},
|
109
141
|
{
|
110
142
|
name: 'postUpgradeTasks',
|
111
143
|
description: 'Post-upgrade tasks that are executed before a commit is made by Renovate.',
|
@@ -2595,10 +2627,10 @@ const options = [
|
|
2595
2627
|
},
|
2596
2628
|
{
|
2597
2629
|
name: 'matchStrings',
|
2598
|
-
description: 'Queries to use. Valid only within
|
2630
|
+
description: 'Queries to use. Valid only within `bumpVersions` or `customManagers` object.',
|
2599
2631
|
type: 'array',
|
2600
2632
|
subType: 'string',
|
2601
|
-
parents: ['customManagers'],
|
2633
|
+
parents: ['bumpVersions', 'customManagers'],
|
2602
2634
|
cli: false,
|
2603
2635
|
env: false,
|
2604
2636
|
},
|