[v9.4.x] Docs: Pinning to latest for grafana plugin tools (#64141)

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

Pinning to latest for grafana plugin tools

(cherry picked from commit 92ee03db78)

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2023-03-03 09:11:31 -05:00
committed by GitHub
co-authored by Timur Olzhabayev
parent bdf8b7531b
commit aa60a45f6b
6 changed files with 7 additions and 7 deletions
+1 -1
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.
@@ -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
@@ -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:
```
npx @grafana/create-plugin
npx @grafana/create-plugin@latest
```
1. Change directory to your newly created plugin:
@@ -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.
@@ -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.
@@ -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`.