@grafana/create-plugin 0.6.2-canary.158.e2fc550.0 → 0.6.2-canary.158.e6516fa.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.6.2-canary.158.e2fc550.0",
3
+ "version": "0.6.2-canary.158.e6516fa.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "directory": "packages/create-plugin",
@@ -60,5 +60,5 @@
60
60
  "engines": {
61
61
  "node": ">=16"
62
62
  },
63
- "gitHead": "e2fc5503dc5eb38c10ff0db191f57c0eda0d5fcd"
63
+ "gitHead": "e6516fac6ecbe61194430a9c9dbee4aee72ce3ed"
64
64
  }
@@ -114,7 +114,8 @@ export default function (plop: NodePlopAPI) {
114
114
  : [];
115
115
 
116
116
  // Common, pluginType and backend actions can contain the same destination filenames.
117
- // This filtering allows overriding templates by removing the duplication destinations
117
+ // This filtering removes the duplicates to prevent plop erroring and makes sure the correct
118
+ // template is scaffolded.
118
119
  const pluginActions = [...commonActions, ...pluginTypeSpecificActions, ...backendActions]
119
120
  .reduceRight((acc, file) => {
120
121
  const exists = acc.some((f) => f.path === file.path);