Skip to content

Commit cdb19ba

Browse files
authored
chore(deps): add renovate config (#8)
1 parent b7bfb45 commit cdb19ba

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/renovate.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"local>sanity-io/renovate-config",
5+
":dependencyDashboardApproval"
6+
],
7+
"ignorePresets": ["github>sanity-io/renovate-config:group-non-major"],
8+
"hostRules": [
9+
{
10+
"matchHost": "registry.npmjs.org",
11+
"token": "{{ secrets.SANITY_NPM_TOKEN }}"
12+
}
13+
],
14+
"packageRules": [
15+
{
16+
"matchDepTypes": ["devDependencies"],
17+
"matchUpdateTypes": ["patch", "minor"],
18+
"groupName": "devDependencies (non-major)"
19+
},
20+
{
21+
"description": "Group TypeScript related deps in a single PR, as they often have to update together",
22+
"groupName": "typescript-tooling",
23+
"matchPackageNames": ["@sanity/pkg-utils", "@sanity/tsdoc", "typescript"]
24+
},
25+
{
26+
"description": "Group sdk related deps in a single PR, as they often have to update together",
27+
"groupName": "storybook-tooling",
28+
"matchPackageNames": ["@sanity/sdk", "@sanity/sdk-*"]
29+
},
30+
{
31+
"description": "Group eslint related deps in a single PR, as they often have to update together",
32+
"groupName": "eslint-tooling",
33+
"matchPackageNames": [
34+
"@eslint/*",
35+
"eslint",
36+
"eslint-plugin-*",
37+
"eslint-config-*",
38+
"typescript-eslint"
39+
]
40+
}
41+
]
42+
}

0 commit comments

Comments
 (0)