@grafana/create-plugin 0.5.4-canary.151.2781863.0 → 0.5.4
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,15 @@
|
|
|
1
|
+
# v0.5.4 (Fri Nov 18 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Create-plugin: Fix failing jest config [#151](https://github.com/grafana/plugin-tools/pull/151) ([@jackw](https://github.com/jackw))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jack Westbrook ([@jackw](https://github.com/jackw))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.5.3 (Thu Nov 17 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "0.5.4
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/create-plugin",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=16"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "c1aa7f5feb47e958cc2b683f654ab28803b1eeb5"
|
|
63
63
|
}
|
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
* This utility function is useful in combination with jest `transformIgnorePatterns` config
|
|
9
9
|
* to transform specific packages (e.g.ES modules) in a projects node_modules folder.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
const nodeModulesToTransform = (moduleNames) => `node_modules\/(?!(${moduleNames.join('|')})\/)`;
|
|
12
12
|
|
|
13
13
|
// Array of known nested grafana package dependencies that only bundle an ESM version
|
|
14
|
-
|
|
14
|
+
const grafanaESModules = ['ol', 'react-colorful'];
|
|
15
|
+
|
|
16
|
+
module.exports = {
|
|
17
|
+
nodeModulesToTransform,
|
|
18
|
+
grafanaESModules
|
|
19
|
+
}
|