Files
clash-verge-rev/renovate.json
T
❤是纱雾酱哟~ cc20fd2328 chore(renovate): enable supply-chain-attack protection (#7723)
- 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>
2026-08-11 14:03:48 +00:00

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
}
}