diff --git a/.github/renovate.json b/.github/renovate.json index 0d853240a0..633f8fb096 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,33 +1,26 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base", - ":preserveSemverRanges", - ":disablePeerDependencies" - ], + "extends": ["config:base", ":disablePeerDependencies"], "labels": ["dependencies"], "packageRules": [ - { - "groupName": "all non-major dependencies", - "groupSlug": "all-minor-patch", - "matchPackagePatterns": ["*"], - "matchUpdateTypes": ["minor", "patch"], - "excludePackagePatterns": ["^@blocksuite/"] - }, { "matchPackageNames": ["napi", "napi-build", "napi-derive"], + "rangeStrategy": "replace", "groupName": "napi-rs" }, { "matchPackagePatterns": ["^eslint", "^@typescript-eslint"], + "rangeStrategy": "replace", "groupName": "linter" }, { "matchPackagePatterns": ["^@nestjs"], + "rangeStrategy": "replace", "groupName": "nestjs" }, { "matchPackagePatterns": ["^@opentelemetry"], + "rangeStrategy": "replace", "groupName": "opentelemetry" }, { @@ -36,16 +29,32 @@ "@prisma/instrumentation", "prisma" ], + "rangeStrategy": "replace", "groupName": "prisma" }, { "matchPackagePatterns": ["^@electron-forge"], + "rangeStrategy": "replace", "groupName": "electron-forge" }, { "matchPackagePatterns": ["^@blocksuite"], "excludePackageNames": ["@blocksuite/icons"], + "rangeStrategy": "replace", "followTag": "nightly" + }, + { + "groupName": "all non-major dependencies", + "groupSlug": "all-minor-patch", + "matchPackagePatterns": ["*"], + "rangeStrategy": "replace", + "excludePackagePatterns": ["^@blocksuite/"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "matchPackagePatterns": ["*"], + "rangeStrategy": "replace", + "excludePackagePatterns": ["^@blocksuite/"] } ], "commitMessagePrefix": "chore: ",