renovate.json
Rama main · réplica de lectura del repositorio original.
{
"extends": [
"config:recommended",
":semanticCommitTypeAll(deps)",
"helpers:pinGitHubActionDigestsToSemver"
],
"semanticCommits": "enabled",
"semanticCommitType": "deps",
"semanticCommitScope": "Renovate",
"branchConcurrentLimit": 20,
"prConcurrentLimit": 20,
"minimumReleaseAge": "7 days",
"timezone": "America/Chicago",
"vulnerabilityAlerts": {
"minimumReleaseAge": "0 days",
"schedule": [
"at any time"
]
},
"lockFileMaintenance": {
"enabled": true,
"extends": [
"schedule:monthly"
]
},
"postUpdateOptions": [
"gomodUpdateImportPaths",
"gomodTidy"
],
"packageRules": [
{
"matchPackageNames": [
"@monetr/{/,}**",
"github.com/monetr/{/,}**",
"monetr/mkcert",
"monetr/hostess"
],
"minimumReleaseAge": "0 days",
"schedule": [
"at any time"
]
},
{
"matchPackageNames": [
"@types/.+",
"renovate",
"lucide-react"
],
"extends": [
"schedule:monthly"
]
},
{
"groupName": "aws",
"groupSlug": "aws",
"matchPackageNames": [
"github.com/aws/{/,}**"
],
"extends": [
"schedule:monthly"
]
},
{
"matchCategories": [
"go",
"golang"
],
"semanticCommitScope": "api"
},
{
"matchCategories": [
"js",
"javascript",
"typescript"
],
"semanticCommitScope": "ui"
},
{
"matchCategories": [
"docker",
"dockerfile"
],
"semanticCommitScope": "containers"
},
{
"matchManagers": [
"github-actions"
],
"semanticCommitType": "build",
"semanticCommitScope": "deps"
},
{
"groupName": "rsbuild",
"groupSlug": "rsbuild",
"matchPackageNames": [
"/rspack/",
"/rsbuild/"
]
},
{
"groupName": "rspress",
"groupSlug": "rspress",
"matchPackageNames": [
"/rspress/"
]
},
{
"groupName": "rstest",
"groupSlug": "rstest",
"matchPackageNames": [
"/rstest/"
]
},
{
"groupName": "golang",
"groupSlug": "golang",
"matchPackageNames": [
"go",
"golang"
]
},
{
"description": "Keep the go directive in go.mod in sync with the rest of the golang group",
"matchManagers": [
"gomod"
],
"matchDatasources": [
"golang-version"
],
"rangeStrategy": "bump"
},
{
"groupName": "node",
"groupSlug": "node",
"semanticCommitScope": "containers",
"matchDatasources": [
"docker",
"node-version"
],
"matchPackageNames": [
"node"
]
},
{
"groupName": "pnpm",
"groupSlug": "pnpm",
"semanticCommitScope": "ui",
"matchPackageNames": [
"pnpm"
]
},
{
"groupName": "golang.org/x",
"groupSlug": "golang-x",
"matchPackageNames": [
"golang.org/x/{/,}**"
]
},
{
"groupName": "bun",
"groupSlug": "bun",
"matchPackageNames": [
"github.com/uptrace/bun{/,}**"
]
},
{
"groupName": "sass",
"groupSlug": "sass",
"matchPackageNames": [
"/sass/"
]
},
{
"groupName": "debian apt packages",
"groupSlug": "debian-apt",
"semanticCommitScope": "containers",
"matchDatasources": [
"deb"
],
"registryUrls": [
"https://deb.debian.org/debian?suite=trixie&components=main&binaryArch=amd64",
"https://deb.debian.org/debian?suite=trixie-updates&components=main&binaryArch=amd64",
"https://deb.debian.org/debian-security?suite=trixie-security&components=main&binaryArch=amd64"
]
}
],
"dockerfile": {
"fileMatch": [
"Dockerfile"
]
},
"docker-compose": {
"fileMatch": [
"compose/.+\\.yaml.in$",
"docker-compose.yaml"
]
},
"customManagers": [
{
"customType": "regex",
"description": "Update Golang min version in CMake",
"fileMatch": ["CMakeLists.txt", ".+\\.cmake"],
"matchStrings": ["set\\(GO_MIN_VERSION \"(?<currentValue>.*?)\"\\)"],
"depNameTemplate": "go",
"datasourceTemplate": "golang-version"
},
{
"customType": "regex",
"description": "Update Golang min version in docs",
"fileMatch": [".+\\.mdx"],
"matchStrings": ["[Gg]o.*?(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "go",
"datasourceTemplate": "golang-version"
},
{
"customType": "regex",
"description": "Update Node min version in CMake",
"fileMatch": ["CMakeLists.txt", ".+\\.cmake"],
"matchStrings": ["set\\(NODE_MIN_VERSION \"(?<currentValue>\\d+\\.\\d+\\.\\d+)\"\\)"],
"depNameTemplate": "node",
"datasourceTemplate": "node-version"
},
{
"customType": "regex",
"description": "Update go.uber.org/mock",
"fileMatch": [".+\\.go"],
"matchStrings": ["//go:generate go run go.uber.org/mock/mockgen@(?<currentValue>v\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "go.uber.org/mock",
"datasourceTemplate": "go"
},
{
"customType": "regex",
"description": "Update Node min version in docs",
"fileMatch": [".+\\.mdx"],
"matchStrings": ["[Nn]ode.*?(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "node",
"datasourceTemplate": "node-version"
},
{
"customType": "regex",
"description": "Update monetr/mkcert binary version and the per-arch sha256 we pin in CMake",
"fileMatch": [".+\\.cmake"],
"matchStrings": ["set\\(MKCERT_\\w+\\s+\"(?<currentValue>v\\d+\\.\\d+\\.\\d+)\"\\s+\"(?<currentDigest>[a-f0-9]{64})\"\\)"],
"depNameTemplate": "monetr/mkcert",
"datasourceTemplate": "github-release-attachments",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Update monetr/hostess binary version and the per-arch sha256 we pin in CMake",
"fileMatch": [".+\\.cmake"],
"matchStrings": ["set\\(HOSTESS_\\w+\\s+\"(?<currentValue>v\\d+\\.\\d+\\.\\d+)\"\\s+\"(?<currentDigest>[a-f0-9]{64})\"\\)"],
"depNameTemplate": "monetr/hostess",
"datasourceTemplate": "github-release-attachments",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Update CLDR version in CMake",
"fileMatch": ["server/currency/CMakeLists.txt"],
"matchStrings": ["set\\(CLDR_VERSION \"(?<currentValue>\\d+\\.\\d+\\.\\d+)\"\\)"],
"depNameTemplate": "unicode-org/cldr-json",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Update simple-icons version in CMake",
"fileMatch": ["CMakeLists.txt"],
"matchStrings": ["GIT_REPOSITORY .+simple-icons.+\n.+GIT_TAG (?<currentValue>.*?)\n"],
"depNameTemplate": "simple-icons",
"packageNameTemplate": "https://github.com/simple-icons/simple-icons.git",
"datasourceTemplate": "git-refs"
},
{
"customType": "regex",
"description": "Update biome schema version",
"fileMatch": ["biome.jsonc"],
"matchStrings": ["https:\/\/biomejs.dev\/schemas\/(?<currentValue>.*?)\/schema.json"],
"depNameTemplate": "@biomejs/biome",
"packageNameTemplate": "@biomejs/biome",
"datasourceTemplate": "npm"
},
{
"customType": "regex",
"description": "Update pinned Debian apt package versions in Dockerfiles",
"fileMatch": ["(^|/)Dockerfile$", "\\.Dockerfile$"],
"matchStrings": ["# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: versioning=(?<versioning>\\S+))?\\s+\\S+=(?<currentValue>\\S+)"],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}deb{{/if}}"
},
{
"customType": "regex",
"description": "Update the pnpm version pinned in container files, must track package.json packageManager",
"fileMatch": ["(^|/)Dockerfile$", "\\.Dockerfile$"],
"matchStrings": ["npm install -g pnpm@(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "pnpm",
"datasourceTemplate": "npm"
}
]
}