|
| 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