mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-14 10:24:23 +03:00
67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["config:recommended", ":disablePeerDependencies"],
|
|
"labels": ["dependencies"],
|
|
"ignorePaths": [
|
|
"**/node_modules/**",
|
|
"**/bower_components/**",
|
|
"**/vendor/**",
|
|
"**/examples/**",
|
|
"**/__tests__/**",
|
|
"**/test/**",
|
|
"**/__fixtures__/**"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"matchPackagePatterns": ["^eslint", "^@typescript-eslint"],
|
|
"rangeStrategy": "replace",
|
|
"groupName": "linter"
|
|
},
|
|
{
|
|
"matchDepNames": ["oxlint"],
|
|
"rangeStrategy": "replace",
|
|
"groupName": "oxlint"
|
|
},
|
|
{
|
|
"groupName": "blocksuite-canary",
|
|
"matchPackagePatterns": ["^@blocksuite"],
|
|
"excludePackageNames": ["@blocksuite/icons"],
|
|
"rangeStrategy": "replace",
|
|
"followTag": "canary"
|
|
},
|
|
{
|
|
"groupName": "all non-major dependencies",
|
|
"groupSlug": "all-minor-patch",
|
|
"matchPackagePatterns": ["*"],
|
|
"excludePackagePatterns": ["^@blocksuite/", "oxlint"],
|
|
"matchUpdateTypes": ["minor", "patch"]
|
|
},
|
|
{
|
|
"groupName": "rust toolchain",
|
|
"matchManagers": ["custom.regex"],
|
|
"matchDepNames": ["rustc"]
|
|
}
|
|
],
|
|
"commitMessagePrefix": "chore: ",
|
|
"commitMessageAction": "bump up",
|
|
"commitMessageTopic": "{{depName}} version",
|
|
"ignoreDeps": [],
|
|
"postUpdateOptions": ["yarnDedupeHighest"],
|
|
"lockFileMaintenance": {
|
|
"enabled": true,
|
|
"extends": ["schedule:weekly"]
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": ["^rust-toolchain\\.toml?$"],
|
|
"matchStrings": [
|
|
"channel\\s*=\\s*\"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)\""
|
|
],
|
|
"depNameTemplate": "rustc",
|
|
"packageNameTemplate": "rust-lang/rust",
|
|
"datasourceTemplate": "github-releases"
|
|
}
|
|
]
|
|
}
|