From a0901756dad225c1addf54dab9a297801a9c8c1a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 03:17:52 +0800 Subject: [PATCH] chore: migrate renovate config (#12354) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(config): migrate config .github/renovate.json5 * chore: fix lint --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 三咲智子 Kevin Deng --- .github/renovate.json5 | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 8808b599e62..aad4afa132a 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,18 +1,17 @@ { $schema: 'https://docs.renovatebot.com/renovate-schema.json', - extends: ['config:base', 'schedule:weekly', 'group:allNonMajor'], + extends: ['config:recommended', 'schedule:weekly', 'group:allNonMajor'], labels: ['dependencies'], ignorePaths: ['**/__tests__/**'], rangeStrategy: 'bump', packageRules: [ { - depTypeList: ['peerDependencies'], + matchDepTypes: ['peerDependencies'], enabled: false, }, { groupName: 'test', - matchPackageNames: ['vitest', 'jsdom', 'puppeteer'], - matchPackagePrefixes: ['@vitest'], + matchPackageNames: ['vitest', 'jsdom', 'puppeteer', '@vitest{/,}**'], }, { groupName: 'playground', @@ -23,18 +22,28 @@ }, { groupName: 'compiler', - matchPackageNames: ['magic-string'], - matchPackagePrefixes: ['@babel', 'postcss'], + matchPackageNames: ['magic-string', '@babel{/,}**', 'postcss{/,}**'], }, { groupName: 'build', - matchPackageNames: ['vite', '@swc/core'], - matchPackagePrefixes: ['rollup', 'esbuild', '@rollup', '@vitejs'], + matchPackageNames: [ + 'vite', + '@swc/core', + 'rollup{/,}**', + 'esbuild{/,}**', + '@rollup{/,}**', + '@vitejs{/,}**', + ], }, { groupName: 'lint', - matchPackageNames: ['simple-git-hooks', 'lint-staged'], - matchPackagePrefixes: ['typescript-eslint', 'eslint', 'prettier'], + matchPackageNames: [ + 'simple-git-hooks', + 'lint-staged', + 'typescript-eslint{/,}**', + 'eslint{/,}**', + 'prettier{/,}**', + ], }, ], ignoreDeps: [