@grafana/create-plugin 5.9.2-canary.1324.6d5e88c.0 → 5.9.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 +14 -0
- package/dist/utils/utils.goSdk.js +8 -2
- package/package.json +2 -2
- package/src/utils/utils.goSdk.ts +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# v5.9.2 (Thu Nov 14 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Create Plugin: Add error-handling for JSON parsing in utils [#1323](https://github.com/grafana/plugin-tools/pull/1323) ([@leventebalogh](https://github.com/leventebalogh))
|
|
6
|
+
- chore(deps): update dependency @grafana/scenes to v5.24.0 [#1320](https://github.com/grafana/plugin-tools/pull/1320) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
7
|
+
|
|
8
|
+
#### Authors: 2
|
|
9
|
+
|
|
10
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
|
11
|
+
- Levente Balogh ([@leventebalogh](https://github.com/leventebalogh))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
1
15
|
# v5.9.1 (Tue Nov 12 2024)
|
|
2
16
|
|
|
3
17
|
#### 🐛 Bug Fix
|
|
@@ -55,8 +55,14 @@ function getLatestSdkVersion(exportPath) {
|
|
|
55
55
|
debug(error);
|
|
56
56
|
reject();
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
try {
|
|
59
|
+
const version = JSON.parse(stdout).Version;
|
|
60
|
+
resolve(version);
|
|
61
|
+
}
|
|
62
|
+
catch (e) {
|
|
63
|
+
debug(e);
|
|
64
|
+
reject();
|
|
65
|
+
}
|
|
60
66
|
});
|
|
61
67
|
});
|
|
62
68
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "5.9.2
|
|
3
|
+
"version": "5.9.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"directory": "packages/create-plugin",
|
|
6
6
|
"url": "https://github.com/grafana/plugin-tools"
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"engines": {
|
|
87
87
|
"node": ">=20"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "018bbc01cb6ea4349abb9f5ae75fb41e720d940d"
|
|
90
90
|
}
|
package/src/utils/utils.goSdk.ts
CHANGED
|
@@ -71,8 +71,14 @@ function getLatestSdkVersion(exportPath: string): Promise<string> {
|
|
|
71
71
|
debug(error);
|
|
72
72
|
reject();
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
|
|
75
|
+
try {
|
|
76
|
+
const version = JSON.parse(stdout).Version;
|
|
77
|
+
resolve(version);
|
|
78
|
+
} catch (e) {
|
|
79
|
+
debug(e);
|
|
80
|
+
reject();
|
|
81
|
+
}
|
|
76
82
|
});
|
|
77
83
|
});
|
|
78
84
|
}
|