mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-15 05:40:47 +08:00
* ci(workflows): Revert nodejs version to v24.18.1 - Exactly match what was defined in `.tool-versions` * ci(renovate): Prevent 3 build tools from being automatically upgraded - Lock Nodejs, PNPM and Rust version in the repository - Nodejs, PNPM and Rust are infrastructure build tools or package manager for this repo - Human manual-bump is required for consistency and stability - Prevent bumping by Renovate Bot * ci(renovate): Unlock auto updates of 3 build tools - Re-allow Nodejs, PNPM and Rust from being automatically upgrade - Group version bumps together across version lockfiles, GitHub Workflows and Dev Containers Assisted-by: vscode-copilot-chat:gemini-3.7-flash codegraph * chore(deps): Bump 2 build tools to latest version - Bump Nodejs to `v24.20.0` across version lockfiles, GitHub Workflows and Dev Containers - Bump Rust toolchain to `v1.98.0` across version lockfiles, GitHub Workflows and Dev Containers Assisted-by: vscode-copilot-chat:gemini-3.7-flash codegraph
139 lines
4.2 KiB
JSON
139 lines
4.2 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["config:recommended", ":disableDependencyDashboard"],
|
|
"baseBranchPatterns": ["dev"],
|
|
"enabledManagers": [
|
|
"asdf",
|
|
"cargo",
|
|
"custom.regex",
|
|
"devcontainer",
|
|
"github-actions",
|
|
"npm",
|
|
"rust-toolchain"
|
|
],
|
|
"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": "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"
|
|
},
|
|
{
|
|
"description": "Group Node.js version updates across workflows, devcontainer, tool-versions, and package.json",
|
|
"matchPackageNames": [
|
|
"node",
|
|
"nodejs",
|
|
"ghcr.io/devcontainers/features/node"
|
|
],
|
|
"groupName": "Node.js"
|
|
},
|
|
{
|
|
"description": "Group PNPM version updates across package.json, tool-versions, workflows, and devcontainer",
|
|
"matchPackageNames": ["pnpm", "ghcr.io/devcontainers/features/pnpm"],
|
|
"groupName": "pnpm"
|
|
},
|
|
{
|
|
"description": "Group Rust toolchain updates across rust-toolchain.toml, workflows, devcontainer, and tool-versions",
|
|
"matchPackageNames": [
|
|
"rust",
|
|
"rust-lang/rust",
|
|
"ghcr.io/devcontainers/features/rust"
|
|
],
|
|
"groupName": "Rust toolchain"
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update Node.js in GitHub Workflows",
|
|
"fileMatch": ["^\\.github/workflows/.*\\.ya?ml$"],
|
|
"matchStrings": [
|
|
"node-version:\\s*['\"]?(?<currentValue>\\d+\\.\\d+\\.\\d+)['\"]?"
|
|
],
|
|
"depNameTemplate": "node",
|
|
"datasourceTemplate": "node-version"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update Rust toolchain in GitHub Workflows",
|
|
"fileMatch": ["^\\.github/workflows/.*\\.ya?ml$"],
|
|
"matchStrings": [
|
|
"(?:toolchain:\\s*['\"]|--toolchain\\s+|dtolnay/rust-toolchain@)(?<currentValue>\\d+\\.\\d+\\.\\d+)['\"]?"
|
|
],
|
|
"depNameTemplate": "rust-lang/rust",
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update Node.js in devcontainer.json",
|
|
"fileMatch": ["^\\.devcontainer/devcontainer\\.json$"],
|
|
"matchStrings": [
|
|
"\"ghcr\\.io/devcontainers/features/node:[^\"]+\":\\s*\\{[^}]*\"version\":\\s*\"(?<currentValue>[^\"]+)\""
|
|
],
|
|
"depNameTemplate": "node",
|
|
"datasourceTemplate": "node-version"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Update Rust in devcontainer.json",
|
|
"fileMatch": ["^\\.devcontainer/devcontainer\\.json$"],
|
|
"matchStrings": [
|
|
"\"ghcr\\.io/devcontainers/features/rust:[^\"]+\":\\s*\\{[^}]*\"version\":\\s*\"(?<currentValue>[^\"]+)\""
|
|
],
|
|
"depNameTemplate": "rust-lang/rust",
|
|
"datasourceTemplate": "github-releases"
|
|
}
|
|
],
|
|
"postUpdateOptions": ["pnpmDedupe"],
|
|
"ignoreDeps": ["criterion"],
|
|
"lockFileMaintenance": {
|
|
"enabled": true,
|
|
"description": "Force update lockfile to track latest commits of git dependencies",
|
|
"schedule": ["* 0-4 1 * *"],
|
|
"automerge": true
|
|
}
|
|
}
|