diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..30e57de --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,61 @@ +{ + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: [ + 'config:best-practices', + 'schedule:monthly', + 'group:allNonMajor', + ':prHourlyLimitNone', + ], + labels: ['dependencies'], + lockFileMaintenance: { + enabled: true, + }, + rangeStrategy: 'pin', + packageRules: [ + { + groupName: 'devDependencies', + matchDepTypes: ['devDependencies'], + }, + { + groupName: 'dependencies', + matchDepTypes: ['dependencies'], + rangeStrategy: 'replace', + }, + { + groupName: 'peerDependencies', + matchDepTypes: ['peerDependencies'], + rangeStrategy: 'widen', + }, + { + groupName: 'engines', + matchDepTypes: ['engines'], + rangeStrategy: 'replace', + }, + { + groupName: 'eslint', + matchPackageNames: [ + '@eslint/**', + '@stylistic/**', + 'eslint', + 'eslint-**', + 'typescript-eslint', + ], + }, + { + groupName: 'vitest', + matchPackageNames: ['@vitest/**', 'vitest'], + }, + { + groupName: 'prettier', + matchPackageNames: ['@types/prettier', 'prettier'], + }, + { + groupName: 'typescript', + matchPackageNames: ['typescript'], + }, + ], + stopUpdatingLabel: 'on hold', + vulnerabilityAlerts: { + labels: ['security'], + }, +}