feat(regexp): support grafana dashboards

This commit is contained in:
2026-01-06 13:15:10 +01:00
parent d4b3feb347
commit d3b8f9281f
3 changed files with 96 additions and 10 deletions

12
grafana-dashboards.json Normal file
View File

@@ -0,0 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customDatasources": {
"grafana-dashboards": {
"defaultRegistryUrlTemplate": "https://grafana.com/api/dashboards/{{ packageName }}",
"format": "json",
"transformTemplates": [
"{\"releases\": [{\"version\": $string(revision)}], \"homepage\": \"https://grafana.com/dashboards/$string(id)\", \"sourceUrl\": \"https://grafana.com/dashboards/$string(id)\"}"
]
}
}
}