Plugins: Support suffix in `grafanaDependency` (#105916)

Plugins: Support appendix in `grafanaDependency`
pull/105921/head
Sven Grossmann 1 month ago committed by GitHub
parent 86a366126a
commit 04de9c2740
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      docs/sources/developers/plugins/plugin.schema.json

@ -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",

Loading…
Cancel
Save