@grafana/create-plugin 2.0.0 → 2.0.1-canary.441.b3a1b71.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.
@@ -107,7 +107,8 @@ function default_1(plop) {
107
107
  packageManagerInstallCmd: packageManagerInstallCmd,
108
108
  packageManagerVersion: packageManagerVersion,
109
109
  isAppType: isAppType,
110
- isNPM: packageManagerName === 'npm'
110
+ isNPM: packageManagerName === 'npm',
111
+ packageVersion: process.env.npm_package_version
111
112
  };
112
113
  var commonActions = getActionsForTemplateFolder({
113
114
  folderPath: constants_1.TEMPLATE_PATHS.common,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "2.0.0",
3
+ "version": "2.0.1-canary.441.b3a1b71.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "directory": "packages/create-plugin",
@@ -66,5 +66,5 @@
66
66
  "engines": {
67
67
  "node": ">=18"
68
68
  },
69
- "gitHead": "d61bc5effe7e3c9bd444ebe05c6840c48f15ecef"
69
+ "gitHead": "b3a1b71c58e45eefa2fc46c1462628ef53672b79"
70
70
  }
@@ -95,7 +95,8 @@ export default function (plop: NodePlopAPI) {
95
95
  packageManagerInstallCmd,
96
96
  packageManagerVersion,
97
97
  isAppType,
98
- isNPM: packageManagerName === 'npm'
98
+ isNPM: packageManagerName === 'npm',
99
+ packageVersion: process.env.npm_package_version
99
100
  };
100
101
  // Copy over files that are shared between plugins types
101
102
  const commonActions = getActionsForTemplateFolder({
@@ -17,4 +17,5 @@ export type TemplateData = {
17
17
  packageManagerVersion: string;
18
18
  isAppType: boolean;
19
19
  isNPM: boolean;
20
+ packageVersion: string;
20
21
  };
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
3
- *
3
+ * <!== version: {{ packageVersion }} ==!>
4
4
  * In order to extend the configuration follow the steps in
5
5
  * https://grafana.com/developers/plugin-tools/create-a-plugin/extend-a-plugin/extend-configurations#extend-the-eslint-config
6
6
  */