mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 08:53:27 +03:00
ci: prevent @blocksuite/* packages upgraded without group (#5467)
This commit is contained in:
parent
8eda42c57f
commit
10aeefe36d
33
.github/renovate.json
vendored
33
.github/renovate.json
vendored
@ -1,33 +1,26 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": ["config:base", ":disablePeerDependencies"],
|
||||||
"config:base",
|
|
||||||
":preserveSemverRanges",
|
|
||||||
":disablePeerDependencies"
|
|
||||||
],
|
|
||||||
"labels": ["dependencies"],
|
"labels": ["dependencies"],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
|
||||||
"groupName": "all non-major dependencies",
|
|
||||||
"groupSlug": "all-minor-patch",
|
|
||||||
"matchPackagePatterns": ["*"],
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"excludePackagePatterns": ["^@blocksuite/"]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"matchPackageNames": ["napi", "napi-build", "napi-derive"],
|
"matchPackageNames": ["napi", "napi-build", "napi-derive"],
|
||||||
|
"rangeStrategy": "replace",
|
||||||
"groupName": "napi-rs"
|
"groupName": "napi-rs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchPackagePatterns": ["^eslint", "^@typescript-eslint"],
|
"matchPackagePatterns": ["^eslint", "^@typescript-eslint"],
|
||||||
|
"rangeStrategy": "replace",
|
||||||
"groupName": "linter"
|
"groupName": "linter"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchPackagePatterns": ["^@nestjs"],
|
"matchPackagePatterns": ["^@nestjs"],
|
||||||
|
"rangeStrategy": "replace",
|
||||||
"groupName": "nestjs"
|
"groupName": "nestjs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchPackagePatterns": ["^@opentelemetry"],
|
"matchPackagePatterns": ["^@opentelemetry"],
|
||||||
|
"rangeStrategy": "replace",
|
||||||
"groupName": "opentelemetry"
|
"groupName": "opentelemetry"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -36,16 +29,32 @@
|
|||||||
"@prisma/instrumentation",
|
"@prisma/instrumentation",
|
||||||
"prisma"
|
"prisma"
|
||||||
],
|
],
|
||||||
|
"rangeStrategy": "replace",
|
||||||
"groupName": "prisma"
|
"groupName": "prisma"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchPackagePatterns": ["^@electron-forge"],
|
"matchPackagePatterns": ["^@electron-forge"],
|
||||||
|
"rangeStrategy": "replace",
|
||||||
"groupName": "electron-forge"
|
"groupName": "electron-forge"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"matchPackagePatterns": ["^@blocksuite"],
|
"matchPackagePatterns": ["^@blocksuite"],
|
||||||
"excludePackageNames": ["@blocksuite/icons"],
|
"excludePackageNames": ["@blocksuite/icons"],
|
||||||
|
"rangeStrategy": "replace",
|
||||||
"followTag": "nightly"
|
"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: ",
|
"commitMessagePrefix": "chore: ",
|
||||||
|
Loading…
Reference in New Issue
Block a user