Skip to content

Commit 18219a6

Browse files
committed
🔧: Group dependencies by package in renovate config
- Group React dependencies together - Group webpack and its loaders - Group Jest and testing related packages Signed-off-by: Alexandre Nicolaie <[email protected]>
1 parent b9edf80 commit 18219a6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

renovate.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,37 @@
44
"github>chezmoi-sh/renovate-config",
55
"github>chezmoi-sh/renovate-config:github-actions(monthly)",
66
"github>chezmoi-sh/renovate-config:gitmoji"
7+
],
8+
"packageRules": [
9+
{
10+
"groupName": "react",
11+
"matchPackagePatterns": [
12+
"^react$",
13+
"^react-dom$",
14+
"^@types/react$",
15+
"^@types/react-dom$"
16+
]
17+
},
18+
{
19+
"groupName": "graphology",
20+
"matchPackagePatterns": [
21+
"^graphology"
22+
]
23+
},
24+
{
25+
"groupName": "webpack",
26+
"matchPackagePatterns": [
27+
"^webpack",
28+
".*-loader$"
29+
]
30+
},
31+
{
32+
"groupName": "jest",
33+
"matchPackagePatterns": [
34+
"^jest",
35+
"^@jest/",
36+
"^@types/jest"
37+
]
38+
}
739
]
840
}

0 commit comments

Comments
 (0)