Skip to content

Commit c9a8a72

Browse files
authored
feat(config): mergeable repositoryAliases global option (#26848)
1 parent a41f46c commit c9a8a72

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/config/options/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,7 @@ const options: RenovateOptions[] = [
979979
{
980980
name: 'registryAliases',
981981
description: 'Aliases for registries.',
982+
mergeable: true,
982983
type: 'object',
983984
default: {},
984985
additionalProperties: {

lib/workers/repository/extract/extract-fingerprint-config.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('workers/repository/extract/extract-fingerprint-config', () => {
77
it('filter with enabledManagers', () => {
88
const config = mergeChildConfig(getConfig(), {
99
registryAliases: {
10-
stable: 'http://some.link', // intentionally placing the field incorrectly
10+
stable: 'http://some.link',
1111
},
1212
ignorePaths: ['ignore-path-1'],
1313
includePaths: ['include-path-1'],
@@ -47,6 +47,7 @@ describe('workers/repository/extract/extract-fingerprint-config', () => {
4747
npmrcMerge: false,
4848
registryAliases: {
4949
notStable: 'http://some.link.2',
50+
stable: 'http://some.link',
5051
},
5152
skipInstalls: null,
5253
});

0 commit comments

Comments
 (0)