renovate 44.170.0 → 44.171.1
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 +32 -1
- package/dist/config/options/index.js.map +1 -1
- package/dist/config/options/scopes.js +10 -3
- package/dist/config/options/scopes.js.map +1 -1
- package/dist/config/types.d.ts +38 -8
- package/dist/config/types.js +18 -2
- package/dist/config/types.js.map +1 -1
- package/dist/config/validation.js +2 -2
- package/dist/config/validation.js.map +1 -1
- package/dist/constants/category.js +33 -0
- package/dist/constants/category.js.map +1 -0
- package/dist/datasource-list.generated.js +89 -0
- package/dist/datasource-list.generated.js.map +1 -0
- package/dist/modules/datasource/github-runners/index.js +8 -1
- package/dist/modules/datasource/github-runners/index.js.map +1 -1
- package/dist/modules/manager/fingerprint.generated.js +1 -1
- package/dist/modules/manager/fingerprint.generated.js.map +1 -1
- package/package.json +2 -2
- package/renovate-schema.json +2794 -4083
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { Categories } from "../../constants/category.js";
|
|
1
2
|
import { PLATFORM_HOST_TYPES } from "../../constants/platforms.js";
|
|
3
|
+
import { AllDatasourcesListLiteral } from "../../datasource-list.generated.js";
|
|
2
4
|
import { managerDefaultConfigs } from "../../manager-default-configs.generated.js";
|
|
5
|
+
import { AllManagersListLiteral, CustomManagersListLiteral } from "../../manager-list.generated.js";
|
|
3
6
|
import { additionalConstraintDefinitions, toolDefinitionDocumentation } from "../../util/exec/types.js";
|
|
4
7
|
import { getSupportedToolNames } from "../../util/exec/containerbase.js";
|
|
5
8
|
import { AllVersioningsListLiteral } from "../../versioning-list.generated.js";
|
|
@@ -452,15 +455,27 @@ const options = [
|
|
|
452
455
|
},
|
|
453
456
|
{
|
|
454
457
|
name: "extends",
|
|
458
|
+
scopes: ["any"],
|
|
455
459
|
description: "Configuration presets to use or extend.",
|
|
456
460
|
stage: "package",
|
|
457
461
|
type: "array",
|
|
458
462
|
subType: "string",
|
|
459
463
|
allowString: true,
|
|
464
|
+
suggestedValues: [
|
|
465
|
+
"config:best-practices",
|
|
466
|
+
"config:recommended",
|
|
467
|
+
"mergeConfidence:all-badges",
|
|
468
|
+
"abandonments:recommended",
|
|
469
|
+
"group:all",
|
|
470
|
+
"replacements:all",
|
|
471
|
+
"security:minimumReleaseAgeNpm",
|
|
472
|
+
"security:only-security-updates"
|
|
473
|
+
],
|
|
460
474
|
cli: false
|
|
461
475
|
},
|
|
462
476
|
{
|
|
463
477
|
name: "ignorePresets",
|
|
478
|
+
scopes: ["any"],
|
|
464
479
|
description: "A list of presets to ignore, including any that are nested inside an `extends` array.",
|
|
465
480
|
stage: "package",
|
|
466
481
|
type: "array",
|
|
@@ -499,6 +514,7 @@ const options = [
|
|
|
499
514
|
},
|
|
500
515
|
{
|
|
501
516
|
name: "description",
|
|
517
|
+
scopes: ["any"],
|
|
502
518
|
description: "Plain text description for a config or preset.",
|
|
503
519
|
type: "array",
|
|
504
520
|
subType: "string",
|
|
@@ -510,6 +526,7 @@ const options = [
|
|
|
510
526
|
},
|
|
511
527
|
{
|
|
512
528
|
name: "overrideDescription",
|
|
529
|
+
scopes: ["any"],
|
|
513
530
|
description: "Description which replaces the descriptions of any presets which this config extends.",
|
|
514
531
|
type: "array",
|
|
515
532
|
subType: "string",
|
|
@@ -707,6 +724,7 @@ const options = [
|
|
|
707
724
|
},
|
|
708
725
|
{
|
|
709
726
|
name: "env",
|
|
727
|
+
scopes: ["repo"],
|
|
710
728
|
description: "Environment variables that Renovate uses when executing package manager commands.",
|
|
711
729
|
type: "object",
|
|
712
730
|
default: {},
|
|
@@ -1048,6 +1066,7 @@ const options = [
|
|
|
1048
1066
|
},
|
|
1049
1067
|
{
|
|
1050
1068
|
name: "encrypted",
|
|
1069
|
+
scopes: ["any"],
|
|
1051
1070
|
description: "An object containing configuration encrypted with project key.",
|
|
1052
1071
|
stage: "repository",
|
|
1053
1072
|
type: "object",
|
|
@@ -1332,6 +1351,7 @@ const options = [
|
|
|
1332
1351
|
},
|
|
1333
1352
|
{
|
|
1334
1353
|
name: "gitAuthor",
|
|
1354
|
+
scopes: ["repo"],
|
|
1335
1355
|
description: "Author to use for Git commits. Must conform to [RFC5322](https://datatracker.ietf.org/doc/html/rfc5322).",
|
|
1336
1356
|
type: "string",
|
|
1337
1357
|
supportsTemplating: true
|
|
@@ -1354,6 +1374,7 @@ const options = [
|
|
|
1354
1374
|
},
|
|
1355
1375
|
{
|
|
1356
1376
|
name: "gitIgnoredAuthors",
|
|
1377
|
+
scopes: ["repo"],
|
|
1357
1378
|
description: "Git author emails ignored by Renovate. Entries can be exact [RFC5322](https://datatracker.ietf.org/doc/html/rfc5322) strings, glob patterns, or regex patterns using Renovate regex syntax.",
|
|
1358
1379
|
patternMatch: true,
|
|
1359
1380
|
type: "array",
|
|
@@ -1373,6 +1394,11 @@ const options = [
|
|
|
1373
1394
|
description: "A list of package managers to enable. Only managers on the list are enabled.",
|
|
1374
1395
|
type: "array",
|
|
1375
1396
|
subType: "string",
|
|
1397
|
+
allowedValues: [
|
|
1398
|
+
...AllManagersListLiteral,
|
|
1399
|
+
...CustomManagersListLiteral,
|
|
1400
|
+
...CustomManagersListLiteral.map((manager) => `custom.${manager}`)
|
|
1401
|
+
],
|
|
1376
1402
|
mergeable: false,
|
|
1377
1403
|
stage: "repository"
|
|
1378
1404
|
},
|
|
@@ -1589,6 +1615,7 @@ const options = [
|
|
|
1589
1615
|
type: "array",
|
|
1590
1616
|
subType: "string",
|
|
1591
1617
|
allowString: true,
|
|
1618
|
+
suggestedValues: [...Categories],
|
|
1592
1619
|
parents: ["packageRules"],
|
|
1593
1620
|
stage: "package",
|
|
1594
1621
|
mergeable: true,
|
|
@@ -1628,6 +1655,7 @@ const options = [
|
|
|
1628
1655
|
type: "array",
|
|
1629
1656
|
subType: "string",
|
|
1630
1657
|
allowString: true,
|
|
1658
|
+
suggestedValues: [...AllManagersListLiteral, ...CustomManagersListLiteral.map((manager) => `custom.${manager}`)],
|
|
1631
1659
|
parents: ["packageRules"],
|
|
1632
1660
|
stage: "package",
|
|
1633
1661
|
mergeable: true,
|
|
@@ -1640,6 +1668,7 @@ const options = [
|
|
|
1640
1668
|
description: "List of datasources to match (e.g. `[\"orb\"]`). Valid only within a `packageRules` object.",
|
|
1641
1669
|
type: "array",
|
|
1642
1670
|
subType: "string",
|
|
1671
|
+
suggestedValues: [...AllDatasourcesListLiteral],
|
|
1643
1672
|
allowString: true,
|
|
1644
1673
|
parents: ["packageRules"],
|
|
1645
1674
|
stage: "package",
|
|
@@ -3034,6 +3063,7 @@ const options = [
|
|
|
3034
3063
|
name: "hostType",
|
|
3035
3064
|
description: "hostType for a package rule. Can be a platform name or a datasource name.",
|
|
3036
3065
|
type: "string",
|
|
3066
|
+
suggestedValues: [...PLATFORM_HOST_TYPES, ...AllDatasourcesListLiteral],
|
|
3037
3067
|
stage: "repository",
|
|
3038
3068
|
parents: ["hostRules"],
|
|
3039
3069
|
cli: false,
|
|
@@ -3843,7 +3873,8 @@ function loadManagerOptions() {
|
|
|
3843
3873
|
default: defaultConfig,
|
|
3844
3874
|
mergeable: true,
|
|
3845
3875
|
cli: false,
|
|
3846
|
-
autogenerated: true
|
|
3876
|
+
autogenerated: true,
|
|
3877
|
+
scopes: ["repo"]
|
|
3847
3878
|
};
|
|
3848
3879
|
options.push(managerConfig);
|
|
3849
3880
|
}
|