mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-09 15:14:32 +00:00
Update to https://github.com/pnpm/pnpm/releases/tag/v11.0.0 - move all pnpm settings to `pnpm-workspace.yaml`, pnpm v11 only reads that file - drop redundant or no-op settings - disable `strictDepBuilds` to avoid having to manually specify deps with build scripts, this is equivalent to v10 where it will not execute and warn. - add workarounds for https://github.com/SukkaW/nolyfill/issues/119 - remove dead eslintrc entry --- This PR was written with the help of Claude Opus 4.7 --------- Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
102 lines
3.3 KiB
Plaintext
102 lines
3.3 KiB
Plaintext
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["config:recommended", "helpers:pinGitHubActionDigests", "customManagers:githubActionsVersions"],
|
|
"configMigration": true,
|
|
"enabledManagers": ["github-actions", "gomod", "npm", "pep621", "nix", "custom.regex"],
|
|
"labels": ["dependencies"],
|
|
"branchPrefix": "renovate/",
|
|
"schedule": ["* * * * 1"], // dependency update PRs weekly, vulnerabilityAlerts bypasses this
|
|
"minimumReleaseAge": "5 days",
|
|
"semanticCommits": "enabled",
|
|
"osvVulnerabilityAlerts": true,
|
|
"vulnerabilityAlerts": {
|
|
"enabled": true,
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["/(^|/)Makefile$/"],
|
|
"matchStrings": [
|
|
"[A-Z_]+_PACKAGE\\s*\\?=\\s*(?<depName>[^@\\s]+?)(?:/cmd/[^@/\\s]+)?@(?<currentValue>\\S+)\\s+# renovate: datasource=(?<datasource>\\S+)",
|
|
],
|
|
},
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"groupName": "action dependencies",
|
|
"matchManagers": ["github-actions"],
|
|
},
|
|
{
|
|
"matchPackageNames": ["@mcaptcha/vanilla-glue"],
|
|
"allowedVersions": "^0.1", // breaking changes in rc versions need to be handled
|
|
},
|
|
{
|
|
"matchPackageNames": ["cropperjs"],
|
|
"allowedVersions": "^1", // need to migrate to v2 but v2 is not compatible with v1
|
|
},
|
|
{
|
|
"matchPackageNames": ["tailwindcss"],
|
|
"allowedVersions": "^3", // need to migrate
|
|
},
|
|
{
|
|
"matchPackageNames": ["github.com/urfave/cli/v3"],
|
|
"allowedVersions": "<3.6.2", // v3.6.2 breaks -c flag parsing in help commands
|
|
},
|
|
{
|
|
"matchPackageNames": ["github.com/Azure/azure-sdk-for-go/sdk/azcore"],
|
|
"allowedVersions": "<1.21.0", // v1.21.0+ uses API version unsupported by Azurite in CI
|
|
},
|
|
{
|
|
"matchPackageNames": ["github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"],
|
|
"allowedVersions": "<1.6.4", // v1.6.4+ uses API version unsupported by Azurite in CI
|
|
},
|
|
{
|
|
"matchPackageNames": ["github.com/microsoft/go-mssqldb"],
|
|
"allowedVersions": "<=1.9.7", // downgraded with Azure SDK
|
|
},
|
|
{
|
|
"matchPackageNames": ["go.yaml.in/yaml/v4"],
|
|
"allowedVersions": "<4.0.0-rc.4", // rc.4 changes block scalar serialization, wait for stable release
|
|
},
|
|
{
|
|
"groupName": "go dependencies",
|
|
"matchManagers": ["gomod"],
|
|
"postUpgradeTasks": {
|
|
"commands": ["make tidy"],
|
|
"fileFilters": ["go.mod", "go.sum", "assets/go-licenses.json"],
|
|
"executionMode": "branch",
|
|
},
|
|
},
|
|
{
|
|
"groupName": "tool dependencies",
|
|
"matchManagers": ["custom.regex"],
|
|
"matchFileNames": ["**/Makefile"],
|
|
},
|
|
{
|
|
"matchManagers": ["gomod"],
|
|
"matchDepNames": ["go"],
|
|
"matchDepTypes": ["golang"],
|
|
"rangeStrategy": "bump",
|
|
"schedule": ["at any time"],
|
|
"minimumReleaseAge": "0",
|
|
},
|
|
{
|
|
"groupName": "npm dependencies",
|
|
"matchManagers": ["npm"],
|
|
"postUpgradeTasks": {
|
|
"commands": ["make svg nolyfill"],
|
|
"fileFilters": ["package.json", "pnpm-lock.yaml", "pnpm-workspace.yaml", "public/assets/img/svg/**"],
|
|
"executionMode": "branch",
|
|
},
|
|
},
|
|
{
|
|
"groupName": "python dependencies",
|
|
"matchManagers": ["pep621"],
|
|
},
|
|
{
|
|
"groupName": "nix dependencies",
|
|
"matchManagers": ["nix"],
|
|
},
|
|
],
|
|
}
|