@saltcorn/cli 0.5.6 → 0.6.0-alpha.0
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 +27 -27
- package/npm-shrinkwrap.json +38 -38
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
|
|
|
20
20
|
$ saltcorn COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ saltcorn (-v|--version|version)
|
|
23
|
-
@saltcorn/cli/0.
|
|
23
|
+
@saltcorn/cli/0.6.0-alpha.0 darwin-x64 node-v14.16.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -68,7 +68,7 @@ USAGE
|
|
|
68
68
|
$ saltcorn add-schema
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
71
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/add-schema.js)_
|
|
72
72
|
|
|
73
73
|
## `saltcorn backup`
|
|
74
74
|
|
|
@@ -84,7 +84,7 @@ OPTIONS
|
|
|
84
84
|
-z, --zip zip format
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
87
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/backup.js)_
|
|
88
88
|
|
|
89
89
|
## `saltcorn create-tenant TENANT`
|
|
90
90
|
|
|
@@ -102,7 +102,7 @@ OPTIONS
|
|
|
102
102
|
-e, --email=email Email of owner of tenant
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
105
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/create-tenant.js)_
|
|
106
106
|
|
|
107
107
|
## `saltcorn create-user`
|
|
108
108
|
|
|
@@ -120,7 +120,7 @@ OPTIONS
|
|
|
120
120
|
-t, --tenant=tenant tenant
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
123
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/create-user.js)_
|
|
124
124
|
|
|
125
125
|
## `saltcorn fixtures`
|
|
126
126
|
|
|
@@ -138,7 +138,7 @@ DESCRIPTION
|
|
|
138
138
|
This manual step it is never required for users and rarely required for developers
|
|
139
139
|
```
|
|
140
140
|
|
|
141
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
141
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/fixtures.js)_
|
|
142
142
|
|
|
143
143
|
## `saltcorn help [COMMAND]`
|
|
144
144
|
|
|
@@ -176,7 +176,7 @@ ALIASES
|
|
|
176
176
|
$ saltcorn paths
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
179
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/info.js)_
|
|
180
180
|
|
|
181
181
|
## `saltcorn install-pack`
|
|
182
182
|
|
|
@@ -192,7 +192,7 @@ OPTIONS
|
|
|
192
192
|
-t, --tenant=tenant tenant
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
195
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/install-pack.js)_
|
|
196
196
|
|
|
197
197
|
## `saltcorn install-plugin`
|
|
198
198
|
|
|
@@ -208,7 +208,7 @@ OPTIONS
|
|
|
208
208
|
-t, --tenant=tenant tenant
|
|
209
209
|
```
|
|
210
210
|
|
|
211
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
211
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/install-plugin.js)_
|
|
212
212
|
|
|
213
213
|
## `saltcorn list-tenants`
|
|
214
214
|
|
|
@@ -219,7 +219,7 @@ USAGE
|
|
|
219
219
|
$ saltcorn list-tenants
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
222
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/list-tenants.js)_
|
|
223
223
|
|
|
224
224
|
## `saltcorn localize-plugin PLUGIN PATH`
|
|
225
225
|
|
|
@@ -234,7 +234,7 @@ ARGUMENTS
|
|
|
234
234
|
PATH path to local plugin
|
|
235
235
|
```
|
|
236
236
|
|
|
237
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
237
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/localize-plugin.js)_
|
|
238
238
|
|
|
239
239
|
## `saltcorn make-migration`
|
|
240
240
|
|
|
@@ -250,7 +250,7 @@ DESCRIPTION
|
|
|
250
250
|
unless you are a developer.
|
|
251
251
|
```
|
|
252
252
|
|
|
253
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
253
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/make-migration.js)_
|
|
254
254
|
|
|
255
255
|
## `saltcorn saltcorn migrate`
|
|
256
256
|
|
|
@@ -272,7 +272,7 @@ DESCRIPTION
|
|
|
272
272
|
servers and need to control when the migrations are run.
|
|
273
273
|
```
|
|
274
274
|
|
|
275
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
275
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/migrate.js)_
|
|
276
276
|
|
|
277
277
|
## `saltcorn plugins`
|
|
278
278
|
|
|
@@ -299,7 +299,7 @@ EXAMPLES
|
|
|
299
299
|
plugins -u -f - force plugin update
|
|
300
300
|
```
|
|
301
301
|
|
|
302
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
302
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/plugins.js)_
|
|
303
303
|
|
|
304
304
|
## `saltcorn release VERSION`
|
|
305
305
|
|
|
@@ -313,7 +313,7 @@ ARGUMENTS
|
|
|
313
313
|
VERSION New version number
|
|
314
314
|
```
|
|
315
315
|
|
|
316
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
316
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/release.js)_
|
|
317
317
|
|
|
318
318
|
## `saltcorn reset-schema`
|
|
319
319
|
|
|
@@ -332,7 +332,7 @@ DESCRIPTION
|
|
|
332
332
|
This will delete all existing information
|
|
333
333
|
```
|
|
334
334
|
|
|
335
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
335
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/reset-schema.js)_
|
|
336
336
|
|
|
337
337
|
## `saltcorn restore FILE`
|
|
338
338
|
|
|
@@ -349,7 +349,7 @@ OPTIONS
|
|
|
349
349
|
-t, --tenant=tenant tenant
|
|
350
350
|
```
|
|
351
351
|
|
|
352
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
352
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/restore.js)_
|
|
353
353
|
|
|
354
354
|
## `saltcorn rm-tenant TENANT`
|
|
355
355
|
|
|
@@ -363,7 +363,7 @@ ARGUMENTS
|
|
|
363
363
|
TENANT Tenant to remove
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
366
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/rm-tenant.js)_
|
|
367
367
|
|
|
368
368
|
## `saltcorn run-benchmark [BASEURL]`
|
|
369
369
|
|
|
@@ -382,7 +382,7 @@ OPTIONS
|
|
|
382
382
|
-t, --token=token API Token for reporting results
|
|
383
383
|
```
|
|
384
384
|
|
|
385
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
385
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/run-benchmark.js)_
|
|
386
386
|
|
|
387
387
|
## `saltcorn run-tests [PACKAGE]`
|
|
388
388
|
|
|
@@ -400,7 +400,7 @@ OPTIONS
|
|
|
400
400
|
-f, --forever Run forever till failure
|
|
401
401
|
```
|
|
402
402
|
|
|
403
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
403
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/run-tests.js)_
|
|
404
404
|
|
|
405
405
|
## `saltcorn scheduler`
|
|
406
406
|
|
|
@@ -414,7 +414,7 @@ OPTIONS
|
|
|
414
414
|
-v, --verbose Verbose
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
417
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/scheduler.js)_
|
|
418
418
|
|
|
419
419
|
## `saltcorn serve`
|
|
420
420
|
|
|
@@ -433,7 +433,7 @@ OPTIONS
|
|
|
433
433
|
-v, --verbose Verbose
|
|
434
434
|
```
|
|
435
435
|
|
|
436
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
436
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/serve.js)_
|
|
437
437
|
|
|
438
438
|
## `saltcorn set-cfg KEY VALUE`
|
|
439
439
|
|
|
@@ -452,7 +452,7 @@ OPTIONS
|
|
|
452
452
|
-t, --tenant=tenant tenant
|
|
453
453
|
```
|
|
454
454
|
|
|
455
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
455
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/set-cfg.js)_
|
|
456
456
|
|
|
457
457
|
## `saltcorn setup`
|
|
458
458
|
|
|
@@ -471,7 +471,7 @@ DESCRIPTION
|
|
|
471
471
|
configuration file
|
|
472
472
|
```
|
|
473
473
|
|
|
474
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
474
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/setup.js)_
|
|
475
475
|
|
|
476
476
|
## `saltcorn setup-benchmark`
|
|
477
477
|
|
|
@@ -485,7 +485,7 @@ OPTIONS
|
|
|
485
485
|
-t, --tenant=tenant tenant
|
|
486
486
|
```
|
|
487
487
|
|
|
488
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
488
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/setup-benchmark.js)_
|
|
489
489
|
|
|
490
490
|
## `saltcorn test-plugin PATH`
|
|
491
491
|
|
|
@@ -503,7 +503,7 @@ DESCRIPTION
|
|
|
503
503
|
Extra documentation goes here
|
|
504
504
|
```
|
|
505
505
|
|
|
506
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
506
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/test-plugin.js)_
|
|
507
507
|
|
|
508
508
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
509
509
|
|
|
@@ -520,5 +520,5 @@ ARGUMENTS
|
|
|
520
520
|
TENANT tenant name
|
|
521
521
|
```
|
|
522
522
|
|
|
523
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.
|
|
523
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0-alpha.0/src/commands/transform-field.js)_
|
|
524
524
|
<!-- commandsstop -->
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-alpha.0",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -910,27 +910,27 @@
|
|
|
910
910
|
}
|
|
911
911
|
},
|
|
912
912
|
"@saltcorn/base-plugin": {
|
|
913
|
-
"version": "0.
|
|
914
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.
|
|
915
|
-
"integrity": "sha512-
|
|
913
|
+
"version": "0.6.0-alpha.0",
|
|
914
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.0-alpha.0.tgz",
|
|
915
|
+
"integrity": "sha512-y794FefzMlauiXjVoLX+avKmZKDIudtRQL88WoCM9sYiJxD29AM0ntPemifCJrkSYwI+aqcAX5Ijf3K3GAqi6A==",
|
|
916
916
|
"requires": {
|
|
917
|
-
"@saltcorn/data": "0.
|
|
917
|
+
"@saltcorn/data": "0.6.0-alpha.0"
|
|
918
918
|
}
|
|
919
919
|
},
|
|
920
920
|
"@saltcorn/builder": {
|
|
921
|
-
"version": "0.
|
|
922
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.
|
|
923
|
-
"integrity": "sha512-
|
|
921
|
+
"version": "0.6.0-alpha.0",
|
|
922
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.0-alpha.0.tgz",
|
|
923
|
+
"integrity": "sha512-nRxA7TVJge4FCS3ddQvQZG8hCFprrR8JXaX8Dp3cz4dyBEKFQxse2xAU53Qwmhq7dk34/aamwUIINe95znCTLg==",
|
|
924
924
|
"requires": {
|
|
925
925
|
"styled-components": "^4.4.1"
|
|
926
926
|
}
|
|
927
927
|
},
|
|
928
928
|
"@saltcorn/data": {
|
|
929
|
-
"version": "0.
|
|
930
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.
|
|
931
|
-
"integrity": "sha512-
|
|
929
|
+
"version": "0.6.0-alpha.0",
|
|
930
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.0-alpha.0.tgz",
|
|
931
|
+
"integrity": "sha512-4UqWvE1NwDDcNP7VoOnJNPL4pL1D5Xztxg+8gUc2TfdqjiE8vN3YuK0rUUib2+U3Q/ZW79FGIcSVua/pCIIuaw==",
|
|
932
932
|
"requires": {
|
|
933
|
-
"@saltcorn/markup": "0.
|
|
933
|
+
"@saltcorn/markup": "0.6.0-alpha.0",
|
|
934
934
|
"acorn": "^8.0.3",
|
|
935
935
|
"adm-zip": "0.5.5",
|
|
936
936
|
"astring": "^1.4.3",
|
|
@@ -961,9 +961,9 @@
|
|
|
961
961
|
}
|
|
962
962
|
},
|
|
963
963
|
"@saltcorn/markup": {
|
|
964
|
-
"version": "0.
|
|
965
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.
|
|
966
|
-
"integrity": "sha512-
|
|
964
|
+
"version": "0.6.0-alpha.0",
|
|
965
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.0-alpha.0.tgz",
|
|
966
|
+
"integrity": "sha512-jOfoZoUGEGLX3OdeJDAe/P/I3DN7MyDcQYAYqJRB1ouTbanU1OqKdutwIQg6iju3XYjl7rQ7RdW19zEiStmV4Q==",
|
|
967
967
|
"requires": {
|
|
968
968
|
"contractis": "^0.1.0",
|
|
969
969
|
"escape-html": "^1.0.3",
|
|
@@ -972,25 +972,25 @@
|
|
|
972
972
|
}
|
|
973
973
|
},
|
|
974
974
|
"@saltcorn/sbadmin2": {
|
|
975
|
-
"version": "0.
|
|
976
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.
|
|
977
|
-
"integrity": "sha512-
|
|
975
|
+
"version": "0.6.0-alpha.0",
|
|
976
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.0-alpha.0.tgz",
|
|
977
|
+
"integrity": "sha512-w1CHjpiVUNguL7LtODvlu8jfcOnqd1Cg5FnovJ5j1ZQlRjooozrSt9wcTyL2KD97ZKkx/6eHvMxeRxJgqCO4Lw==",
|
|
978
978
|
"requires": {
|
|
979
|
-
"@saltcorn/data": "0.
|
|
980
|
-
"@saltcorn/markup": "0.
|
|
979
|
+
"@saltcorn/data": "0.6.0-alpha.0",
|
|
980
|
+
"@saltcorn/markup": "0.6.0-alpha.0",
|
|
981
981
|
"startbootstrap-sb-admin-2": "^4.1.4"
|
|
982
982
|
}
|
|
983
983
|
},
|
|
984
984
|
"@saltcorn/server": {
|
|
985
|
-
"version": "0.
|
|
986
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.
|
|
987
|
-
"integrity": "sha512
|
|
988
|
-
"requires": {
|
|
989
|
-
"@saltcorn/base-plugin": "0.
|
|
990
|
-
"@saltcorn/builder": "0.
|
|
991
|
-
"@saltcorn/data": "0.
|
|
992
|
-
"@saltcorn/markup": "0.
|
|
993
|
-
"@saltcorn/sbadmin2": "0.
|
|
985
|
+
"version": "0.6.0-alpha.0",
|
|
986
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.0-alpha.0.tgz",
|
|
987
|
+
"integrity": "sha512-+0bXIOB8aZRSk2uvR/tgSBQyB8D9ZmZ7joWtrbDmg6he1nM+PuU0e+MGmm0rvyhBEIMyFQGhvKOyYmBqbOA5Bg==",
|
|
988
|
+
"requires": {
|
|
989
|
+
"@saltcorn/base-plugin": "0.6.0-alpha.0",
|
|
990
|
+
"@saltcorn/builder": "0.6.0-alpha.0",
|
|
991
|
+
"@saltcorn/data": "0.6.0-alpha.0",
|
|
992
|
+
"@saltcorn/markup": "0.6.0-alpha.0",
|
|
993
|
+
"@saltcorn/sbadmin2": "0.6.0-alpha.0",
|
|
994
994
|
"@socket.io/cluster-adapter": "^0.1.0",
|
|
995
995
|
"@socket.io/sticky": "^1.0.1",
|
|
996
996
|
"connect-flash": "^0.1.1",
|
|
@@ -4689,11 +4689,6 @@
|
|
|
4689
4689
|
"resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz",
|
|
4690
4690
|
"integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ=="
|
|
4691
4691
|
},
|
|
4692
|
-
"nanocolors": {
|
|
4693
|
-
"version": "0.2.12",
|
|
4694
|
-
"resolved": "https://registry.npmjs.org/nanocolors/-/nanocolors-0.2.12.tgz",
|
|
4695
|
-
"integrity": "sha512-SFNdALvzW+rVlzqexid6epYdt8H9Zol7xDoQarioEFcFN0JHo4CYNztAxmtfgGTVRCmFlEOqqhBpoFGKqSAMug=="
|
|
4696
|
-
},
|
|
4697
4692
|
"natural-orderby": {
|
|
4698
4693
|
"version": "2.0.3",
|
|
4699
4694
|
"resolved": "https://registry.npmjs.org/natural-orderby/-/natural-orderby-2.0.3.tgz",
|
|
@@ -5339,6 +5334,11 @@
|
|
|
5339
5334
|
"split2": "^3.1.1"
|
|
5340
5335
|
}
|
|
5341
5336
|
},
|
|
5337
|
+
"picocolors": {
|
|
5338
|
+
"version": "0.2.1",
|
|
5339
|
+
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz",
|
|
5340
|
+
"integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA=="
|
|
5341
|
+
},
|
|
5342
5342
|
"picomatch": {
|
|
5343
5343
|
"version": "2.2.2",
|
|
5344
5344
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
|
|
@@ -5387,11 +5387,11 @@
|
|
|
5387
5387
|
"integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA=="
|
|
5388
5388
|
},
|
|
5389
5389
|
"postcss": {
|
|
5390
|
-
"version": "7.0.
|
|
5391
|
-
"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.
|
|
5392
|
-
"integrity": "sha512-
|
|
5390
|
+
"version": "7.0.39",
|
|
5391
|
+
"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz",
|
|
5392
|
+
"integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==",
|
|
5393
5393
|
"requires": {
|
|
5394
|
-
"
|
|
5394
|
+
"picocolors": "^0.2.1",
|
|
5395
5395
|
"source-map": "^0.6.1"
|
|
5396
5396
|
}
|
|
5397
5397
|
},
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.5.6","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false}},"args":[]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"install-pack":{"id":"install-pack","description":"Install a pack","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"localize-plugin":{"id":"localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"path to local plugin","required":true}]},"make-migration":{"id":"make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"release":{"id":"release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"version","description":"New version number","required":true}]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"tenant","description":"Tenant to remove","required":true}]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"forever":{"name":"forever","type":"boolean","char":"f","description":"Run forever till failure","allowNo":false}},"args":[{"name":"package","description":"which package to run tests for"}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false}},"args":[]},"set-cfg":{"id":"set-cfg","description":"Set a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true},{"name":"value","description":"Configuration value (JSON or string)","required":true}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a \nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"test-plugin":{"id":"test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]}}}
|
|
1
|
+
{"version":"0.6.0-alpha.0","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false}},"args":[]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"install-pack":{"id":"install-pack","description":"Install a pack","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"localize-plugin":{"id":"localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"path to local plugin","required":true}]},"make-migration":{"id":"make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"release":{"id":"release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"version","description":"New version number","required":true}]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"tenant","description":"Tenant to remove","required":true}]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"forever":{"name":"forever","type":"boolean","char":"f","description":"Run forever till failure","allowNo":false}},"args":[{"name":"package","description":"which package to run tests for"}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false}},"args":[]},"set-cfg":{"id":"set-cfg","description":"Set a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true},{"name":"value","description":"Configuration value (JSON or string)","required":true}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a \nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"test-plugin":{"id":"test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]}}}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
3
|
"description": "Command-line interface for Saltcorn, open-source no-code platform",
|
|
4
4
|
"homepage": "https://saltcorn.com",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.6.0-alpha.0",
|
|
6
6
|
"author": "Tom Nielsen @glutamate",
|
|
7
7
|
"bin": {
|
|
8
8
|
"saltcorn": "./bin/saltcorn"
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@oclif/command": "^1.8.0",
|
|
13
13
|
"@oclif/config": "^1.17.0",
|
|
14
14
|
"@oclif/plugin-help": "^3.2.3",
|
|
15
|
-
"@saltcorn/data": "0.
|
|
16
|
-
"@saltcorn/server": "0.
|
|
15
|
+
"@saltcorn/data": "0.6.0-alpha.0",
|
|
16
|
+
"@saltcorn/server": "0.6.0-alpha.0",
|
|
17
17
|
"cli-ux": "^5.6.3",
|
|
18
18
|
"contractis": "^0.1.0",
|
|
19
19
|
"dateformat": "^3.0.3",
|