@stechquick/symphony-cli 0.5.30 → 0.5.32
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/README.md +18 -18
- package/lib/commands/mui-create.js +3 -3
- package/lib/commands/nc-build.js +3 -3
- package/lib/commands/nc-create.js +3 -3
- package/lib/commands/qui-build.js +3 -3
- package/lib/commands/qui-create.js +4 -4
- package/lib/commands/qui-start.js +3 -3
- package/lib/commands/quick-serve.js +3 -3
- package/lib/commands/studio-sync.js +3 -3
- package/lib/commands/sym-build.js +9 -9
- package/lib/commands/sym-create-module.js +4 -5
- package/lib/commands/sym-create.js +4 -5
- package/lib/commands/sym-fn-deploy.js +13 -13
- package/lib/commands/sym-nano-deploy.js +4 -4
- package/lib/helpers/chalk.d.ts +9 -0
- package/lib/helpers/chalk.js +17 -0
- package/lib/helpers/deploy/fnDeployHelper.js +16 -16
- package/lib/helpers/deploy/nanoDeployHelper.js +6 -6
- package/lib/helpers/fnDownloadHelper.js +2 -2
- package/lib/helpers/initHelper.js +4 -4
- package/lib/helpers/namedComponent/ncHelper.js +2 -2
- package/lib/helpers/npmHelper.js +11 -11
- package/lib/helpers/shellHelper.js +2 -2
- package/lib/helpers/socketServer/socketServerHelper.js +8 -8
- package/lib/helpers/ui/quiBuilder.js +3 -3
- package/lib/predeploy/src/fn/fnPostdeploy.js +3 -3
- package/lib/predeploy/src/fn/fnPredeploy.js +3 -3
- package/lib/predeploy/src/nano/nanoPostdeploy.js +3 -3
- package/lib/predeploy/src/nano/nanoPredeploy.js +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ $ npm install -g @stechquick/symphony-cli
|
|
|
19
19
|
$ symphony-cli COMMAND
|
|
20
20
|
running command...
|
|
21
21
|
$ symphony-cli (-v|--version|version)
|
|
22
|
-
@stechquick/symphony-cli/0.5.
|
|
22
|
+
@stechquick/symphony-cli/0.5.32 linux-x64 node-v16.20.2
|
|
23
23
|
$ symphony-cli --help [COMMAND]
|
|
24
24
|
USAGE
|
|
25
25
|
$ symphony-cli COMMAND
|
|
@@ -82,7 +82,7 @@ EXAMPLE
|
|
|
82
82
|
symphony-cli mui-create myUI -d="My Micro UI project"
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
_See code: [src/commands/mui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
85
|
+
_See code: [src/commands/mui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/mui-create.ts)_
|
|
86
86
|
|
|
87
87
|
## `symphony-cli nc-addcomp NAME`
|
|
88
88
|
|
|
@@ -99,7 +99,7 @@ EXAMPLE
|
|
|
99
99
|
symphony-cli nc-addcomp my_comp_name
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
-
_See code: [src/commands/nc-addcomp.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
102
|
+
_See code: [src/commands/nc-addcomp.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/nc-addcomp.ts)_
|
|
103
103
|
|
|
104
104
|
## `symphony-cli nc-build`
|
|
105
105
|
|
|
@@ -117,7 +117,7 @@ EXAMPLES
|
|
|
117
117
|
$ symphony-cli nc-build -w
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
_See code: [src/commands/nc-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
120
|
+
_See code: [src/commands/nc-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/nc-build.ts)_
|
|
121
121
|
|
|
122
122
|
## `symphony-cli nc-create NAME`
|
|
123
123
|
|
|
@@ -137,7 +137,7 @@ EXAMPLE
|
|
|
137
137
|
symphony-cli nc-create nc_example -d="my named component example"
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
_See code: [src/commands/nc-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
140
|
+
_See code: [src/commands/nc-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/nc-create.ts)_
|
|
141
141
|
|
|
142
142
|
## `symphony-cli qui-build`
|
|
143
143
|
|
|
@@ -151,7 +151,7 @@ EXAMPLE
|
|
|
151
151
|
$ symphony-cli qui-build -w
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
-
_See code: [src/commands/qui-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
154
|
+
_See code: [src/commands/qui-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/qui-build.ts)_
|
|
155
155
|
|
|
156
156
|
## `symphony-cli qui-create NAME`
|
|
157
157
|
|
|
@@ -173,7 +173,7 @@ EXAMPLES
|
|
|
173
173
|
symphony-cli qui-create myUI -t=TOKEN -d="My Quick UI project"
|
|
174
174
|
```
|
|
175
175
|
|
|
176
|
-
_See code: [src/commands/qui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
176
|
+
_See code: [src/commands/qui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/qui-create.ts)_
|
|
177
177
|
|
|
178
178
|
## `symphony-cli qui-start`
|
|
179
179
|
|
|
@@ -190,7 +190,7 @@ EXAMPLE
|
|
|
190
190
|
$ symphony-cli qui-start -b
|
|
191
191
|
```
|
|
192
192
|
|
|
193
|
-
_See code: [src/commands/qui-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
193
|
+
_See code: [src/commands/qui-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/qui-start.ts)_
|
|
194
194
|
|
|
195
195
|
## `symphony-cli quick-serve`
|
|
196
196
|
|
|
@@ -213,7 +213,7 @@ EXAMPLES
|
|
|
213
213
|
$ symphony-cli quick-serve -g -r C:/MyPathToServe
|
|
214
214
|
```
|
|
215
215
|
|
|
216
|
-
_See code: [src/commands/quick-serve.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
216
|
+
_See code: [src/commands/quick-serve.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/quick-serve.ts)_
|
|
217
217
|
|
|
218
218
|
## `symphony-cli studio-sync`
|
|
219
219
|
|
|
@@ -232,7 +232,7 @@ EXAMPLE
|
|
|
232
232
|
$ symphony-cli studio-sync
|
|
233
233
|
```
|
|
234
234
|
|
|
235
|
-
_See code: [src/commands/studio-sync.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
235
|
+
_See code: [src/commands/studio-sync.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/studio-sync.ts)_
|
|
236
236
|
|
|
237
237
|
## `symphony-cli sym-addfunc FUNCNAME`
|
|
238
238
|
|
|
@@ -249,7 +249,7 @@ EXAMPLE
|
|
|
249
249
|
symphony-cli sym-addfunc havalemenu
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
_See code: [src/commands/sym-addfunc.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
252
|
+
_See code: [src/commands/sym-addfunc.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/sym-addfunc.ts)_
|
|
253
253
|
|
|
254
254
|
## `symphony-cli sym-build`
|
|
255
255
|
|
|
@@ -279,7 +279,7 @@ EXAMPLES
|
|
|
279
279
|
$ symphony-cli sym-build --swagger -l ./dist/api/local.js
|
|
280
280
|
```
|
|
281
281
|
|
|
282
|
-
_See code: [src/commands/sym-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
282
|
+
_See code: [src/commands/sym-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/sym-build.ts)_
|
|
283
283
|
|
|
284
284
|
## `symphony-cli sym-create NAME`
|
|
285
285
|
|
|
@@ -300,7 +300,7 @@ EXAMPLE
|
|
|
300
300
|
symphony-cli sym-create havale -d="Kanallardan yapılan havale işlemi"
|
|
301
301
|
```
|
|
302
302
|
|
|
303
|
-
_See code: [src/commands/sym-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
303
|
+
_See code: [src/commands/sym-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/sym-create.ts)_
|
|
304
304
|
|
|
305
305
|
## `symphony-cli sym-create-module NAME`
|
|
306
306
|
|
|
@@ -320,7 +320,7 @@ EXAMPLE
|
|
|
320
320
|
symphony-cli sym-create-module abm -d="abm module description"
|
|
321
321
|
```
|
|
322
322
|
|
|
323
|
-
_See code: [src/commands/sym-create-module.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
323
|
+
_See code: [src/commands/sym-create-module.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/sym-create-module.ts)_
|
|
324
324
|
|
|
325
325
|
## `symphony-cli sym-fn-deploy ENVIRONMENT`
|
|
326
326
|
|
|
@@ -354,7 +354,7 @@ EXAMPLES
|
|
|
354
354
|
--f_url="MyFnApiUrl"
|
|
355
355
|
```
|
|
356
356
|
|
|
357
|
-
_See code: [src/commands/sym-fn-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
357
|
+
_See code: [src/commands/sym-fn-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/sym-fn-deploy.ts)_
|
|
358
358
|
|
|
359
359
|
## `symphony-cli sym-nano-deploy`
|
|
360
360
|
|
|
@@ -372,7 +372,7 @@ EXAMPLE
|
|
|
372
372
|
symphony-cli sym-nano-deploy
|
|
373
373
|
```
|
|
374
374
|
|
|
375
|
-
_See code: [src/commands/sym-nano-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
375
|
+
_See code: [src/commands/sym-nano-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/sym-nano-deploy.ts)_
|
|
376
376
|
|
|
377
377
|
## `symphony-cli sym-start`
|
|
378
378
|
|
|
@@ -400,7 +400,7 @@ EXAMPLES
|
|
|
400
400
|
$ symphony-cli sym-start -l ./dist/api/local.js
|
|
401
401
|
```
|
|
402
402
|
|
|
403
|
-
_See code: [src/commands/sym-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
403
|
+
_See code: [src/commands/sym-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/sym-start.ts)_
|
|
404
404
|
|
|
405
405
|
## `symphony-cli sym-test`
|
|
406
406
|
|
|
@@ -417,5 +417,5 @@ EXAMPLE
|
|
|
417
417
|
$ symphony-cli sym-test
|
|
418
418
|
```
|
|
419
419
|
|
|
420
|
-
_See code: [src/commands/sym-test.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.
|
|
420
|
+
_See code: [src/commands/sym-test.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.5.32/src/commands/sym-test.ts)_
|
|
421
421
|
<!-- commandsstop -->
|
|
@@ -4,15 +4,15 @@ const command_1 = require("@oclif/command");
|
|
|
4
4
|
const microUIHelper_1 = require("../helpers/microUIHelper");
|
|
5
5
|
const npmHelper_1 = require("../helpers/npmHelper");
|
|
6
6
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
7
|
-
const
|
|
7
|
+
const chalk_1 = require("../helpers/chalk");
|
|
8
8
|
class CreateMicroUI extends command_1.Command {
|
|
9
9
|
async run() {
|
|
10
10
|
const { flags } = this.parse(CreateMicroUI);
|
|
11
11
|
const { args } = this.parse(CreateMicroUI);
|
|
12
|
-
log_1.Logger.log({ message:
|
|
12
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Creating micro ui, please wait..."), timeFormat: "datetime" });
|
|
13
13
|
await new microUIHelper_1.MicroUIHelper().CreateMicroUI(args["name"], `${flags.desc}`);
|
|
14
14
|
npmHelper_1.NpmHelper.install({ folderName: args["name"] + "-ui" });
|
|
15
|
-
log_1.Logger.log({ message:
|
|
15
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Micro ui created successfully.") });
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.default = CreateMicroUI;
|
package/lib/commands/nc-build.js
CHANGED
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const command_1 = require("@oclif/command");
|
|
4
4
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
5
5
|
const ncHelper_1 = require("../helpers/namedComponent/ncHelper");
|
|
6
|
-
const
|
|
6
|
+
const chalk_1 = require("../helpers/chalk");
|
|
7
7
|
class BuildNC extends command_1.Command {
|
|
8
8
|
async run() {
|
|
9
9
|
const { flags } = this.parse(BuildNC);
|
|
10
|
-
log_1.Logger.log({ message:
|
|
10
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Named Component Build started..."), timeFormat: "datetime" });
|
|
11
11
|
new ncHelper_1.NCHelper().BuildNC(flags.watch);
|
|
12
|
-
log_1.Logger.log({ message:
|
|
12
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Named Component Build completed successfully."), timeFormat: "datetime" });
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
exports.default = BuildNC;
|
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const command_1 = require("@oclif/command");
|
|
4
4
|
const ncHelper_1 = require("../helpers/namedComponent/ncHelper");
|
|
5
5
|
const npmHelper_1 = require("../helpers/npmHelper");
|
|
6
|
-
const
|
|
6
|
+
const chalk_1 = require("../helpers/chalk");
|
|
7
7
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
8
8
|
class CreateNC extends command_1.Command {
|
|
9
9
|
async run() {
|
|
10
10
|
const { flags, args } = this.parse(CreateNC);
|
|
11
|
-
log_1.Logger.log({ message:
|
|
11
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Creating named component template. Please wait..."), timeFormat: "datetime" });
|
|
12
12
|
await new ncHelper_1.NCHelper().CreateNC(args["name"], `${flags.desc}`);
|
|
13
13
|
npmHelper_1.NpmHelper.install({ folderName: args["name"] });
|
|
14
|
-
log_1.Logger.log({ message:
|
|
14
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Named component template created successfully."), timeFormat: "datetime" });
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.default = CreateNC;
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const command_1 = require("@oclif/command");
|
|
4
4
|
const quiBuilder_1 = require("../helpers/ui/quiBuilder");
|
|
5
5
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
6
|
-
const
|
|
6
|
+
const chalk_1 = require("../helpers/chalk");
|
|
7
7
|
class BuildUI extends command_1.Command {
|
|
8
8
|
async run() {
|
|
9
|
-
log_1.Logger.log({ message:
|
|
9
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Build started..."), timeFormat: "datetime" });
|
|
10
10
|
await new quiBuilder_1.FolderCopier().Execute();
|
|
11
|
-
log_1.Logger.log({ message:
|
|
11
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Build completed successfully."), timeFormat: "datetime" });
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
exports.default = BuildUI;
|
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const command_1 = require("@oclif/command");
|
|
4
4
|
const createuiHelper_1 = require("../helpers/ui/createuiHelper");
|
|
5
5
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
6
|
-
const
|
|
6
|
+
const chalk_1 = require("../helpers/chalk");
|
|
7
7
|
class CreateUI extends command_1.Command {
|
|
8
8
|
async run() {
|
|
9
9
|
const { flags } = this.parse(CreateUI);
|
|
10
10
|
const { args } = this.parse(CreateUI);
|
|
11
|
-
log_1.Logger.log({ message:
|
|
11
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Creating ui. Please wait..."), timeFormat: "datetime" });
|
|
12
12
|
await new createuiHelper_1.CreateUIHelper().CreateUI(args["name"], `${flags.desc}`, `${flags.token}`);
|
|
13
|
-
//NpmHelper.install({ folderName: args["name"] });
|
|
14
|
-
log_1.Logger.log({ message:
|
|
13
|
+
//NpmHelper.install({ folderName: args["name"] }); // Banka networkünden dolayı banka nexus olmayınca install yapılamıyor.
|
|
14
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Ui created successfully."), timeFormat: "datetime" });
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.default = CreateUI;
|
|
@@ -4,12 +4,12 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const command_1 = require("@oclif/command");
|
|
5
5
|
const child_process_1 = require("child_process");
|
|
6
6
|
const quiBuilder_1 = require("../helpers/ui/quiBuilder");
|
|
7
|
-
const
|
|
7
|
+
const chalk_1 = require("../helpers/chalk");
|
|
8
8
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
9
9
|
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
10
10
|
class StartUI extends command_1.Command {
|
|
11
11
|
async run() {
|
|
12
|
-
log_1.Logger.log({ message:
|
|
12
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Quick starting. Please wait..."), timeFormat: "datetime" });
|
|
13
13
|
const { flags } = this.parse(StartUI);
|
|
14
14
|
if (flags.build) {
|
|
15
15
|
await new quiBuilder_1.FolderCopier().Execute();
|
|
@@ -19,7 +19,7 @@ class StartUI extends command_1.Command {
|
|
|
19
19
|
args[0] = './dist/server/nanoServer.js';
|
|
20
20
|
}
|
|
21
21
|
child_process_1.spawnSync("node", args, { stdio: 'inherit' });
|
|
22
|
-
log_1.Logger.log({ message:
|
|
22
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Quick started successfully."), timeFormat: "datetime" });
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
exports.default = StartUI;
|
|
@@ -5,7 +5,7 @@ const command_1 = require("@oclif/command");
|
|
|
5
5
|
const path = tslib_1.__importStar(require("path"));
|
|
6
6
|
const symphony_nanoserver_1 = require("@stechquick/symphony-nanoserver");
|
|
7
7
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
8
|
-
const
|
|
8
|
+
const chalk_1 = require("../helpers/chalk");
|
|
9
9
|
const socketServerHelper_1 = require("../helpers/socketServer/socketServerHelper");
|
|
10
10
|
class Serve extends command_1.Command {
|
|
11
11
|
constructor() {
|
|
@@ -40,11 +40,11 @@ class Serve extends command_1.Command {
|
|
|
40
40
|
new socketServerHelper_1.SocketServerHelper(Serve.server).Start();
|
|
41
41
|
}
|
|
42
42
|
async startServer(httpPort) {
|
|
43
|
-
log_1.Logger.log({ message:
|
|
43
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Server starting..."), timeFormat: "datetime" });
|
|
44
44
|
Serve.server.Start({
|
|
45
45
|
port: httpPort || 3007,
|
|
46
46
|
successCb: () => {
|
|
47
|
-
log_1.Logger.log({ message:
|
|
47
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", `Http listening on: ${Serve.server.GetServerUrl()}`) });
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
// Serve.server.StartHttps({
|
|
@@ -5,7 +5,7 @@ const command_1 = require("@oclif/command");
|
|
|
5
5
|
const path = tslib_1.__importStar(require("path"));
|
|
6
6
|
const symphony_nanoserver_1 = require("@stechquick/symphony-nanoserver");
|
|
7
7
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
8
|
-
const
|
|
8
|
+
const chalk_1 = require("../helpers/chalk");
|
|
9
9
|
const socketServerHelper_1 = require("../helpers/socketServer/socketServerHelper");
|
|
10
10
|
class Serve extends command_1.Command {
|
|
11
11
|
constructor() {
|
|
@@ -40,11 +40,11 @@ class Serve extends command_1.Command {
|
|
|
40
40
|
new socketServerHelper_1.SocketServerHelper(Serve.server).Start();
|
|
41
41
|
}
|
|
42
42
|
async startServer(httpPort) {
|
|
43
|
-
log_1.Logger.log({ message:
|
|
43
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Server starting..."), timeFormat: "datetime" });
|
|
44
44
|
Serve.server.Start({
|
|
45
45
|
port: httpPort || 3008,
|
|
46
46
|
successCb: () => {
|
|
47
|
-
log_1.Logger.log({ message:
|
|
47
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", `Http listening on: ${Serve.server.GetServerUrl()}`) });
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
// Serve.server.StartHttps({
|
|
@@ -6,7 +6,7 @@ const initHelper_1 = require("../helpers/initHelper");
|
|
|
6
6
|
const packageHelper_1 = require("../helpers/packageHelper");
|
|
7
7
|
const cli_ux_1 = require("cli-ux");
|
|
8
8
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
9
|
-
const
|
|
9
|
+
const chalk_1 = require("../helpers/chalk");
|
|
10
10
|
const swaggerHelper_1 = require("../helpers/swaggerHelper");
|
|
11
11
|
class Build extends command_1.Command {
|
|
12
12
|
async run() {
|
|
@@ -18,23 +18,23 @@ class Build extends command_1.Command {
|
|
|
18
18
|
//version control
|
|
19
19
|
let bwPackages = [];
|
|
20
20
|
if (!flags.skipversion) {
|
|
21
|
-
log_1.Logger.log({ message:
|
|
21
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Version checking, please wait...") });
|
|
22
22
|
bwPackages = packageHelper_1.PackageHelper.getBackwardPackages(Build.versionCheckSetting);
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
|
-
log_1.Logger.log({ message:
|
|
25
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Skipping version checking...") });
|
|
26
26
|
}
|
|
27
27
|
if (bwPackages.length == 0) {
|
|
28
28
|
this.continueToBuild(flags.watch, flags.local_js_dist_path);
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
|
-
log_1.Logger.log({ message:
|
|
32
|
-
cli_ux_1.cli.confirm(
|
|
31
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow.bold", "There are backward packages!\n"), additional: bwPackages });
|
|
32
|
+
cli_ux_1.cli.confirm(chalk_1.Chalk.create("yellow.bold", "Do you want to continue? [Y/N]")).then(res => {
|
|
33
33
|
if (!res) {
|
|
34
|
-
log_1.Logger.log({ message:
|
|
34
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", "Build stopped...") });
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
log_1.Logger.log({ message:
|
|
37
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow", "Continue to build. (I hope you are aware of what you are doing...)") });
|
|
38
38
|
this.continueToBuild(flags.watch, flags.local_js_dist_path);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
@@ -45,8 +45,8 @@ class Build extends command_1.Command {
|
|
|
45
45
|
await new swaggerHelper_1.SwaggerHelper().Swagger("./functions", local_js_dist_path);
|
|
46
46
|
if (flags.swagger && flags.swaggerInclusive)
|
|
47
47
|
new swaggerHelper_1.SwaggerHelper().SwaggerSchemaInclusive(local_js_dist_path);
|
|
48
|
-
log_1.Logger.log({ message:
|
|
49
|
-
log_1.Logger.log({ message:
|
|
48
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Swagger created/updated successfully."), timeFormat: "datetime" });
|
|
49
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Build finished successfully."), timeFormat: "datetime" });
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
exports.default = Build;
|
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const command_1 = require("@oclif/command");
|
|
4
4
|
const initHelper_1 = require("../helpers/initHelper");
|
|
5
|
-
const
|
|
6
|
-
const styling_1 = require("@stechquick/symphony-common/lib/styling");
|
|
5
|
+
const chalk_1 = require("../helpers/chalk");
|
|
7
6
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
8
7
|
class CreateModule extends command_1.Command {
|
|
9
8
|
async run() {
|
|
10
9
|
const { flags } = this.parse(CreateModule);
|
|
11
10
|
const { args } = this.parse(CreateModule);
|
|
12
|
-
log_1.Logger.log({ message:
|
|
11
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Module " + args["name"] + " creating. Please wait...") });
|
|
13
12
|
await new initHelper_1.InitHelper().AddModule(args["name"], `${flags.desc}`);
|
|
14
|
-
|
|
15
|
-
log_1.Logger.log({ message:
|
|
13
|
+
//NpmHelper.install({ folderName: args["name"] }); // Banka networkünden dolayı banka nexus olmayınca install yapılamıyor.
|
|
14
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Module " + args["name"] + " created successfully.") });
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
exports.default = CreateModule;
|
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const command_1 = require("@oclif/command");
|
|
4
4
|
const initHelper_1 = require("../helpers/initHelper");
|
|
5
|
-
const
|
|
6
|
-
const styling_1 = require("@stechquick/symphony-common/lib/styling");
|
|
5
|
+
const chalk_1 = require("../helpers/chalk");
|
|
7
6
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
8
7
|
class CreateApp extends command_1.Command {
|
|
9
8
|
async run() {
|
|
10
9
|
const { flags } = this.parse(CreateApp);
|
|
11
10
|
const { args } = this.parse(CreateApp);
|
|
12
|
-
log_1.Logger.log({ message:
|
|
11
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Application " + args["name"] + " creating. Please wait...") });
|
|
13
12
|
await new initHelper_1.InitHelper().AddApp(args["name"], `${flags.desc}`, flags.token);
|
|
14
|
-
|
|
15
|
-
log_1.Logger.log({ message:
|
|
13
|
+
//NpmHelper.install({ folderName: args["name"] }); // Banka networkünden dolayı banka nexus olmayınca install yapılamıyor.
|
|
14
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Application " + args["name"] + " created successfully.") });
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
exports.default = CreateApp;
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const command_1 = require("@oclif/command");
|
|
4
4
|
const fnDeployHelper_1 = require("../helpers/deploy/fnDeployHelper");
|
|
5
5
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
6
|
-
const
|
|
6
|
+
const chalk_1 = require("../helpers/chalk");
|
|
7
7
|
class FnDeploy extends command_1.Command {
|
|
8
8
|
async run() {
|
|
9
|
-
log_1.Logger.log({ message:
|
|
9
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Checking deployment parameters, please wait...") });
|
|
10
10
|
const deploySettings = this.getSettings();
|
|
11
11
|
if (!deploySettings) {
|
|
12
|
-
log_1.Logger.log({ message:
|
|
12
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", "Deploy stopped.") });
|
|
13
13
|
process.exit(12);
|
|
14
14
|
}
|
|
15
15
|
this.appendEnvIndependentSettings(deploySettings);
|
|
@@ -30,7 +30,7 @@ class FnDeploy extends command_1.Command {
|
|
|
30
30
|
const { flags } = this.parse(FnDeploy);
|
|
31
31
|
const nodeEnv = flags.node_env || process.env["NODE_ENV"] || process.env["node_env"];
|
|
32
32
|
if (!nodeEnv) {
|
|
33
|
-
log_1.Logger.log({ message:
|
|
33
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow", "Warning: There is no 'environment name'. Defaulting to: default.") });
|
|
34
34
|
}
|
|
35
35
|
deploySettings.nodeEnv = nodeEnv;
|
|
36
36
|
}
|
|
@@ -38,22 +38,22 @@ class FnDeploy extends command_1.Command {
|
|
|
38
38
|
const { flags } = this.parse(FnDeploy);
|
|
39
39
|
const dockerUrl = flags.d_url || process.env["d_url"];
|
|
40
40
|
if (!dockerUrl) {
|
|
41
|
-
log_1.Logger.log({ message:
|
|
41
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow", "Warning: There is no 'docker url' definition!") });
|
|
42
42
|
}
|
|
43
43
|
const dockerUser = flags.d_user || process.env["d_user"];
|
|
44
44
|
if (!dockerUser) {
|
|
45
|
-
log_1.Logger.log({ message:
|
|
45
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow", "Warning: There is no 'docker username' definition!") });
|
|
46
46
|
}
|
|
47
47
|
const dockerPass = flags.d_pass || process.env["d_pass"];
|
|
48
48
|
if (!dockerPass) {
|
|
49
|
-
log_1.Logger.log({ message:
|
|
49
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow", "Warning: There is no 'docker pasword' definition!") });
|
|
50
50
|
}
|
|
51
51
|
const fnUrl = flags.f_url || process.env["f_url"];
|
|
52
52
|
if (!fnUrl) {
|
|
53
|
-
log_1.Logger.log({ message:
|
|
53
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow", "Warning: There is no 'fn api url' definition!") });
|
|
54
54
|
}
|
|
55
55
|
if (!(dockerUrl && dockerUser && dockerPass && fnUrl)) {
|
|
56
|
-
log_1.Logger.log({ message:
|
|
56
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow", "Plase check your deployment parameters!") });
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
@@ -89,10 +89,10 @@ FnDeploy.args = [
|
|
|
89
89
|
{
|
|
90
90
|
name: 'environment',
|
|
91
91
|
required: true,
|
|
92
|
-
description: `${
|
|
93
|
-
${
|
|
94
|
-
${
|
|
95
|
-
${
|
|
92
|
+
description: `${chalk_1.Chalk.create("bold", 'deploy environment: ')}
|
|
93
|
+
${chalk_1.Chalk.create("green.bold", '[local: your local]')}
|
|
94
|
+
${chalk_1.Chalk.create("red.bold", '[play: playground environment]')}
|
|
95
|
+
${chalk_1.Chalk.create("yellow.bold", '[remote: remote server]')}`,
|
|
96
96
|
hidden: false,
|
|
97
97
|
options: ["local", "play", "remote"]
|
|
98
98
|
}
|
|
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const command_1 = require("@oclif/command");
|
|
4
4
|
const nanoDeployHelper_1 = require("../helpers/deploy/nanoDeployHelper");
|
|
5
5
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
6
|
-
const
|
|
6
|
+
const chalk_1 = require("../helpers/chalk");
|
|
7
7
|
class NanoDeploy extends command_1.Command {
|
|
8
8
|
async run() {
|
|
9
|
-
log_1.Logger.log({ message:
|
|
9
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Checking deployment parameters, please wait...") });
|
|
10
10
|
const { flags } = this.parse(NanoDeploy);
|
|
11
11
|
const deploySettings = { imageName: flags.imagename };
|
|
12
12
|
if (!deploySettings) {
|
|
13
|
-
log_1.Logger.log({ message:
|
|
13
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", "Deploy stopped.") });
|
|
14
14
|
process.exit(12);
|
|
15
15
|
}
|
|
16
16
|
this.appendEnvIndependentSettings(deploySettings);
|
|
@@ -20,7 +20,7 @@ class NanoDeploy extends command_1.Command {
|
|
|
20
20
|
const { flags } = this.parse(NanoDeploy);
|
|
21
21
|
const nodeEnv = flags.node_env || process.env["NODE_ENV"] || process.env["node_env"];
|
|
22
22
|
if (!nodeEnv) {
|
|
23
|
-
log_1.Logger.log({ message:
|
|
23
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow", "Warning: There is no 'environment name'. Defaulting to: default.") });
|
|
24
24
|
}
|
|
25
25
|
deploySettings.nodeEnv = nodeEnv;
|
|
26
26
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Style helpers */
|
|
2
|
+
export declare class Chalk {
|
|
3
|
+
/**
|
|
4
|
+
* Creates a styled text
|
|
5
|
+
* @param setting The styling settings. Ex: "green.bold". For more information: https://www.npmjs.com/package/chalk
|
|
6
|
+
* @param text The text will take style
|
|
7
|
+
*/
|
|
8
|
+
static create(setting: string, text: string): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Chalk = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
/** Style helpers */
|
|
7
|
+
class Chalk {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a styled text
|
|
10
|
+
* @param setting The styling settings. Ex: "green.bold". For more information: https://www.npmjs.com/package/chalk
|
|
11
|
+
* @param text The text will take style
|
|
12
|
+
*/
|
|
13
|
+
static create(setting, text) {
|
|
14
|
+
return chalk_1.default `{${setting} ${text}}`;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.Chalk = Chalk;
|
|
@@ -8,7 +8,7 @@ const path = tslib_1.__importStar(require("path"));
|
|
|
8
8
|
const fs = tslib_1.__importStar(require("fs"));
|
|
9
9
|
const initHelper_1 = require("../initHelper");
|
|
10
10
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
11
|
-
const
|
|
11
|
+
const chalk_1 = require("../chalk");
|
|
12
12
|
const fnDownloadHelper_1 = require("../fnDownloadHelper");
|
|
13
13
|
const fnPredeploy_1 = require("../../predeploy/src/fn/fnPredeploy");
|
|
14
14
|
class FnDeployHelper {
|
|
@@ -19,7 +19,7 @@ class FnDeployHelper {
|
|
|
19
19
|
if (!initHelper_1.InitHelper.AssertInFolder()) {
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
|
-
log_1.Logger.log({ message:
|
|
22
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Deploy starting..."), timeFormat: "datetime" });
|
|
23
23
|
let success = false;
|
|
24
24
|
try {
|
|
25
25
|
const fnFileName = await new fnDownloadHelper_1.FnDownloadHelepr().downloadFn();
|
|
@@ -36,10 +36,10 @@ class FnDeployHelper {
|
|
|
36
36
|
finally {
|
|
37
37
|
fnPostdeploy_1.FnPostDeploy.execute();
|
|
38
38
|
if (!success) {
|
|
39
|
-
log_1.Logger.log({ message:
|
|
39
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", "Deploy failed, ^^ search for errors up ^^"), timeFormat: "datetime" });
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
|
-
log_1.Logger.log({ message:
|
|
42
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Deploy complete"), timeFormat: "datetime" });
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -90,9 +90,9 @@ class FnDeployHelper {
|
|
|
90
90
|
await shellHelper_1.ShellHelper.ExecuteCommand(fnFileName, this.getFnCommandArgs(), {
|
|
91
91
|
stderr: (chunk) => {
|
|
92
92
|
if (chunk.indexOf("Fn: Context already exists") > -1) {
|
|
93
|
-
log_1.Logger.log({ message:
|
|
93
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", chunk), timeFormat: "datetime" });
|
|
94
94
|
continueOnExitCode = 1;
|
|
95
|
-
log_1.Logger.log({ message:
|
|
95
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "we got it, context exits"), timeFormat: "datetime" });
|
|
96
96
|
return false;
|
|
97
97
|
}
|
|
98
98
|
return true;
|
|
@@ -112,7 +112,7 @@ class FnDeployHelper {
|
|
|
112
112
|
}
|
|
113
113
|
log_1.Logger.log({ message: "fnContext step running...", timeFormat: "datetime" });
|
|
114
114
|
await this.fnContext("cloudemo", fnFileName);
|
|
115
|
-
log_1.Logger.log({ message:
|
|
115
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Pre Fn complete"), timeFormat: "datetime" });
|
|
116
116
|
}
|
|
117
117
|
async fnContextDelete(contextName, fnFileName) {
|
|
118
118
|
log_1.Logger.log({ message: "fnContext delete existing context...: " + contextName, timeFormat: "datetime" });
|
|
@@ -121,17 +121,17 @@ class FnDeployHelper {
|
|
|
121
121
|
}
|
|
122
122
|
async fnContext(contextName, fnFileName) {
|
|
123
123
|
let continueOnExitCode = false;
|
|
124
|
-
log_1.Logger.log({ message:
|
|
124
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "context switching to...: " + contextName), timeFormat: "datetime" });
|
|
125
125
|
await shellHelper_1.ShellHelper.ExecuteCommand(fnFileName, ["use", "context", contextName], {
|
|
126
126
|
stderr: (chunk) => {
|
|
127
127
|
if (chunk.indexOf(`Fn: Context ${contextName} currently in use`) > -1) {
|
|
128
|
-
log_1.Logger.log({ message:
|
|
128
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", chunk), timeFormat: "datetime" });
|
|
129
129
|
continueOnExitCode = true;
|
|
130
|
-
log_1.Logger.log({ message:
|
|
130
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "we got it context in place"), timeFormat: "datetime" });
|
|
131
131
|
return false;
|
|
132
132
|
}
|
|
133
133
|
if (chunk.indexOf("error replacing file with tempfile") > -1) {
|
|
134
|
-
log_1.Logger.log({ message:
|
|
134
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", chunk), timeFormat: "datetime" });
|
|
135
135
|
const homePath = process.env.HOME || process.env.HOMEPATH;
|
|
136
136
|
log_1.Logger.log({ message: `trying to fix fn. Home path: ${homePath}`, timeFormat: "datetime" });
|
|
137
137
|
const fnPath = path.join(homePath, '/.fn/');
|
|
@@ -146,14 +146,14 @@ class FnDeployHelper {
|
|
|
146
146
|
fs.renameSync(latestYaml.file, path.join(fnPath, "config.yaml"));
|
|
147
147
|
yamls.filter(yaml => yaml != latestYaml).forEach(yaml => fs.unlinkSync(yaml.file));
|
|
148
148
|
continueOnExitCode = true;
|
|
149
|
-
log_1.Logger.log({ message:
|
|
149
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "symphony fixed fn context"), timeFormat: "datetime" });
|
|
150
150
|
return false;
|
|
151
151
|
}
|
|
152
152
|
return true;
|
|
153
153
|
},
|
|
154
154
|
exit: () => continueOnExitCode ? { code: null, signal: null } : null
|
|
155
155
|
});
|
|
156
|
-
log_1.Logger.log({ message:
|
|
156
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "context switched to: " + contextName), timeFormat: "datetime" });
|
|
157
157
|
}
|
|
158
158
|
async fnDeploy(fnFileName) {
|
|
159
159
|
const args = ["--verbose", "deploy", "--create-app", "--all"];
|
|
@@ -165,17 +165,17 @@ class FnDeployHelper {
|
|
|
165
165
|
await shellHelper_1.ShellHelper.ExecuteCommand(fnFileName, args, {
|
|
166
166
|
stdout: (chunkString) => {
|
|
167
167
|
if (chunkString.indexOf("Updating function") > -1) {
|
|
168
|
-
log_1.Logger.log({ message:
|
|
168
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", chunkString), timeFormat: "datetime" });
|
|
169
169
|
successFunctionCounter++;
|
|
170
170
|
}
|
|
171
171
|
else if (chunkString.indexOf("Step ") > -1) {
|
|
172
|
-
log_1.Logger.log({ message:
|
|
172
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", chunkString), timeFormat: "datetime" });
|
|
173
173
|
}
|
|
174
174
|
return true;
|
|
175
175
|
},
|
|
176
176
|
stderr: (chunkstring) => {
|
|
177
177
|
if (chunkstring.indexOf("connection attempt failed because the connected party did not properly respond") > -1) {
|
|
178
|
-
log_1.Logger.log({ message:
|
|
178
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("yellow.bold", "Connection Issue, did you check VPN ?"), timeFormat: "datetime" });
|
|
179
179
|
}
|
|
180
180
|
if (successFunctionCounter > 0 && chunkstring.indexOf("Fn: yaml: unmarshal errors:") > -1 && chunkstring.indexOf("cannot unmarshal !!map into string") > -1) {
|
|
181
181
|
log_1.Logger.log({ message: "Skipping final yaml error that should be discarded", timeFormat: "datetime" });
|
|
@@ -6,7 +6,7 @@ const nanoPostdeploy_1 = require("../../predeploy/src/nano/nanoPostdeploy");
|
|
|
6
6
|
const shellHelper_1 = require("../shellHelper");
|
|
7
7
|
const initHelper_1 = require("../initHelper");
|
|
8
8
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
9
|
-
const
|
|
9
|
+
const chalk_1 = require("../chalk");
|
|
10
10
|
class NanoDeployHelper {
|
|
11
11
|
constructor(settings) {
|
|
12
12
|
this.settings = settings;
|
|
@@ -15,7 +15,7 @@ class NanoDeployHelper {
|
|
|
15
15
|
if (!initHelper_1.InitHelper.AssertInFolder()) {
|
|
16
16
|
return;
|
|
17
17
|
}
|
|
18
|
-
log_1.Logger.log({ message:
|
|
18
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Deploy starting..."), timeFormat: "datetime" });
|
|
19
19
|
let success = false;
|
|
20
20
|
try {
|
|
21
21
|
await nanoPredeploy_1.NanoPredeploy.execute(this.getReplaceWords());
|
|
@@ -25,10 +25,10 @@ class NanoDeployHelper {
|
|
|
25
25
|
finally {
|
|
26
26
|
nanoPostdeploy_1.NanoPostDeploy.execute();
|
|
27
27
|
if (!success) {
|
|
28
|
-
log_1.Logger.log({ message:
|
|
28
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", "Deploy failed, ^^ search for errors up ^^"), timeFormat: "datetime" });
|
|
29
29
|
}
|
|
30
30
|
else {
|
|
31
|
-
log_1.Logger.log({ message:
|
|
31
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Deploy complete"), timeFormat: "datetime" });
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -74,9 +74,9 @@ class NanoDeployHelper {
|
|
|
74
74
|
// const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
|
|
75
75
|
// //const ImageName="gcr.io/softtech-rally/symphony/isleasing:latest"
|
|
76
76
|
// const appName = packageJson.name || "symphony-app";
|
|
77
|
-
log_1.Logger.log({ message:
|
|
77
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "docker build is starting"), timeFormat: "datetime" });
|
|
78
78
|
await shellHelper_1.ShellHelper.ExecuteCommand('docker', ['build', '-t', this.settings.imageName, '.']);
|
|
79
|
-
log_1.Logger.log({ message:
|
|
79
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "docker build is finished"), timeFormat: "datetime" });
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
exports.NanoDeployHelper = NanoDeployHelper;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FnDownloadHelepr = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
6
|
-
const
|
|
6
|
+
const chalk_1 = require("./chalk");
|
|
7
7
|
const fs = tslib_1.__importStar(require("fs"));
|
|
8
8
|
const https = tslib_1.__importStar(require("https"));
|
|
9
9
|
const shellHelper_1 = require("./shellHelper");
|
|
@@ -44,7 +44,7 @@ class FnDownloadHelepr {
|
|
|
44
44
|
rej({ message: "could not download fn, got http: " + response.statusCode + " " + response.statusMessage });
|
|
45
45
|
}
|
|
46
46
|
const length = response.headers["content-length"];
|
|
47
|
-
log_1.Logger.log({ message:
|
|
47
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("bold", "downloading length: " + length), timeFormat: "datetime" });
|
|
48
48
|
const file = fs.createWriteStream(fileName);
|
|
49
49
|
response.pipe(file);
|
|
50
50
|
file.on('finish', function () {
|
|
@@ -7,7 +7,7 @@ const path = tslib_1.__importStar(require("path"));
|
|
|
7
7
|
const cli_ux_1 = tslib_1.__importDefault(require("cli-ux"));
|
|
8
8
|
const fileHelper_1 = require("@stechquick/symphony-common/lib/helpers/fileHelper");
|
|
9
9
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
10
|
-
const
|
|
10
|
+
const chalk_1 = require("./chalk");
|
|
11
11
|
var CommandType;
|
|
12
12
|
(function (CommandType) {
|
|
13
13
|
CommandType[CommandType["createapp"] = 1] = "createapp";
|
|
@@ -32,12 +32,12 @@ class InitHelper {
|
|
|
32
32
|
static AssertInFolder() {
|
|
33
33
|
let retVal = fs.existsSync("./functions") && fs.existsSync("./package.json") && fs.existsSync("./local.ts");
|
|
34
34
|
if (!retVal) {
|
|
35
|
-
log_1.Logger.log({ message:
|
|
35
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", "Command must be executed in app root!"), timeFormat: "datetime" });
|
|
36
36
|
}
|
|
37
37
|
return retVal;
|
|
38
38
|
}
|
|
39
39
|
async AddFunc(funcName) {
|
|
40
|
-
log_1.Logger.log({ message:
|
|
40
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Function " + funcName + " adding. Please wait..."), timeFormat: "datetime" });
|
|
41
41
|
this.replaceMap.set(this.funcNameRegExp, funcName);
|
|
42
42
|
if (!InitHelper.AssertInFolder()) {
|
|
43
43
|
return;
|
|
@@ -50,7 +50,7 @@ class InitHelper {
|
|
|
50
50
|
}
|
|
51
51
|
const addFuncTemplatePath = path.join(path.resolve(__dirname), "../.." + this.addFuncSearchPath);
|
|
52
52
|
fileHelper_1.FileHelper.exportFiles({ sourcePath: addFuncTemplatePath, targetPath: "./", replaceMap: this.replaceMap });
|
|
53
|
-
log_1.Logger.log({ message:
|
|
53
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Function " + funcName + " added successfully."), timeFormat: "datetime" });
|
|
54
54
|
}
|
|
55
55
|
async AddApp(appName, appDesc, npmToken) {
|
|
56
56
|
this.replaceMap.set(this.appNameRegExp, appName);
|
|
@@ -8,7 +8,7 @@ const cli_ux_1 = tslib_1.__importDefault(require("cli-ux"));
|
|
|
8
8
|
const fileHelper_1 = require("@stechquick/symphony-common/lib/helpers/fileHelper");
|
|
9
9
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
10
10
|
const npmHelper_1 = require("../npmHelper");
|
|
11
|
-
const
|
|
11
|
+
const chalk_1 = require("../../helpers/chalk");
|
|
12
12
|
class NCHelper {
|
|
13
13
|
constructor() {
|
|
14
14
|
this.subPath = "./";
|
|
@@ -40,7 +40,7 @@ class NCHelper {
|
|
|
40
40
|
async AddComponent(componentName) {
|
|
41
41
|
this.replaceMap.set(this.compNameRegExp, componentName);
|
|
42
42
|
if (!NCHelper.AssertInFolder()) {
|
|
43
|
-
log_1.Logger.log({ message:
|
|
43
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", "Command must be executed in app root!") });
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
46
|
const existsSubPath = fs.existsSync("./src/namedComps" + componentName);
|
package/lib/helpers/npmHelper.js
CHANGED
|
@@ -8,12 +8,12 @@ const fs = tslib_1.__importStar(require("fs"));
|
|
|
8
8
|
const path = tslib_1.__importStar(require("path"));
|
|
9
9
|
const initHelper_1 = require("./initHelper");
|
|
10
10
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
11
|
-
const
|
|
11
|
+
const chalk_1 = require("./chalk");
|
|
12
12
|
class NpmHelper {
|
|
13
13
|
static packageInstall(packageName) {
|
|
14
|
-
log_1.Logger.log({ message:
|
|
14
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", packageName + " package install starting...") });
|
|
15
15
|
child_process_1.execSync(`npm install ${packageName}`, { stdio: 'inherit' });
|
|
16
|
-
log_1.Logger.log({ message:
|
|
16
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", packageName + " package install finished...") });
|
|
17
17
|
}
|
|
18
18
|
static findPackagePath(packageName) {
|
|
19
19
|
let packageTarget = undefined;
|
|
@@ -26,19 +26,19 @@ class NpmHelper {
|
|
|
26
26
|
return packageTarget;
|
|
27
27
|
}
|
|
28
28
|
static install(settings) {
|
|
29
|
-
log_1.Logger.log({ message:
|
|
29
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Install starting, please wait...") });
|
|
30
30
|
child_process_1.execSync(`cd ${settings.folderName} && npm install`, { stdio: 'inherit' });
|
|
31
|
-
log_1.Logger.log({ message:
|
|
31
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Install finished successfully.") });
|
|
32
32
|
}
|
|
33
33
|
static build(settings) {
|
|
34
|
-
log_1.Logger.log({ message:
|
|
34
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Build starting, please wait...") });
|
|
35
35
|
this.execCommand(this.BUILD_CMD, settings);
|
|
36
|
-
log_1.Logger.log({ message:
|
|
36
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Build finished successfully.") });
|
|
37
37
|
}
|
|
38
38
|
static buildWebpack(settings) {
|
|
39
|
-
log_1.Logger.log({ message:
|
|
39
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Webpack starting, please wait...") });
|
|
40
40
|
this.execCommand(this.WEBPACK_CMD, settings);
|
|
41
|
-
log_1.Logger.log({ message:
|
|
41
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Webpack finished successfully.") });
|
|
42
42
|
}
|
|
43
43
|
static extractDistAndLocalJsPath(local_js_dist_path) {
|
|
44
44
|
let localPath = './dist/local';
|
|
@@ -57,7 +57,7 @@ class NpmHelper {
|
|
|
57
57
|
return { localPath, distPath };
|
|
58
58
|
}
|
|
59
59
|
static run(environment, settings) {
|
|
60
|
-
log_1.Logger.log({ message:
|
|
60
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Function starting, please wait..."), timeFormat: "datetime" });
|
|
61
61
|
if (!initHelper_1.InitHelper.AssertInFolder()) {
|
|
62
62
|
return;
|
|
63
63
|
}
|
|
@@ -82,7 +82,7 @@ class NpmHelper {
|
|
|
82
82
|
prev[key] = envObject[key];
|
|
83
83
|
} return prev; }, {});
|
|
84
84
|
child_process_1.spawnSync("node", args, { env: Object.assign(process.env, calcObject), stdio: 'inherit' });
|
|
85
|
-
log_1.Logger.log({ message:
|
|
85
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Function started successfully."), timeFormat: "datetime" });
|
|
86
86
|
}
|
|
87
87
|
static getCurrentPackageVersions() {
|
|
88
88
|
const list = child_process_1.execSync("npm list --depth=0 -json", { encoding: "utf8" });
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ShellHelper = void 0;
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
5
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
6
|
-
const
|
|
6
|
+
const chalk_1 = require("./chalk");
|
|
7
7
|
class ShellHelper {
|
|
8
8
|
static ExecuteCommand(command, args, options) {
|
|
9
9
|
return new Promise((res, rej) => {
|
|
@@ -22,7 +22,7 @@ class ShellHelper {
|
|
|
22
22
|
if (((_a = options === null || options === void 0 ? void 0 : options.stderr) === null || _a === void 0 ? void 0 : _a.call(options, chunkstring)) === false) {
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
|
-
log_1.Logger.log({ message:
|
|
25
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", chunkstring) });
|
|
26
26
|
});
|
|
27
27
|
const exitHandler = (exit) => (code, signal) => {
|
|
28
28
|
var _a;
|
|
@@ -4,7 +4,7 @@ exports.SocketServerHelper = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const symphony_nanoserver_wsplugin_1 = require("@stechquick/symphony-nanoserver-wsplugin");
|
|
6
6
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
7
|
-
const
|
|
7
|
+
const chalk_1 = require("../../helpers/chalk");
|
|
8
8
|
const cryptoHelper_1 = require("@stechquick/symphony-common/lib/helpers/cryptoHelper");
|
|
9
9
|
const fileHelper_1 = require("@stechquick/symphony-common/lib/helpers/fileHelper");
|
|
10
10
|
const fs = tslib_1.__importStar(require("fs"));
|
|
@@ -37,7 +37,7 @@ class SocketServerHelper {
|
|
|
37
37
|
}
|
|
38
38
|
onSocketConnection(ns) {
|
|
39
39
|
const timer = setTimeout(() => {
|
|
40
|
-
log_1.Logger.log({ message:
|
|
40
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red", "unverified client") });
|
|
41
41
|
ns.Close(4001, "unverified client");
|
|
42
42
|
}, 3 * 1000);
|
|
43
43
|
ns.OnMessage = (msg) => {
|
|
@@ -52,7 +52,7 @@ class SocketServerHelper {
|
|
|
52
52
|
const request = JSON.parse(msg.toString());
|
|
53
53
|
const msgHandler = this.messageTypeLookup[request.msg.type];
|
|
54
54
|
if (!msgHandler) {
|
|
55
|
-
log_1.Logger.log({ message: `unsupported message: ${request.msg.type}. ${
|
|
55
|
+
log_1.Logger.log({ message: `unsupported message: ${request.msg.type}. ${chalk_1.Chalk.create("yellow.bold", "update might be required.")}` });
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
58
|
const res = await msgHandler(request.msg);
|
|
@@ -100,7 +100,7 @@ class SocketServerHelper {
|
|
|
100
100
|
return { type: "save_files_resp", result: true, filePaths };
|
|
101
101
|
}
|
|
102
102
|
catch (error) {
|
|
103
|
-
log_1.Logger.log({ message:
|
|
103
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", `Saving files error!`), error, level: log_1.LogLevel.error });
|
|
104
104
|
return { type: "save_files_resp", result: false };
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -112,7 +112,7 @@ class SocketServerHelper {
|
|
|
112
112
|
return { type: "create_folder_resp" };
|
|
113
113
|
}
|
|
114
114
|
catch (error) {
|
|
115
|
-
log_1.Logger.log({ message:
|
|
115
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", `Creating folder error!`), error, level: log_1.LogLevel.error });
|
|
116
116
|
return { type: "create_folder_resp" };
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -140,7 +140,7 @@ class SocketServerHelper {
|
|
|
140
140
|
return { type: "delete_folder_resp" };
|
|
141
141
|
}
|
|
142
142
|
catch (error) {
|
|
143
|
-
log_1.Logger.log({ message:
|
|
143
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", `Deleting folder error!`), error, level: log_1.LogLevel.error });
|
|
144
144
|
return { type: "delete_folder_resp" };
|
|
145
145
|
}
|
|
146
146
|
}
|
|
@@ -152,7 +152,7 @@ class SocketServerHelper {
|
|
|
152
152
|
return { type: "delete_files_resp", result: true };
|
|
153
153
|
}
|
|
154
154
|
catch (error) {
|
|
155
|
-
log_1.Logger.log({ message:
|
|
155
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("red.bold", `Deleting files error!`), error, level: log_1.LogLevel.error });
|
|
156
156
|
return { type: "delete_files_resp", result: true };
|
|
157
157
|
}
|
|
158
158
|
}
|
|
@@ -171,7 +171,7 @@ class SocketServerHelper {
|
|
|
171
171
|
if (version_1.compareVersion(msg.minRequired, this.version) != 1) {
|
|
172
172
|
return;
|
|
173
173
|
}
|
|
174
|
-
log_1.Logger.log({ message: `Cli tool ${
|
|
174
|
+
log_1.Logger.log({ message: `Cli tool ${chalk_1.Chalk.create("yellow.bold", "UPDATE required")}. Studio requires cli version: ${chalk_1.Chalk.create("green.bold", msg.minRequired)}. Yours: ${chalk_1.Chalk.create("red.bold", this.version)}`, level: log_1.LogLevel.warn });
|
|
175
175
|
}
|
|
176
176
|
async getVersion(msg) {
|
|
177
177
|
await this.checkUpdateRequired(msg);
|
|
@@ -6,7 +6,7 @@ const fs = tslib_1.__importStar(require("fs"));
|
|
|
6
6
|
const path = tslib_1.__importStar(require("path"));
|
|
7
7
|
const js_yaml_1 = tslib_1.__importDefault(require("js-yaml"));
|
|
8
8
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
9
|
-
const
|
|
9
|
+
const chalk_1 = require("../chalk");
|
|
10
10
|
const fileHelper_1 = require("@stechquick/algae/lib/helpers/fileHelper");
|
|
11
11
|
const qJsonParser_1 = require("@stechquick/algae/lib/helpers/qJsonParser");
|
|
12
12
|
const quickSettingsBundler_1 = require("@stechquick/algae/lib/quick/quickSettingsBundler");
|
|
@@ -29,7 +29,7 @@ class FolderCopier {
|
|
|
29
29
|
}
|
|
30
30
|
async Execute() {
|
|
31
31
|
fileHelper_1.DeleteFolder("./dist"); //deletes dist folder of project
|
|
32
|
-
log_1.Logger.log({ message:
|
|
32
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Folders copying..."), timeFormat: "datetime" });
|
|
33
33
|
fileHelper_1.CopyFolder("./node_modules/@stechquick/qui/dist", "./dist", ["build"]); // copies /node_modules/@stechquick/qui/dist folder to dist
|
|
34
34
|
let settingsContent = fs.readFileSync(path.resolve("./settings/settings.yaml"), { encoding: "utf-8" }); // reads settings.yaml
|
|
35
35
|
let settings = js_yaml_1.default.load(settingsContent); // converts yaml file content to js
|
|
@@ -48,7 +48,7 @@ class FolderCopier {
|
|
|
48
48
|
qjsonVersionHelper_1.QjsonVersionHelper.mapDirectorytoSettingsYaml(settings, { safeDump: (jsObject) => js_yaml_1.default.safeDump(jsObject) });
|
|
49
49
|
fileHelper_1.CopyFile("./worker/a9e657cbf4abb977edda.worker.js", "./dist/client", { copyIfExists: true }); // copies worker.js file to dist/client
|
|
50
50
|
await new quickSettingsBundler_1.QuickSettingsBundler().bundleSettings("./dist", { yaml: { load: yamlContent => js_yaml_1.default.load(yamlContent) } });
|
|
51
|
-
log_1.Logger.log({ message:
|
|
51
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Folders copied successfully."), timeFormat: "datetime" });
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.FolderCopier = FolderCopier;
|
|
@@ -6,11 +6,11 @@ const fs = tslib_1.__importStar(require("fs"));
|
|
|
6
6
|
const path = tslib_1.__importStar(require("path"));
|
|
7
7
|
const predeployCommon_1 = require("../predeployCommon");
|
|
8
8
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
9
|
-
const
|
|
9
|
+
const chalk_1 = require("../../../helpers/chalk");
|
|
10
10
|
const fileHelper_1 = require("@stechquick/symphony-common/lib/helpers/fileHelper");
|
|
11
11
|
class FnPostDeploy {
|
|
12
12
|
static execute() {
|
|
13
|
-
log_1.Logger.log({ message:
|
|
13
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Postdeploy starting..."), timeFormat: "datetime" });
|
|
14
14
|
const deleteTargetItems = new Array();
|
|
15
15
|
const options = {
|
|
16
16
|
folder: "./functions",
|
|
@@ -27,7 +27,7 @@ class FnPostDeploy {
|
|
|
27
27
|
};
|
|
28
28
|
new predeployCommon_1.PredeployCommon().forEachFolderWithItem(options);
|
|
29
29
|
this.deleteTargets(deleteTargetItems);
|
|
30
|
-
log_1.Logger.log({ message:
|
|
30
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Postdeploy finished successfully..."), timeFormat: "datetime" });
|
|
31
31
|
}
|
|
32
32
|
static deleteTargets(items) {
|
|
33
33
|
items.forEach(delTarget => {
|
|
@@ -4,11 +4,11 @@ exports.FnPredeploy = void 0;
|
|
|
4
4
|
const predeployCommon_1 = require("../predeployCommon");
|
|
5
5
|
const pathFinder_1 = require("../../../pathFinder");
|
|
6
6
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
7
|
-
const
|
|
7
|
+
const chalk_1 = require("../../../helpers/chalk");
|
|
8
8
|
const npmHelper_1 = require("../../../helpers/npmHelper");
|
|
9
9
|
class FnPredeploy {
|
|
10
10
|
static async execute(replaceWords) {
|
|
11
|
-
log_1.Logger.log({ message:
|
|
11
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Predeploy starting...") });
|
|
12
12
|
const options = {
|
|
13
13
|
folder: "./functions",
|
|
14
14
|
itemEndsWith: "func.yaml",
|
|
@@ -16,7 +16,7 @@ class FnPredeploy {
|
|
|
16
16
|
};
|
|
17
17
|
npmHelper_1.NpmHelper.install({ folderName: "./" });
|
|
18
18
|
new predeployCommon_1.PredeployCommon().forEachFolderWithItem(options);
|
|
19
|
-
log_1.Logger.log({ message:
|
|
19
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Predeploy finished successfully...") });
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
exports.FnPredeploy = FnPredeploy;
|
|
@@ -5,11 +5,11 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const fs = tslib_1.__importStar(require("fs"));
|
|
6
6
|
const path = tslib_1.__importStar(require("path"));
|
|
7
7
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
8
|
-
const
|
|
8
|
+
const chalk_1 = require("../../../helpers/chalk");
|
|
9
9
|
const fileHelper_1 = require("@stechquick/symphony-common/lib/helpers/fileHelper");
|
|
10
10
|
class NanoPostDeploy {
|
|
11
11
|
static execute() {
|
|
12
|
-
log_1.Logger.log({ message:
|
|
12
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Postdeploy starting..."), timeFormat: "datetime" });
|
|
13
13
|
const deleteTargetItems = new Array();
|
|
14
14
|
this.deleteList.forEach(deleteItem => {
|
|
15
15
|
log_1.Logger.log({ message: "Delete item: " + deleteItem });
|
|
@@ -18,7 +18,7 @@ class NanoPostDeploy {
|
|
|
18
18
|
deleteTargetItems.push(targetItem);
|
|
19
19
|
});
|
|
20
20
|
this.deleteTargets(deleteTargetItems);
|
|
21
|
-
log_1.Logger.log({ message:
|
|
21
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Postdeploy finished successfully..."), timeFormat: "datetime" });
|
|
22
22
|
}
|
|
23
23
|
//pre deploy commona al fn dekininde al!!
|
|
24
24
|
static deleteTargets(items) {
|
|
@@ -4,11 +4,11 @@ exports.NanoPredeploy = void 0;
|
|
|
4
4
|
const predeployCommon_1 = require("../predeployCommon");
|
|
5
5
|
const pathFinder_1 = require("../../../pathFinder");
|
|
6
6
|
const log_1 = require("@stechquick/symphony-common/lib/log");
|
|
7
|
-
const
|
|
7
|
+
const chalk_1 = require("../../../helpers/chalk");
|
|
8
8
|
const npmHelper_1 = require("../../../helpers/npmHelper");
|
|
9
9
|
class NanoPredeploy {
|
|
10
10
|
static async execute(replaceWords) {
|
|
11
|
-
log_1.Logger.log({ message:
|
|
11
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Predeploy starting...") });
|
|
12
12
|
// const options: IPredeployForeachItemOptions = {
|
|
13
13
|
// folder: "./functions",
|
|
14
14
|
// itemEndsWith: "func.yaml",
|
|
@@ -16,7 +16,7 @@ class NanoPredeploy {
|
|
|
16
16
|
// };
|
|
17
17
|
npmHelper_1.NpmHelper.install({ folderName: "./" });
|
|
18
18
|
new predeployCommon_1.PredeployCommon().preDeployReplaceCopier("./", "NoFunction", replaceWords, this.copyList);
|
|
19
|
-
log_1.Logger.log({ message:
|
|
19
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Predeploy finished successfully...") });
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
exports.NanoPredeploy = NanoPredeploy;
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.5.30","commands":{"mui-create":{"id":"mui-create","description":"MicroUI command to create a new Micro UI project","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli mui-create myUI -d=\"My Micro UI project\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to project","hidden":false,"required":false,"default":""}},"args":[{"name":"name","description":"input microui name","required":true}]},"nc-addcomp":{"id":"nc-addcomp","description":"Command for add a named component to nc project.","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli nc-addcomp my_comp_name"],"flags":{},"args":[{"name":"name","description":"input component name","required":true}]},"nc-build":{"id":"nc-build","description":"Command for build your named component project.","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli nc-build","$ symphony-cli nc-build -w"],"flags":{"watch":{"name":"watch","type":"boolean","char":"w","description":"for watch","allowNo":false}},"args":[]},"nc-create":{"id":"nc-create","description":"Command for create a named component template project.","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli nc-create nc_example -d=\"my named component example\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to named component","hidden":false,"required":false,"default":""}},"args":[{"name":"name","description":"input project name","required":true}]},"qui-build":{"id":"qui-build","description":"Plateau-QUI command to build your Quick ui project","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli qui-build -w"],"flags":{},"args":[]},"qui-create":{"id":"qui-create","description":"Plateau-QUI command to create a new Quick ui project","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli qui-create myUI -t=TOKEN","symphony-cli qui-create myUI -t=TOKEN -d=\"My Quick UI project\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to project","hidden":false,"required":false,"default":""},"token":{"name":"token","type":"option","char":"t","description":"npm token for @stechquick","hidden":false,"required":true}},"args":[{"name":"name","description":"input quick ui name","required":true}]},"qui-start":{"id":"qui-start","description":"Plateau-QUI command for start your Quick ui project with/without build","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli qui-start -b"],"flags":{"build":{"name":"build","type":"boolean","char":"b","description":"for build","allowNo":false}},"args":[]},"quick-serve":{"id":"quick-serve","description":"QUICK command for serving your path","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli quick-serve","$ symphony-cli quick-serve -p 3000","$ symphony-cli quick-serve -g","$ symphony-cli quick-serve -r C:/MyPathToServe","$ symphony-cli quick-serve -g -r C:/MyPathToServe"],"flags":{"path":{"name":"path","type":"option","char":"r","description":"Change path to serve"},"httpPort":{"name":"httpPort","type":"option","char":"p","description":"HTTP port to serve"},"global":{"name":"global","type":"boolean","char":"g","description":"Host/visible for everyone.","allowNo":false}},"args":[]},"studio-sync":{"id":"studio-sync","description":"Studio command for serving your path","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli studio-sync"],"flags":{"path":{"name":"path","type":"option","char":"r","description":"Change path to serve"},"httpPort":{"name":"httpPort","type":"option","char":"p","description":"HTTP port to serve"},"global":{"name":"global","type":"boolean","char":"g","description":"Host/visible for everyone.","allowNo":false}},"args":[]},"sym-addfunc":{"id":"sym-addfunc","description":"Plateau-Symphony command to create a new function","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-addfunc havalemenu"],"flags":{},"args":[{"name":"funcname","description":"input function name","required":true,"hidden":false}]},"sym-build":{"id":"sym-build","description":"Plateau-Symphony command to build the app with/without watch","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli sym-build","$ symphony-cli sym-build -w","$ symphony-cli sym-build --swagger","$ symphony-cli sym-build --swagger -i","$ symphony-cli sym-build --swagger -l ./dist/api/local.js"],"flags":{"watch":{"name":"watch","type":"boolean","char":"w","description":"for watch","allowNo":false},"skipversion":{"name":"skipversion","type":"boolean","char":"s","description":"skip version checking. Used for Deployment","allowNo":false},"swagger":{"name":"swagger","type":"boolean","description":"for swagger generation, this parameter must be given","allowNo":false},"swaggerInclusive":{"name":"swaggerInclusive","type":"boolean","char":"i","description":"to make swagger schema inclusive","allowNo":false},"local_js_dist_path":{"name":"local_js_dist_path","type":"option","char":"l","description":"for monorepos, if local.js is not directly under dist. like: ./dist/api/local.js"}},"args":[]},"sym-create-module":{"id":"sym-create-module","description":"Plateau-Symphony command to create a Symphony Library (Module)","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-create-module abm -d=\"abm module description\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to module","hidden":false,"required":false,"default":""}},"args":[{"name":"name","description":"input module name","required":true}]},"sym-create":{"id":"sym-create","description":"Plateau-Symphony command to create a Symphony App","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-create havale -d=\"Kanallardan yapılan havale işlemi\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to application","hidden":false,"required":false,"default":""},"token":{"name":"token","type":"option","char":"t","description":"npm token for @stechquick","hidden":false,"required":true}},"args":[{"name":"name","description":"input application name","required":true}]},"sym-fn-deploy":{"id":"sym-fn-deploy","description":"Plateau-Symphony fn command to deploy the all functions in your app","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-fn-deploy local","symphony-cli sym-fn-deploy play","symphony-cli sym-fn-deploy remote","symphony-cli sym-fn-deploy remote -d MyDockerUrl -u MyDockerUser -p MyDockerPassword -f MyFnApiUrl","symphony-cli sym-fn-deploy remote --d_url MyDockerUrl --d_user MyDockerUser --d_pass MyDockerPassword --f_url MyFnApiUrl","symphony-cli sym-fn-deploy remote --d_url=\"MyDockerUrl\" --d_user=\"MyDockerUser\" --d_pass=\"MyDockerPassword\" --f_url=\"MyFnApiUrl\""],"flags":{"d_url":{"name":"d_url","type":"option","char":"d","description":"docker url to deploy","hidden":false,"required":false,"default":""},"d_user":{"name":"d_user","type":"option","char":"u","description":"docker username to deploy","hidden":false,"required":false,"default":""},"d_pass":{"name":"d_pass","type":"option","char":"p","description":"docker password for this username to deploy","hidden":false,"required":false,"default":""},"f_url":{"name":"f_url","type":"option","char":"f","description":"fn api url to deploy","hidden":false,"required":false,"default":""},"node_env":{"name":"node_env","type":"option","char":"e","description":"symphony environment name","hidden":false,"required":false}},"args":[{"name":"environment","description":"deploy environment: \n [local: your local] \n [play: playground environment] \n [remote: remote server]","required":true,"options":["local","play","remote"],"hidden":false}]},"sym-nano-deploy":{"id":"sym-nano-deploy","description":"Plateau-Symphony nano command to deploy the all functions in your app","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-nano-deploy"],"flags":{"node_env":{"name":"node_env","type":"option","char":"e","description":"symphony environment name","hidden":false,"required":false},"imagename":{"name":"imagename","type":"option","char":"i","description":"image name for docker","hidden":false,"required":true}},"args":[]},"sym-start":{"id":"sym-start","description":"Plateau-Symphony command to start your functions with/without debug","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli sym-start -b -d","$ symphony-cli sym-start -l ./dist/api/local.js"],"flags":{"debug":{"name":"debug","type":"boolean","char":"d","description":"for debug","allowNo":false},"build":{"name":"build","type":"boolean","char":"b","description":"for build","allowNo":false},"http_port":{"name":"http_port","type":"option","char":"p","description":"port to HTTP server"},"https_port":{"name":"https_port","type":"option","char":"h","description":"port to HTTPS server"},"environment":{"name":"environment","type":"option","char":"e","description":"environment variable","hidden":false,"required":false},"hosted_path":{"name":"hosted_path","type":"option","description":"application hosted sub path","required":false},"local_js_dist_path":{"name":"local_js_dist_path","type":"option","char":"l","description":"for monorepos, if local.js is not directly under dist. like: ./dist/api/local.js"}},"args":[]},"sym-test":{"id":"sym-test","description":"Plateau-Symphony command to run your all test functions with coverage","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli sym-test"],"flags":{"func":{"name":"func","type":"option","char":"f","description":"funtion name to test particular file"}},"args":[]}}}
|
|
1
|
+
{"version":"0.5.32","commands":{"mui-create":{"id":"mui-create","description":"MicroUI command to create a new Micro UI project","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli mui-create myUI -d=\"My Micro UI project\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to project","hidden":false,"required":false,"default":""}},"args":[{"name":"name","description":"input microui name","required":true}]},"nc-addcomp":{"id":"nc-addcomp","description":"Command for add a named component to nc project.","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli nc-addcomp my_comp_name"],"flags":{},"args":[{"name":"name","description":"input component name","required":true}]},"nc-build":{"id":"nc-build","description":"Command for build your named component project.","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli nc-build","$ symphony-cli nc-build -w"],"flags":{"watch":{"name":"watch","type":"boolean","char":"w","description":"for watch","allowNo":false}},"args":[]},"nc-create":{"id":"nc-create","description":"Command for create a named component template project.","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli nc-create nc_example -d=\"my named component example\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to named component","hidden":false,"required":false,"default":""}},"args":[{"name":"name","description":"input project name","required":true}]},"qui-build":{"id":"qui-build","description":"Plateau-QUI command to build your Quick ui project","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli qui-build -w"],"flags":{},"args":[]},"qui-create":{"id":"qui-create","description":"Plateau-QUI command to create a new Quick ui project","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli qui-create myUI -t=TOKEN","symphony-cli qui-create myUI -t=TOKEN -d=\"My Quick UI project\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to project","hidden":false,"required":false,"default":""},"token":{"name":"token","type":"option","char":"t","description":"npm token for @stechquick","hidden":false,"required":true}},"args":[{"name":"name","description":"input quick ui name","required":true}]},"qui-start":{"id":"qui-start","description":"Plateau-QUI command for start your Quick ui project with/without build","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli qui-start -b"],"flags":{"build":{"name":"build","type":"boolean","char":"b","description":"for build","allowNo":false}},"args":[]},"quick-serve":{"id":"quick-serve","description":"QUICK command for serving your path","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli quick-serve","$ symphony-cli quick-serve -p 3000","$ symphony-cli quick-serve -g","$ symphony-cli quick-serve -r C:/MyPathToServe","$ symphony-cli quick-serve -g -r C:/MyPathToServe"],"flags":{"path":{"name":"path","type":"option","char":"r","description":"Change path to serve"},"httpPort":{"name":"httpPort","type":"option","char":"p","description":"HTTP port to serve"},"global":{"name":"global","type":"boolean","char":"g","description":"Host/visible for everyone.","allowNo":false}},"args":[]},"studio-sync":{"id":"studio-sync","description":"Studio command for serving your path","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli studio-sync"],"flags":{"path":{"name":"path","type":"option","char":"r","description":"Change path to serve"},"httpPort":{"name":"httpPort","type":"option","char":"p","description":"HTTP port to serve"},"global":{"name":"global","type":"boolean","char":"g","description":"Host/visible for everyone.","allowNo":false}},"args":[]},"sym-addfunc":{"id":"sym-addfunc","description":"Plateau-Symphony command to create a new function","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-addfunc havalemenu"],"flags":{},"args":[{"name":"funcname","description":"input function name","required":true,"hidden":false}]},"sym-build":{"id":"sym-build","description":"Plateau-Symphony command to build the app with/without watch","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli sym-build","$ symphony-cli sym-build -w","$ symphony-cli sym-build --swagger","$ symphony-cli sym-build --swagger -i","$ symphony-cli sym-build --swagger -l ./dist/api/local.js"],"flags":{"watch":{"name":"watch","type":"boolean","char":"w","description":"for watch","allowNo":false},"skipversion":{"name":"skipversion","type":"boolean","char":"s","description":"skip version checking. Used for Deployment","allowNo":false},"swagger":{"name":"swagger","type":"boolean","description":"for swagger generation, this parameter must be given","allowNo":false},"swaggerInclusive":{"name":"swaggerInclusive","type":"boolean","char":"i","description":"to make swagger schema inclusive","allowNo":false},"local_js_dist_path":{"name":"local_js_dist_path","type":"option","char":"l","description":"for monorepos, if local.js is not directly under dist. like: ./dist/api/local.js"}},"args":[]},"sym-create-module":{"id":"sym-create-module","description":"Plateau-Symphony command to create a Symphony Library (Module)","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-create-module abm -d=\"abm module description\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to module","hidden":false,"required":false,"default":""}},"args":[{"name":"name","description":"input module name","required":true}]},"sym-create":{"id":"sym-create","description":"Plateau-Symphony command to create a Symphony App","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-create havale -d=\"Kanallardan yapılan havale işlemi\""],"flags":{"desc":{"name":"desc","type":"option","char":"d","description":"description to application","hidden":false,"required":false,"default":""},"token":{"name":"token","type":"option","char":"t","description":"npm token for @stechquick","hidden":false,"required":true}},"args":[{"name":"name","description":"input application name","required":true}]},"sym-fn-deploy":{"id":"sym-fn-deploy","description":"Plateau-Symphony fn command to deploy the all functions in your app","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-fn-deploy local","symphony-cli sym-fn-deploy play","symphony-cli sym-fn-deploy remote","symphony-cli sym-fn-deploy remote -d MyDockerUrl -u MyDockerUser -p MyDockerPassword -f MyFnApiUrl","symphony-cli sym-fn-deploy remote --d_url MyDockerUrl --d_user MyDockerUser --d_pass MyDockerPassword --f_url MyFnApiUrl","symphony-cli sym-fn-deploy remote --d_url=\"MyDockerUrl\" --d_user=\"MyDockerUser\" --d_pass=\"MyDockerPassword\" --f_url=\"MyFnApiUrl\""],"flags":{"d_url":{"name":"d_url","type":"option","char":"d","description":"docker url to deploy","hidden":false,"required":false,"default":""},"d_user":{"name":"d_user","type":"option","char":"u","description":"docker username to deploy","hidden":false,"required":false,"default":""},"d_pass":{"name":"d_pass","type":"option","char":"p","description":"docker password for this username to deploy","hidden":false,"required":false,"default":""},"f_url":{"name":"f_url","type":"option","char":"f","description":"fn api url to deploy","hidden":false,"required":false,"default":""},"node_env":{"name":"node_env","type":"option","char":"e","description":"symphony environment name","hidden":false,"required":false}},"args":[{"name":"environment","description":"deploy environment: \n [local: your local] \n [play: playground environment] \n [remote: remote server]","required":true,"options":["local","play","remote"],"hidden":false}]},"sym-nano-deploy":{"id":"sym-nano-deploy","description":"Plateau-Symphony nano command to deploy the all functions in your app","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["symphony-cli sym-nano-deploy"],"flags":{"node_env":{"name":"node_env","type":"option","char":"e","description":"symphony environment name","hidden":false,"required":false},"imagename":{"name":"imagename","type":"option","char":"i","description":"image name for docker","hidden":false,"required":true}},"args":[]},"sym-start":{"id":"sym-start","description":"Plateau-Symphony command to start your functions with/without debug","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli sym-start -b -d","$ symphony-cli sym-start -l ./dist/api/local.js"],"flags":{"debug":{"name":"debug","type":"boolean","char":"d","description":"for debug","allowNo":false},"build":{"name":"build","type":"boolean","char":"b","description":"for build","allowNo":false},"http_port":{"name":"http_port","type":"option","char":"p","description":"port to HTTP server"},"https_port":{"name":"https_port","type":"option","char":"h","description":"port to HTTPS server"},"environment":{"name":"environment","type":"option","char":"e","description":"environment variable","hidden":false,"required":false},"hosted_path":{"name":"hosted_path","type":"option","description":"application hosted sub path","required":false},"local_js_dist_path":{"name":"local_js_dist_path","type":"option","char":"l","description":"for monorepos, if local.js is not directly under dist. like: ./dist/api/local.js"}},"args":[]},"sym-test":{"id":"sym-test","description":"Plateau-Symphony command to run your all test functions with coverage","pluginName":"@stechquick/symphony-cli","pluginType":"core","aliases":[],"examples":["$ symphony-cli sym-test"],"flags":{"func":{"name":"func","type":"option","char":"f","description":"funtion name to test particular file"}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stechquick/symphony-cli",
|
|
3
3
|
"description": "quick symphony server cli tools",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.32",
|
|
5
5
|
"bin": {
|
|
6
6
|
"symphony-cli": "./bin/run"
|
|
7
7
|
},
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"@oclif/command": "^1.6.1",
|
|
23
23
|
"@oclif/config": "^1.15.1",
|
|
24
24
|
"@oclif/plugin-help": "^3.1.0",
|
|
25
|
-
"@stechquick/algae": "^1.0.
|
|
26
|
-
"@stechquick/symphony-common": "^0.1.
|
|
27
|
-
"@stechquick/symphony-nanoserver": "^0.2.
|
|
28
|
-
"@stechquick/symphony-nanoserver-wsplugin": "^0.2.
|
|
25
|
+
"@stechquick/algae": "^1.0.356",
|
|
26
|
+
"@stechquick/symphony-common": "^0.1.34",
|
|
27
|
+
"@stechquick/symphony-nanoserver": "^0.2.18",
|
|
28
|
+
"@stechquick/symphony-nanoserver-wsplugin": "^0.2.8",
|
|
29
29
|
"@types/js-yaml": "^3.12.5",
|
|
30
30
|
"cli-ux": "^5.4.6",
|
|
31
31
|
"debug": "^4.1.1",
|