Also moved to `.github/renovate.json` to keep the root directory clean.
Compared with the current config, the new preset:
- Extends `config:recommended` instead of `config:base` ([it's just a
name change, though](https://github.com/renovatebot/renovate/pull/21136))
- Extends `:widenPeerDependencies`
- A more nuanced update strategy for `typescript` in case we are several
minor versions behind
- Groups all Vite packages together for easier management, esp. when
Vite 6 is released
- Separates 0.x versions of packages from the rest so we can deal with
the breaking changes in a more controlled manner. This mainly affects
`esbuild`.
--- /dev/null
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": ["github>haoqunjiang/renovate-presets:npm.json5"]
+}
+++ /dev/null
-{
- "$schema": "https://docs.renovatebot.com/renovate-schema.json",
- "extends": [
- "config:base",
- "schedule:weekly",
- "group:allNonMajor",
- ":semanticCommitTypeAll(chore)"
- ],
- "rangeStrategy": "bump",
- "labels": ["dependencies"],
- "ignoreDeps": ["node"],
- "packageRules": [
- {
- "matchDepNames": ["typescript"],
- "rangeStrategy": "replace",
- "groupName": "typescript"
- }
- ]
-}