@stechquick/symphony-cli 0.6.16 → 0.6.18
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/helpers/ui/quiBuilder.d.ts +9 -0
- package/lib/helpers/ui/quiBuilder.js +27 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/templates/createui/{{UIName}}/{{remove}}package.json +2 -2
- package/templates/init/{{AppName}}/{{remove}}package.json +1 -1
- package/templates/nc-create/{{ProjectName}}/{{remove}}package.json +1 -1
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.
|
|
22
|
+
@stechquick/symphony-cli/0.6.18 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.
|
|
85
|
+
_See code: [src/commands/mui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/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.
|
|
102
|
+
_See code: [src/commands/nc-addcomp.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/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.
|
|
120
|
+
_See code: [src/commands/nc-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/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.
|
|
140
|
+
_See code: [src/commands/nc-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.18/src/commands/nc-create.ts)_
|
|
141
141
|
|
|
142
142
|
## `symphony-cli qui-build`
|
|
143
143
|
|
|
@@ -155,7 +155,7 @@ EXAMPLE
|
|
|
155
155
|
$ symphony-cli qui-build --skipPackages
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
_See code: [src/commands/qui-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
159
|
|
|
160
160
|
## `symphony-cli qui-create NAME`
|
|
161
161
|
|
|
@@ -182,7 +182,7 @@ EXAMPLES
|
|
|
182
182
|
symphony-cli qui-create myUI -r=REGISTERY -s=SKIPPACKAGES -d="My Plateau UI project"
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
_See code: [src/commands/qui-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
186
|
|
|
187
187
|
## `symphony-cli qui-start`
|
|
188
188
|
|
|
@@ -199,7 +199,7 @@ EXAMPLE
|
|
|
199
199
|
$ symphony-cli qui-start -b
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
_See code: [src/commands/qui-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
203
|
|
|
204
204
|
## `symphony-cli quick-serve`
|
|
205
205
|
|
|
@@ -222,7 +222,7 @@ EXAMPLES
|
|
|
222
222
|
$ symphony-cli quick-serve -g -r C:/MyPathToServe
|
|
223
223
|
```
|
|
224
224
|
|
|
225
|
-
_See code: [src/commands/quick-serve.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
226
|
|
|
227
227
|
## `symphony-cli studio-sync`
|
|
228
228
|
|
|
@@ -241,7 +241,7 @@ EXAMPLE
|
|
|
241
241
|
$ symphony-cli studio-sync
|
|
242
242
|
```
|
|
243
243
|
|
|
244
|
-
_See code: [src/commands/studio-sync.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
245
|
|
|
246
246
|
## `symphony-cli sym-addfunc FUNCNAME`
|
|
247
247
|
|
|
@@ -258,7 +258,7 @@ EXAMPLE
|
|
|
258
258
|
symphony-cli sym-addfunc havalemenu
|
|
259
259
|
```
|
|
260
260
|
|
|
261
|
-
_See code: [src/commands/sym-addfunc.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
262
|
|
|
263
263
|
## `symphony-cli sym-build`
|
|
264
264
|
|
|
@@ -288,7 +288,7 @@ EXAMPLES
|
|
|
288
288
|
$ symphony-cli sym-build --swagger -l ./dist/api/local.js
|
|
289
289
|
```
|
|
290
290
|
|
|
291
|
-
_See code: [src/commands/sym-build.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
292
|
|
|
293
293
|
## `symphony-cli sym-create NAME`
|
|
294
294
|
|
|
@@ -313,7 +313,7 @@ EXAMPLES
|
|
|
313
313
|
symphony-cli sym-create havale -r=REGISTERY -d="Havale işlemi"
|
|
314
314
|
```
|
|
315
315
|
|
|
316
|
-
_See code: [src/commands/sym-create.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
317
|
|
|
318
318
|
## `symphony-cli sym-create-module NAME`
|
|
319
319
|
|
|
@@ -333,7 +333,7 @@ EXAMPLE
|
|
|
333
333
|
symphony-cli sym-create-module abm -d="abm module description"
|
|
334
334
|
```
|
|
335
335
|
|
|
336
|
-
_See code: [src/commands/sym-create-module.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
337
|
|
|
338
338
|
## `symphony-cli sym-fn-deploy ENVIRONMENT`
|
|
339
339
|
|
|
@@ -367,7 +367,7 @@ EXAMPLES
|
|
|
367
367
|
--f_url="MyFnApiUrl"
|
|
368
368
|
```
|
|
369
369
|
|
|
370
|
-
_See code: [src/commands/sym-fn-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
371
|
|
|
372
372
|
## `symphony-cli sym-nano-deploy`
|
|
373
373
|
|
|
@@ -385,7 +385,7 @@ EXAMPLE
|
|
|
385
385
|
symphony-cli sym-nano-deploy
|
|
386
386
|
```
|
|
387
387
|
|
|
388
|
-
_See code: [src/commands/sym-nano-deploy.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
389
|
|
|
390
390
|
## `symphony-cli sym-start`
|
|
391
391
|
|
|
@@ -413,7 +413,7 @@ EXAMPLES
|
|
|
413
413
|
$ symphony-cli sym-start -l ./dist/api/local.js
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/sym-start.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
417
|
|
|
418
418
|
## `symphony-cli sym-test`
|
|
419
419
|
|
|
@@ -430,5 +430,5 @@ EXAMPLE
|
|
|
430
430
|
$ symphony-cli sym-test
|
|
431
431
|
```
|
|
432
432
|
|
|
433
|
-
_See code: [src/commands/sym-test.ts](https://github.com/alper-batioglu/symphony-cli/blob/v0.6.
|
|
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
434
|
<!-- commandsstop -->
|
|
@@ -4,6 +4,15 @@ export interface FolderCopierOptions {
|
|
|
4
4
|
export declare class FolderCopier {
|
|
5
5
|
private getProjectVersion;
|
|
6
6
|
private injectBuildOptionsToIndex;
|
|
7
|
+
/**
|
|
8
|
+
* SECURITY: strip raw server-side config from the client-served folder.
|
|
9
|
+
* The browser only ever loads the bundled settings_web.js / settings_iam.js; the source
|
|
10
|
+
* config files (settings.yaml, localProxy.yaml, any *.yaml/*.yml at the settings root) are
|
|
11
|
+
* NOT fetched at runtime, but the static server would otherwise hand them out as a plain
|
|
12
|
+
* download — leaking backend hosts, proxy targets and IAM details. Remove them from the
|
|
13
|
+
* client copy only; ./dist/server/settings keeps the full set for server-side use.
|
|
14
|
+
*/
|
|
15
|
+
private stripServerConfigFromClient;
|
|
7
16
|
private deleteFolder;
|
|
8
17
|
private deleteFoldersByName;
|
|
9
18
|
private deleteSkippedFolders;
|
|
@@ -43,6 +43,32 @@ class FolderCopier {
|
|
|
43
43
|
}
|
|
44
44
|
fs.writeFileSync(indexPath, indexContent, { encoding: "utf-8" });
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* SECURITY: strip raw server-side config from the client-served folder.
|
|
48
|
+
* The browser only ever loads the bundled settings_web.js / settings_iam.js; the source
|
|
49
|
+
* config files (settings.yaml, localProxy.yaml, any *.yaml/*.yml at the settings root) are
|
|
50
|
+
* NOT fetched at runtime, but the static server would otherwise hand them out as a plain
|
|
51
|
+
* download — leaking backend hosts, proxy targets and IAM details. Remove them from the
|
|
52
|
+
* client copy only; ./dist/server/settings keeps the full set for server-side use.
|
|
53
|
+
*/
|
|
54
|
+
stripServerConfigFromClient() {
|
|
55
|
+
const clientSettings = "./dist/client/settings";
|
|
56
|
+
if (!fs.existsSync(clientSettings)) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
fs.readdirSync(clientSettings).forEach(name => {
|
|
60
|
+
const itemPath = path.join(clientSettings, name);
|
|
61
|
+
try {
|
|
62
|
+
if (fs.statSync(itemPath).isFile() && /\.ya?ml$/i.test(name)) {
|
|
63
|
+
fs.unlinkSync(itemPath);
|
|
64
|
+
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", `Removed server config from client: ${name}`), timeFormat: "datetime" });
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
catch (error) {
|
|
68
|
+
// best-effort cleanup; never fail the build over it
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
46
72
|
deleteFolder(folderPath) {
|
|
47
73
|
if (!fs.existsSync(folderPath)) {
|
|
48
74
|
return;
|
|
@@ -114,6 +140,7 @@ class FolderCopier {
|
|
|
114
140
|
fileHelper_1.CopyFile("./worker/a9e657cbf4abb977edda.worker.js", "./dist/client", { copyIfExists: true }); // copies worker.js file to dist/client
|
|
115
141
|
await new quickSettingsBundler_1.QuickSettingsBundler().bundleSettings("./dist", { yaml: { load: yamlContent => js_yaml_1.default.load(yamlContent) } });
|
|
116
142
|
this.deleteSkippedFolders(options);
|
|
143
|
+
this.stripServerConfigFromClient(); // SECURITY: run last so bundleSettings/mapDirectorytoSettingsYaml can't re-expose raw config
|
|
117
144
|
log_1.Logger.log({ message: chalk_1.Chalk.create("green.bold", "Folders copied successfully."), timeFormat: "datetime" });
|
|
118
145
|
}
|
|
119
146
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.6.16","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.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":[]}}}
|
package/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"quick:serve": "symphony-cli quick-serve"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@stechquick/qui": "4.0.1-
|
|
14
|
-
"@stechquick/symphony-cli": "0.6.
|
|
13
|
+
"@stechquick/qui": "4.0.1-1",
|
|
14
|
+
"@stechquick/symphony-cli": "0.6.17"
|
|
15
15
|
},
|
|
16
16
|
"author": "",
|
|
17
17
|
"license": "ISC",
|