mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
Plugins: Update plugin.json schema to correctly validate version ranges and single digit versions (#90517)
This commit is contained in:
parent
58285e37a2
commit
fa2506300f
@ -170,7 +170,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]+))?(\\-[0-9]+)?$"
|
||||
"pattern": "^(<=|>=|<|>|=|~|\\^)?([0-9]+)(\\.[0-9x\\*]+)?(\\.[0-9x\\*]+)?(\\s(<=|>=|<|=>)?([0-9]+)(\\.[0-9x\\*]+)?(\\.[0-9x\\*]+)?)?$"
|
||||
},
|
||||
"plugins": {
|
||||
"type": "array",
|
||||
|
Loading…
Reference in New Issue
Block a user