Plugins: Support suffix in grafanaDependency (#105916)

Plugins: Support appendix in `grafanaDependency`
This commit is contained in:
Sven Grossmann
2025-05-23 10:16:13 +03:00
committed by GitHub
parent 86a366126a
commit 04de9c2740

View File

@ -172,7 +172,7 @@
"grafanaDependency": { "grafanaDependency": {
"type": "string", "type": "string",
"description": "Required Grafana version for this plugin. Validated using https://github.com/npm/node-semver.", "description": "Required Grafana version for this plugin. Validated using https://github.com/npm/node-semver.",
"pattern": "^(<=|>=|<|>|=|~|\\^)?([0-9]+)(\\.[0-9x\\*]+)?(\\.[0-9x\\*]+)?(\\s(<=|>=|<|=>)?([0-9]+)(\\.[0-9x\\*]+)?(\\.[0-9x\\*]+)?)?$" "pattern": "^(<=|>=|<|>|=|~|\\^)?([0-9]+)(\\.[0-9x\\*]+)?(\\.[0-9x\\*]+)?(-[0-9A-Za-z-.]+)?(\\s(<=|>=|<|=>)?([0-9]+)(\\.[0-9x\\*]+)?(\\.[0-9x\\*]+)?(-[0-9A-Za-z-.]+)?)?$"
}, },
"plugins": { "plugins": {
"type": "array", "type": "array",