@grafana/create-plugin 1.5.1-canary.265.798fd2f.0 → 1.5.2
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,33 @@
|
|
|
1
|
+
# v1.5.2 (Thu Jun 01 2023)
|
|
2
|
+
|
|
3
|
+
:tada: This release contains work from a new contributor! :tada:
|
|
4
|
+
|
|
5
|
+
Thank you, Alex Simonok ([@asimonok](https://github.com/asimonok)), for all your work!
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- Create Plugin: Fix Code Coverage for JSX files [#271](https://github.com/grafana/plugin-tools/pull/271) ([@asimonok](https://github.com/asimonok))
|
|
10
|
+
|
|
11
|
+
#### Authors: 1
|
|
12
|
+
|
|
13
|
+
- Alex Simonok ([@asimonok](https://github.com/asimonok))
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# v1.5.1 (Wed May 31 2023)
|
|
18
|
+
|
|
19
|
+
#### 🐛 Bug Fix
|
|
20
|
+
|
|
21
|
+
- Create Plugin: Fix lint:fix not passing args with NPM [#265](https://github.com/grafana/plugin-tools/pull/265) ([@jackw](https://github.com/jackw))
|
|
22
|
+
- Scripts: Add error-handling to generator scripts [#257](https://github.com/grafana/plugin-tools/pull/257) ([@leventebalogh](https://github.com/leventebalogh))
|
|
23
|
+
|
|
24
|
+
#### Authors: 2
|
|
25
|
+
|
|
26
|
+
- Jack Westbrook ([@jackw](https://github.com/jackw))
|
|
27
|
+
- Levente Balogh ([@leventebalogh](https://github.com/leventebalogh))
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
1
31
|
# v1.5.0 (Wed May 24 2023)
|
|
2
32
|
|
|
3
33
|
:tada: This release contains work from a new contributor! :tada:
|
|
@@ -106,7 +106,8 @@ function default_1(plop) {
|
|
|
106
106
|
packageManagerName: packageManagerName,
|
|
107
107
|
packageManagerInstallCmd: packageManagerInstallCmd,
|
|
108
108
|
packageManagerVersion: packageManagerVersion,
|
|
109
|
-
isAppType: isAppType
|
|
109
|
+
isAppType: isAppType,
|
|
110
|
+
isNPM: packageManagerName === 'npm'
|
|
110
111
|
};
|
|
111
112
|
var commonActions = getActionsForTemplateFolder({
|
|
112
113
|
folderPath: constants_1.TEMPLATE_PATHS.common,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
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": "f5e88244a1fa79e122bf30e0a0c6dfe5f35a9d1b"
|
|
70
70
|
}
|
|
@@ -95,6 +95,7 @@ export default function (plop: NodePlopAPI) {
|
|
|
95
95
|
packageManagerInstallCmd,
|
|
96
96
|
packageManagerVersion,
|
|
97
97
|
isAppType,
|
|
98
|
+
isNPM: packageManagerName === 'npm'
|
|
98
99
|
};
|
|
99
100
|
// Copy over files that are shared between plugins types
|
|
100
101
|
const commonActions = getActionsForTemplateFolder({
|
package/src/commands/types.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
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
|
-
"lint:fix": "{{ packageManagerName }} run lint{{#
|
|
12
|
+
"lint:fix": "{{ packageManagerName }} run lint{{#if isNPM}} --{{/if}} --fix",
|
|
13
13
|
"e2e": "{{ packageManagerName }} exec cypress install && {{ packageManagerName }} exec grafana-e2e run",
|
|
14
14
|
"e2e:update": "{{ packageManagerName }} exec cypress install && {{ packageManagerName }} exec grafana-e2e run --update-screenshots",
|
|
15
15
|
"server": "docker-compose up --build",
|