Skip to content

Commit b2c79ea

Browse files
authored
fix(renovate): fix warnings (#7075)
1 parent 8be0e35 commit b2c79ea

File tree

1 file changed

+61
-32
lines changed

1 file changed

+61
-32
lines changed

.github/renovate.json

Lines changed: 61 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"baseBranches": ["main", "v1.29.x"],
34
"extends": [
4-
"config:base",
5+
"config:recommended",
56
":disableDependencyDashboard",
67
":automergePatch",
78
":enableVulnerabilityAlerts",
@@ -21,24 +22,34 @@
2122
"**/__fixtures__/**"
2223
],
2324
"packageRules": [
25+
{
26+
"matchBaseBranches": ["v1.29.x"],
27+
"matchPackageNames": ["*"],
28+
"enabled": false
29+
},
2430
{
2531
"groupName": "Rimraf",
2632
"extends": ["schedule:weekly"],
2733
"matchPackageNames": ["rimraf"],
28-
"semanticCommitType": "chore"
34+
"semanticCommitType": "chore",
35+
"matchBaseBranches": ["main"]
2936
},
3037
{
3138
"groupName": "UI5 Web Components",
32-
"matchSourceUrlPrefixes": ["https://github.com/SAP/ui5-webcomponents"]
39+
"matchBaseBranches": ["main"],
40+
"matchSourceUrls": ["https://github.com/SAP/ui5-webcomponents{/,}**"]
3341
},
3442
{
3543
"groupName": "vite & plugins",
36-
"matchPackagePatterns": ["vite"],
37-
"excludePackageNames": ["@storybook/react-vite"]
44+
"matchBaseBranches": ["main"],
45+
"matchPackageNames": ["/vite/", "!@storybook/react-vite"]
3846
},
3947
{
40-
"extends": ["group:storybookMonorepo", "schedule:weekly"],
41-
"semanticCommitType": "chore"
48+
"extends": ["schedule:weekly"],
49+
"groupName": "storybook monorepo",
50+
"matchSourceUrls": ["https://github.com/storybookjs/storybook"],
51+
"semanticCommitType": "chore",
52+
"matchBaseBranches": ["main"]
4253
},
4354
{
4455
"description": "root package dependencies",
@@ -48,57 +59,75 @@
4859
"groupSlug": "root-all-minor-patch",
4960
"matchFileNames": ["package.json"],
5061
"matchUpdateTypes": ["minor", "patch"],
51-
"excludePackageNames": [
52-
"react",
53-
"react-dom",
54-
"storybook",
55-
"rimraf",
56-
"@joshwooding/vite-plugin-react-docgen-typescript"
57-
],
58-
"excludePackagePatterns": ["^@storybook/", "^@ui5/"]
62+
"matchBaseBranches": ["main"],
63+
"matchPackageNames": [
64+
"!react",
65+
"!react-dom",
66+
"!storybook",
67+
"!rimraf",
68+
"!@joshwooding/vite-plugin-react-docgen-typescript",
69+
"!/^@storybook//",
70+
"!/^@ui5//"
71+
]
5972
},
6073
{
6174
"description": "Example & Template dependencies",
6275
"extends": ["schedule:weekly"],
63-
"matchPaths": ["examples/**", "templates/**"],
76+
"matchFileNames": ["examples/**", "templates/**"],
6477
"semanticCommitType": "chore",
6578
"groupName": "all non-major dependencies (examples & templates)",
6679
"groupSlug": "examples-all-minor-patch",
67-
"matchPackagePatterns": ["*"],
68-
"excludePackagePatterns": ["^@ui5/"],
69-
"matchUpdateTypes": ["minor", "patch"]
80+
"matchUpdateTypes": ["minor", "patch"],
81+
"matchBaseBranches": ["main"],
82+
"matchPackageNames": ["*", "!/^@ui5//"]
7083
},
7184
{
7285
"description": "UI5 Web Components (for React) in all examples & templates",
7386
"groupName": "UI5 Web Components React (examples & templates)",
7487
"groupSlug": "examples-ui5-webcomponents-react",
75-
"matchPaths": ["examples/**", "templates/**"],
76-
"matchSourceUrlPrefixes": [
77-
"https://github.com/SAP/ui5-webcomponents",
78-
"https://github.com/SAP/ui5-webcomponents-react"
79-
],
80-
"semanticCommitType": "chore"
88+
"matchFileNames": ["examples/**", "templates/**"],
89+
"semanticCommitType": "chore",
90+
"matchBaseBranches": ["main"],
91+
"matchSourceUrls": [
92+
"https://github.com/SAP/ui5-webcomponents{/,}**",
93+
"https://github.com/SAP/ui5-webcomponents-react{/,}**"
94+
]
8195
},
8296
{
8397
"description": "UI5 Web Components in root",
8498
"groupName": "UI5 Web Components (root)",
8599
"groupSlug": "root-ui5-webcomponents",
86100
"matchFileNames": ["package.json"],
87-
"matchSourceUrlPrefixes": ["https://github.com/SAP/ui5-webcomponents"],
88-
"semanticCommitType": "chore"
101+
"semanticCommitType": "chore",
102+
"matchBaseBranches": ["main"],
103+
"matchSourceUrls": ["https://github.com/SAP/ui5-webcomponents{/,}**"]
89104
},
90105
{
91106
"extends": ["schedule:weekly"],
92107
"description": "V1 UI5WC/R dependency updates",
93108
"matchBaseBranches": ["v1.29.x"],
94109
"groupName": "Legacy Branch Updates",
95110
"groupSlug": "legacy-branch-updates",
96-
"matchSourceUrlPrefixes": [
97-
"https://github.com/SAP/ui5-webcomponents",
98-
"https://github.com/SAP/ui5-webcomponents-react"
99-
],
100111
"matchUpdateTypes": ["patch"],
101-
"semanticCommitType": "chore"
112+
"semanticCommitType": "chore",
113+
"matchSourceUrls": [
114+
"https://github.com/SAP/ui5-webcomponents{/,}**",
115+
"https://github.com/SAP/ui5-webcomponents-react{/,}**"
116+
]
117+
},
118+
{
119+
"extends": ["schedule:weekly"],
120+
"description": "V1 UI5WC/R dependency updates",
121+
"matchBaseBranches": ["v1.29.x"],
122+
"groupName": "Legacy Branch Updates",
123+
"groupSlug": "legacy-branch-updates",
124+
"matchUpdateTypes": ["patch"],
125+
"semanticCommitType": "chore",
126+
"enabled": true,
127+
"matchSourceUrls": [
128+
"https://github.com/SAP/ui5-webcomponents{/,}**",
129+
"https://github.com/SAP/ui5-webcomponents-react{/,}**"
130+
]
102131
}
103132
]
104133
}

0 commit comments

Comments
 (0)