mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-08 02:52:07 +08:00
84 lines
2.7 KiB
JSON
84 lines
2.7 KiB
JSON
{
|
|
"extends": ["config:recommended", ":disableDependencyDashboard"],
|
|
"baseBranchPatterns": ["dev"],
|
|
"enabledManagers": ["cargo", "npm", "github-actions", "custom.regex"],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Track tauri-plugin-mihomo Cargo git revision on main",
|
|
"fileMatch": ["(^|/)src-tauri/Cargo\\.toml$"],
|
|
"matchStrings": [
|
|
"tauri-plugin-mihomo\\s*=\\s*\\{[^}]*git\\s*=\\s*\"https://github\\.com/clash-verge-rev/tauri-plugin-mihomo\"[^}]*rev\\s*=\\s*\"(?<currentDigest>[a-f0-9]{40})\"[^}]*\\}"
|
|
],
|
|
"depNameTemplate": "tauri-plugin-mihomo",
|
|
"packageNameTemplate": "https://github.com/clash-verge-rev/tauri-plugin-mihomo",
|
|
"currentValueTemplate": "main",
|
|
"datasourceTemplate": "git-refs"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Track tauri-plugin-mihomo npm API git revision on main",
|
|
"fileMatch": ["(^|/)package\\.json$"],
|
|
"matchStrings": [
|
|
"\"tauri-plugin-mihomo-api\"\\s*:\\s*\"github:clash-verge-rev/tauri-plugin-mihomo#(?<currentDigest>[a-f0-9]{40})\""
|
|
],
|
|
"depNameTemplate": "tauri-plugin-mihomo-api",
|
|
"packageNameTemplate": "https://github.com/clash-verge-rev/tauri-plugin-mihomo",
|
|
"currentValueTemplate": "main",
|
|
"datasourceTemplate": "git-refs"
|
|
}
|
|
],
|
|
"labels": ["dependencies"],
|
|
"ignorePaths": [
|
|
"**/node_modules/**",
|
|
"**/bower_components/**",
|
|
"**/vendor/**",
|
|
"**/__tests__/**",
|
|
"**/test/**",
|
|
"**/tests/**",
|
|
"**/__fixtures__/**",
|
|
"shared/**"
|
|
],
|
|
"rangeStrategy": "replace",
|
|
"packageRules": [
|
|
{
|
|
"matchUpdateTypes": ["patch"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"matchPackageNames": ["*"],
|
|
"semanticCommitType": "chore"
|
|
},
|
|
{
|
|
"description": "Disable node/pnpm version updates",
|
|
"matchPackageNames": ["node", "pnpm"],
|
|
"matchDepTypes": ["engines", "packageManager"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Group all cargo dependencies into a single PR and bump Cargo.toml ranges",
|
|
"matchManagers": ["cargo"],
|
|
"groupName": "cargo dependencies",
|
|
"rangeStrategy": "bump"
|
|
},
|
|
{
|
|
"description": "Group all npm dependencies into a single PR",
|
|
"matchManagers": ["npm"],
|
|
"groupName": "npm dependencies"
|
|
},
|
|
{
|
|
"description": "Group all GitHub Actions updates into a single PR",
|
|
"matchManagers": ["github-actions"],
|
|
"groupName": "github actions"
|
|
}
|
|
],
|
|
"postUpdateOptions": ["pnpmDedupe"],
|
|
"ignoreDeps": ["criterion"],
|
|
"lockFileMaintenance": {
|
|
"enabled": true,
|
|
"description": "Force update lockfile to track latest commits of git dependencies",
|
|
"schedule": ["* 0-4 1 * *"],
|
|
"automerge": true
|
|
}
|
|
}
|