@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": "
|
|
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({
|
package/src/commands/types.ts
CHANGED
|
@@ -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
|
*/
|