@kumologica/sdk 3.5.3 → 3.6.0-beta1

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.
@@ -80,7 +80,9 @@ exports.desc = 'Open Kumologica Designer'
80
80
 
81
81
  exports.handler = async ({ project_directory }) => {
82
82
  const projectDir = project_directory? path.resolve(project_directory): undefined ;
83
-
84
- await updater(projectDir);
83
+ if (process.env["KUMOLOGICA_AWS_SDK_SKIP_UPDATE"] && process.env["KUMOLOGICA_AWS_SDK_SKIP_UPDATE"].toLowerCase() !== "true" ){
84
+ await updater(projectDir);
85
+ }
86
+
85
87
  startElectron(projectDir);
86
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumologica/sdk",
3
- "version": "3.5.3",
3
+ "version": "3.6.0-beta1",
4
4
  "productName": "Kumologica Designer",
5
5
  "copyright": "Copyright 2020 Kumologica Pty Ltd, All Rights Reserved.",
6
6
  "author": "Kumologica Pty Ltd <contact@kumologica.com>",
@@ -82,9 +82,9 @@
82
82
  "@aws-sdk/credential-providers": "^3.556.0",
83
83
  "@aws-sdk/lib-dynamodb": "^3.549.0",
84
84
  "@electron/remote": "^2.0.8",
85
- "@kumologica/builder": "3.5.3",
86
- "@kumologica/devkit": "3.5.3",
87
- "@kumologica/runtime": "3.5.3",
85
+ "@kumologica/builder": "3.6.0-beta1",
86
+ "@kumologica/devkit": "3.6.0-beta1",
87
+ "@kumologica/runtime": "3.6.0-beta1",
88
88
  "adm-zip": "0.4.13",
89
89
  "ajv": "8.10.0",
90
90
  "archive-type": "^4.0.0",
@@ -102,7 +102,7 @@
102
102
  "dagre": "^0.8.5",
103
103
  "debounce": "^1.2.0",
104
104
  "decompress": "^4.2.1",
105
- "electron": "19.0.0",
105
+ "electron": "30.0.0",
106
106
  "electron-tabs": "^1.0.1",
107
107
  "electron-updater": "4.3.9",
108
108
  "enquirer": "2.3.6",
@@ -42,6 +42,7 @@ class MainWindow {
42
42
  titleBarStyle: 'hiddenInset',
43
43
  icon: "./src/assets/kumologica-app.png",
44
44
  webPreferences: {
45
+ sandbox: false,
45
46
  webviewTag: true,
46
47
  nodeIntegration: false,
47
48
  preload: preloadJsPath,
@@ -28,6 +28,7 @@ class ModalHome {
28
28
  resizable: false,
29
29
  backgroundColor: '#fff',
30
30
  webPreferences: {
31
+ sandbox: false,
31
32
  nodeIntegration: false,
32
33
  preload: preloadJsPath,
33
34
  contextIsolation: false,
@@ -23,6 +23,7 @@ class ModalNewProject {
23
23
  titleBarStyle: 'hiddenInset',
24
24
  backgroundColor: '#fff',
25
25
  webPreferences: {
26
+ sandbox: false,
26
27
  nodeIntegration: false,
27
28
  preload: preloadJsPath,
28
29
  enableRemoteModule: true,
@@ -24,6 +24,7 @@ class ModalNewTab {
24
24
  titleBarStyle: 'hiddenInset',
25
25
  backgroundColor: '#fff',
26
26
  webPreferences: {
27
+ sandbox: false,
27
28
  nodeIntegration: false,
28
29
  preload: preloadJsPath,
29
30
  enableRemoteModule: true,
@@ -26,6 +26,7 @@ class ModalNodeLibrary {
26
26
  backgroundColor: '#fff',
27
27
  icon: iconPath,
28
28
  webPreferences: {
29
+ sandbox: false,
29
30
  nodeIntegration: false,
30
31
  preload: preloadJsPath,
31
32
  contextIsolation: false,
@@ -26,6 +26,7 @@ class ModalRenameTab {
26
26
  titleBarStyle: 'hiddenInset',
27
27
  backgroundColor: '#fff',
28
28
  webPreferences: {
29
+ sandbox: false,
29
30
  nodeIntegration: false,
30
31
  preload: preloadJsPath,
31
32
  enableRemoteModule: true,
@@ -26,6 +26,7 @@ class ModalWelcome {
26
26
  resizable: false,
27
27
  backgroundColor: '#fff',
28
28
  webPreferences: {
29
+ sandbox: false,
29
30
  nodeIntegration: false,
30
31
  preload: preloadJsPath,
31
32
  contextIsolation: false,
package/src/app/main.js CHANGED
@@ -423,7 +423,9 @@ function runtimeEventListener(event) {
423
423
  }
424
424
 
425
425
  async function openProjectEditor(projectDir, onDidLoad) {
426
- console.log('> openProjectDir:', projectDir)
426
+ console.log(`> Node.js version: ${process.versions.node}`);
427
+ console.log('> Project directory:', projectDir);
428
+
427
429
  try {
428
430
  let startupErrorEvent;
429
431
  startupEmitter = new EventEmitter();
@@ -9,9 +9,7 @@
9
9
  // const { AppServer, lambdify } = require('./lib/runtime-loader');
10
10
  const { lambdify } = require('@kumologica/runtime');
11
11
  const { codegen } = require('@kumologica/builder');
12
-
13
12
  const { DesignerServer } = require('../server/DesignerServer')
14
-
15
13
  const { Terminal } = require('xterm');
16
14
  const { FitAddon } = require('xterm-addon-fit');
17
15
  const electron = require('electron');