@grafana/react-detect 0.5.0-canary.2406.21113329346.0 → 0.5.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/CHANGELOG.md +12 -0
- package/dist/results.js +1 -0
- package/package.json +2 -2
- package/src/results.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.5.0 (Mon Jan 19 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: add arg to prevent exit code 1 and improve json output [#2406](https://github.com/grafana/plugin-tools/pull/2406) ([@jackw](https://github.com/jackw))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jack Westbrook ([@jackw](https://github.com/jackw))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.4.0 (Thu Jan 15 2026)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
package/dist/results.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/react-detect",
|
|
3
3
|
"description": "Run various checks to detect if a Grafana plugin is compatible with React.",
|
|
4
|
-
"version": "0.5.0
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/react-detect",
|
|
7
7
|
"url": "https://github.com/grafana/plugin-tools"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=20"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "64cd016c1fb8eec009dd12ee71976f5f6717343e"
|
|
44
44
|
}
|
package/src/results.ts
CHANGED
|
@@ -188,5 +188,8 @@ function cleanSourceFilePath(filePath: string): string {
|
|
|
188
188
|
cleanPath = filePath.replace(/webpack:\/\/[^/]+/, './src/');
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
+
// find paths that include webpack:/ in the middle of the string.
|
|
192
|
+
cleanPath = cleanPath.replace(/(.+)\/webpack:\/(.+)/g, '$1/$2');
|
|
193
|
+
|
|
191
194
|
return cleanPath;
|
|
192
195
|
}
|