@grafana/create-plugin 0.8.1 → 0.8.2-canary.168.6036dd3.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2-canary.168.6036dd3.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/create-plugin",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": ">=16"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "6036dd338557730bdef3da8128f68690cff26a80"
|
|
64
64
|
}
|
|
@@ -6,14 +6,10 @@
|
|
|
6
6
|
yarn install
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
2. Build plugin in development mode
|
|
9
|
+
2. Build plugin in development mode and run in watch mode
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
yarn dev
|
|
13
|
-
|
|
14
|
-
# or
|
|
15
|
-
|
|
16
|
-
yarn watch
|
|
17
13
|
```
|
|
18
14
|
|
|
19
15
|
3. Build plugin in production mode
|
|
@@ -25,11 +21,11 @@
|
|
|
25
21
|
4. Run the tests (using Jest)
|
|
26
22
|
|
|
27
23
|
```bash
|
|
28
|
-
# Runs the tests and watches for changes
|
|
24
|
+
# Runs the tests and watches for changes, requires git init first
|
|
29
25
|
yarn test
|
|
30
26
|
|
|
31
27
|
# Exists after running all the tests
|
|
32
|
-
yarn
|
|
28
|
+
yarn test:ci
|
|
33
29
|
```
|
|
34
30
|
|
|
35
31
|
5. Spin up a Grafana instance and run the plugin inside it (using Docker)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
|
|
7
7
|
"dev": "webpack -w -c ./.config/webpack/webpack.config.ts --env development",
|
|
8
8
|
"test": "jest --watch --onlyChanged",
|
|
9
|
-
"test:ci": "jest --maxWorkers 4",
|
|
9
|
+
"test:ci": "jest --passWithNoTests --maxWorkers 4",
|
|
10
10
|
"typecheck": "tsc --noEmit",
|
|
11
11
|
"lint": "eslint --cache --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx .",
|
|
12
12
|
"lint:fix": "yarn lint --fix",
|
|
File without changes
|