mirror of https://github.com/vuejs/core.git
chore: migrate renovate config (#12354)
* 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 <sxzz@sxzz.moe>
This commit is contained in:
parent
76c43c6040
commit
a0901756da
|
@ -1,18 +1,17 @@
|
||||||
{
|
{
|
||||||
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
|
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
|
||||||
extends: ['config:base', 'schedule:weekly', 'group:allNonMajor'],
|
extends: ['config:recommended', 'schedule:weekly', 'group:allNonMajor'],
|
||||||
labels: ['dependencies'],
|
labels: ['dependencies'],
|
||||||
ignorePaths: ['**/__tests__/**'],
|
ignorePaths: ['**/__tests__/**'],
|
||||||
rangeStrategy: 'bump',
|
rangeStrategy: 'bump',
|
||||||
packageRules: [
|
packageRules: [
|
||||||
{
|
{
|
||||||
depTypeList: ['peerDependencies'],
|
matchDepTypes: ['peerDependencies'],
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
groupName: 'test',
|
groupName: 'test',
|
||||||
matchPackageNames: ['vitest', 'jsdom', 'puppeteer'],
|
matchPackageNames: ['vitest', 'jsdom', 'puppeteer', '@vitest{/,}**'],
|
||||||
matchPackagePrefixes: ['@vitest'],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
groupName: 'playground',
|
groupName: 'playground',
|
||||||
|
@ -23,18 +22,28 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
groupName: 'compiler',
|
groupName: 'compiler',
|
||||||
matchPackageNames: ['magic-string'],
|
matchPackageNames: ['magic-string', '@babel{/,}**', 'postcss{/,}**'],
|
||||||
matchPackagePrefixes: ['@babel', 'postcss'],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
groupName: 'build',
|
groupName: 'build',
|
||||||
matchPackageNames: ['vite', '@swc/core'],
|
matchPackageNames: [
|
||||||
matchPackagePrefixes: ['rollup', 'esbuild', '@rollup', '@vitejs'],
|
'vite',
|
||||||
|
'@swc/core',
|
||||||
|
'rollup{/,}**',
|
||||||
|
'esbuild{/,}**',
|
||||||
|
'@rollup{/,}**',
|
||||||
|
'@vitejs{/,}**',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
groupName: 'lint',
|
groupName: 'lint',
|
||||||
matchPackageNames: ['simple-git-hooks', 'lint-staged'],
|
matchPackageNames: [
|
||||||
matchPackagePrefixes: ['typescript-eslint', 'eslint', 'prettier'],
|
'simple-git-hooks',
|
||||||
|
'lint-staged',
|
||||||
|
'typescript-eslint{/,}**',
|
||||||
|
'eslint{/,}**',
|
||||||
|
'prettier{/,}**',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
ignoreDeps: [
|
ignoreDeps: [
|
||||||
|
|
Loading…
Reference in New Issue