@grafana/create-plugin 0.5.3 → 0.5.4-canary.151.f3a94d0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "0.5.3",
3
+ "version": "0.5.4-canary.151.f3a94d0.0",
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": "ffc20a3bfe4c15077f48f958808d212cfb463fb1"
62
+ "gitHead": "f3a94d0359f8ed954063a8e06fcba679f56611b7"
63
63
  }
@@ -0,0 +1,19 @@
1
+ /*
2
+ * ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
3
+ *
4
+ * In order to extend the configuration follow the steps in .config/README.md
5
+ */
6
+
7
+ /*
8
+ * This utility function is useful in combination with jest `transformIgnorePatterns` config
9
+ * to transform specific packages (e.g.ES modules) in a projects node_modules folder.
10
+ */
11
+ const nodeModulesToTransform = (moduleNames) => `node_modules\/(?!(${moduleNames.join('|')})\/)`;
12
+
13
+ // Array of known nested grafana package dependencies that only bundle an ESM version
14
+ const grafanaESModules = ['ol', 'react-colorful'];
15
+
16
+ module.exports = {
17
+ nodeModulesToTransform,
18
+ grafanaESModules
19
+ }
@@ -1,8 +0,0 @@
1
- /*
2
- * This utility function is useful in combination with jest `transformIgnorePatterns` config
3
- * to transform specific packages (e.g.ES modules) in a projects node_modules folder.
4
- */
5
- export const nodeModulesToTransform = (moduleNames: string[]) => `node_modules\/(?!(${moduleNames.join('|')})\/)`;
6
-
7
- // Array of known nested grafana package dependencies that only bundle an ESM version
8
- export const grafanaESModules = ['ol', 'react-colorful'];