-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(renovate): split trunk-base and release branches strategies
feat(renovate): register node-version update in base
- Loading branch information
Showing
10 changed files
with
159 additions
and
117 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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "Group all Angular dependencies", | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": [ | ||
"^@angular", | ||
"^ng-packagr", | ||
"^@schematics", | ||
"angular", | ||
"^@ngrx", | ||
"^zone.js", | ||
"^@nrwl", | ||
"^@nx", | ||
"^nx" | ||
], | ||
"groupName": "Angular dependencies", | ||
"groupSlug": "angular-dependencies" | ||
} | ||
] | ||
} |
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 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "Group all Typescript dependencies", | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": [ | ||
"typescript", | ||
"tslib" | ||
], | ||
"groupName": "Typescript dependencies", | ||
"groupSlug": "typescript-dependencies" | ||
} | ||
] | ||
} |
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
72 changes: 72 additions & 0 deletions
72
tools/renovate/tasks/branching-strategy/release-branches.json
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,72 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "Rules to reduce impacted updates on release branches", | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"rangeStrategy": "replace" | ||
}, | ||
{ | ||
"matchPackageNames": [ | ||
"typescript" | ||
], | ||
"rangeStrategy": "in-range-only" | ||
}, | ||
{ | ||
"matchUpdateTypes": [ | ||
"major" | ||
], | ||
"matchBaseBranches": [ | ||
"main", | ||
"master", | ||
"/^release/" | ||
], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchUpdateTypes": [ | ||
"major" | ||
], | ||
"matchDatasources": [ | ||
"node-version" | ||
], | ||
"matchBaseBranches": [ | ||
"main", | ||
"master" | ||
], | ||
"enabled": true | ||
}, | ||
{ | ||
"matchUpdateTypes": [ | ||
"major", | ||
"minor" | ||
], | ||
"matchBaseBranches": [ | ||
"/^release/" | ||
], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchPackageNames": [ | ||
"typescript" | ||
], | ||
"matchBaseBranches": [ | ||
"/.*-next$/" | ||
], | ||
"rangeStrategy": "replace" | ||
}, | ||
{ | ||
"matchUpdateTypes": [ | ||
"major" | ||
], | ||
"matchBaseBranches": [ | ||
"/.*-next$/" | ||
], | ||
"groupName": "Major dependencies", | ||
"groupSlug": "major-dependencies", | ||
"enabled": true | ||
} | ||
] | ||
} |
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,6 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "Rules to apply on trunk-based development", | ||
"packageRules": [ | ||
] | ||
} |