mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-15 05:40:47 +08:00
- Configure Mend Renovate to match default pnpm "min age" setting - Prevent pull request creation for npm dependencies younger than 1 day Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"extends": ["config:recommended", ":disableDependencyDashboard"],
|
|
"baseBranchPatterns": ["dev"],
|
|
"enabledManagers": ["cargo", "npm", "github-actions"],
|
|
"labels": ["dependencies"],
|
|
"ignorePaths": [
|
|
"**/node_modules/**",
|
|
"**/bower_components/**",
|
|
"**/vendor/**",
|
|
"**/__tests__/**",
|
|
"**/test/**",
|
|
"**/tests/**",
|
|
"**/__fixtures__/**",
|
|
"shared/**"
|
|
],
|
|
"rangeStrategy": "replace",
|
|
"prCreation": "not-pending",
|
|
"internalChecksFilter": "strict",
|
|
"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"
|
|
},
|
|
{
|
|
"description": "Skip TypeScript 7.0 series",
|
|
"matchManagers": ["npm"],
|
|
"matchPackageNames": ["typescript"],
|
|
"allowedVersions": "<7.0.0 || >=7.1.0"
|
|
},
|
|
{
|
|
"description": "Prevent project from supply chain attack",
|
|
"matchDatasources": ["npm"],
|
|
"minimumReleaseAge": "1 days"
|
|
}
|
|
],
|
|
"postUpdateOptions": ["pnpmDedupe"],
|
|
"ignoreDeps": ["criterion"],
|
|
"lockFileMaintenance": {
|
|
"enabled": true,
|
|
"description": "Force update lockfile to track latest commits of git dependencies",
|
|
"schedule": ["* 0-4 1 * *"],
|
|
"automerge": true
|
|
}
|
|
}
|