Docs: Pinning to latest for grafana plugin tools (#64140)

Pinning to latest for grafana plugin tools
This commit is contained in:
Timur Olzhabayev 2023-03-03 15:07:35 +01:00 committed by GitHub
parent 3468804ff5
commit 92ee03db78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ The easiest way to start developing Grafana plugins is to use the Grafana [creat
Open the terminal, and run the following command in your [plugin directory]({{< relref "../../setup-grafana/configure-grafana/#plugins" >}}):
```bash
npx @grafana/create-plugin
npx @grafana/create-plugin@latest
```
Follow the questions and you will have a starter plugin ready to develop.

View File

@ -36,7 +36,7 @@ Public plugins need to be reviewed by the Grafana team before you can sign them.
```bash
export GRAFANA_API_KEY=<YOUR_API_KEY>
npx @grafana/sign-plugin
npx @grafana/sign-plugin@latest
```
## Sign a private plugin
@ -47,7 +47,7 @@ Public plugins need to be reviewed by the Grafana team before you can sign them.
```bash
export GRAFANA_API_KEY=<YOUR_API_KEY>
npx @grafana/sign-plugin --rootUrls https://example.com/grafana
npx @grafana/sign-plugin@latest --rootUrls https://example.com/grafana
```
## Plugin signature levels

View File

@ -9,7 +9,7 @@ Grafana [create-plugin tool](https://www.npmjs.com/package/@grafana/create-plugi
1. In the plugin directory, create a plugin from template using create-plugin. Select `datasource` when asked the kind of plugin:
```
npx @grafana/create-plugin
npx @grafana/create-plugin@latest
```
1. Change directory to your newly created plugin:

View File

@ -46,7 +46,7 @@ To build a backend for your data source plugin, Grafana requires a binary that i
The easiest way to get started is to use the Grafana [create-plugin tool](https://www.npmjs.com/package/@grafana/create-plugin). Navigate to the plugin folder that you configured in step 1 and type:
```
npx @grafana/create-plugin
npx @grafana/create-plugin@latest
```
Follow the steps and select **datasource** as your plugin type and answer **yes** when prompted to create a backend for your plugin.

View File

@ -45,7 +45,7 @@ To build a backend for your data source plugin, Grafana requires a binary that i
The easiest way to get started is to use the Grafana [create-plugin tool](https://www.npmjs.com/package/@grafana/create-plugin). Navigate to the plugin folder that you configured in step 1 and type:
```
npx @grafana/create-plugin
npx @grafana/create-plugin@latest
```
Follow the steps and select **datasource** as your plugin type and answer **yes** when prompted to create a backend for your plugin.

View File

@ -162,7 +162,7 @@ In this step, you'll add a data source to your app plugin. You can add panel plu
```bash
mkdir tmp
cd tmp
npx @grafana/create-plugin
npx @grafana/create-plugin@latest
```
1. Move the `src` directory in the data source plugin to `src/datasources`, and rename it to `my-datasource`.