@sasjs/cli 4.13.1 → 4.15.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/build/utils/utils.js +2 -2
- package/package.json +5 -5
package/build/utils/utils.js
CHANGED
|
@@ -230,7 +230,7 @@ function createApp(folderPath, repoUrl, docsUrl, errorCallback, installDependenc
|
|
|
230
230
|
var zipWithoutExtension = zipName.replace('.zip', '');
|
|
231
231
|
var zip = new adm_zip_1.default(zipName);
|
|
232
232
|
zip.extractAllTo("./", true);
|
|
233
|
-
shelljs_1.default.cp('-r', "./*".concat(zipWithoutExtension, "/."), folderPath);
|
|
233
|
+
shelljs_1.default.cp('-r', "".concat(shelljs_1.default.ls('-d', "./*".concat(zipWithoutExtension))[0], "/."), folderPath);
|
|
234
234
|
shelljs_1.default.rm('-rf', ["./*".concat(zipWithoutExtension)]);
|
|
235
235
|
shelljs_1.default.rm('-rf', ["./".concat(zipName)]);
|
|
236
236
|
loadDocsSubmodule(docsUrl, folderPath, fullZipPath);
|
|
@@ -265,7 +265,7 @@ var loadDocsSubmodule = function (docsUrl, folderPath, zipPath) { return __await
|
|
|
265
265
|
downloadFile("".concat(docsUrl).concat(zipPath), 'main.zip');
|
|
266
266
|
zip = new adm_zip_1.default('main.zip');
|
|
267
267
|
zip.extractAllTo('./', true);
|
|
268
|
-
shelljs_1.default.cp('-r', "./*-main/.", docsFolderPath);
|
|
268
|
+
shelljs_1.default.cp('-r', "".concat(shelljs_1.default.ls('-d', "./*-main")[0], "/."), docsFolderPath);
|
|
269
269
|
shelljs_1.default.rm('-rf', ["./*-main"]);
|
|
270
270
|
shelljs_1.default.rm('-rf', ["./main.zip"]);
|
|
271
271
|
return [2 /*return*/];
|
package/package.json
CHANGED
|
@@ -51,22 +51,22 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@sasjs/adapter": "4.16.3",
|
|
54
|
-
"@sasjs/core": "4.
|
|
54
|
+
"@sasjs/core": "4.62.0",
|
|
55
55
|
"@sasjs/lint": "2.4.3",
|
|
56
|
-
"@sasjs/utils": "3.5.
|
|
56
|
+
"@sasjs/utils": "3.5.6",
|
|
57
57
|
"adm-zip": "0.5.10",
|
|
58
58
|
"chalk": "4.1.2",
|
|
59
59
|
"dotenv": "16.0.3",
|
|
60
60
|
"find": "0.3.0",
|
|
61
61
|
"js-base64": "3.7.5",
|
|
62
|
-
"jsdom": "
|
|
62
|
+
"jsdom": "23.2.0",
|
|
63
63
|
"jwt-decode": "3.1.2",
|
|
64
64
|
"lodash.groupby": "4.6.0",
|
|
65
65
|
"lodash.uniqby": "4.7.0",
|
|
66
66
|
"node-graphviz": "0.1.1",
|
|
67
67
|
"node-powershell": "5.0.1",
|
|
68
68
|
"ora": "5.4.1",
|
|
69
|
-
"shelljs": "0.
|
|
69
|
+
"shelljs": "0.10.0",
|
|
70
70
|
"ssl-root-cas": "1.3.1",
|
|
71
71
|
"xml": "1.0.1",
|
|
72
72
|
"yargs": "17.6.2"
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"typescript": "4.9.5",
|
|
101
101
|
"util": "0.12.4"
|
|
102
102
|
},
|
|
103
|
-
"version": "4.
|
|
103
|
+
"version": "4.15.0"
|
|
104
104
|
}
|