@kumologica/sdk 3.1.0-beta3 → 3.1.0-beta4
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 +4 -4
- package/src/app/lib/aws/index.js +8 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"productName": "Kumologica Designer",
|
|
4
4
|
"copyright": "Copyright 2020 Kumologica Pty Ltd, All Rights Reserved.",
|
|
5
5
|
"author": "Kumologica Pty Ltd <contact@kumologica.com>",
|
|
6
|
-
"version": "3.1.0-
|
|
6
|
+
"version": "3.1.0-beta4",
|
|
7
7
|
"description": "Kumologica Designer, harnessing Serverless for your cloud integration needs",
|
|
8
8
|
"main": "src/app/main.js",
|
|
9
9
|
"files": [
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"license": "Proprietary",
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@electron/remote": "^2.0.8",
|
|
68
|
-
"@kumologica/builder": "3.1.0-
|
|
69
|
-
"@kumologica/devkit": "3.1.0-
|
|
70
|
-
"@kumologica/runtime": "3.1.0-
|
|
68
|
+
"@kumologica/builder": "3.1.0-beta4",
|
|
69
|
+
"@kumologica/devkit": "3.1.0-beta4",
|
|
70
|
+
"@kumologica/runtime": "3.1.0-beta4",
|
|
71
71
|
"adm-zip": "0.4.13",
|
|
72
72
|
"ajv": "8.10.0",
|
|
73
73
|
"aws-sdk": "2.814.0",
|
package/src/app/lib/aws/index.js
CHANGED
|
@@ -502,7 +502,14 @@ class AWSDeployer {
|
|
|
502
502
|
// for npm 8 on windows is creating symlink that causes recursions and zip to fail
|
|
503
503
|
const splitdir = path.dirname(settings.deployDir).split(path.sep);
|
|
504
504
|
const linkname = splitdir[splitdir.length-1];
|
|
505
|
-
|
|
505
|
+
try {
|
|
506
|
+
fs.unlinkSync(path.join(settings.deployDir, 'node_modules', linkname));
|
|
507
|
+
} catch (e) {
|
|
508
|
+
// ignore ENOENT
|
|
509
|
+
if (e.code !== "ENOENT") {
|
|
510
|
+
throw e;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
506
513
|
|
|
507
514
|
// Remove aws-sdk library as it is provided by aws nodejs runtime.
|
|
508
515
|
// Reducing the resulting lambda zip file by more than 70%
|