@grafana/create-plugin 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +7 -7
- package/package.json +2 -2
package/CONTRIBUTING.md
CHANGED
|
@@ -7,14 +7,14 @@ The following guidelines help you on how to start with the codebase and how to s
|
|
|
7
7
|
|
|
8
8
|
### Prerequisites
|
|
9
9
|
|
|
10
|
-
You need to have `npm`
|
|
10
|
+
You need to have `npm` installed.
|
|
11
11
|
|
|
12
12
|
### Installing
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
git clone git@github.com:grafana/plugin-tools.git
|
|
16
16
|
cd plugin-tools
|
|
17
|
-
|
|
17
|
+
npm install
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Overview
|
|
@@ -51,23 +51,23 @@ There are a collection of [commands](#commmands) to assist with developing `crea
|
|
|
51
51
|
Below are the main commands used for developing `create-plugin`. They can be run by either `yarn workspace @grafana/create-plugin run <name_of_command>` or navigating to `packages/create-plugin` and running the command directly as detailed below.
|
|
52
52
|
|
|
53
53
|
```shell
|
|
54
|
-
|
|
54
|
+
npm run build # used to build @grafana/create-plugin
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
```shell
|
|
58
|
-
|
|
58
|
+
npm run dev # watches for changes to files and rebuilds @grafana/create-plugin automatically
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
```shell
|
|
62
|
-
|
|
62
|
+
npm run dev-app # watches for changes and scaffolds an app plugin (in ./generated) for developing app configs
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
```shell
|
|
66
|
-
|
|
66
|
+
npm run dev-panel # watches for changes and scaffolds an app plugin (in ./generated) for developing panel configs
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
```shell
|
|
70
|
-
|
|
70
|
+
npm run dev-datasource # watches for changes and scaffolds an app plugin (in ./generated) for developing datasource configs
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
### Conventions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/create-plugin",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=16"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "45b14f317e18f7f76655292c01d853e5b991cb36"
|
|
70
70
|
}
|