-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathself-hosted.json5
37 lines (34 loc) · 1.14 KB
/
self-hosted.json5
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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"github>secustor/backstage-renovate-config//presets/no-esm",
"github>secustor/backstage-renovate-config//presets/unsupported-framework-upgrades",
"github>secustor/backstage-renovate-config//presets/update-backstage-json",
],
// create a single PR to update all in range upgrades, to save CI minutes
lockFileMaintenance: {
enabled: true,
},
postUpdateOptions: [
// run `yarn dedupe --strategy highest` after every npm package upgrade
"yarnDedupeHighest",
],
packageRules: [
{
// disable updating NPM packages of Backstage Core as these are updated by Backstage CLI
matchDatasources: ["npm"],
matchSourceUrls: ["https://github.com/backstage/backstage"],
enabled: false,
},
{
// run backstage upgrade command if there is a new Backstage release
matchPackageNames: ["backstage/backstage"],
postUpgradeTasks: {
commands: [
"yarn backstage-cli versions:bump --pattern '@{backstage}/*' --release {{{newVersion}}}",
],
executionMode: "branch",
},
},
],
}