mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 06:26:26 +00:00
fix(config): autodetectPinVersions -> autodetectRangeStrategy (#19933)
This commit is contained in:
parent
8c44d6bd10
commit
8d19f05b14
11 changed files with 12 additions and 11 deletions
|
@ -1,4 +1,5 @@
|
||||||
export const removedPresets: Record<string, string | null> = {
|
export const removedPresets: Record<string, string | null> = {
|
||||||
|
':autodetectPinVersions': ':autodetectRangeStrategy',
|
||||||
':automergeBranchMergeCommit': ':automergeBranch',
|
':automergeBranchMergeCommit': ':automergeBranch',
|
||||||
':automergeBranchPush': ':automergeBranch',
|
':automergeBranchPush': ':automergeBranch',
|
||||||
':base': 'config:base',
|
':base': 'config:base',
|
||||||
|
|
|
@ -839,7 +839,7 @@ describe('config/presets/index', () => {
|
||||||
':dependencyDashboard',
|
':dependencyDashboard',
|
||||||
':semanticPrefixFixDepsChoreOthers',
|
':semanticPrefixFixDepsChoreOthers',
|
||||||
':ignoreModulesAndTests',
|
':ignoreModulesAndTests',
|
||||||
':autodetectPinVersions',
|
':autodetectRangeStrategy',
|
||||||
':prHourlyLimit2',
|
':prHourlyLimit2',
|
||||||
':prConcurrentLimit10',
|
':prConcurrentLimit10',
|
||||||
'group:monorepos',
|
'group:monorepos',
|
||||||
|
|
|
@ -9,7 +9,7 @@ export const presets: Record<string, Preset> = {
|
||||||
':dependencyDashboard',
|
':dependencyDashboard',
|
||||||
':semanticPrefixFixDepsChoreOthers',
|
':semanticPrefixFixDepsChoreOthers',
|
||||||
':ignoreModulesAndTests',
|
':ignoreModulesAndTests',
|
||||||
':autodetectPinVersions',
|
':autodetectRangeStrategy',
|
||||||
':prHourlyLimit2',
|
':prHourlyLimit2',
|
||||||
':prConcurrentLimit10',
|
':prConcurrentLimit10',
|
||||||
'group:monorepos',
|
'group:monorepos',
|
||||||
|
|
|
@ -10,8 +10,8 @@ export const presets: Record<string, Preset> = {
|
||||||
assignees: ['{{arg0}}'],
|
assignees: ['{{arg0}}'],
|
||||||
description: 'Assign PRs to `{{arg0}}`.',
|
description: 'Assign PRs to `{{arg0}}`.',
|
||||||
},
|
},
|
||||||
autodetectPinVersions: {
|
autodetectRangeStrategy: {
|
||||||
description: 'Autodetect whether to pin dependencies or maintain ranges.',
|
description: 'Automatically detect the best rangeStrategy to use.',
|
||||||
rangeStrategy: 'auto',
|
rangeStrategy: 'auto',
|
||||||
},
|
},
|
||||||
automergeAll: {
|
automergeAll: {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"filename": "renovate.json",
|
"filename": "renovate.json",
|
||||||
"content": "{\n \"extends\": [\n \":separateMajorReleases\",\n \":prImmediately\",\n \":renovatePrefix\",\n \":semanticPrefixFixDepsChoreOthers\",\n \":updateNotScheduled\",\n \":automergeDisabled\",\n \":maintainLockFilesDisabled\",\n \":autodetectPinVersions\",\n \"group:monorepos\"\n ],\n \"onboarding\": false,\n \"rangeStrategy\": \"replace\",\n \"semanticCommits\": \"enabled\",\n \"timezone\": \"US/Central\",\n \"baseBranches\": [\"main\"]\n}\n"
|
"content": "{\n \"extends\": [\n \":separateMajorReleases\",\n \":prImmediately\",\n \":renovatePrefix\",\n \":semanticPrefixFixDepsChoreOthers\",\n \":updateNotScheduled\",\n \":automergeDisabled\",\n \":maintainLockFilesDisabled\",\n \":autodetectRangeStrategy\",\n \"group:monorepos\"\n ],\n \"onboarding\": false,\n \"rangeStrategy\": \"replace\",\n \"semanticCommits\": \"enabled\",\n \"timezone\": \"US/Central\",\n \"baseBranches\": [\"main\"]\n}\n"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"content": "{\n \"extends\": [\n \":separateMajorReleases\",\n \":prImmediately\",\n \":renovatePrefix\",\n \":semanticPrefixFixDepsChoreOthers\",\n \":updateNotScheduled\",\n \":automergeDisabled\",\n \":maintainLockFilesDisabled\",\n \":autodetectPinVersions\",\n \"group:monorepos\"\n ],\n \"onboarding\": false,\n \"rangeStrategy\": \"replace\",\n \"semanticCommits\": \"enabled\",\n \"timezone\": \"US/Central\",\n \"baseBranches\": [\n \"main\"\n ]\n}\n",
|
"content": "{\n \"extends\": [\n \":separateMajorReleases\",\n \":prImmediately\",\n \":renovatePrefix\",\n \":semanticPrefixFixDepsChoreOthers\",\n \":updateNotScheduled\",\n \":automergeDisabled\",\n \":maintainLockFilesDisabled\",\n \":autodetectRangeStrategy\",\n \"group:monorepos\"\n ],\n \"onboarding\": false,\n \"rangeStrategy\": \"replace\",\n \"semanticCommits\": \"enabled\",\n \"timezone\": \"US/Central\",\n \"baseBranches\": [\n \"main\"\n ]\n}\n",
|
||||||
"filename": "renovate.json",
|
"filename": "renovate.json",
|
||||||
"indent": {
|
"indent": {
|
||||||
"amount": 2,
|
"amount": 2,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"content": "{\n extends: [\n ':separateMajorReleases',\n ':prImmediately',\n ':renovatePrefix',\n ':semanticPrefixFixDepsChoreOthers',\n ':updateNotScheduled',\n ':automergeDisabled',\n ':maintainLockFilesDisabled',\n ':autodetectPinVersions',\n 'group:monorepos',\n ],\n onboarding: false,\n rangeStrategy: 'replace',\n semanticCommits: 'enabled',\n timezone: 'US/Central',\n baseBranches: [\n 'main',\n ],\n}\n",
|
"content": "{\n extends: [\n ':separateMajorReleases',\n ':prImmediately',\n ':renovatePrefix',\n ':semanticPrefixFixDepsChoreOthers',\n ':updateNotScheduled',\n ':automergeDisabled',\n ':maintainLockFilesDisabled',\n ':autodetectRangeStrategy',\n 'group:monorepos',\n ],\n onboarding: false,\n rangeStrategy: 'replace',\n semanticCommits: 'enabled',\n timezone: 'US/Central',\n baseBranches: [\n 'main',\n ],\n}\n",
|
||||||
"filename": "renovate.json5",
|
"filename": "renovate.json5",
|
||||||
"indent": {
|
"indent": {
|
||||||
"amount": 2,
|
"amount": 2,
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
":updateNotScheduled",
|
":updateNotScheduled",
|
||||||
":automergeDisabled",
|
":automergeDisabled",
|
||||||
":maintainLockFilesDisabled",
|
":maintainLockFilesDisabled",
|
||||||
":autodetectPinVersions",
|
":autodetectRangeStrategy",
|
||||||
"group:monorepos"
|
"group:monorepos"
|
||||||
],
|
],
|
||||||
"onboarding": false,
|
"onboarding": false,
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
":updateNotScheduled",
|
":updateNotScheduled",
|
||||||
":automergeDisabled",
|
":automergeDisabled",
|
||||||
":maintainLockFilesDisabled",
|
":maintainLockFilesDisabled",
|
||||||
":autodetectPinVersions",
|
":autodetectRangeStrategy",
|
||||||
"group:monorepos",
|
"group:monorepos",
|
||||||
"helpers:oddIsUnstablePackages"
|
"helpers:oddIsUnstablePackages"
|
||||||
],
|
],
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
':updateNotScheduled',
|
':updateNotScheduled',
|
||||||
':automergeDisabled',
|
':automergeDisabled',
|
||||||
':maintainLockFilesDisabled',
|
':maintainLockFilesDisabled',
|
||||||
':autodetectPinVersions',
|
':autodetectRangeStrategy',
|
||||||
'group:monorepos',
|
'group:monorepos',
|
||||||
'helpers:oddIsUnstablePackages'
|
'helpers:oddIsUnstablePackages'
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"configFileName": "renovate.json",
|
"configFileName": "renovate.json",
|
||||||
"migratedContent": "{\n \"extends\": [\n \":separateMajorReleases\",\n \":prImmediately\",\n \":renovatePrefix\",\n \":semanticPrefixFixDepsChoreOthers\",\n \":updateNotScheduled\",\n \":automergeDisabled\",\n \":maintainLockFilesDisabled\",\n \":autodetectPinVersions\",\n \"group:monorepos\"\n ],\n \"onboarding\": false,\n \"rangeStrategy\": \"replace\",\n \"semanticCommits\": \"enabled\",\n \"timezone\": \"US/Central\",\n \"baseBranches\": [\n \"main\"\n ]\n}\n"
|
"migratedContent": "{\n \"extends\": [\n \":separateMajorReleases\",\n \":prImmediately\",\n \":renovatePrefix\",\n \":semanticPrefixFixDepsChoreOthers\",\n \":updateNotScheduled\",\n \":automergeDisabled\",\n \":maintainLockFilesDisabled\",\n \":autodetectRangeStrategy\",\n \"group:monorepos\"\n ],\n \"onboarding\": false,\n \"rangeStrategy\": \"replace\",\n \"semanticCommits\": \"enabled\",\n \"timezone\": \"US/Central\",\n \"baseBranches\": [\n \"main\"\n ]\n}\n"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue