Skip to content

Commit 28092cc

Browse files
authored
Merge pull request #1541 from data-driven-forms/renovate/migrate-config
chore(deps): migrate Renovate config
2 parents 9e68305 + fa40362 commit 28092cc

File tree

1 file changed

+22
-32
lines changed

1 file changed

+22
-32
lines changed

renovate.json

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"description": "Renovate configuration for @data-driven-forms library packages - maintains version ranges for library compatibility",
44
"extends": [
5-
"config:base",
5+
"config:recommended",
66
"schedule:weekends",
77
":dependencyDashboard",
88
":semanticCommits",
@@ -35,11 +35,7 @@
3535
"enabled": true,
3636
"schedule": ["before 5am on sunday"]
3737
},
38-
"ignorePaths": [
39-
"**/node_modules/**",
40-
"**/dist/**",
41-
"**/build/**"
42-
],
38+
"ignorePaths": ["**/node_modules/**", "**/dist/**", "**/build/**"],
4339
"packageRules": [
4440
{
4541
"description": "Group React ecosystem updates with testing library to avoid conflicts",
@@ -59,62 +55,62 @@
5955
{
6056
"description": "Group Testing Library packages",
6157
"groupName": "Testing Library",
62-
"matchPackagePatterns": ["^@testing-library/"]
58+
"matchPackageNames": ["/^@testing-library//"]
6359
},
6460
{
6561
"description": "Group Babel packages",
6662
"groupName": "Babel",
67-
"matchPackagePatterns": ["^@babel/", "^babel-"]
63+
"matchPackageNames": ["/^@babel//", "/^babel-/"]
6864
},
6965
{
7066
"description": "Group TypeScript packages",
7167
"groupName": "TypeScript",
72-
"matchPackagePatterns": ["^@types/", "typescript", "ts-"]
68+
"matchPackageNames": ["/^@types//", "/typescript/", "/ts-/"]
7369
},
7470
{
7571
"description": "Group ESLint packages",
7672
"groupName": "ESLint",
77-
"matchPackagePatterns": ["^eslint", "^@typescript-eslint/"]
73+
"matchPackageNames": ["/^eslint/", "/^@typescript-eslint//"]
7874
},
7975
{
8076
"description": "Group Jest packages",
8177
"groupName": "Jest",
82-
"matchPackagePatterns": ["^jest", "@jest/"]
78+
"matchPackageNames": ["/^jest/", "/@jest//"]
8379
},
8480
{
8581
"description": "Group Nx packages",
8682
"groupName": "Nx",
87-
"matchPackagePatterns": ["^@nx/", "^nx$"]
83+
"matchPackageNames": ["/^@nx//", "/^nx$/"]
8884
},
8985
{
9086
"description": "Group Webpack packages",
9187
"groupName": "Webpack",
92-
"matchPackagePatterns": ["^webpack", "webpack-"]
88+
"matchPackageNames": ["/^webpack/", "/webpack-/"]
9389
},
9490
{
9591
"description": "Group PatternFly packages",
9692
"groupName": "PatternFly",
97-
"matchPackagePatterns": ["^@patternfly/"]
93+
"matchPackageNames": ["/^@patternfly//"]
9894
},
9995
{
10096
"description": "Group Material-UI packages",
10197
"groupName": "Material-UI",
102-
"matchPackagePatterns": ["^@mui/", "^@material-ui/"]
98+
"matchPackageNames": ["/^@mui//", "/^@material-ui//"]
10399
},
104100
{
105101
"description": "Group Carbon packages",
106102
"groupName": "IBM Carbon",
107-
"matchPackagePatterns": ["^@carbon/"]
103+
"matchPackageNames": ["/^@carbon//"]
108104
},
109105
{
110106
"description": "Group Blueprint packages",
111107
"groupName": "Blueprint",
112-
"matchPackagePatterns": ["^@blueprintjs/"]
108+
"matchPackageNames": ["/^@blueprintjs//"]
113109
},
114110
{
115111
"description": "Group Emotion packages",
116112
"groupName": "Emotion",
117-
"matchPackagePatterns": ["^@emotion/"]
113+
"matchPackageNames": ["/^@emotion//"]
118114
},
119115
{
120116
"description": "Enable peer dependency updates with ranges for library compatibility",
@@ -124,8 +120,8 @@
124120
},
125121
{
126122
"description": "Pin internal workspace dependencies",
127-
"matchPackagePatterns": ["^@data-driven-forms/"],
128-
"enabled": false
123+
"enabled": false,
124+
"matchPackageNames": ["/^@data-driven-forms//"]
129125
},
130126
{
131127
"description": "Maintain ranges for regular dependencies in library packages",
@@ -149,10 +145,7 @@
149145
},
150146
{
151147
"description": "Conservative approach for React peer dependencies to avoid conflicts",
152-
"matchPackageNames": [
153-
"react",
154-
"react-dom"
155-
],
148+
"matchPackageNames": ["react", "react-dom"],
156149
"matchDepTypes": ["peerDependencies"],
157150
"rangeStrategy": "bump",
158151
"respectLatest": true
@@ -176,21 +169,18 @@
176169
},
177170
{
178171
"description": "Prevent conflicting React versions in overrides",
179-
"matchPackageNames": [
180-
"react",
181-
"react-dom"
182-
],
183-
"matchPaths": ["package.json"],
172+
"matchPackageNames": ["react", "react-dom"],
173+
"matchFileNames": ["package.json"],
184174
"rangeStrategy": "bump",
185175
"respectLatest": true,
186176
"minimumReleaseAge": "3 days"
187177
},
188178
{
189179
"description": "Keep React Testing Library compatible with React versions",
190-
"matchPackagePatterns": ["^@testing-library/"],
191180
"rangeStrategy": "bump",
192181
"respectLatest": true,
193-
"minimumReleaseAge": "3 days"
182+
"minimumReleaseAge": "3 days",
183+
"matchPackageNames": ["/^@testing-library//"]
194184
},
195185
{
196186
"description": "Handle package overrides carefully to avoid peer dependency conflicts",
@@ -207,4 +197,4 @@
207197
"commitMessageTopic": "{{depName}}",
208198
"commitMessageExtra": "to {{newVersion}}",
209199
"commitBody": "- Updates {{depName}} from {{currentVersion}} to {{newVersion}}\n- Release notes: {{releaseNotes}}\n\n{{#if hasReleaseNotes}}\n### Release Notes\n{{releaseNotes}}\n{{/if}}"
210-
}
200+
}

0 commit comments

Comments
 (0)