@stechquick/symphony-cli 0.6.18 → 0.6.19

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.6.18 linux-x64 node-v16.20.2
22
+ @stechquick/symphony-cli/0.6.19 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.6.18/src/commands/mui-create.ts)_
85
+ _See code: [src/commands/mui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/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.6.18/src/commands/nc-addcomp.ts)_
102
+ _See code: [src/commands/nc-addcomp.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/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.6.18/src/commands/nc-build.ts)_
120
+ _See code: [src/commands/nc-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/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.6.18/src/commands/nc-create.ts)_
140
+ _See code: [src/commands/nc-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/nc-create.ts)_
141
141
 
142
142
  ## `symphony-cli qui-build`
143
143
 
@@ -150,12 +150,13 @@ USAGE
150
150
  OPTIONS
151
151
  -w, --watch
152
152
  --skipPackages Do not include packages folders in dist
153
+ --useSettings Include settings folders in dist
153
154
 
154
155
  EXAMPLE
155
156
  $ symphony-cli qui-build --skipPackages
156
157
  ```
157
158
 
158
- _See code: [src/commands/qui-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/qui-build.ts)_
159
+ _See code: [src/commands/qui-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/qui-build.ts)_
159
160
 
160
161
  ## `symphony-cli qui-create NAME`
161
162
 
@@ -182,7 +183,7 @@ EXAMPLES
182
183
  symphony-cli qui-create myUI -r=REGISTERY -s=SKIPPACKAGES -d="My Plateau UI project"
183
184
  ```
184
185
 
185
- _See code: [src/commands/qui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/qui-create.ts)_
186
+ _See code: [src/commands/qui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/qui-create.ts)_
186
187
 
187
188
  ## `symphony-cli qui-start`
188
189
 
@@ -199,7 +200,7 @@ EXAMPLE
199
200
  $ symphony-cli qui-start -b
200
201
  ```
201
202
 
202
- _See code: [src/commands/qui-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/qui-start.ts)_
203
+ _See code: [src/commands/qui-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/qui-start.ts)_
203
204
 
204
205
  ## `symphony-cli quick-serve`
205
206
 
@@ -222,7 +223,7 @@ EXAMPLES
222
223
  $ symphony-cli quick-serve -g -r C:/MyPathToServe
223
224
  ```
224
225
 
225
- _See code: [src/commands/quick-serve.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/quick-serve.ts)_
226
+ _See code: [src/commands/quick-serve.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/quick-serve.ts)_
226
227
 
227
228
  ## `symphony-cli studio-sync`
228
229
 
@@ -241,7 +242,7 @@ EXAMPLE
241
242
  $ symphony-cli studio-sync
242
243
  ```
243
244
 
244
- _See code: [src/commands/studio-sync.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/studio-sync.ts)_
245
+ _See code: [src/commands/studio-sync.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/studio-sync.ts)_
245
246
 
246
247
  ## `symphony-cli sym-addfunc FUNCNAME`
247
248
 
@@ -258,7 +259,7 @@ EXAMPLE
258
259
  symphony-cli sym-addfunc havalemenu
259
260
  ```
260
261
 
261
- _See code: [src/commands/sym-addfunc.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/sym-addfunc.ts)_
262
+ _See code: [src/commands/sym-addfunc.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/sym-addfunc.ts)_
262
263
 
263
264
  ## `symphony-cli sym-build`
264
265
 
@@ -288,7 +289,7 @@ EXAMPLES
288
289
  $ symphony-cli sym-build --swagger -l ./dist/api/local.js
289
290
  ```
290
291
 
291
- _See code: [src/commands/sym-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/sym-build.ts)_
292
+ _See code: [src/commands/sym-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/sym-build.ts)_
292
293
 
293
294
  ## `symphony-cli sym-create NAME`
294
295
 
@@ -313,7 +314,7 @@ EXAMPLES
313
314
  symphony-cli sym-create havale -r=REGISTERY -d="Havale işlemi"
314
315
  ```
315
316
 
316
- _See code: [src/commands/sym-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/sym-create.ts)_
317
+ _See code: [src/commands/sym-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/sym-create.ts)_
317
318
 
318
319
  ## `symphony-cli sym-create-module NAME`
319
320
 
@@ -333,7 +334,7 @@ EXAMPLE
333
334
  symphony-cli sym-create-module abm -d="abm module description"
334
335
  ```
335
336
 
336
- _See code: [src/commands/sym-create-module.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/sym-create-module.ts)_
337
+ _See code: [src/commands/sym-create-module.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/sym-create-module.ts)_
337
338
 
338
339
  ## `symphony-cli sym-fn-deploy ENVIRONMENT`
339
340
 
@@ -367,7 +368,7 @@ EXAMPLES
367
368
  --f_url="MyFnApiUrl"
368
369
  ```
369
370
 
370
- _See code: [src/commands/sym-fn-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/sym-fn-deploy.ts)_
371
+ _See code: [src/commands/sym-fn-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/sym-fn-deploy.ts)_
371
372
 
372
373
  ## `symphony-cli sym-nano-deploy`
373
374
 
@@ -385,7 +386,7 @@ EXAMPLE
385
386
  symphony-cli sym-nano-deploy
386
387
  ```
387
388
 
388
- _See code: [src/commands/sym-nano-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/sym-nano-deploy.ts)_
389
+ _See code: [src/commands/sym-nano-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/sym-nano-deploy.ts)_
389
390
 
390
391
  ## `symphony-cli sym-start`
391
392
 
@@ -413,7 +414,7 @@ EXAMPLES
413
414
  $ symphony-cli sym-start -l ./dist/api/local.js
414
415
  ```
415
416
 
416
- _See code: [src/commands/sym-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/sym-start.ts)_
417
+ _See code: [src/commands/sym-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/sym-start.ts)_
417
418
 
418
419
  ## `symphony-cli sym-test`
419
420
 
@@ -430,5 +431,5 @@ EXAMPLE
430
431
  $ symphony-cli sym-test
431
432
  ```
432
433
 
433
- _See code: [src/commands/sym-test.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/sym-test.ts)_
434
+ _See code: [src/commands/sym-test.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.19/src/commands/sym-test.ts)_
434
435
  <!-- commandsstop -->
@@ -5,6 +5,7 @@ export default class BuildUI extends Command {
5
5
  static flags: {
6
6
  watch: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
7
7
  skipPackages: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
8
+ useSettings: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
8
9
  };
9
10
  run(): Promise<void>;
10
11
  }
@@ -8,8 +8,9 @@ class BuildUI extends command_1.Command {
8
8
  async run() {
9
9
  const { flags } = this.parse(BuildUI);
10
10
  const skipPackages = flags.skipPackages;
11
+ const useSettings = flags.useSettings;
11
12
  log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Build started..."), timeFormat: "datetime" });
12
- await new quiBuilder_1.FolderCopier().Execute({ skipPackages });
13
+ await new quiBuilder_1.FolderCopier().Execute({ skipPackages, useSettings });
13
14
  log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Build completed successfully."), timeFormat: "datetime" });
14
15
  }
15
16
  }
@@ -21,4 +22,7 @@ BuildUI.flags = {
21
22
  skipPackages: command_1.flags.boolean({
22
23
  description: 'Do not include packages folders in dist',
23
24
  }),
25
+ useSettings: command_1.flags.boolean({
26
+ description: 'Include settings folders in dist',
27
+ }),
24
28
  };
@@ -1,5 +1,6 @@
1
1
  export interface FolderCopierOptions {
2
2
  skipPackages?: boolean;
3
+ useSettings?: boolean;
3
4
  }
4
5
  export declare class FolderCopier {
5
6
  private getProjectVersion;
@@ -28,11 +28,13 @@ class FolderCopier {
28
28
  }
29
29
  const buildOptions = {
30
30
  skipPackages: options.skipPackages === true,
31
+ useSettings: options.useSettings === true,
31
32
  };
32
33
  let indexContent = fs.readFileSync(indexPath, { encoding: "utf-8" });
33
34
  indexContent = indexContent
34
35
  .replace(/<<version>>/g, this.getProjectVersion())
35
- .replace(/<<(?:narQUI|skipPackages)>>/g, buildOptions.skipPackages ? "true" : "false");
36
+ .replace(/<<skipPackages>>/g, buildOptions.skipPackages ? "true" : "false")
37
+ .replace(/<<useSettings>>/g, buildOptions.useSettings ? "true" : "false");
36
38
  if (!indexContent.includes("window.__quiBuildOptions")) {
37
39
  const buildOptionsScript = [
38
40
  " <script>",
@@ -97,8 +99,10 @@ class FolderCopier {
97
99
  deleteSkippedFolders(options) {
98
100
  if (options.skipPackages) {
99
101
  this.deleteFoldersByName("./dist", ["packages"]);
100
- this.deleteFolder("./dist/client/settings");
101
102
  this.deleteFolder("./dist/client/library");
103
+ if (!options.useSettings) {
104
+ this.deleteFolder("./dist/client/settings");
105
+ }
102
106
  }
103
107
  }
104
108
  checkContainerServicesFile(settings) {
@@ -1 +1 @@
1
- {"version":"0.6.18","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 --skipPackages"],"flags":{"watch":{"name":"watch","type":"boolean","char":"w","allowNo":false},"skipPackages":{"name":"skipPackages","type":"boolean","description":"Do not include packages folders in dist","allowNo":false}},"args":[]},"qui-create":{"id":"qui-create","description":"Plateau-UI command to create a new Plateau 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 Plateau UI project\"","symphony-cli qui-create myUI -r=REGISTERY","symphony-cli qui-create myUI -r=REGISTERY -d=\"My Plateau UI project\"","symphony-cli qui-create myUI -r=REGISTERY -s=SKIPPACKAGES -d=\"My Plateau 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":false,"default":""},"registry":{"name":"registry","type":"option","char":"r","description":"your registery address (example: nexus address)","hidden":false,"required":false,"default":""},"skipPackages":{"name":"skipPackages","type":"option","char":"s","description":"Skip packages and use the shell's WebSDK end settings","hidden":false,"required":false,"default":""}},"args":[{"name":"name","description":"input Plateau 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 -t=TOKEN","symphony-cli sym-create havale -t=TOKEN -d=\"Havale işlemi\"","symphony-cli sym-create havale -r=REGISTERY","symphony-cli sym-create havale -r=REGISTERY -d=\"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":false,"default":""},"registry":{"name":"registry","type":"option","char":"r","description":"your registery address (example: nexus address)","hidden":false,"required":false,"default":""}},"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.6.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 --skipPackages"],"flags":{"watch":{"name":"watch","type":"boolean","char":"w","allowNo":false},"skipPackages":{"name":"skipPackages","type":"boolean","description":"Do not include packages folders in dist","allowNo":false},"useSettings":{"name":"useSettings","type":"boolean","description":"Include settings folders in dist","allowNo":false}},"args":[]},"qui-create":{"id":"qui-create","description":"Plateau-UI command to create a new Plateau 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 Plateau UI project\"","symphony-cli qui-create myUI -r=REGISTERY","symphony-cli qui-create myUI -r=REGISTERY -d=\"My Plateau UI project\"","symphony-cli qui-create myUI -r=REGISTERY -s=SKIPPACKAGES -d=\"My Plateau 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":false,"default":""},"registry":{"name":"registry","type":"option","char":"r","description":"your registery address (example: nexus address)","hidden":false,"required":false,"default":""},"skipPackages":{"name":"skipPackages","type":"option","char":"s","description":"Skip packages and use the shell's WebSDK end settings","hidden":false,"required":false,"default":""}},"args":[{"name":"name","description":"input Plateau 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 -t=TOKEN","symphony-cli sym-create havale -t=TOKEN -d=\"Havale işlemi\"","symphony-cli sym-create havale -r=REGISTERY","symphony-cli sym-create havale -r=REGISTERY -d=\"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":false,"default":""},"registry":{"name":"registry","type":"option","char":"r","description":"your registery address (example: nexus address)","hidden":false,"required":false,"default":""}},"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.6.18",
4
+ "version": "0.6.19",
5
5
  "bin": {
6
6
  "symphony-cli": "./bin/run"
7
7
  },