@grafana/create-plugin 1.12.0 → 1.12.1

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,19 @@
1
+ # v1.12.1 (Fri Aug 25 2023)
2
+
3
+ :tada: This release contains work from a new contributor! :tada:
4
+
5
+ Thank you, Andreas Christou ([@aangelisc](https://github.com/aangelisc)), for all your work!
6
+
7
+ #### 🐛 Bug Fix
8
+
9
+ - Update transform regex to detect nested modules [#375](https://github.com/grafana/plugin-tools/pull/375) ([@aangelisc](https://github.com/aangelisc))
10
+
11
+ #### Authors: 1
12
+
13
+ - Andreas Christou ([@aangelisc](https://github.com/aangelisc))
14
+
15
+ ---
16
+
1
17
  # v1.12.0 (Fri Aug 18 2023)
2
18
 
3
19
  #### 🚀 Enhancement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
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": "05bf90d24a46c8a5458aeeebed9327b5add8f35b"
69
+ "gitHead": "22175d33426b0efb3ad1eec57cc1962d6354a273"
70
70
  }
@@ -8,7 +8,7 @@
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
- const nodeModulesToTransform = (moduleNames) => `node_modules\/(?!(${moduleNames.join('|')})\/)`;
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 = [