@grafana/create-plugin 2.7.0-canary.528.8a2e623.0 → 2.7.0-canary.528.986f0c3.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.
|
@@ -45,12 +45,12 @@ var utils_console_1 = require("../utils/utils.console");
|
|
|
45
45
|
var archiver_1 = __importDefault(require("archiver"));
|
|
46
46
|
var path_1 = __importDefault(require("path"));
|
|
47
47
|
var packagePlugin = function (argv) { return __awaiter(void 0, void 0, void 0, function () {
|
|
48
|
-
var
|
|
48
|
+
var CWD, nonInteractive, DIS_PATH, PLUGIN_JSON, MANIFEST_TXT, confirm_1, pluginJsonContent, pluginId, zipFileName, zipFilePath, confirm_2, _a, error_1;
|
|
49
49
|
return __generator(this, function (_b) {
|
|
50
50
|
switch (_b.label) {
|
|
51
51
|
case 0:
|
|
52
|
-
nonInteractive = argv['non-interactive'];
|
|
53
52
|
CWD = process.cwd();
|
|
53
|
+
nonInteractive = argv['non-interactive'];
|
|
54
54
|
DIS_PATH = path_1.default.join(CWD, 'dist');
|
|
55
55
|
PLUGIN_JSON = path_1.default.join(DIS_PATH, 'plugin.json');
|
|
56
56
|
MANIFEST_TXT = path_1.default.join(DIS_PATH, 'MANIFEST.txt');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "2.7.0-canary.528.
|
|
3
|
+
"version": "2.7.0-canary.528.986f0c3.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "packages/create-plugin",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": ">=20"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "986f0c3e94ce67c6eb0d0eb52138144b1ba94384"
|
|
72
72
|
}
|
|
@@ -5,9 +5,10 @@ import archiver from 'archiver';
|
|
|
5
5
|
import path from 'path';
|
|
6
6
|
|
|
7
7
|
export const packagePlugin = async (argv: minimist.ParsedArgs) => {
|
|
8
|
+
const CWD = process.cwd();
|
|
9
|
+
|
|
8
10
|
const nonInteractive = argv['non-interactive'];
|
|
9
11
|
|
|
10
|
-
const CWD = process.cwd();
|
|
11
12
|
const DIS_PATH = path.join(CWD, 'dist');
|
|
12
13
|
const PLUGIN_JSON = path.join(DIS_PATH, 'plugin.json');
|
|
13
14
|
const MANIFEST_TXT = path.join(DIS_PATH, 'MANIFEST.txt');
|