renovate-mcp 0.13.0 → 1.0.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/README.md +1 -1
- package/dist/data/managers.generated.d.ts +1 -1
- package/dist/data/managers.generated.js +5 -3
- package/dist/data/migrations.generated.d.ts +1 -1
- package/dist/data/migrations.generated.js +6 -2
- package/dist/data/presets.generated.d.ts +1 -1
- package/dist/data/presets.generated.js +244 -3
- package/dist/lib/configExplainer.d.ts +23 -24
- package/dist/lib/configExplainer.js +127 -79
- package/dist/lib/mergeWorker.d.ts +34 -0
- package/dist/lib/mergeWorker.js +84 -0
- package/dist/lib/mergeWorkerImpl.d.ts +1 -0
- package/dist/lib/mergeWorkerImpl.js +19 -0
- package/dist/lib/migrationWorker.js +33 -10
- package/dist/lib/presetResolver.d.ts +42 -1
- package/dist/lib/presetResolver.js +97 -38
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/explainConfig.js +8 -6
- package/dist/tools/resolveConfig.js +8 -6
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -203,6 +203,6 @@ See [`docs/development.md`](docs/development.md) for snapshot-file mechanics, CI
|
|
|
203
203
|
## What this is NOT
|
|
204
204
|
|
|
205
205
|
- **Not a Renovate replacement.** This server doesn't open PRs, run scheduled updates, or execute in CI — it's a design-time companion for a local `renovate.json`. Use the real Renovate for the actual dependency-update pipeline.
|
|
206
|
-
- **`resolve_config`
|
|
206
|
+
- **`resolve_config` merges faithfully.** Preset expansion runs offline against a committed snapshot, then folds with Renovate's real `mergeChildConfig` in a worker thread — `mergeQuality: "faithful"` (it falls back to an approximate in-process merge as `"preview"` only if the worker is unavailable). Template substitution still implements only positional `{{argN}}` placeholders — non-positional tokens and Handlebars helpers are flagged in `warnings` and pass through verbatim. For full config resolution (datasource lookups, etc.), run `dry_run`.
|
|
207
207
|
- **`preview_custom_manager` is a subset of Renovate's custom managers.** It covers `customType: "regex"` (with `matchStringsStrategy` of `any` / `combination` / `recursive`) and `customType: "jsonata"` (with `fileFormat: "json" | "yaml" | "toml"`). Template substitution is `{{groupName}}` only — full Handlebars helpers/conditionals are not implemented. Other custom types (e.g. `html`) are out of scope. Use it for fast iteration; confirm with `dry_run`. Full coverage matrix in [`docs/tools.md#preview_custom_manager`](docs/tools.md#preview_custom_manager).
|
|
208
208
|
- **`validate_config` / `dry_run` aren't exercised end-to-end in CI.** The bundled Renovate is available (it's a runtime dep), but the integration tests use fake binaries via `RENOVATE_BIN` / `RENOVATE_CONFIG_VALIDATOR_BIN` env overrides for determinism and speed. Run the tools locally against a real config to validate behaviour.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate-managers.mjs from renovate@43.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-managers.mjs from renovate@43.204.1.
|
|
2
2
|
// Do not edit by hand. Run `npm run generate:managers` to refresh.
|
|
3
|
-
export const RENOVATE_VERSION = "43.
|
|
3
|
+
export const RENOVATE_VERSION = "43.204.1";
|
|
4
4
|
/**
|
|
5
5
|
* All manager names accepted by Renovate's `matchManagers` /
|
|
6
6
|
* `excludeManagers` fields. Includes both regular managers and custom
|
|
@@ -38,6 +38,7 @@ export const ALL_MANAGERS = Object.freeze([
|
|
|
38
38
|
"cpanfile",
|
|
39
39
|
"crossplane",
|
|
40
40
|
"crow",
|
|
41
|
+
"deno",
|
|
41
42
|
"deps-edn",
|
|
42
43
|
"devbox",
|
|
43
44
|
"devcontainer",
|
|
@@ -101,9 +102,10 @@ export const ALL_MANAGERS = Object.freeze([
|
|
|
101
102
|
"pyenv",
|
|
102
103
|
"quadlet",
|
|
103
104
|
"regex",
|
|
104
|
-
"renovate-config
|
|
105
|
+
"renovate-config",
|
|
105
106
|
"ruby-version",
|
|
106
107
|
"runtime-version",
|
|
108
|
+
"rust-toolchain",
|
|
107
109
|
"sbt",
|
|
108
110
|
"scalafmt",
|
|
109
111
|
"setup-cfg",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate-migrations.mjs from renovate@43.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-migrations.mjs from renovate@43.204.1.
|
|
2
2
|
// Do not edit by hand. Run `npm run generate:migrations` to refresh.
|
|
3
|
-
export const RENOVATE_VERSION = "43.
|
|
3
|
+
export const RENOVATE_VERSION = "43.204.1";
|
|
4
4
|
/**
|
|
5
5
|
* Deprecated config keys with their current replacement. Sourced from
|
|
6
6
|
* Renovate's `MigrationsService.renamedProperties` — the "RenamePropertyMigration"
|
|
@@ -93,6 +93,10 @@ export const DEPRECATED_KEYS = Object.freeze([
|
|
|
93
93
|
"oldKey": "regexManagers",
|
|
94
94
|
"newKey": "customManagers"
|
|
95
95
|
},
|
|
96
|
+
{
|
|
97
|
+
"oldKey": "renovate-config-presets",
|
|
98
|
+
"newKey": "renovate-config"
|
|
99
|
+
},
|
|
96
100
|
{
|
|
97
101
|
"oldKey": "separatePatchReleases",
|
|
98
102
|
"newKey": "separateMinorPatch"
|
|
@@ -3,6 +3,6 @@ export interface GeneratedPreset {
|
|
|
3
3
|
description: string | null;
|
|
4
4
|
body: Record<string, unknown>;
|
|
5
5
|
}
|
|
6
|
-
export declare const RENOVATE_VERSION = "43.
|
|
6
|
+
export declare const RENOVATE_VERSION = "43.204.1";
|
|
7
7
|
export declare const PRESETS: Record<string, GeneratedPreset>;
|
|
8
8
|
export declare const PRESET_NAMES: readonly string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate-presets.mjs from renovate@43.
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-presets.mjs from renovate@43.204.1.
|
|
2
2
|
// Do not edit by hand. Run `npm run generate:presets` to refresh.
|
|
3
|
-
export const RENOVATE_VERSION = "43.
|
|
3
|
+
export const RENOVATE_VERSION = "43.204.1";
|
|
4
4
|
export const PRESETS = {
|
|
5
5
|
"abandonments:recommended": {
|
|
6
6
|
"namespace": "abandonments",
|
|
@@ -95,6 +95,7 @@ export const PRESETS = {
|
|
|
95
95
|
"helpers:forgejoDigestChangelogs",
|
|
96
96
|
"helpers:giteaDigestChangelogs",
|
|
97
97
|
"helpers:githubDigestChangelogs",
|
|
98
|
+
"helpers:gitlabDigestChangelogs",
|
|
98
99
|
"helpers:goXPackagesChangelogLink",
|
|
99
100
|
"helpers:goXPackagesNameLink"
|
|
100
101
|
]
|
|
@@ -1418,7 +1419,9 @@ export const PRESETS = {
|
|
|
1418
1419
|
"BUN_CONFIG_MAX_HTTP_REQUESTS",
|
|
1419
1420
|
"GO*",
|
|
1420
1421
|
"GRADLE_OPTS",
|
|
1421
|
-
"RUSTC_BOOTSTRAP"
|
|
1422
|
+
"RUSTC_BOOTSTRAP",
|
|
1423
|
+
"PNPM_WORKERS",
|
|
1424
|
+
"PNPM_MAX_WORKERS"
|
|
1422
1425
|
]
|
|
1423
1426
|
}
|
|
1424
1427
|
},
|
|
@@ -3147,6 +3150,27 @@ export const PRESETS = {
|
|
|
3147
3150
|
]
|
|
3148
3151
|
}
|
|
3149
3152
|
},
|
|
3153
|
+
"group:better-authMonorepo": {
|
|
3154
|
+
"namespace": "group",
|
|
3155
|
+
"description": null,
|
|
3156
|
+
"body": {
|
|
3157
|
+
"packageRules": [
|
|
3158
|
+
{
|
|
3159
|
+
"description": "Group packages from better-auth monorepo together.",
|
|
3160
|
+
"extends": [
|
|
3161
|
+
"monorepo:better-auth"
|
|
3162
|
+
],
|
|
3163
|
+
"groupName": "better-auth monorepo",
|
|
3164
|
+
"matchUpdateTypes": [
|
|
3165
|
+
"digest",
|
|
3166
|
+
"patch",
|
|
3167
|
+
"minor",
|
|
3168
|
+
"major"
|
|
3169
|
+
]
|
|
3170
|
+
}
|
|
3171
|
+
]
|
|
3172
|
+
}
|
|
3173
|
+
},
|
|
3150
3174
|
"group:braveMonorepo": {
|
|
3151
3175
|
"namespace": "group",
|
|
3152
3176
|
"description": null,
|
|
@@ -3455,6 +3479,27 @@ export const PRESETS = {
|
|
|
3455
3479
|
]
|
|
3456
3480
|
}
|
|
3457
3481
|
},
|
|
3482
|
+
"group:confectMonorepo": {
|
|
3483
|
+
"namespace": "group",
|
|
3484
|
+
"description": null,
|
|
3485
|
+
"body": {
|
|
3486
|
+
"packageRules": [
|
|
3487
|
+
{
|
|
3488
|
+
"description": "Group packages from confect monorepo together.",
|
|
3489
|
+
"extends": [
|
|
3490
|
+
"monorepo:confect"
|
|
3491
|
+
],
|
|
3492
|
+
"groupName": "confect monorepo",
|
|
3493
|
+
"matchUpdateTypes": [
|
|
3494
|
+
"digest",
|
|
3495
|
+
"patch",
|
|
3496
|
+
"minor",
|
|
3497
|
+
"major"
|
|
3498
|
+
]
|
|
3499
|
+
}
|
|
3500
|
+
]
|
|
3501
|
+
}
|
|
3502
|
+
},
|
|
3458
3503
|
"group:conformMonorepo": {
|
|
3459
3504
|
"namespace": "group",
|
|
3460
3505
|
"description": null,
|
|
@@ -6281,6 +6326,27 @@ export const PRESETS = {
|
|
|
6281
6326
|
]
|
|
6282
6327
|
}
|
|
6283
6328
|
},
|
|
6329
|
+
"group:juniorMonorepo": {
|
|
6330
|
+
"namespace": "group",
|
|
6331
|
+
"description": null,
|
|
6332
|
+
"body": {
|
|
6333
|
+
"packageRules": [
|
|
6334
|
+
{
|
|
6335
|
+
"description": "Group packages from junior monorepo together.",
|
|
6336
|
+
"extends": [
|
|
6337
|
+
"monorepo:junior"
|
|
6338
|
+
],
|
|
6339
|
+
"groupName": "junior monorepo",
|
|
6340
|
+
"matchUpdateTypes": [
|
|
6341
|
+
"digest",
|
|
6342
|
+
"patch",
|
|
6343
|
+
"minor",
|
|
6344
|
+
"major"
|
|
6345
|
+
]
|
|
6346
|
+
}
|
|
6347
|
+
]
|
|
6348
|
+
}
|
|
6349
|
+
},
|
|
6284
6350
|
"group:junit-frameworkMonorepo": {
|
|
6285
6351
|
"namespace": "group",
|
|
6286
6352
|
"description": null,
|
|
@@ -7199,6 +7265,7 @@ export const PRESETS = {
|
|
|
7199
7265
|
"group:babelMonorepo",
|
|
7200
7266
|
"group:backstageMonorepo",
|
|
7201
7267
|
"group:basetMonorepo",
|
|
7268
|
+
"group:better-authMonorepo",
|
|
7202
7269
|
"group:braveMonorepo",
|
|
7203
7270
|
"group:bugsnag-jsMonorepo",
|
|
7204
7271
|
"group:bull-boardMonorepo",
|
|
@@ -7213,6 +7280,7 @@ export const PRESETS = {
|
|
|
7213
7280
|
"group:clarityMonorepo",
|
|
7214
7281
|
"group:clearscriptMonorepo",
|
|
7215
7282
|
"group:commitlintMonorepo",
|
|
7283
|
+
"group:confectMonorepo",
|
|
7216
7284
|
"group:conformMonorepo",
|
|
7217
7285
|
"group:contentful-rich-textMonorepo",
|
|
7218
7286
|
"group:cspellMonorepo",
|
|
@@ -7325,6 +7393,7 @@ export const PRESETS = {
|
|
|
7325
7393
|
"group:jnaMonorepo",
|
|
7326
7394
|
"group:json-smart-v2Monorepo",
|
|
7327
7395
|
"group:jsplumbMonorepo",
|
|
7396
|
+
"group:juniorMonorepo",
|
|
7328
7397
|
"group:junit-frameworkMonorepo",
|
|
7329
7398
|
"group:kernelmemoryMonorepo",
|
|
7330
7399
|
"group:kiotaMonorepo",
|
|
@@ -7512,6 +7581,7 @@ export const PRESETS = {
|
|
|
7512
7581
|
"group:tiptapMonorepo",
|
|
7513
7582
|
"group:tokio-prostMonorepo",
|
|
7514
7583
|
"group:tokio-tracingMonorepo",
|
|
7584
|
+
"group:tomcatMonorepo",
|
|
7515
7585
|
"group:tonicMonorepo",
|
|
7516
7586
|
"group:treatMonorepo",
|
|
7517
7587
|
"group:trpcMonorepo",
|
|
@@ -7536,6 +7606,7 @@ export const PRESETS = {
|
|
|
7536
7606
|
"group:vstestMonorepo",
|
|
7537
7607
|
"group:vueMonorepo",
|
|
7538
7608
|
"group:vue-cliMonorepo",
|
|
7609
|
+
"group:vue-language-toolsMonorepo",
|
|
7539
7610
|
"group:vuepressMonorepo",
|
|
7540
7611
|
"group:vueuseMonorepo",
|
|
7541
7612
|
"group:weaselMonorepo",
|
|
@@ -7575,6 +7646,7 @@ export const PRESETS = {
|
|
|
7575
7646
|
"group:oxlintMonorepo",
|
|
7576
7647
|
"group:prometheus-simpleclientMonorepo",
|
|
7577
7648
|
"group:russhMonorepo",
|
|
7649
|
+
"group:solidMonorepo",
|
|
7578
7650
|
"group:spfxMonorepo",
|
|
7579
7651
|
"group:spockMonorepo",
|
|
7580
7652
|
"group:syncfusion-dotnetMonorepo",
|
|
@@ -8823,6 +8895,25 @@ export const PRESETS = {
|
|
|
8823
8895
|
]
|
|
8824
8896
|
}
|
|
8825
8897
|
},
|
|
8898
|
+
"group:pnpm": {
|
|
8899
|
+
"namespace": "group",
|
|
8900
|
+
"description": "Group pnpm packages together.",
|
|
8901
|
+
"body": {
|
|
8902
|
+
"packageRules": [
|
|
8903
|
+
{
|
|
8904
|
+
"groupName": "pnpm packages",
|
|
8905
|
+
"matchDatasources": [
|
|
8906
|
+
"docker",
|
|
8907
|
+
"npm"
|
|
8908
|
+
],
|
|
8909
|
+
"matchPackageNames": [
|
|
8910
|
+
"pnpm",
|
|
8911
|
+
"ghcr.io/pnpm/pnpm"
|
|
8912
|
+
]
|
|
8913
|
+
}
|
|
8914
|
+
]
|
|
8915
|
+
}
|
|
8916
|
+
},
|
|
8826
8917
|
"group:pollyjsMonorepo": {
|
|
8827
8918
|
"namespace": "group",
|
|
8828
8919
|
"description": null,
|
|
@@ -10446,6 +10537,27 @@ export const PRESETS = {
|
|
|
10446
10537
|
]
|
|
10447
10538
|
}
|
|
10448
10539
|
},
|
|
10540
|
+
"group:solidMonorepo": {
|
|
10541
|
+
"namespace": "group",
|
|
10542
|
+
"description": null,
|
|
10543
|
+
"body": {
|
|
10544
|
+
"packageRules": [
|
|
10545
|
+
{
|
|
10546
|
+
"description": "Group packages from solid monorepo together.",
|
|
10547
|
+
"extends": [
|
|
10548
|
+
"monorepo:solid"
|
|
10549
|
+
],
|
|
10550
|
+
"groupName": "solid monorepo",
|
|
10551
|
+
"matchUpdateTypes": [
|
|
10552
|
+
"digest",
|
|
10553
|
+
"patch",
|
|
10554
|
+
"minor",
|
|
10555
|
+
"major"
|
|
10556
|
+
]
|
|
10557
|
+
}
|
|
10558
|
+
]
|
|
10559
|
+
}
|
|
10560
|
+
},
|
|
10449
10561
|
"group:spectre-console-cliMonorepo": {
|
|
10450
10562
|
"namespace": "group",
|
|
10451
10563
|
"description": null,
|
|
@@ -11741,6 +11853,27 @@ export const PRESETS = {
|
|
|
11741
11853
|
]
|
|
11742
11854
|
}
|
|
11743
11855
|
},
|
|
11856
|
+
"group:tomcatMonorepo": {
|
|
11857
|
+
"namespace": "group",
|
|
11858
|
+
"description": null,
|
|
11859
|
+
"body": {
|
|
11860
|
+
"packageRules": [
|
|
11861
|
+
{
|
|
11862
|
+
"description": "Group packages from tomcat monorepo together.",
|
|
11863
|
+
"extends": [
|
|
11864
|
+
"monorepo:tomcat"
|
|
11865
|
+
],
|
|
11866
|
+
"groupName": "tomcat monorepo",
|
|
11867
|
+
"matchUpdateTypes": [
|
|
11868
|
+
"digest",
|
|
11869
|
+
"patch",
|
|
11870
|
+
"minor",
|
|
11871
|
+
"major"
|
|
11872
|
+
]
|
|
11873
|
+
}
|
|
11874
|
+
]
|
|
11875
|
+
}
|
|
11876
|
+
},
|
|
11744
11877
|
"group:tonicMonorepo": {
|
|
11745
11878
|
"namespace": "group",
|
|
11746
11879
|
"description": null,
|
|
@@ -12291,6 +12424,27 @@ export const PRESETS = {
|
|
|
12291
12424
|
]
|
|
12292
12425
|
}
|
|
12293
12426
|
},
|
|
12427
|
+
"group:vue-language-toolsMonorepo": {
|
|
12428
|
+
"namespace": "group",
|
|
12429
|
+
"description": null,
|
|
12430
|
+
"body": {
|
|
12431
|
+
"packageRules": [
|
|
12432
|
+
{
|
|
12433
|
+
"description": "Group packages from vue-language-tools monorepo together.",
|
|
12434
|
+
"extends": [
|
|
12435
|
+
"monorepo:vue-language-tools"
|
|
12436
|
+
],
|
|
12437
|
+
"groupName": "vue-language-tools monorepo",
|
|
12438
|
+
"matchUpdateTypes": [
|
|
12439
|
+
"digest",
|
|
12440
|
+
"patch",
|
|
12441
|
+
"minor",
|
|
12442
|
+
"major"
|
|
12443
|
+
]
|
|
12444
|
+
}
|
|
12445
|
+
]
|
|
12446
|
+
}
|
|
12447
|
+
},
|
|
12294
12448
|
"group:vueMonorepo": {
|
|
12295
12449
|
"namespace": "group",
|
|
12296
12450
|
"description": null,
|
|
@@ -12777,6 +12931,37 @@ export const PRESETS = {
|
|
|
12777
12931
|
]
|
|
12778
12932
|
}
|
|
12779
12933
|
},
|
|
12934
|
+
"helpers:gitlabDigestChangelogs": {
|
|
12935
|
+
"namespace": "helpers",
|
|
12936
|
+
"description": "Ensure that every dependency pinned by digest and sourced from GitLab.com contains a link to the commit-to-commit diff",
|
|
12937
|
+
"body": {
|
|
12938
|
+
"packageRules": [
|
|
12939
|
+
{
|
|
12940
|
+
"changelogUrl": "{{sourceUrl}}/-/compare/{{currentDigest}}...{{newDigest}}",
|
|
12941
|
+
"matchDatasources": [
|
|
12942
|
+
"git-refs",
|
|
12943
|
+
"git-tags"
|
|
12944
|
+
],
|
|
12945
|
+
"matchJsonata": [
|
|
12946
|
+
"$detectPlatform(sourceUrl) = 'gitlab'"
|
|
12947
|
+
],
|
|
12948
|
+
"matchUpdateTypes": [
|
|
12949
|
+
"digest"
|
|
12950
|
+
]
|
|
12951
|
+
},
|
|
12952
|
+
{
|
|
12953
|
+
"changelogUrl": "{{sourceUrl}}/-/compare/{{currentDigest}}...{{newDigest}}",
|
|
12954
|
+
"matchDatasources": [
|
|
12955
|
+
"gitlab-releases",
|
|
12956
|
+
"gitlab-tags"
|
|
12957
|
+
],
|
|
12958
|
+
"matchUpdateTypes": [
|
|
12959
|
+
"digest"
|
|
12960
|
+
]
|
|
12961
|
+
}
|
|
12962
|
+
]
|
|
12963
|
+
}
|
|
12964
|
+
},
|
|
12780
12965
|
"helpers:goXPackagesChangelogLink": {
|
|
12781
12966
|
"namespace": "helpers",
|
|
12782
12967
|
"description": "Correctly link to the source code for golang.org/x packages",
|
|
@@ -13607,6 +13792,15 @@ export const PRESETS = {
|
|
|
13607
13792
|
]
|
|
13608
13793
|
}
|
|
13609
13794
|
},
|
|
13795
|
+
"monorepo:better-auth": {
|
|
13796
|
+
"namespace": "monorepo",
|
|
13797
|
+
"description": "better-auth monorepo",
|
|
13798
|
+
"body": {
|
|
13799
|
+
"matchSourceUrls": [
|
|
13800
|
+
"https://github.com/better-auth/better-auth"
|
|
13801
|
+
]
|
|
13802
|
+
}
|
|
13803
|
+
},
|
|
13610
13804
|
"monorepo:brave": {
|
|
13611
13805
|
"namespace": "monorepo",
|
|
13612
13806
|
"description": "brave monorepo",
|
|
@@ -13736,6 +13930,15 @@ export const PRESETS = {
|
|
|
13736
13930
|
]
|
|
13737
13931
|
}
|
|
13738
13932
|
},
|
|
13933
|
+
"monorepo:confect": {
|
|
13934
|
+
"namespace": "monorepo",
|
|
13935
|
+
"description": "confect monorepo",
|
|
13936
|
+
"body": {
|
|
13937
|
+
"matchSourceUrls": [
|
|
13938
|
+
"https://github.com/rjdellecese/confect"
|
|
13939
|
+
]
|
|
13940
|
+
}
|
|
13941
|
+
},
|
|
13739
13942
|
"monorepo:conform": {
|
|
13740
13943
|
"namespace": "monorepo",
|
|
13741
13944
|
"description": "conform monorepo",
|
|
@@ -14950,6 +15153,15 @@ export const PRESETS = {
|
|
|
14950
15153
|
]
|
|
14951
15154
|
}
|
|
14952
15155
|
},
|
|
15156
|
+
"monorepo:junior": {
|
|
15157
|
+
"namespace": "monorepo",
|
|
15158
|
+
"description": "junior monorepo",
|
|
15159
|
+
"body": {
|
|
15160
|
+
"matchSourceUrls": [
|
|
15161
|
+
"https://github.com/getsentry/junior"
|
|
15162
|
+
]
|
|
15163
|
+
}
|
|
15164
|
+
},
|
|
14953
15165
|
"monorepo:junit-framework": {
|
|
14954
15166
|
"namespace": "monorepo",
|
|
14955
15167
|
"description": "junit-framework monorepo",
|
|
@@ -16431,6 +16643,17 @@ export const PRESETS = {
|
|
|
16431
16643
|
]
|
|
16432
16644
|
}
|
|
16433
16645
|
},
|
|
16646
|
+
"monorepo:solid": {
|
|
16647
|
+
"namespace": "monorepo",
|
|
16648
|
+
"description": "solid monorepo",
|
|
16649
|
+
"body": {
|
|
16650
|
+
"matchPackageNames": [
|
|
16651
|
+
"@solid-design-system/tokens",
|
|
16652
|
+
"@solid-design-system/styles",
|
|
16653
|
+
"@solid-design-system/components"
|
|
16654
|
+
]
|
|
16655
|
+
}
|
|
16656
|
+
},
|
|
16434
16657
|
"monorepo:spectre-console": {
|
|
16435
16658
|
"namespace": "monorepo",
|
|
16436
16659
|
"description": "spectre-console monorepo",
|
|
@@ -16821,6 +17044,15 @@ export const PRESETS = {
|
|
|
16821
17044
|
]
|
|
16822
17045
|
}
|
|
16823
17046
|
},
|
|
17047
|
+
"monorepo:tomcat": {
|
|
17048
|
+
"namespace": "monorepo",
|
|
17049
|
+
"description": "tomcat monorepo",
|
|
17050
|
+
"body": {
|
|
17051
|
+
"matchSourceUrls": [
|
|
17052
|
+
"https://github.com/apache/tomcat"
|
|
17053
|
+
]
|
|
17054
|
+
}
|
|
17055
|
+
},
|
|
16824
17056
|
"monorepo:tonic": {
|
|
16825
17057
|
"namespace": "monorepo",
|
|
16826
17058
|
"description": "tonic monorepo",
|
|
@@ -17052,6 +17284,15 @@ export const PRESETS = {
|
|
|
17052
17284
|
]
|
|
17053
17285
|
}
|
|
17054
17286
|
},
|
|
17287
|
+
"monorepo:vue-language-tools": {
|
|
17288
|
+
"namespace": "monorepo",
|
|
17289
|
+
"description": "vue-language-tools monorepo",
|
|
17290
|
+
"body": {
|
|
17291
|
+
"matchSourceUrls": [
|
|
17292
|
+
"https://github.com/vuejs/language-tools"
|
|
17293
|
+
]
|
|
17294
|
+
}
|
|
17295
|
+
},
|
|
17055
17296
|
"monorepo:vuepress": {
|
|
17056
17297
|
"namespace": "monorepo",
|
|
17057
17298
|
"description": "vuepress monorepo",
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { type PresetWarning, type ResolveOptions, type UnresolvedPreset } from "./presetResolver.js";
|
|
2
|
-
|
|
3
|
-
* Sentinel used as the `source` of contributions that come from the user's own
|
|
4
|
-
* input config (i.e. the keys siblings of `extends`, not from any preset).
|
|
5
|
-
* Distinguishable from any real preset name because angle brackets cannot
|
|
6
|
-
* appear in a Renovate preset reference.
|
|
7
|
-
*/
|
|
8
|
-
export declare const OWN_SOURCE = "<own>";
|
|
1
|
+
import { OWN_SOURCE, type MergeQuality, type PresetWarning, type ResolveOptions, type UnresolvedPreset } from "./presetResolver.js";
|
|
2
|
+
export { OWN_SOURCE };
|
|
9
3
|
export interface Contribution {
|
|
10
4
|
/**
|
|
11
5
|
* Where the value came from. `<own>` for the user's input config; otherwise
|
|
@@ -21,23 +15,25 @@ export interface Contribution {
|
|
|
21
15
|
*/
|
|
22
16
|
via: string[];
|
|
23
17
|
/**
|
|
24
|
-
* The
|
|
25
|
-
*
|
|
26
|
-
*
|
|
18
|
+
* The value `source` contributed at the point of the merge. For a scalar /
|
|
19
|
+
* overwritten array, the value `source` set; for a *mergeable* array, just
|
|
20
|
+
* the slice `source` appended.
|
|
27
21
|
*/
|
|
28
22
|
value: unknown;
|
|
29
23
|
}
|
|
30
24
|
export type AnnotatedNode = AnnotatedLeaf | AnnotatedObject;
|
|
31
25
|
export interface AnnotatedLeaf {
|
|
32
26
|
/**
|
|
33
|
-
* Final merged value of this field
|
|
34
|
-
*
|
|
35
|
-
* `
|
|
27
|
+
* Final merged value of this field (read authoritatively from the faithful
|
|
28
|
+
* merge result, so it always equals what resolve_config returns). The last
|
|
29
|
+
* `setBy` entry is the winner for scalars and overwritten arrays.
|
|
36
30
|
*/
|
|
37
31
|
value: unknown;
|
|
38
32
|
/**
|
|
39
|
-
* Contributions in merge order.
|
|
40
|
-
* for
|
|
33
|
+
* Contributions in merge order. For scalars / overwritten arrays the last
|
|
34
|
+
* entry is the winner; for a mergeable array each entry adds its own slice.
|
|
35
|
+
* Note: a source that re-asserts an already-current value is not listed —
|
|
36
|
+
* attribution credits whoever *changed* the value.
|
|
41
37
|
*/
|
|
42
38
|
setBy: Contribution[];
|
|
43
39
|
}
|
|
@@ -49,16 +45,19 @@ export interface ExplainResult {
|
|
|
49
45
|
presetsResolved: string[];
|
|
50
46
|
presetsUnresolved: UnresolvedPreset[];
|
|
51
47
|
warnings: PresetWarning[];
|
|
48
|
+
mergeQuality: MergeQuality;
|
|
52
49
|
}
|
|
53
50
|
/**
|
|
54
|
-
* Inverse of `resolveConfig`:
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
51
|
+
* Inverse of `resolveConfig`: instead of collapsing the preset tree into a flat
|
|
52
|
+
* resolved object, annotate each leaf field with the chain of presets that set
|
|
53
|
+
* it. Shares `collectMergeSteps` with `resolveConfig` and folds the same steps
|
|
54
|
+
* through the same worker-isolated faithful merge, then reconstructs provenance
|
|
55
|
+
* by diffing the merge's per-step snapshots (see `attributeContributions`).
|
|
56
|
+
* Because both tools fold identical steps, `explain_config`'s leaf values are
|
|
57
|
+
* by construction identical to `resolve_config`'s output.
|
|
58
58
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* `explain_config` does too, by definition.
|
|
59
|
+
* If the faithful merge worker is unavailable, falls back to an in-process
|
|
60
|
+
* approximate annotated merge over the same steps (no re-expansion) and reports
|
|
61
|
+
* `mergeQuality: "preview"`.
|
|
63
62
|
*/
|
|
64
63
|
export declare function explainConfig(config: Record<string, unknown>, options?: ResolveOptions): Promise<ExplainResult>;
|