renovate.json5 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. $schema: 'https://docs.renovatebot.com/renovate-schema.json',
  3. extends: ['config:recommended', 'schedule:weekly', 'group:allNonMajor'],
  4. labels: ['dependencies'],
  5. ignorePaths: ['**/__tests__/**'],
  6. rangeStrategy: 'bump',
  7. minimumReleaseAge: '24 hours',
  8. packageRules: [
  9. {
  10. matchDepTypes: ['peerDependencies'],
  11. enabled: false,
  12. },
  13. {
  14. groupName: 'test',
  15. matchPackageNames: ['vitest', 'jsdom', 'puppeteer', '@vitest{/,}**'],
  16. },
  17. {
  18. groupName: 'playground',
  19. matchFileNames: [
  20. 'packages-private/sfc-playground/package.json',
  21. 'packages-private/template-explorer/package.json',
  22. ],
  23. },
  24. {
  25. groupName: 'compiler',
  26. matchPackageNames: ['magic-string', '@babel{/,}**', 'postcss{/,}**'],
  27. },
  28. {
  29. groupName: 'build',
  30. matchPackageNames: [
  31. 'vite',
  32. '@swc/core',
  33. 'rollup{/,}**',
  34. 'esbuild{/,}**',
  35. '@rollup{/,}**',
  36. '@vitejs{/,}**',
  37. ],
  38. },
  39. {
  40. groupName: 'lint',
  41. matchPackageNames: [
  42. 'simple-git-hooks',
  43. 'lint-staged',
  44. 'typescript-eslint{/,}**',
  45. 'eslint{/,}**',
  46. 'prettier{/,}**',
  47. ],
  48. },
  49. ],
  50. ignoreDeps: [
  51. 'vue',
  52. // manually bumping
  53. 'node',
  54. 'typescript',
  55. // ESM only
  56. 'estree-walker',
  57. // v8 is ESM-only and breaks compiler-core's CJS path
  58. 'entities',
  59. // pinned
  60. // https://github.com/vuejs/core/issues/10300#issuecomment-1940855364
  61. 'lru-cache',
  62. // pinned
  63. // https://github.com/vuejs/core/commit/a012e39b373f1b6918e5c89856e8f902e1bfa14d
  64. '@rollup/plugin-replace',
  65. // pinned
  66. // only used in example for e2e tests
  67. 'marked',
  68. ],
  69. }