@grafana/create-plugin 0.8.2 → 0.8.3
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# v0.8.3 (Thu Jan 12 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Create Plugin: Update yarn scripts and instructions to work post scaffold [#168](https://github.com/grafana/plugin-tools/pull/168) ([@sarahzinger](https://github.com/sarahzinger) [@jackw](https://github.com/jackw))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- Jack Westbrook ([@jackw](https://github.com/jackw))
|
|
10
|
+
- Sarah Zinger ([@sarahzinger](https://github.com/sarahzinger))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
1
14
|
# v0.8.2 (Wed Jan 11 2023)
|
|
2
15
|
|
|
3
16
|
:tada: This release contains work from a new contributor! :tada:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
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": "f8c0d2ac3a8b264aac4cf8cf4dbfaf60ae084ad4"
|
|
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
|