Files
maptool/renovate.json
T
randy 5e1d1988ab
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 12s
Renovate: track Noto Sans glyphs and the Liberty style/sprite via git commit pins
2026-11-13 09:32:33 +01:00

46 lines
1.7 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"timezone": "Europe/Bratislava",
"prHourlyLimit": 0,
"packageRules": [
{
"description": "package.json only pins public/vendor/, so re-sync the vendored files in the same PR",
"matchManagers": ["npm"],
"postUpgradeTasks": {
"commands": ["npm ci --ignore-scripts --no-audit --no-fund", "node bin/vendor-sync.mjs"],
"fileFilters": ["public/vendor/**"],
"executionMode": "branch"
}
},
{
"description": "Fonts and the Liberty style/sprite are pinned to git commits in bin/assets-sync.mjs, re-download them in the same PR",
"matchFileNames": ["bin/assets-sync.mjs"],
"postUpgradeTasks": {
"commands": ["node bin/assets-sync.mjs"],
"fileFilters": ["public/vendor/**"],
"executionMode": "branch"
}
}
],
"customManagers": [
{
"customType": "regex",
"description": "Dockerfile ARG *_VERSION pins annotated with a `# renovate:` comment",
"managerFilePatterns": ["/(^|/)Dockerfile$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+ARG \\S+_VERSION=(?<currentValue>\\S+)"
],
"extractVersionTemplate": "^v?(?<version>.*)$"
},
{
"customType": "regex",
"description": "Git commit pins annotated with a `// renovate:` comment",
"managerFilePatterns": ["/^bin/assets-sync\\.mjs$/"],
"matchStrings": [
"// renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) branch=(?<currentValue>\\S+)\\s+const \\w+ = \"(?<currentDigest>[0-9a-f]{40})\""
]
}
]
}