Improve validation for grafanaDependency (#26936)
This commit is contained in:
@@ -50,7 +50,7 @@ Plugin dependencies.
|
||||
|
||||
| Property | Type | Required | Description |
|
||||
|---------------------|----------|----------|-------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `grafanaDependency` | string | **Yes** | Required Grafana version for this plugin, e.g. `>=7.0.0` to denote plugin requires Grafana 7.0.0 or later. |
|
||||
| `grafanaDependency` | string | **Yes** | Required Grafana version for this plugin. Validated using https://github.com/npm/node-semver. |
|
||||
| `grafanaVersion` | string | No | (Deprecated) Required Grafana version for this plugin, e.g. `6.x.x 7.x.x` to denote plugin requires Grafana v6.x.x or v7.x.x. |
|
||||
| `plugins` | string[] | No | An array of required plugins on which this plugin depends. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user