renovate 44.151.4 → 44.151.5
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 +61 -11
- package/dist/config/options/index.js.map +1 -1
- package/dist/config/options/scopes.js +49 -0
- package/dist/config/options/scopes.js.map +1 -0
- package/dist/config/presets/index.js +1 -1
- package/dist/config/types.d.ts +25 -0
- package/dist/config/types.js +12 -1
- package/dist/config/types.js.map +1 -1
- package/dist/config/validation.js +11 -4
- package/dist/config/validation.js.map +1 -1
- package/dist/modules/datasource/artifactory/index.js +1 -1
- package/dist/modules/datasource/aws-eks-addon/index.js +1 -1
- package/dist/modules/datasource/aws-machine-image/index.js +1 -1
- package/dist/modules/datasource/bazel/index.js +1 -1
- package/dist/modules/datasource/bitrise/index.js +1 -1
- package/dist/modules/datasource/conan/index.js +1 -1
- package/dist/modules/datasource/conda/index.js +1 -1
- package/dist/modules/datasource/crate/index.js +1 -1
- package/dist/modules/datasource/deno/index.js +1 -1
- package/dist/modules/datasource/docker/index.js +1 -1
- package/dist/modules/datasource/elm-package/index.js +1 -1
- package/dist/modules/datasource/endoflife-date/index.js +1 -1
- package/dist/modules/datasource/galaxy-collection/index.js +1 -1
- package/dist/modules/datasource/gitea-tags/base.js +1 -1
- package/dist/modules/datasource/gitlab-packages/index.js +1 -1
- package/dist/modules/datasource/gitlab-releases/index.js +1 -1
- package/dist/modules/datasource/gitlab-tags/index.js +1 -1
- package/dist/modules/datasource/glasskube-packages/index.js +1 -1
- package/dist/modules/datasource/go/index.js +1 -1
- package/dist/modules/datasource/go/releases-goproxy.js +1 -1
- package/dist/modules/datasource/go/timestamp-cache.js +1 -1
- package/dist/modules/datasource/helm/index.js +1 -1
- package/dist/modules/datasource/hermit/index.js +1 -1
- package/dist/modules/datasource/hex/index.js +1 -1
- package/dist/modules/datasource/index.js +1 -1
- package/dist/modules/datasource/jsr/index.js +1 -1
- package/dist/modules/datasource/maven/index.js +1 -1
- package/dist/modules/datasource/nuget/v3.js +1 -1
- package/dist/modules/datasource/orb/index.js +1 -1
- package/dist/modules/datasource/packagist/index.js +1 -1
- package/dist/modules/datasource/repology/index.js +1 -1
- package/dist/modules/datasource/rubygems/index.js +1 -1
- package/dist/modules/datasource/rubygems/metadata-cache.js +1 -1
- package/dist/modules/datasource/sbt-package/index.js +1 -1
- package/dist/modules/datasource/terraform-module/index.js +1 -1
- package/dist/modules/datasource/terraform-provider/index.js +1 -1
- package/dist/modules/manager/github-actions/extract.js +1 -1
- package/dist/modules/platform/gitea/pr-cache.js +7 -7
- package/dist/modules/platform/gitea/pr-cache.js.map +1 -1
- package/dist/util/cache/package/index.js +1 -1
- package/dist/util/exec/containerbase.js +7 -1
- package/dist/util/exec/containerbase.js.map +1 -1
- package/dist/util/exec/index.js +1 -1
- package/dist/util/http/cache/package-http-cache-provider.js +1 -1
- package/dist/util/jsonata.js +1 -1
- package/dist/util/merge-confidence/index.js +1 -1
- package/dist/workers/repository/update/branch/execute-post-upgrade-commands.js +1 -1
- package/dist/workers/repository/update/pr/changelog/release-notes.js +1 -1
- package/dist/workers/repository/update/pr/changelog/source.js +1 -1
- package/package.json +1 -1
- package/renovate-schema.json +4630 -4836
|
@@ -1,11 +1,56 @@
|
|
|
1
1
|
import { PLATFORM_HOST_TYPES } from "../../constants/platforms.js";
|
|
2
2
|
import { managerDefaultConfigs } from "../../manager-default-configs.generated.js";
|
|
3
3
|
import { AllManagersListLiteral } from "../../manager-list.generated.js";
|
|
4
|
+
import { getSupportedToolNames } from "../../util/exec/containerbase.js";
|
|
5
|
+
import { additionalConstraintDefinitions, toolDefinitionDocumentation } from "../../util/exec/types.js";
|
|
4
6
|
import { AllVersioningsListLiteral } from "../../versioning-list.generated.js";
|
|
5
7
|
import { supportedDatasources } from "../presets/internal/merge-confidence.preset.js";
|
|
6
|
-
import { UpdateTypesOptions, allowedStatusCheckWhenValues } from "../types.js";
|
|
8
|
+
import { UpdateTypesOptions, allowedStatusCheckStrings, allowedStatusCheckWhenValues } from "../types.js";
|
|
7
9
|
import { isArray, isObject } from "@sindresorhus/is";
|
|
8
10
|
//#region lib/config/options/index.ts
|
|
11
|
+
/**
|
|
12
|
+
* The constraints which a Containerbase tool defines, as the keys of an object option.
|
|
13
|
+
*/
|
|
14
|
+
function toolConstraintProperties() {
|
|
15
|
+
const properties = {};
|
|
16
|
+
for (const toolName of getSupportedToolNames()) {
|
|
17
|
+
const description = toolDefinitionDocumentation.find((t) => t.name === toolName)?.description ?? "";
|
|
18
|
+
const base = `A constraint for the \`${toolName}\` Containerbase tool`;
|
|
19
|
+
properties[toolName] = {
|
|
20
|
+
type: "string",
|
|
21
|
+
description: description ? `${base}. ${description}` : base
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
return properties;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The constraints which aren't a Containerbase tool, as the keys of an object option.
|
|
28
|
+
*/
|
|
29
|
+
function additionalConstraintProperties() {
|
|
30
|
+
const properties = {};
|
|
31
|
+
for (const { name, description } of additionalConstraintDefinitions) properties[name] = {
|
|
32
|
+
type: "string",
|
|
33
|
+
/* v8 ignore next -- every current `additionalConstraintDefinitions` entry has a description, but the type allows one to be added without one */
|
|
34
|
+
description: description ?? `A constraint for \`${name}\``
|
|
35
|
+
};
|
|
36
|
+
return properties;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The Containerbase tools which can be installed, as the keys of an object option.
|
|
40
|
+
*/
|
|
41
|
+
function installToolProperties() {
|
|
42
|
+
const properties = {};
|
|
43
|
+
for (const toolName of getSupportedToolNames()) {
|
|
44
|
+
const description = toolDefinitionDocumentation.find((t) => t.name === toolName)?.description ?? "";
|
|
45
|
+
const base = `A constraint for the \`${toolName}\` Containerbase tool`;
|
|
46
|
+
properties[toolName] = {
|
|
47
|
+
type: "object",
|
|
48
|
+
description: description ? `${base}. ${description}` : base,
|
|
49
|
+
additionalProperties: false
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return properties;
|
|
53
|
+
}
|
|
9
54
|
const options = [
|
|
10
55
|
{
|
|
11
56
|
name: "mode",
|
|
@@ -230,11 +275,8 @@ const options = [
|
|
|
230
275
|
type: "object",
|
|
231
276
|
parents: ["postUpgradeTasks"],
|
|
232
277
|
default: {},
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
properties: {},
|
|
236
|
-
additionalProperties: false
|
|
237
|
-
},
|
|
278
|
+
properties: installToolProperties(),
|
|
279
|
+
additionalProperties: false,
|
|
238
280
|
mergeable: false,
|
|
239
281
|
freeChoice: true,
|
|
240
282
|
cli: false
|
|
@@ -375,7 +417,8 @@ const options = [
|
|
|
375
417
|
type: "object",
|
|
376
418
|
mergeable: true,
|
|
377
419
|
advancedUse: true,
|
|
378
|
-
|
|
420
|
+
properties: Object.fromEntries(allowedStatusCheckStrings.map((statusCheck) => [statusCheck, { type: ["string", "null"] }])),
|
|
421
|
+
additionalProperties: false,
|
|
379
422
|
default: {
|
|
380
423
|
artifactError: "renovate/artifacts",
|
|
381
424
|
configValidation: "renovate/config-validation",
|
|
@@ -389,10 +432,11 @@ const options = [
|
|
|
389
432
|
type: "object",
|
|
390
433
|
mergeable: true,
|
|
391
434
|
advancedUse: true,
|
|
392
|
-
|
|
435
|
+
properties: Object.fromEntries(allowedStatusCheckStrings.map((statusCheck) => [statusCheck, {
|
|
393
436
|
type: "string",
|
|
394
437
|
enum: [...allowedStatusCheckWhenValues]
|
|
395
|
-
},
|
|
438
|
+
}])),
|
|
439
|
+
additionalProperties: false,
|
|
396
440
|
default: {
|
|
397
441
|
artifactError: "failed",
|
|
398
442
|
configValidation: "always",
|
|
@@ -667,6 +711,7 @@ const options = [
|
|
|
667
711
|
experimental: true,
|
|
668
712
|
experimentalIssues: [23286],
|
|
669
713
|
default: {},
|
|
714
|
+
additionalProperties: { type: "object" },
|
|
670
715
|
mergeable: true
|
|
671
716
|
},
|
|
672
717
|
{
|
|
@@ -2763,7 +2808,11 @@ const options = [
|
|
|
2763
2808
|
"poetry"
|
|
2764
2809
|
],
|
|
2765
2810
|
freeChoice: true,
|
|
2766
|
-
|
|
2811
|
+
properties: {
|
|
2812
|
+
...toolConstraintProperties(),
|
|
2813
|
+
...additionalConstraintProperties()
|
|
2814
|
+
},
|
|
2815
|
+
additionalProperties: false
|
|
2767
2816
|
},
|
|
2768
2817
|
{
|
|
2769
2818
|
name: "hostRules",
|
|
@@ -3552,7 +3601,8 @@ const options = [
|
|
|
3552
3601
|
cli: false,
|
|
3553
3602
|
env: false,
|
|
3554
3603
|
freeChoice: true,
|
|
3555
|
-
|
|
3604
|
+
properties: additionalConstraintProperties(),
|
|
3605
|
+
additionalProperties: false
|
|
3556
3606
|
}
|
|
3557
3607
|
];
|
|
3558
3608
|
function getOptions() {
|