@stechquick/symphony-cli 0.4.19 → 0.4.21

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 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.4.19 linux-x64 node-v16.19.1
22
+ @stechquick/symphony-cli/0.4.21 linux-x64 node-v16.20.0
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.4.19/src/commands/mui-create.ts)_
85
+ _See code: [src/commands/mui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/nc-addcomp.ts)_
102
+ _See code: [src/commands/nc-addcomp.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/nc-build.ts)_
120
+ _See code: [src/commands/nc-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/nc-create.ts)_
140
+ _See code: [src/commands/nc-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/qui-build.ts)_
154
+ _See code: [src/commands/qui-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/qui-create.ts)_
176
+ _See code: [src/commands/qui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/qui-start.ts)_
193
+ _See code: [src/commands/qui-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/quick-serve.ts)_
216
+ _See code: [src/commands/quick-serve.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/studio-sync.ts)_
235
+ _See code: [src/commands/studio-sync.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/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.4.19/src/commands/sym-addfunc.ts)_
252
+ _See code: [src/commands/sym-addfunc.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/src/commands/sym-addfunc.ts)_
253
253
 
254
254
  ## `symphony-cli sym-build`
255
255
 
@@ -260,19 +260,26 @@ USAGE
260
260
  $ symphony-cli sym-build
261
261
 
262
262
  OPTIONS
263
- -i, --swaggerInclusive to make swagger schema inclusive
264
- -s, --skipversion skip version checking. Used for Deployment
265
- -w, --watch for watch
266
- --swagger for swagger generation, this parameter must be given
263
+ -i, --swaggerInclusive to make swagger schema inclusive
264
+
265
+ -l, --local_js_dist_path=local_js_dist_path for monorepos, if local.js is not directly under dist. like:
266
+ ./dist/api/local.js
267
+
268
+ -s, --skipversion skip version checking. Used for Deployment
269
+
270
+ -w, --watch for watch
271
+
272
+ --swagger for swagger generation, this parameter must be given
267
273
 
268
274
  EXAMPLES
269
275
  $ symphony-cli sym-build
270
276
  $ symphony-cli sym-build -w
271
277
  $ symphony-cli sym-build --swagger
272
278
  $ symphony-cli sym-build --swagger -i
279
+ $ symphony-cli sym-build --swagger -l ./dist/api/local.js
273
280
  ```
274
281
 
275
- _See code: [src/commands/sym-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.19/src/commands/sym-build.ts)_
282
+ _See code: [src/commands/sym-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/src/commands/sym-build.ts)_
276
283
 
277
284
  ## `symphony-cli sym-create NAME`
278
285
 
@@ -293,7 +300,7 @@ EXAMPLE
293
300
  symphony-cli sym-create havale -d="Kanallardan yapılan havale işlemi"
294
301
  ```
295
302
 
296
- _See code: [src/commands/sym-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.19/src/commands/sym-create.ts)_
303
+ _See code: [src/commands/sym-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/src/commands/sym-create.ts)_
297
304
 
298
305
  ## `symphony-cli sym-create-module NAME`
299
306
 
@@ -313,7 +320,7 @@ EXAMPLE
313
320
  symphony-cli sym-create-module abm -d="abm module description"
314
321
  ```
315
322
 
316
- _See code: [src/commands/sym-create-module.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.19/src/commands/sym-create-module.ts)_
323
+ _See code: [src/commands/sym-create-module.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/src/commands/sym-create-module.ts)_
317
324
 
318
325
  ## `symphony-cli sym-fn-deploy ENVIRONMENT`
319
326
 
@@ -347,7 +354,7 @@ EXAMPLES
347
354
  --f_url="MyFnApiUrl"
348
355
  ```
349
356
 
350
- _See code: [src/commands/sym-fn-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.19/src/commands/sym-fn-deploy.ts)_
357
+ _See code: [src/commands/sym-fn-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/src/commands/sym-fn-deploy.ts)_
351
358
 
352
359
  ## `symphony-cli sym-nano-deploy`
353
360
 
@@ -365,7 +372,7 @@ EXAMPLE
365
372
  symphony-cli sym-nano-deploy
366
373
  ```
367
374
 
368
- _See code: [src/commands/sym-nano-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.19/src/commands/sym-nano-deploy.ts)_
375
+ _See code: [src/commands/sym-nano-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/src/commands/sym-nano-deploy.ts)_
369
376
 
370
377
  ## `symphony-cli sym-start`
371
378
 
@@ -376,18 +383,24 @@ USAGE
376
383
  $ symphony-cli sym-start
377
384
 
378
385
  OPTIONS
379
- -b, --build for build
380
- -d, --debug for debug
381
- -e, --environment=environment environment variable
382
- -h, --https_port=https_port port to HTTPS server
383
- -p, --http_port=http_port port to HTTP server
384
- --hosted_path=hosted_path application hosted sub path
386
+ -b, --build for build
387
+ -d, --debug for debug
388
+ -e, --environment=environment environment variable
389
+ -h, --https_port=https_port port to HTTPS server
385
390
 
386
- EXAMPLE
391
+ -l, --local_js_dist_path=local_js_dist_path for monorepos, if local.js is not directly under dist. like:
392
+ ./dist/api/local.js
393
+
394
+ -p, --http_port=http_port port to HTTP server
395
+
396
+ --hosted_path=hosted_path application hosted sub path
397
+
398
+ EXAMPLES
387
399
  $ symphony-cli sym-start -b -d
400
+ $ symphony-cli sym-start -l ./dist/api/local.js
388
401
  ```
389
402
 
390
- _See code: [src/commands/sym-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.19/src/commands/sym-start.ts)_
403
+ _See code: [src/commands/sym-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/src/commands/sym-start.ts)_
391
404
 
392
405
  ## `symphony-cli sym-test`
393
406
 
@@ -404,5 +417,5 @@ EXAMPLE
404
417
  $ symphony-cli sym-test
405
418
  ```
406
419
 
407
- _See code: [src/commands/sym-test.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.19/src/commands/sym-test.ts)_
420
+ _See code: [src/commands/sym-test.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.4.21/src/commands/sym-test.ts)_
408
421
  <!-- commandsstop -->
@@ -1,4 +1,4 @@
1
- import { Command } from '@oclif/command';
1
+ import { Command, flags } from '@oclif/command';
2
2
  export default class Build extends Command {
3
3
  static description: string;
4
4
  static examples: string[];
@@ -7,6 +7,7 @@ export default class Build extends Command {
7
7
  skipversion: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
8
8
  swagger: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
9
  swaggerInclusive: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
10
+ local_js_dist_path: flags.IOptionFlag<string | undefined>;
10
11
  };
11
12
  private static versionCheckSetting;
12
13
  run(): Promise<void>;
@@ -25,7 +25,7 @@ class Build extends command_1.Command {
25
25
  log_1.Logger.log({ message: styling_1.Chalk.create("green.bold", "Skipping version checking...") });
26
26
  }
27
27
  if (bwPackages.length == 0) {
28
- this.continueToBuild(flags.watch);
28
+ this.continueToBuild(flags.watch, flags.local_js_dist_path);
29
29
  return;
30
30
  }
31
31
  log_1.Logger.log({ message: styling_1.Chalk.create("yellow.bold", "There are backward packages!\n"), additional: bwPackages });
@@ -35,28 +35,35 @@ class Build extends command_1.Command {
35
35
  return;
36
36
  }
37
37
  log_1.Logger.log({ message: styling_1.Chalk.create("yellow", "Continue to build. (I hope you are aware of what you are doing...)") });
38
- this.continueToBuild(flags.watch);
38
+ this.continueToBuild(flags.watch, flags.local_js_dist_path);
39
39
  });
40
40
  }
41
- async continueToBuild(watch) {
41
+ async continueToBuild(watch, local_js_dist_path) {
42
42
  npmHelper_1.NpmHelper.build({ watch });
43
43
  const { flags } = this.parse(Build);
44
44
  if (flags.swagger)
45
- await new swaggerHelper_1.SwaggerHelper().Swagger("./functions");
45
+ await new swaggerHelper_1.SwaggerHelper().Swagger("./functions", local_js_dist_path);
46
46
  if (flags.swagger && flags.swaggerInclusive)
47
- new swaggerHelper_1.SwaggerHelper().SwaggerSchemaInclusive();
47
+ new swaggerHelper_1.SwaggerHelper().SwaggerSchemaInclusive(local_js_dist_path);
48
48
  log_1.Logger.log({ message: styling_1.Chalk.create("green.bold", "Swagger created/updated successfully."), timeFormat: "datetime" });
49
49
  log_1.Logger.log({ message: styling_1.Chalk.create("green.bold", "Build finished successfully."), timeFormat: "datetime" });
50
50
  }
51
51
  }
52
52
  exports.default = Build;
53
53
  Build.description = 'Plateau-Symphony command to build the app with/without watch';
54
- Build.examples = ["$ symphony-cli sym-build", "$ symphony-cli sym-build -w", "$ symphony-cli sym-build --swagger", "$ symphony-cli sym-build --swagger -i"];
54
+ Build.examples = [
55
+ "$ symphony-cli sym-build",
56
+ "$ symphony-cli sym-build -w",
57
+ "$ symphony-cli sym-build --swagger",
58
+ "$ symphony-cli sym-build --swagger -i",
59
+ "$ symphony-cli sym-build --swagger -l ./dist/api/local.js",
60
+ ];
55
61
  Build.flags = {
56
62
  watch: command_1.flags.boolean({ char: 'w', description: 'for watch' }),
57
63
  skipversion: command_1.flags.boolean({ char: 's', description: 'skip version checking. Used for Deployment' }),
58
64
  swagger: command_1.flags.boolean({ description: 'for swagger generation, this parameter must be given' }),
59
65
  swaggerInclusive: command_1.flags.boolean({ char: 'i', description: 'to make swagger schema inclusive' }),
66
+ local_js_dist_path: command_1.flags.string({ char: "l", description: "for monorepos, if local.js is not directly under dist. like: ./dist/api/local.js" }),
60
67
  };
61
68
  Build.versionCheckSetting = {
62
69
  packageNames: ["@stechquick\/\symphony", "@stechquick\/\symphony-cli"],
@@ -9,6 +9,7 @@ export default class Run extends Command {
9
9
  https_port: import("@oclif/parser/lib/flags").IOptionFlag<number | undefined>;
10
10
  environment: flags.IOptionFlag<string | undefined>;
11
11
  hosted_path: flags.IOptionFlag<string | undefined>;
12
+ local_js_dist_path: flags.IOptionFlag<string | undefined>;
12
13
  };
13
14
  run(): Promise<void>;
14
15
  }
@@ -11,13 +11,17 @@ class Run extends command_1.Command {
11
11
  httpPort: flags.http_port,
12
12
  httpsPort: flags.https_port,
13
13
  hostedPath: flags.hosted_path,
14
+ local_js_dist_path: flags.local_js_dist_path,
14
15
  };
15
16
  npmHelper_1.NpmHelper.run(flags.environment, runSetting);
16
17
  }
17
18
  }
18
19
  exports.default = Run;
19
20
  Run.description = 'Plateau-Symphony command to start your functions with/without debug';
20
- Run.examples = [`$ symphony-cli sym-start -b -d`];
21
+ Run.examples = [
22
+ `$ symphony-cli sym-start -b -d`,
23
+ `$ symphony-cli sym-start -l ./dist/api/local.js`,
24
+ ];
21
25
  Run.flags = {
22
26
  debug: command_1.flags.boolean({ char: 'd', description: 'for debug' }),
23
27
  build: command_1.flags.boolean({ char: 'b', description: 'for build' }),
@@ -25,4 +29,5 @@ Run.flags = {
25
29
  https_port: command_1.flags.integer({ char: 'h', description: 'port to HTTPS server' }),
26
30
  environment: command_1.flags.string({ char: 'e', description: 'environment variable', hidden: false, default: undefined, required: false, }),
27
31
  hosted_path: command_1.flags.string({ description: 'application hosted sub path', required: false }),
32
+ local_js_dist_path: command_1.flags.string({ char: "l", description: "for monorepos, if local.js is not directly under dist. like: ./dist/api/local.js" }),
28
33
  };
@@ -10,14 +10,20 @@ export interface IRunSettings {
10
10
  httpPort?: number;
11
11
  httpsPort?: number;
12
12
  hostedPath?: string;
13
+ local_js_dist_path?: string;
13
14
  }
14
15
  export declare class NpmHelper {
15
16
  private static readonly BUILD_CMD;
16
17
  private static readonly WEBPACK_CMD;
17
18
  static packageInstall(packageName: string): void;
19
+ static findPackagePath(packageName: string): string | undefined;
18
20
  static install(settings: IInstallSettings): void;
19
21
  static build(settings?: IBuildSettings): void;
20
22
  static buildWebpack(settings?: IBuildSettings): void;
23
+ static extractDistAndLocalJsPath(local_js_dist_path: IRunSettings["local_js_dist_path"]): {
24
+ localPath: string;
25
+ distPath: string;
26
+ };
21
27
  static run(environment: string | undefined, settings: IRunSettings): void;
22
28
  static getCurrentPackageVersions(): Record<string, string>;
23
29
  private static execCommand;
@@ -4,6 +4,7 @@ exports.NpmHelper = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const child_process_1 = require("child_process");
6
6
  const fileHelper_1 = require("@stechquick/symphony-common/lib/helpers/fileHelper");
7
+ const fs = tslib_1.__importStar(require("fs"));
7
8
  const path = tslib_1.__importStar(require("path"));
8
9
  const initHelper_1 = require("./initHelper");
9
10
  const log_1 = require("@stechquick/symphony-common/lib/log");
@@ -14,6 +15,16 @@ class NpmHelper {
14
15
  child_process_1.execSync(`npm install ${packageName}`, { stdio: 'inherit' });
15
16
  log_1.Logger.log({ message: styling_1.Chalk.create("green.bold", packageName + " package install finished...") });
16
17
  }
18
+ static findPackagePath(packageName) {
19
+ let packageTarget = undefined;
20
+ for (let i = 0, target = "./node_modules/" + packageName; i < 10; i++, target = "../" + target) {
21
+ if (fs.existsSync(target)) {
22
+ packageTarget = target;
23
+ break;
24
+ }
25
+ }
26
+ return packageTarget;
27
+ }
17
28
  static install(settings) {
18
29
  log_1.Logger.log({ message: styling_1.Chalk.create("green.bold", "Install starting, please wait...") });
19
30
  child_process_1.execSync(`cd ${settings.folderName} && npm install`, { stdio: 'inherit' });
@@ -29,6 +40,22 @@ class NpmHelper {
29
40
  this.execCommand(this.WEBPACK_CMD, settings);
30
41
  log_1.Logger.log({ message: styling_1.Chalk.create("green.bold", "Webpack finished successfully.") });
31
42
  }
43
+ static extractDistAndLocalJsPath(local_js_dist_path) {
44
+ let localPath = './dist/local';
45
+ let distPath = "./dist/";
46
+ if (!local_js_dist_path) {
47
+ return { localPath, distPath };
48
+ }
49
+ if (local_js_dist_path.endsWith("/local.js") || local_js_dist_path.endsWith("/local")) {
50
+ localPath = local_js_dist_path;
51
+ distPath = localPath.substring(0, localPath.length - (local_js_dist_path.endsWith("/local") ? "/local" : "/local.js").length);
52
+ }
53
+ else {
54
+ distPath = local_js_dist_path;
55
+ localPath = path.join(local_js_dist_path, "/local.js");
56
+ }
57
+ return { localPath, distPath };
58
+ }
32
59
  static run(environment, settings) {
33
60
  log_1.Logger.log({ message: styling_1.Chalk.create("green.bold", "Function starting, please wait..."), timeFormat: "datetime" });
34
61
  if (!initHelper_1.InitHelper.AssertInFolder()) {
@@ -37,7 +64,8 @@ class NpmHelper {
37
64
  if (settings.build) {
38
65
  this.build();
39
66
  }
40
- const args = [path.resolve('./dist/local')];
67
+ const { localPath, distPath } = NpmHelper.extractDistAndLocalJsPath(settings.local_js_dist_path);
68
+ const args = [path.resolve(localPath)];
41
69
  if (settings.debug) {
42
70
  args.unshift('--inspect-brk');
43
71
  }
@@ -45,6 +73,7 @@ class NpmHelper {
45
73
  httpPort: settings.httpPort,
46
74
  httpsPort: settings.httpsPort,
47
75
  hostedPath: settings.hostedPath,
76
+ distPath,
48
77
  };
49
78
  args.push(JSON.stringify(customArgs));
50
79
  log_1.Logger.log({ message: "spawning with: ", additional: args });
@@ -1,9 +1,10 @@
1
+ import { IRunSettings } from '../helpers/npmHelper';
1
2
  export declare class SwaggerHelper {
2
- static swaggerTemplate: any;
3
- static existedSwaggerJson: any;
4
- generateJsonSchema(fileName: string, fileData: string): Promise<any>;
5
- appendtoTemplatePaths(fileName: string, obj: any): void;
6
- generateSwaggerJSON(dirPath: string): Promise<any>;
7
- Swagger(path: string): Promise<void>;
8
- SwaggerSchemaInclusive(): Promise<void>;
3
+ private static swaggerTemplate;
4
+ private static existedSwaggerJson;
5
+ private generateJsonSchema;
6
+ private appendtoTemplatePaths;
7
+ private generateSwaggerJSON;
8
+ Swagger(jsonPath: string, local_js_dist_path: IRunSettings["local_js_dist_path"]): Promise<void>;
9
+ SwaggerSchemaInclusive(local_js_dist_path: IRunSettings["local_js_dist_path"]): Promise<void>;
9
10
  }
@@ -5,13 +5,13 @@ const tslib_1 = require("tslib");
5
5
  const typeconv = require("typeconv");
6
6
  const fsExtra = require("fs-extra");
7
7
  const fs_1 = tslib_1.__importDefault(require("fs"));
8
+ const path_1 = tslib_1.__importDefault(require("path"));
8
9
  const npmHelper_1 = require("../helpers/npmHelper");
9
10
  let SwaggerDict = {
10
11
  symSwaggerFolderPath: "./sym-engine/swagger",
11
12
  symSwaggerJsonPath: "./sym-engine/swagger/swagger.json",
12
- distSwaggerFolderPath: "./dist/sym-engine/swagger",
13
- swaggerUIdistPath: "./node_modules/swagger-ui-dist",
14
- distSwaggerUIdistPath: "./dist/sym-engine/swagger/swagger-ui-dist",
13
+ distSwaggerFolderPath: "./sym-engine/swagger",
14
+ distSwaggerUIdistPath: "./sym-engine/swagger/swagger-ui-dist",
15
15
  swaggerPackageName: "swagger-ui-dist"
16
16
  };
17
17
  class SwaggerHelper {
@@ -113,11 +113,11 @@ class SwaggerHelper {
113
113
  }
114
114
  return swaggerJson;
115
115
  }
116
- async Swagger(path) {
117
- let swaggerTemplate = await this.generateSwaggerJSON(path);
116
+ async Swagger(jsonPath, local_js_dist_path) {
117
+ let swaggerTemplate = await this.generateSwaggerJSON(jsonPath);
118
118
  // if swagger.json has been created before, generateSwaggerJSON returns null to prevent overwriting modifications in swagger.json file
119
119
  if (!swaggerTemplate) {
120
- let functions = fs_1.default.readdirSync(path);
120
+ let functions = fs_1.default.readdirSync(jsonPath);
121
121
  SwaggerHelper.existedSwaggerJson = JSON.parse(fs_1.default.readFileSync(SwaggerDict.symSwaggerJsonPath, 'utf8'));
122
122
  functions.forEach(func => {
123
123
  let currFile = func;
@@ -164,18 +164,28 @@ class SwaggerHelper {
164
164
  else {
165
165
  fs_1.default.writeFileSync(SwaggerDict.symSwaggerJsonPath, JSON.stringify(swaggerTemplate));
166
166
  }
167
- await fsExtra.copy(SwaggerDict.symSwaggerFolderPath, SwaggerDict.distSwaggerFolderPath);
168
- if (fs_1.default.existsSync(SwaggerDict.swaggerUIdistPath)) {
169
- fsExtra.copySync(SwaggerDict.swaggerUIdistPath, SwaggerDict.distSwaggerUIdistPath);
167
+ const { distPath } = npmHelper_1.NpmHelper.extractDistAndLocalJsPath(local_js_dist_path);
168
+ const distSwaggerFolderPath = path_1.default.join(distPath, SwaggerDict.distSwaggerFolderPath);
169
+ const distSwaggerUIdistPath = path_1.default.join(distPath, SwaggerDict.distSwaggerUIdistPath);
170
+ await fsExtra.copy(SwaggerDict.symSwaggerFolderPath, distSwaggerFolderPath);
171
+ let swaggerPackagePath = npmHelper_1.NpmHelper.findPackagePath(SwaggerDict.swaggerPackageName);
172
+ if (swaggerPackagePath) {
173
+ fsExtra.copySync(swaggerPackagePath, distSwaggerUIdistPath);
170
174
  return;
171
175
  }
172
176
  npmHelper_1.NpmHelper.packageInstall(SwaggerDict.swaggerPackageName);
173
- fsExtra.copySync(SwaggerDict.swaggerUIdistPath, SwaggerDict.distSwaggerUIdistPath);
177
+ swaggerPackagePath = npmHelper_1.NpmHelper.findPackagePath(SwaggerDict.swaggerPackageName);
178
+ if (!swaggerPackagePath) {
179
+ throw new Error(`node package ${SwaggerDict.swaggerPackageName} could not be located on any node_modules`);
180
+ }
181
+ fsExtra.copySync(swaggerPackagePath, distSwaggerUIdistPath);
174
182
  }
175
- async SwaggerSchemaInclusive() {
183
+ async SwaggerSchemaInclusive(local_js_dist_path) {
176
184
  debugger;
177
185
  let swaggerJson = SwaggerHelper.existedSwaggerJson || SwaggerHelper.swaggerTemplate;
178
186
  let schemas = fs_1.default.readdirSync(SwaggerDict.symSwaggerFolderPath);
187
+ const { distPath } = npmHelper_1.NpmHelper.extractDistAndLocalJsPath(local_js_dist_path);
188
+ const distSwaggerFolderPath = path_1.default.join(distPath, SwaggerDict.distSwaggerFolderPath);
179
189
  schemas.forEach(schema => {
180
190
  if (schema === "swagger.json")
181
191
  return;
@@ -193,7 +203,7 @@ class SwaggerHelper {
193
203
  });
194
204
  });
195
205
  fs_1.default.writeFileSync(SwaggerDict.symSwaggerFolderPath + "/swaggerSchemaInclusive.json", JSON.stringify(swaggerJson));
196
- fsExtra.copy(SwaggerDict.symSwaggerFolderPath, SwaggerDict.distSwaggerFolderPath);
206
+ fsExtra.copy(SwaggerDict.symSwaggerFolderPath, distSwaggerFolderPath);
197
207
  }
198
208
  }
199
209
  exports.SwaggerHelper = SwaggerHelper;
@@ -1 +1 @@
1
- {"version":"0.4.19","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"],"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}},"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"],"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}},"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.4.21","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.4.19",
4
+ "version": "0.4.21",
5
5
  "bin": {
6
6
  "symphony-cli": "./bin/run"
7
7
  },
@@ -22,7 +22,7 @@
22
22
  "@oclif/command": "^1.6.1",
23
23
  "@oclif/config": "^1.15.1",
24
24
  "@oclif/plugin-help": "^3.1.0",
25
- "@stechquick/symphony-common": "^0.1.18",
25
+ "@stechquick/symphony-common": "^0.1.20",
26
26
  "@stechquick/symphony-nanoserver": "^0.2.8",
27
27
  "@stechquick/symphony-nanoserver-wsplugin": "^0.2.4",
28
28
  "@stechquick/algae": "^1.0.221",
@@ -15,8 +15,8 @@
15
15
  "buildWatch": "npm run removeDist && webpack --watch"
16
16
  },
17
17
  "devDependencies": {
18
- "@stechquick/symphony-common": "^0.1.2",
19
- "@stechquick/symphony": "^0.0.15",
18
+ "@stechquick/symphony-common": "^0.1.20",
19
+ "@stechquick/symphony": "^0.0.19",
20
20
  "source-map-loader": "^0.2.4",
21
21
  "ts-loader": "^5.3.3",
22
22
  "typescript": "^3.7.3",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "devDependencies": {
13
13
  "@stechquick/qui": "^1.2.240",
14
- "@stechquick/symphony-cli": "^0.4.17"
14
+ "@stechquick/symphony-cli": "^0.4.21"
15
15
  },
16
16
  "author": "",
17
17
  "license": "ISC",
@@ -14,8 +14,8 @@
14
14
  "devDependencies": {
15
15
  "@types/node": "^12.12.39",
16
16
  "@types/jest": "^26.0.4",
17
- "@stechquick/symphony": "^0.0.15",
18
- "@stechquick/symphony-cli": "^0.4.5",
17
+ "@stechquick/symphony": "^0.0.19",
18
+ "@stechquick/symphony-cli": "^0.4.21",
19
19
  "jest": "^26.1.0",
20
20
  "ts-jest": "^26.1.1",
21
21
  "typescript": "^4.9.4"
@@ -10,7 +10,7 @@
10
10
  "css-loader": "^6.4.0",
11
11
  "namedcomp-build-helper": "^0.2.1",
12
12
  "source-map-loader": "^3.0.0",
13
- "@stechquick/symphony-cli": "^0.4.5",
13
+ "@stechquick/symphony-cli": "^0.4.21",
14
14
  "ts-loader": "^9.2.6",
15
15
  "typescript": "4.4.3",
16
16
  "vue": "^2.6.11",