mirror of
https://github.com/grafana/grafana.git
synced 2025-07-28 02:52:13 +08:00
Plugins: Support suffix in grafanaDependency
(#105916)
Plugins: Support appendix in `grafanaDependency`
This commit is contained in:
@ -172,7 +172,7 @@
|
||||
"grafanaDependency": {
|
||||
"type": "string",
|
||||
"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": {
|
||||
"type": "array",
|
||||
|
Reference in New Issue
Block a user