From 24530d9cb2836692f61aa4c6e3c2311a2a8990dc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 07:54:39 +0000 Subject: [PATCH] chore(config): migrate config .github/renovate.json5 --- .github/renovate.json5 | 114 ++++++++++++++++++++++++----------------- 1 file changed, 66 insertions(+), 48 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 4e1f2984..f2059bbc 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,66 +1,84 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended", "schedule:weekly"], - "ignorePaths": ["**/tests/**", "**/node_modules/**"], - "packageRules": [ - // Use chore as semantic commit type for commit messages + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: [ + 'config:recommended', + 'schedule:weekly', + ], + ignorePaths: [ + '**/tests/**', + '**/node_modules/**', + ], + packageRules: [ { - "matchPackagePatterns": ["*"], - "semanticCommitType": "chore", - // always bump package.json - "rangeStrategy": "bump" + semanticCommitType: 'chore', + rangeStrategy: 'bump', + matchPackageNames: [ + '*', + ], }, { - "groupName": "rspack", - "packagePatterns": ["rspack"], - "groupSlug": "rspack" + groupName: 'rspack', + groupSlug: 'rspack', + matchPackageNames: [ + '/rspack/', + ], }, { - "groupName": "rsbuild", - "packagePatterns": ["rsbuild"], - "groupSlug": "rsbuild" + groupName: 'rsbuild', + groupSlug: 'rsbuild', + matchPackageNames: [ + '/rsbuild/', + ], }, { - "groupName": "rspress", - "packagePatterns": ["rspress"], - "groupSlug": "rspress" + groupName: 'rspress', + groupSlug: 'rspress', + matchPackageNames: [ + '/rspress/', + ], }, { - "groupName": "rsdoctor", - "packagePatterns": ["rsdoctor"], - "groupSlug": "rsdoctor" + groupName: 'rsdoctor', + groupSlug: 'rsdoctor', + matchPackageNames: [ + '/rsdoctor/', + ], }, { - "groupName": "types", - "packagePatterns": ["^@types/"], - "groupSlug": "types" + groupName: 'types', + groupSlug: 'types', + matchPackageNames: [ + '/^@types//', + ], }, { - "groupName": "all non-major dependencies", - "groupSlug": "all-non-major", - "matchPackagePatterns": ["*"], - "matchUpdateTypes": ["patch", "minor"] + groupName: 'all non-major dependencies', + groupSlug: 'all-non-major', + matchUpdateTypes: [ + 'patch', + 'minor', + ], + matchPackageNames: [ + '*', + ], }, - // manually update peer dependencies { - "depTypeList": ["peerDependencies"], - "enabled": false - } + matchDepTypes: [ + 'peerDependencies', + ], + enabled: false, + }, + ], + ignoreDeps: [ + 'vue', + 'vue-loader', + 'globby', + 'open', + 'strip-ansi', + 'ansi-escapes', + 'cli-truncate', + 'patch-console', + 'babel-plugin-react-compiler', + '@tailwindcss/postcss', ], - "ignoreDeps": [ - // vue 2 and vue-loader v15 - "vue", - "vue-loader", - // pure esm packages can not be used now - "globby", - "open", - "strip-ansi", - "ansi-escapes", - "cli-truncate", - "patch-console", - // does not follow semver - "babel-plugin-react-compiler", - // canary package - "@tailwindcss/postcss" - ] }