diff --git a/.github/renovate.json5 b/.github/renovate.json5 index ede3743b904..b077f7e9da4 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,9 +1,7 @@ { - "extends": [ - "config:base" - ], - "enabledManagers": ["npm"], - "ignoreDeps": [ + extends: ["config:recommended"], + enabledManagers: ["npm"], + ignoreDeps: [ "@types/history", // this can be removed entirely when we upgrade history since v5 exposes types directly "history", // we should bump this together with react-router-dom (see https://github.com/grafana/grafana/issues/76744) "react-router-dom", // we should bump this together with history (see https://github.com/grafana/grafana/issues/76744) @@ -14,91 +12,67 @@ "slate", // we don't want to continue using this on the long run, use Monaco editor instead of Slate "slate-react", // we don't want to continue using this on the long run, use Monaco editor instead of Slate "@types/slate-react", // we don't want to continue using this on the long run, use Monaco editor instead of Slate - "@types/slate" // we don't want to continue using this on the long run, use Monaco editor instead of Slate + "@types/slate", // we don't want to continue using this on the long run, use Monaco editor instead of Slate ], - "includePaths": ["package.json", "packages/**", "public/app/plugins/**"], - "ignorePaths": ["emails/**", "plugins-bundled/**", "**/mocks/**"], - "labels": ["area/frontend", "dependencies", "no-changelog"], - "postUpdateOptions": ["yarnDedupeHighest"], - "packageRules": [ + includePaths: ["package.json", "packages/**", "public/app/plugins/**"], + ignorePaths: ["emails/**", "plugins-bundled/**", "**/mocks/**"], + labels: ["area/frontend", "dependencies", "no-changelog"], + postUpdateOptions: ["yarnDedupeHighest"], + packageRules: [ { - "automerge": true, - "matchCurrentVersion": "!/^0/", - "matchUpdateTypes": ["patch"], - "excludePackagePatterns": ["^@?storybook", "^@locker"] + automerge: true, + matchCurrentVersion: "!/^0/", + matchUpdateTypes: ["patch"], + matchPackageNames: ["!/^@?storybook/", "!/^@locker/"], }, { - "matchPackagePatterns": ["^@?storybook"], - "extends": ["schedule:monthly"], - "groupName": "Storybook updates" + extends: ["schedule:monthly"], + groupName: "Storybook updates", + matchPackageNames: ["/^@?storybook/"], }, { - "groupName": "React Aria", - "matchPackagePrefixes": [ - "@react-aria/", - "@react-stately/" - ] + groupName: "React Aria", + matchPackageNames: ["@react-aria/{/,}**", "@react-stately/{/,}**"], }, { - "groupName": "Moveable", - "matchPackageNames": [ - "moveable", - "react-moveable" - ] + groupName: "Moveable", + matchPackageNames: ["moveable", "react-moveable"], }, { - "groupName": "Slate", - "matchPackageNames": [ - "@types/slate", - "@types/slate-react", - "slate", - "slate-react" - ] + groupName: "Slate", + matchPackageNames: ["@types/slate", "@types/slate-react", "slate", "slate-react"], }, { - "groupName": "d3", - "matchPackagePrefixes": [ - "d3", - "@types/d3" - ] + groupName: "d3", + matchPackageNames: ["d3{/,}**", "@types/d3{/,}**"], }, { - "groupName": "scenes", - "matchPackageNames": [ - "@grafana/scenes", - "@grafana/scenes-react", - ] + groupName: "scenes", + matchPackageNames: ["@grafana/scenes", "@grafana/scenes-react"], }, { - "groupName": "visx", - "matchPackagePrefixes": [ - "@visx/" - ] + groupName: "visx", + matchPackageNames: ["@visx/{/,}**"], }, { - "groupName": "uLibraries", - "matchPackageNames": [ - "@leeoniya/ufuzzy", - "uplot" - ], - "reviewers": ["leeoniya"], + groupName: "uLibraries", + matchPackageNames: ["@leeoniya/ufuzzy", "uplot"], + reviewers: ["leeoniya"], }, { - "groupName": "locker", - "matchPackagePrefixes": [ - "@locker/" - ], - "reviewers": ["team:grafana/plugins-platform-frontend"], + groupName: "locker", + reviewers: ["team:grafana/plugins-platform-frontend"], + matchPackageNames: ["@locker/{/,}**"], }, ], - "pin": { - "enabled": false + pin: { + enabled: false, + }, + prConcurrentLimit: 10, + rebaseWhen: "conflicted", + reviewers: ["team:grafana/frontend-ops"], + separateMajorMinor: false, + vulnerabilityAlerts: { + addLabels: ["area/security"], }, - "prConcurrentLimit": 10, - "rebaseWhen": "conflicted", - "reviewers": ["team:grafana/frontend-ops"], - "separateMajorMinor": false, - "vulnerabilityAlerts": { - "addLabels": ["area/security"] - } }