-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
definitions.ts
1836 lines (1808 loc) · 44.7 KB
/
definitions.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { PLATFORM_TYPE_GITHUB } from '../constants/platforms';
import { getManagers } from '../manager';
import { getPlatformList } from '../platform';
import { getVersioningList } from '../versioning';
import * as dockerVersioning from '../versioning/docker';
import * as pep440Versioning from '../versioning/pep440';
import * as semverVersioning from '../versioning/semver';
import { RenovateConfigStage } from './common';
export interface RenovateOptionBase {
admin?: boolean;
allowedValues?: string[];
allowString?: boolean;
cli?: boolean;
description: string;
env?: false | string;
freeChoice?: boolean;
mergeable?: boolean;
autogenerated?: boolean;
name: string;
parent?: 'hostRules' | 'packageRules' | 'postUpgradeTasks' | 'regexManagers';
// used by tests
relatedOptions?: string[];
releaseStatus?: 'alpha' | 'beta' | 'unpublished';
stage?: RenovateConfigStage;
}
export interface RenovateArrayOption<
T extends string | number | Record<string, unknown> = Record<string, unknown>
> extends RenovateOptionBase {
default?: T[];
mergeable?: boolean;
type: 'array';
subType?: 'string' | 'object' | 'number';
}
export interface RenovateStringArrayOption extends RenovateArrayOption<string> {
format?: 'regex';
subType: 'string';
}
export interface RenovateNumberArrayOption extends RenovateArrayOption<number> {
subType: 'number';
}
export interface RenovateBooleanOption extends RenovateOptionBase {
default?: boolean;
type: 'boolean';
}
export interface RenovateIntegerOption extends RenovateOptionBase {
default?: number;
type: 'integer';
}
export interface RenovateStringOption extends RenovateOptionBase {
default?: string;
format?: 'regex';
// Not used
replaceLineReturns?: boolean;
type: 'string';
}
export interface RenovateObjectOption extends RenovateOptionBase {
default?: any;
additionalProperties?: Record<string, unknown> | boolean;
mergeable?: boolean;
type: 'object';
}
export type RenovateOptions =
| RenovateStringOption
| RenovateNumberArrayOption
| RenovateStringArrayOption
| RenovateIntegerOption
| RenovateBooleanOption
| RenovateArrayOption
| RenovateObjectOption;
const options: RenovateOptions[] = [
{
name: 'allowedPostUpgradeCommands',
description:
'A list of regular expressions that determine which post-upgrade tasks are allowed. A task has to match at least one of the patterns to be allowed to run',
type: 'array',
subType: 'string',
default: [],
admin: true,
},
{
name: 'postUpgradeTasks',
description:
'Post-upgrade tasks that are executed before a commit is made by Renovate',
type: 'object',
default: {
commands: [],
fileFilters: [],
},
},
{
name: 'commands',
description:
'A list of post-upgrade commands that are executed before a commit is made by Renovate',
type: 'array',
subType: 'string',
parent: 'postUpgradeTasks',
default: [],
cli: false,
},
{
name: 'fileFilters',
description:
'Files that match these glob patterns will be committed if they are present after running a post-upgrade task',
type: 'array',
subType: 'string',
parent: 'postUpgradeTasks',
default: [],
cli: false,
},
{
name: 'onboardingBranch',
description:
'Change this value in order to override the default onboarding branch name.',
type: 'string',
default: 'renovate/configure',
admin: true,
cli: false,
},
{
name: 'onboardingCommitMessage',
description:
'Change this value in order to override the default onboarding commit message.',
type: 'string',
default: null,
admin: true,
cli: false,
},
{
name: 'onboardingPrTitle',
description:
'Change this value in order to override the default onboarding PR title.',
type: 'string',
default: 'Configure Renovate',
admin: true,
cli: false,
},
{
name: 'productLinks',
description: 'Links which are embedded within PRs, issues, etc',
type: 'object',
admin: true,
mergeable: true,
default: {
documentation: 'https://docs.renovatebot.com/',
help: 'https://github.com/renovatebot/config-help/issues',
homepage: 'https://github.com/renovatebot/renovate',
},
additionalProperties: {
type: 'string',
format: 'uri',
},
},
{
name: 'extends',
description:
'Configuration presets to use/extend. Note: does not work if configured in config.js',
stage: 'package',
type: 'array',
subType: 'string',
allowString: true,
cli: false,
},
{
name: 'ignorePresets',
description:
'A list of presets to ignore, including nested ones inside `extends`',
stage: 'package',
type: 'array',
subType: 'string',
allowString: true,
cli: false,
},
{
name: 'description',
description: 'Plain text description for a config or preset',
type: 'array',
subType: 'string',
stage: 'repository',
allowString: true,
mergeable: true,
cli: false,
env: false,
},
{
name: 'enabled',
description: `Enable or disable the bot`,
stage: 'package',
type: 'boolean',
cli: false,
env: false,
},
{
name: 'repositoryCache',
description: 'Option to do repository extract caching.',
admin: true,
type: 'string',
allowedValues: ['disabled', 'enabled', 'reset'],
stage: 'repository',
default: 'disabled',
},
{
name: 'force',
description:
'Any configuration defined within this object will force override existing settings',
stage: 'package',
admin: true,
type: 'object',
cli: false,
env: false,
},
{
name: 'forceCli',
description:
'Whether CLI configuration options should be moved to the `force` config section',
stage: 'global',
type: 'boolean',
default: true,
},
{
name: 'draftPR',
description: 'If enabled, the PR created by Renovate is set to a draft.',
type: 'boolean',
default: false,
},
{
name: 'dryRun',
description:
'If enabled, perform a dry run by logging messages instead of creating/updating/deleting branches and PRs',
type: 'boolean',
admin: true,
default: false,
},
{
name: 'printConfig',
description:
'If enabled, log the full resolved config for each repo, including resolved presets',
type: 'boolean',
admin: true,
default: false,
},
{
name: 'binarySource',
description:
'Where to source binaries like `npm` and `yarn` from, choices are `auto`, `global` and `docker`',
admin: true,
type: 'string',
allowedValues: ['auto', 'global', 'docker'],
default: 'auto',
},
{
name: 'redisUrl',
description:
'If defined, this redis url will be used for caching instead of the file system',
admin: true,
type: 'string',
},
{
name: 'baseDir',
description:
'The base directory for Renovate to store local files, including repository files and cache. If left empty, Renovate will create its own temporary directory to use.',
admin: true,
type: 'string',
},
{
name: 'cacheDir',
description:
'The directory for Renovate for storing caches. If left empty, Renovate will create a subdirectory within `baseDir` to use.',
admin: true,
type: 'string',
},
{
name: 'dockerMapDotfiles',
description:
'Map relevant home directory dotfiles into containers when binarySource=docker.',
admin: true,
type: 'boolean',
default: false,
},
{
name: 'dockerUser',
description:
'Specify UID and GID for docker-based binaries when binarySource=docker is used.',
admin: true,
type: 'string',
},
{
name: 'composerIgnorePlatformReqs',
description:
'Enable / disable use of --ignore-platform-reqs in the composer package manager.',
type: 'boolean',
default: true,
admin: true,
},
// Log options
{
name: 'logLevel',
description: 'Logging level',
stage: 'global',
type: 'string',
allowedValues: ['fatal', 'error', 'warn', 'info', 'debug', 'trace'],
default: 'info',
env: 'LOG_LEVEL',
},
{
name: 'logFile',
description: 'Log file path',
stage: 'global',
type: 'string',
},
{
name: 'logFileLevel',
description: 'Log file log level',
stage: 'global',
type: 'string',
default: 'debug',
},
{
name: 'logContext',
description: 'Add a global or per-repo log context to each log entry.',
stage: 'global',
type: 'string',
default: null,
},
// Onboarding
{
name: 'onboarding',
description: 'Require a Configuration PR first',
stage: 'repository',
type: 'boolean',
admin: true,
},
{
name: 'onboardingConfig',
description: 'Configuration to use in onboarding PRs',
stage: 'repository',
type: 'object',
default: { $schema: 'https://docs.renovatebot.com/renovate-schema.json' },
admin: true,
mergeable: true,
},
{
name: 'includeForks',
description:
'Whether to process forked repositories or not. By default, all forked repositories are skipped over.',
stage: 'repository',
type: 'boolean',
default: false,
},
{
name: 'forkMode',
description:
'Set to true to fork the source repository and create branches there instead',
stage: 'repository',
type: 'boolean',
default: false,
admin: true,
},
{
name: 'requireConfig',
description: 'Set to true if repositories must have a config to activate.',
stage: 'repository',
type: 'boolean',
default: true,
admin: true,
},
{
name: 'optimizeForDisabled',
description:
'Set to true to first check for disabling in config before cloning',
stage: 'repository',
type: 'boolean',
default: false,
admin: true,
},
// Dependency Dashboard
{
name: 'dependencyDashboard',
description:
'Whether to create a "Dependency Dashboard" issue within the repository.',
type: 'boolean',
default: false,
},
{
name: 'dependencyDashboardApproval',
description:
'Whether updates should require manual approval from within the Dependency Dashboard issue before creation.',
type: 'boolean',
default: false,
},
{
name: 'dependencyDashboardAutoclose',
description:
'Set to `true` and Renovate will autoclose the Dependency Dashboard issue if there are no updates.',
type: 'boolean',
default: false,
},
{
name: 'dependencyDashboardTitle',
description: 'Title to use for the Dependency Dashboard issue',
type: 'string',
default: `Dependency Dashboard`,
},
{
name: 'dependencyDashboardHeader',
description:
'Any text added here will be placed first in the Dependency Dashboard issue body.',
type: 'string',
default:
'This issue contains a list of Renovate updates and their statuses.',
},
{
name: 'dependencyDashboardFooter',
description:
'Any text added here will be placed last in the Dependency Dashboard issue body, with a divider separator before it.',
type: 'string',
},
{
name: 'configWarningReuseIssue',
description:
'Set this to false and Renovate will open each config warning in a new issue instead of reopening/reusing an existing issue.',
type: 'boolean',
default: true,
},
// encryption
{
name: 'privateKey',
description: 'Server-side private key',
stage: 'repository',
type: 'string',
replaceLineReturns: true,
admin: true,
},
{
name: 'encrypted',
description:
'A configuration object containing configuration encrypted with project key.',
stage: 'repository',
type: 'object',
default: null,
},
// Scheduling
{
name: 'timezone',
description:
'[IANA Time Zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)',
type: 'string',
},
{
name: 'schedule',
description: 'Times of day/week to limit branch creation to',
type: 'array',
subType: 'string',
allowString: true,
cli: true,
env: false,
default: ['at any time'],
},
{
name: 'updateNotScheduled',
description:
'Whether to update (but not create) branches when not scheduled',
stage: 'branch',
type: 'boolean',
},
// Bot administration
{
name: 'persistRepoData',
description:
'If set to true, repository data will preserved between runs instead of deleted.',
type: 'boolean',
admin: true,
default: false,
},
{
name: 'trustLevel',
description:
'Set this to "high" if the bot should trust the repository owners/contents',
stage: 'global',
type: 'string',
default: 'low',
},
{
name: 'ignoreScripts',
description:
'Configure this to true if trustLevel is high but you wish to skip running scripts when updating lock files',
type: 'boolean',
default: false,
},
{
name: 'platform',
description: 'Platform type of repository',
type: 'string',
allowedValues: getPlatformList(),
default: PLATFORM_TYPE_GITHUB,
admin: true,
},
{
name: 'endpoint',
description: 'Custom endpoint to use',
type: 'string',
admin: true,
default: null,
},
{
name: 'token',
description: 'Repository Auth Token',
stage: 'repository',
type: 'string',
admin: true,
},
{
name: 'username',
description: 'Username for authentication. Currently Bitbucket only',
stage: 'repository',
type: 'string',
admin: true,
},
{
name: 'password',
description:
'Password for authentication. Currently Bitbucket only (AppPassword).',
stage: 'repository',
type: 'string',
admin: true,
},
{
name: 'npmrc',
description: 'String copy of npmrc file. Use \\n instead of line breaks',
stage: 'branch',
type: 'string',
},
{
name: 'npmToken',
description: 'npm token used for authenticating with the default registry',
stage: 'branch',
type: 'string',
},
{
name: 'yarnrc',
description: 'String copy of yarnrc file. Use \\n instead of line breaks',
stage: 'branch',
type: 'string',
},
{
name: 'updateLockFiles',
description: 'Set to false to disable lock file updating',
type: 'boolean',
},
{
name: 'skipInstalls',
description:
'Skip installing modules/dependencies if lock file updating is possible alone',
type: 'boolean',
default: null,
admin: true,
},
{
name: 'ignoreNpmrcFile',
description: 'Whether to ignore any .npmrc file found in repository',
type: 'boolean',
default: false,
},
{
name: 'autodiscover',
description: 'Autodiscover all repositories',
stage: 'global',
type: 'boolean',
default: false,
},
{
name: 'autodiscoverFilter',
description: 'Filter the list of autodiscovered repositories',
stage: 'global',
type: 'string',
default: null,
},
{
name: 'prCommitsPerRunLimit',
description:
'Set a maximum number of commits per Renovate run. Default is no limit.',
stage: 'global',
type: 'integer',
default: 0,
},
{
name: 'repositories',
description: 'List of Repositories',
stage: 'global',
type: 'array',
cli: false,
},
{
name: 'baseBranches',
description:
'An array of one or more custom base branches to be processed. If left empty, the default branch will be chosen',
type: 'array',
stage: 'package',
cli: false,
},
{
name: 'gitAuthor',
description: 'Author to use for git commits. RFC5322',
type: 'string',
admin: true,
},
{
name: 'gitPrivateKey',
description: 'PGP key to use for signing git commits',
type: 'string',
cli: false,
admin: true,
stage: 'global',
},
{
name: 'enabledManagers',
description:
'A list of package managers to enable. If defined, then all managers not on the list are disabled.',
type: 'array',
stage: 'repository',
},
{
name: 'includePaths',
description: 'Include package files only within these defined paths',
type: 'array',
subType: 'string',
stage: 'repository',
default: [],
},
{
name: 'ignorePaths',
description:
'Skip any package file whose path matches one of these. Can be string or glob pattern',
type: 'array',
subType: 'string',
stage: 'repository',
default: ['**/node_modules/**', '**/bower_components/**'],
},
{
name: 'excludeCommitPaths',
description:
'A file that matches any of these glob patterns will not be committed, even if it has been updated.',
type: 'array',
subType: 'string',
default: [],
},
{
name: 'aliases',
description: 'Aliases for registries, package manager specific',
type: 'object',
default: {},
additionalProperties: {
type: 'string',
format: 'uri',
},
},
{
name: 'registryUrls',
description:
'List of URLs to try for dependency lookup. Package manager-specific',
type: 'array',
subType: 'string',
default: null,
stage: 'branch',
cli: false,
env: false,
},
{
name: 'versioning',
description: 'versioning to use for filtering and comparisons',
type: 'string',
allowedValues: getVersioningList(),
default: semverVersioning.id,
cli: false,
env: false,
},
{
name: 'azureAutoComplete',
description:
'If set to true, Azure DevOps PRs will be set to auto-complete after all (if any) branch policies have been met',
type: 'boolean',
default: false,
},
{
name: 'azureWorkItemId',
description:
'The id of an existing work item on Azure Boards to link to each PR',
type: 'integer',
default: 0,
},
// depType
{
name: 'ignoreDeps',
description: 'Dependencies to ignore',
type: 'array',
subType: 'string',
stage: 'package',
mergeable: true,
},
{
name: 'packageRules',
description: 'Rules for matching package names',
type: 'array',
stage: 'package',
mergeable: true,
cli: false,
env: false,
},
{
name: 'languages',
description:
'List of languages to match (e.g. ["python"]). Valid only within `packageRules` object',
type: 'array',
subType: 'string',
allowString: true,
parent: 'packageRules',
stage: 'package',
mergeable: true,
cli: false,
env: false,
},
{
name: 'baseBranchList',
description:
'List of branches to match (e.g. ["master"]). Valid only within `packageRules` object',
type: 'array',
subType: 'string',
allowString: true,
parent: 'packageRules',
stage: 'package',
mergeable: true,
cli: false,
env: false,
},
{
name: 'managers',
description:
'List of package managers to match (e.g. ["pipenv"]). Valid only within `packageRules` object',
type: 'array',
subType: 'string',
allowString: true,
parent: 'packageRules',
stage: 'package',
mergeable: true,
cli: false,
env: false,
},
{
name: 'datasources',
description:
'List of datasources to match (e.g. ["orb"]). Valid only within `packageRules` object',
type: 'array',
subType: 'string',
allowString: true,
parent: 'packageRules',
stage: 'package',
mergeable: true,
cli: false,
env: false,
},
{
name: 'depTypeList',
description:
'List of depTypes to match (e.g. [`peerDependencies`]). Valid only within `packageRules` object',
type: 'array',
subType: 'string',
allowString: true,
parent: 'packageRules',
stage: 'package',
mergeable: true,
cli: false,
env: false,
},
{
name: 'packageNames',
description:
'Package names to match. Valid only within `packageRules` object',
type: 'array',
subType: 'string',
allowString: true,
stage: 'package',
parent: 'packageRules',
mergeable: true,
cli: false,
env: false,
},
{
name: 'excludePackageNames',
description:
'Package names to exclude. Valid only within `packageRules` object',
type: 'array',
subType: 'string',
allowString: true,
stage: 'package',
parent: 'packageRules',
mergeable: true,
cli: false,
env: false,
},
{
name: 'packagePatterns',
description:
'Package name patterns to match. Valid only within `packageRules` object.',
type: 'array',
subType: 'string',
format: 'regex',
allowString: true,
stage: 'package',
parent: 'packageRules',
mergeable: true,
cli: false,
env: false,
},
{
name: 'excludePackagePatterns',
description:
'Package name patterns to exclude. Valid only within `packageRules` object.',
type: 'array',
subType: 'string',
format: 'regex',
allowString: true,
stage: 'package',
parent: 'packageRules',
mergeable: true,
cli: false,
env: false,
},
{
name: 'matchCurrentVersion',
description:
'A version or version range to match against the current version of a package. Valid only within `packageRules` object',
type: 'string',
stage: 'package',
parent: 'packageRules',
mergeable: true,
cli: false,
env: false,
},
{
name: 'sourceUrlPrefixes',
description:
'A list of source URL prefixes to match against, commonly used for grouping of monorepos or packages from the same organization.',
type: 'array',
subType: 'string',
allowString: true,
stage: 'package',
parent: 'packageRules',
mergeable: true,
cli: false,
env: false,
},
{
name: 'updateTypes',
description:
'Update types to match against (major, minor, pin, etc). Valid only within `packageRules` object.',
type: 'array',
// TODO: add allowedValues
subType: 'string',
allowedValues: [
'major',
'minor',
'patch',
'pin',
'digest',
'lockFileMaintenance',
'rollback',
'bump',
],
allowString: true,
stage: 'package',
parent: 'packageRules',
mergeable: true,
cli: false,
env: false,
},
{
name: 'paths',
description:
'List of strings or glob patterns to match against package files. Applicable inside packageRules only',
type: 'array',
subType: 'string',
stage: 'repository',
parent: 'packageRules',
cli: false,
env: false,
},
// Version behaviour
{
name: 'allowedVersions',
description: 'A semver range defining allowed versions for dependencies',
type: 'string',
parent: 'packageRules',
stage: 'package',
cli: false,
env: false,
},
{
name: 'pinDigests',
description: 'Whether to add digests to Dockerfile source images',
type: 'boolean',
default: false,
},
{
name: 'separateMajorMinor',
description:
'If set to false, it will upgrade dependencies to latest release only, and not separate major/minor branches',
type: 'boolean',
},
{
name: 'separateMultipleMajor',
description:
'If set to true, PRs will be raised separately for each available major upgrade version',
stage: 'package',
type: 'boolean',
default: false,
},
{
name: 'separateMinorPatch',
description:
'If set to true, it will separate minor and patch updates into separate branches',
type: 'boolean',
default: false,
},
{
name: 'ignoreUnstable',
description: 'Ignore versions with unstable semver',
stage: 'package',
type: 'boolean',
},
{
name: 'ignoreDeprecated',
description:
'Ignore deprecated versions unless the current version is deprecated',
stage: 'package',
type: 'boolean',
default: true,
},
{
name: 'followTag',
description: 'If defined, packages will follow this release tag exactly.',
stage: 'package',
type: 'string',
cli: false,
env: false,
},
{
name: 'respectLatest',
description: 'Ignore versions newer than npm "latest" version',
stage: 'package',
type: 'boolean',
},
{
name: 'rangeStrategy',
description: 'Policy for how to modify/update existing ranges.',
type: 'string',
default: 'replace',
allowedValues: [
'auto',
'pin',
'bump',
'replace',
'widen',
'update-lockfile',
],
cli: false,
env: false,
},
{
name: 'branchPrefix',
description: 'Prefix to use for all branch names',
stage: 'branch',
type: 'string',
default: `renovate/`,
},
{
name: 'bumpVersion',