-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: clean up nested
extends
and missing /default
sub-presets
- Loading branch information
1 parent
6dc6428
commit 7e07b9a
Showing
10 changed files
with
97 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "Enable automerge for Renovate updates.", | ||
"automerge": true, | ||
"addLabels": ["automerge"], | ||
"azureAutoApprove": true, | ||
"gitLabAutomerge": true, | ||
"gitLabIgnoreApprovals": true, | ||
"assignAutomerge": false, | ||
"assigneesFromCodeOwners": false, | ||
"dependencyDashboardApproval": false, | ||
"reviewersFromCodeOwners": false | ||
"extends": ["github>bfra-me/renovate-config:automerge.json5"], | ||
"default": { | ||
"description": "Use default automerge settings.", | ||
"extends": [ | ||
"github>bfra-me/renovate-config:automergeNonMajorUpdates.json5" | ||
], | ||
"automergeStrategy": "squash", | ||
"automergeType": "branch", | ||
"ignoreTests": false | ||
}, | ||
"enable": { | ||
"extends": ["github>bfra-me/renovate-config:automerge.json5"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"automerge": true, | ||
"addLabels": ["automerge"], | ||
"azureAutoApprove": true, | ||
"gitLabAutomerge": true, | ||
"gitLabIgnoreApprovals": true, | ||
"assignAutomerge": false, | ||
"assigneesFromCodeOwners": false, | ||
"dependencyDashboardApproval": false, | ||
"reviewersFromCodeOwners": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
description: 'Automerge all update types except `major` and unstable (`0.x.x`) versions.', | ||
packageRules: [ | ||
{ | ||
matchUpdateTypes: ['patch', 'pin', 'digest'], | ||
extends: ['github>bfra-me/renovate-config:automerge.json5'], | ||
}, | ||
{ | ||
matchUpdateTypes: ['minor'], | ||
matchCurrentVersion: '!/^0\\./', | ||
extends: ['github>bfra-me/renovate-config:automerge.json5'], | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,3 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "Use @bfra-me replacements config presets.", | ||
|
||
"extends": [ | ||
"github>bfra-me/renovate-config:replacements/_eslint-plugin-node-to-eslint-plugin-n", | ||
"github>bfra-me/renovate-config:replacements/_zeit-ncc-to-vercel-ncc" | ||
], | ||
|
||
"_eslint-plugin-node-to-eslint-plugin-n": { | ||
"description": "The `eslint-plugin-node` package is now maintained by the fork `eslint-plugin-n`.", | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["npm"], | ||
"matchPackageNames": ["eslint-plugin-node"], | ||
"replacementName": "eslint-plugin-n", | ||
"replacementVersion": "14.0.0" | ||
} | ||
] | ||
}, | ||
|
||
"_zeit-ncc-to-vercel-ncc": { | ||
"description": "The `@zeit/ncc` package has been renamed to `@vercel/ncc`.", | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["npm"], | ||
"matchPackageNames": ["@zeit/ncc"], | ||
"replacementName": "@vercel/ncc", | ||
"replacementVersion": "0.23.0" | ||
} | ||
] | ||
} | ||
"default": {"extends": ["github>bfra-me/renovate-presets:replacements.json5"]} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
$schema: 'https://docs.renovatebot.com/renovate-schema.json', | ||
description: 'Use @bfra-me replacements config presets.', | ||
packageRules: [ | ||
{ | ||
description: 'The `eslint-plugin-node` package is now maintained by the fork `eslint-plugin-n`.', | ||
matchDatasources: ['npm'], | ||
matchPackageNames: ['eslint-plugin-node'], | ||
replacementName: 'eslint-plugin-n', | ||
replacementVersion: '14.0.0', | ||
}, | ||
{ | ||
description: 'The `@zeit/ncc` package has been renamed to `@vercel/ncc`.', | ||
matchDatasources: ['npm'], | ||
matchPackageNames: ['@zeit/ncc'], | ||
replacementName: '@vercel/ncc', | ||
replacementVersion: '0.23.0', | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters