@saltcorn/cli 0.7.1-beta.2 → 0.7.1-beta.3
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 +29 -29
- package/npm-shrinkwrap.json +64 -64
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
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.7.1-beta.
|
|
23
|
+
@saltcorn/cli/0.7.1-beta.3 darwin-x64 node-v14.16.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -70,7 +70,7 @@ USAGE
|
|
|
70
70
|
$ saltcorn add-schema
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
73
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/add-schema.js)_
|
|
74
74
|
|
|
75
75
|
## `saltcorn backup`
|
|
76
76
|
|
|
@@ -86,7 +86,7 @@ OPTIONS
|
|
|
86
86
|
-z, --zip zip format
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
89
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/backup.js)_
|
|
90
90
|
|
|
91
91
|
## `saltcorn configuration-check`
|
|
92
92
|
|
|
@@ -100,7 +100,7 @@ OPTIONS
|
|
|
100
100
|
-t, --tenant=tenant tenant
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
103
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/configuration-check.js)_
|
|
104
104
|
|
|
105
105
|
## `saltcorn create-tenant TENANT`
|
|
106
106
|
|
|
@@ -118,7 +118,7 @@ OPTIONS
|
|
|
118
118
|
-e, --email=email Email of owner of tenant
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
121
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/create-tenant.js)_
|
|
122
122
|
|
|
123
123
|
## `saltcorn create-user`
|
|
124
124
|
|
|
@@ -136,7 +136,7 @@ OPTIONS
|
|
|
136
136
|
-t, --tenant=tenant tenant
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
139
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/create-user.js)_
|
|
140
140
|
|
|
141
141
|
## `saltcorn delete-tenants`
|
|
142
142
|
|
|
@@ -147,7 +147,7 @@ USAGE
|
|
|
147
147
|
$ saltcorn delete-tenants
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
150
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/delete-tenants.js)_
|
|
151
151
|
|
|
152
152
|
## `saltcorn fixtures`
|
|
153
153
|
|
|
@@ -166,7 +166,7 @@ DESCRIPTION
|
|
|
166
166
|
This manual step it is never required for users and rarely required for developers
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
169
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/fixtures.js)_
|
|
170
170
|
|
|
171
171
|
## `saltcorn help [COMMAND]`
|
|
172
172
|
|
|
@@ -204,7 +204,7 @@ ALIASES
|
|
|
204
204
|
$ saltcorn paths
|
|
205
205
|
```
|
|
206
206
|
|
|
207
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
207
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/info.js)_
|
|
208
208
|
|
|
209
209
|
## `saltcorn install-pack`
|
|
210
210
|
|
|
@@ -220,7 +220,7 @@ OPTIONS
|
|
|
220
220
|
-t, --tenant=tenant tenant
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
223
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/install-pack.js)_
|
|
224
224
|
|
|
225
225
|
## `saltcorn install-plugin`
|
|
226
226
|
|
|
@@ -236,7 +236,7 @@ OPTIONS
|
|
|
236
236
|
-t, --tenant=tenant tenant
|
|
237
237
|
```
|
|
238
238
|
|
|
239
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
239
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/install-plugin.js)_
|
|
240
240
|
|
|
241
241
|
## `saltcorn list-tenants`
|
|
242
242
|
|
|
@@ -247,7 +247,7 @@ USAGE
|
|
|
247
247
|
$ saltcorn list-tenants
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
250
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/list-tenants.js)_
|
|
251
251
|
|
|
252
252
|
## `saltcorn localize-plugin PLUGIN PATH`
|
|
253
253
|
|
|
@@ -265,7 +265,7 @@ OPTIONS
|
|
|
265
265
|
-t, --tenant=tenant tenant
|
|
266
266
|
```
|
|
267
267
|
|
|
268
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
268
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/localize-plugin.js)_
|
|
269
269
|
|
|
270
270
|
## `saltcorn make-migration`
|
|
271
271
|
|
|
@@ -281,7 +281,7 @@ DESCRIPTION
|
|
|
281
281
|
unless you are a developer.
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
284
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/make-migration.js)_
|
|
285
285
|
|
|
286
286
|
## `saltcorn saltcorn migrate`
|
|
287
287
|
|
|
@@ -303,7 +303,7 @@ DESCRIPTION
|
|
|
303
303
|
servers and need to control when the migrations are run.
|
|
304
304
|
```
|
|
305
305
|
|
|
306
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
306
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/migrate.js)_
|
|
307
307
|
|
|
308
308
|
## `saltcorn plugins`
|
|
309
309
|
|
|
@@ -330,7 +330,7 @@ EXAMPLES
|
|
|
330
330
|
plugins -u -f - force plugin update
|
|
331
331
|
```
|
|
332
332
|
|
|
333
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
333
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/plugins.js)_
|
|
334
334
|
|
|
335
335
|
## `saltcorn release VERSION`
|
|
336
336
|
|
|
@@ -344,7 +344,7 @@ ARGUMENTS
|
|
|
344
344
|
VERSION New version number
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
347
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/release.js)_
|
|
348
348
|
|
|
349
349
|
## `saltcorn reset-schema`
|
|
350
350
|
|
|
@@ -363,7 +363,7 @@ DESCRIPTION
|
|
|
363
363
|
This will delete all existing information
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
366
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/reset-schema.js)_
|
|
367
367
|
|
|
368
368
|
## `saltcorn restore FILE`
|
|
369
369
|
|
|
@@ -380,7 +380,7 @@ OPTIONS
|
|
|
380
380
|
-t, --tenant=tenant tenant
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
383
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/restore.js)_
|
|
384
384
|
|
|
385
385
|
## `saltcorn rm-tenant TENANT`
|
|
386
386
|
|
|
@@ -394,7 +394,7 @@ ARGUMENTS
|
|
|
394
394
|
TENANT Tenant to remove
|
|
395
395
|
```
|
|
396
396
|
|
|
397
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
397
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/rm-tenant.js)_
|
|
398
398
|
|
|
399
399
|
## `saltcorn run-benchmark [BASEURL]`
|
|
400
400
|
|
|
@@ -413,7 +413,7 @@ OPTIONS
|
|
|
413
413
|
-t, --token=token API Token for reporting results
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
416
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/run-benchmark.js)_
|
|
417
417
|
|
|
418
418
|
## `saltcorn run-tests [PACKAGE]`
|
|
419
419
|
|
|
@@ -433,7 +433,7 @@ OPTIONS
|
|
|
433
433
|
--watchAll Watch files for changes and rerun all tests.
|
|
434
434
|
```
|
|
435
435
|
|
|
436
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
436
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/run-tests.js)_
|
|
437
437
|
|
|
438
438
|
## `saltcorn scheduler`
|
|
439
439
|
|
|
@@ -447,7 +447,7 @@ OPTIONS
|
|
|
447
447
|
-v, --verbose Verbose
|
|
448
448
|
```
|
|
449
449
|
|
|
450
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
450
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/scheduler.js)_
|
|
451
451
|
|
|
452
452
|
## `saltcorn serve`
|
|
453
453
|
|
|
@@ -467,7 +467,7 @@ OPTIONS
|
|
|
467
467
|
-v, --verbose Verbose
|
|
468
468
|
```
|
|
469
469
|
|
|
470
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
470
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/serve.js)_
|
|
471
471
|
|
|
472
472
|
## `saltcorn set-cfg KEY VALUE`
|
|
473
473
|
|
|
@@ -486,7 +486,7 @@ OPTIONS
|
|
|
486
486
|
-t, --tenant=tenant tenant
|
|
487
487
|
```
|
|
488
488
|
|
|
489
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
489
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/set-cfg.js)_
|
|
490
490
|
|
|
491
491
|
## `saltcorn setup`
|
|
492
492
|
|
|
@@ -505,7 +505,7 @@ DESCRIPTION
|
|
|
505
505
|
configuration file
|
|
506
506
|
```
|
|
507
507
|
|
|
508
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
508
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/setup.js)_
|
|
509
509
|
|
|
510
510
|
## `saltcorn setup-benchmark`
|
|
511
511
|
|
|
@@ -519,7 +519,7 @@ OPTIONS
|
|
|
519
519
|
-t, --tenant=tenant tenant
|
|
520
520
|
```
|
|
521
521
|
|
|
522
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
522
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/setup-benchmark.js)_
|
|
523
523
|
|
|
524
524
|
## `saltcorn test-plugin PATH`
|
|
525
525
|
|
|
@@ -537,7 +537,7 @@ DESCRIPTION
|
|
|
537
537
|
Extra documentation goes here
|
|
538
538
|
```
|
|
539
539
|
|
|
540
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
540
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/test-plugin.js)_
|
|
541
541
|
|
|
542
542
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
543
543
|
|
|
@@ -554,5 +554,5 @@ ARGUMENTS
|
|
|
554
554
|
TENANT tenant name
|
|
555
555
|
```
|
|
556
556
|
|
|
557
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.
|
|
557
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1-beta.3/src/commands/transform-field.js)_
|
|
558
558
|
<!-- commandsstop -->
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
|
-
"version": "0.7.1-beta.
|
|
3
|
+
"version": "0.7.1-beta.3",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -1150,14 +1150,14 @@
|
|
|
1150
1150
|
}
|
|
1151
1151
|
},
|
|
1152
1152
|
"@saltcorn/admin-models": {
|
|
1153
|
-
"version": "0.7.1-beta.
|
|
1154
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/admin-models/-/admin-models-0.7.1-beta.
|
|
1155
|
-
"integrity": "sha512-
|
|
1156
|
-
"requires": {
|
|
1157
|
-
"@saltcorn/data": "0.7.1-beta.
|
|
1158
|
-
"@saltcorn/db-common": "0.7.1-beta.
|
|
1159
|
-
"@saltcorn/markup": "0.7.1-beta.
|
|
1160
|
-
"@saltcorn/types": "0.7.1-beta.
|
|
1153
|
+
"version": "0.7.1-beta.3",
|
|
1154
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/admin-models/-/admin-models-0.7.1-beta.3.tgz",
|
|
1155
|
+
"integrity": "sha512-dtiZcDTgo36RJQVqpbFKfaA671BW9IhqNWok5KQNDflIUdrsmiBoznQ/YYlWvUzhbjPa+iDzCOOEced2Elq47w==",
|
|
1156
|
+
"requires": {
|
|
1157
|
+
"@saltcorn/data": "0.7.1-beta.3",
|
|
1158
|
+
"@saltcorn/db-common": "0.7.1-beta.3",
|
|
1159
|
+
"@saltcorn/markup": "0.7.1-beta.3",
|
|
1160
|
+
"@saltcorn/types": "0.7.1-beta.3",
|
|
1161
1161
|
"adm-zip": "0.5.5",
|
|
1162
1162
|
"csv-stringify": "^5.5.0",
|
|
1163
1163
|
"csvtojson": "^2.0.10",
|
|
@@ -1167,31 +1167,31 @@
|
|
|
1167
1167
|
}
|
|
1168
1168
|
},
|
|
1169
1169
|
"@saltcorn/base-plugin": {
|
|
1170
|
-
"version": "0.7.1-beta.
|
|
1171
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.7.1-beta.
|
|
1172
|
-
"integrity": "sha512-
|
|
1170
|
+
"version": "0.7.1-beta.3",
|
|
1171
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.7.1-beta.3.tgz",
|
|
1172
|
+
"integrity": "sha512-ujyLC129hbDSo/asRPANWlmJs/0xFuuzlqbLVYSFwSLAK4ObbWGZmAnbHZ17I+EhKih6CbaUM1/gCWOelnBoxw==",
|
|
1173
1173
|
"requires": {
|
|
1174
|
-
"@saltcorn/data": "0.7.1-beta.
|
|
1174
|
+
"@saltcorn/data": "0.7.1-beta.3"
|
|
1175
1175
|
}
|
|
1176
1176
|
},
|
|
1177
1177
|
"@saltcorn/builder": {
|
|
1178
|
-
"version": "0.7.1-beta.
|
|
1179
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.7.1-beta.
|
|
1180
|
-
"integrity": "sha512
|
|
1178
|
+
"version": "0.7.1-beta.3",
|
|
1179
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.7.1-beta.3.tgz",
|
|
1180
|
+
"integrity": "sha512-OO1oXWG1VPDyNHmjrnItjse8EBVekjYIB66FBTNPDxXg8+0KOKjkjHB/DOpnSUhkI/KIDoFKk7xaGaomH/5tew==",
|
|
1181
1181
|
"requires": {
|
|
1182
1182
|
"styled-components": "4.4.1"
|
|
1183
1183
|
}
|
|
1184
1184
|
},
|
|
1185
1185
|
"@saltcorn/data": {
|
|
1186
|
-
"version": "0.7.1-beta.
|
|
1187
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.7.1-beta.
|
|
1188
|
-
"integrity": "sha512-
|
|
1189
|
-
"requires": {
|
|
1190
|
-
"@saltcorn/db-common": "0.7.1-beta.
|
|
1191
|
-
"@saltcorn/markup": "0.7.1-beta.
|
|
1192
|
-
"@saltcorn/postgres": "0.7.1-beta.
|
|
1193
|
-
"@saltcorn/sqlite": "0.7.1-beta.
|
|
1194
|
-
"@saltcorn/types": "0.7.1-beta.
|
|
1186
|
+
"version": "0.7.1-beta.3",
|
|
1187
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.7.1-beta.3.tgz",
|
|
1188
|
+
"integrity": "sha512-0BvOsf0ZLisjSrREDT/QIbgaI72mRuiR8z6No6LmLPFMU75Z7VQp00KHWxcLw4a225sScoEnusjti/yM4m3BrA==",
|
|
1189
|
+
"requires": {
|
|
1190
|
+
"@saltcorn/db-common": "0.7.1-beta.3",
|
|
1191
|
+
"@saltcorn/markup": "0.7.1-beta.3",
|
|
1192
|
+
"@saltcorn/postgres": "0.7.1-beta.3",
|
|
1193
|
+
"@saltcorn/sqlite": "0.7.1-beta.3",
|
|
1194
|
+
"@saltcorn/types": "0.7.1-beta.3",
|
|
1195
1195
|
"@types/mjml": "4.7.0",
|
|
1196
1196
|
"acorn": "^8.0.3",
|
|
1197
1197
|
"astring": "^1.4.3",
|
|
@@ -1217,14 +1217,14 @@
|
|
|
1217
1217
|
}
|
|
1218
1218
|
},
|
|
1219
1219
|
"@saltcorn/db-common": {
|
|
1220
|
-
"version": "0.7.1-beta.
|
|
1221
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.7.1-beta.
|
|
1222
|
-
"integrity": "sha512-
|
|
1220
|
+
"version": "0.7.1-beta.3",
|
|
1221
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.7.1-beta.3.tgz",
|
|
1222
|
+
"integrity": "sha512-34O7J68u7VhaIR6nNQQ9/gY89j7EeGJa0vGvlR9Cesm0MtHHriunsInB4cgPzfih2/zJP9Iu/5r3h9Pf7qadxQ=="
|
|
1223
1223
|
},
|
|
1224
1224
|
"@saltcorn/markup": {
|
|
1225
|
-
"version": "0.7.1-beta.
|
|
1226
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.7.1-beta.
|
|
1227
|
-
"integrity": "sha512
|
|
1225
|
+
"version": "0.7.1-beta.3",
|
|
1226
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.7.1-beta.3.tgz",
|
|
1227
|
+
"integrity": "sha512-UAl68p8LChbtrXWCFkuyQsDjaR5k/CKqHEptJFtGr2TVLaKoJPG1LX6Lu65AWFVeHtrC4d6HhWqFoiyOREJdUg==",
|
|
1228
1228
|
"requires": {
|
|
1229
1229
|
"escape-html": "^1.0.3",
|
|
1230
1230
|
"html-tags": "3.1.0",
|
|
@@ -1232,37 +1232,37 @@
|
|
|
1232
1232
|
}
|
|
1233
1233
|
},
|
|
1234
1234
|
"@saltcorn/postgres": {
|
|
1235
|
-
"version": "0.7.1-beta.
|
|
1236
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.7.1-beta.
|
|
1237
|
-
"integrity": "sha512-
|
|
1235
|
+
"version": "0.7.1-beta.3",
|
|
1236
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.7.1-beta.3.tgz",
|
|
1237
|
+
"integrity": "sha512-cc8Spwd5iytSxFmgbMJUSBMyNHYs/vxZkCKxTJuNVMa3lXSiRE+OqsxDYgVGEf7sPw8MkiGNndB4kC6eACmI1g==",
|
|
1238
1238
|
"optional": true,
|
|
1239
1239
|
"requires": {
|
|
1240
|
-
"@saltcorn/db-common": "0.7.1-beta.
|
|
1240
|
+
"@saltcorn/db-common": "0.7.1-beta.3",
|
|
1241
1241
|
"pg": "^8.2.1",
|
|
1242
1242
|
"pg-copy-streams": "^5.1.1"
|
|
1243
1243
|
}
|
|
1244
1244
|
},
|
|
1245
1245
|
"@saltcorn/sbadmin2": {
|
|
1246
|
-
"version": "0.7.1-beta.
|
|
1247
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.7.1-beta.
|
|
1248
|
-
"integrity": "sha512-
|
|
1246
|
+
"version": "0.7.1-beta.3",
|
|
1247
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.7.1-beta.3.tgz",
|
|
1248
|
+
"integrity": "sha512-BBtYrnqpa1lI7IBNrcPORztHxtYuKdO7H57yBCdTUs1505H0WLc1pmVyXYE8iCb5Bia2FJhTB7cUwjp6l41VKg==",
|
|
1249
1249
|
"requires": {
|
|
1250
|
-
"@saltcorn/data": "0.7.1-beta.
|
|
1251
|
-
"@saltcorn/markup": "0.7.1-beta.
|
|
1250
|
+
"@saltcorn/data": "0.7.1-beta.3",
|
|
1251
|
+
"@saltcorn/markup": "0.7.1-beta.3",
|
|
1252
1252
|
"startbootstrap-sb-admin-2-bs5": "^4.1.5-beta.3"
|
|
1253
1253
|
}
|
|
1254
1254
|
},
|
|
1255
1255
|
"@saltcorn/server": {
|
|
1256
|
-
"version": "0.7.1-beta.
|
|
1257
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.7.1-beta.
|
|
1258
|
-
"integrity": "sha512-
|
|
1259
|
-
"requires": {
|
|
1260
|
-
"@saltcorn/admin-models": "0.7.1-beta.
|
|
1261
|
-
"@saltcorn/base-plugin": "0.7.1-beta.
|
|
1262
|
-
"@saltcorn/builder": "0.7.1-beta.
|
|
1263
|
-
"@saltcorn/data": "0.7.1-beta.
|
|
1264
|
-
"@saltcorn/markup": "0.7.1-beta.
|
|
1265
|
-
"@saltcorn/sbadmin2": "0.7.1-beta.
|
|
1256
|
+
"version": "0.7.1-beta.3",
|
|
1257
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.7.1-beta.3.tgz",
|
|
1258
|
+
"integrity": "sha512-EgTHub1l+IjT+bzoHGp+xpg1vg88sGenQkLDqkaNdK5c0fnrcyhNBcFopRf3/kRnuhMAfBNQp+T+wPD2gpj/NA==",
|
|
1259
|
+
"requires": {
|
|
1260
|
+
"@saltcorn/admin-models": "0.7.1-beta.3",
|
|
1261
|
+
"@saltcorn/base-plugin": "0.7.1-beta.3",
|
|
1262
|
+
"@saltcorn/builder": "0.7.1-beta.3",
|
|
1263
|
+
"@saltcorn/data": "0.7.1-beta.3",
|
|
1264
|
+
"@saltcorn/markup": "0.7.1-beta.3",
|
|
1265
|
+
"@saltcorn/sbadmin2": "0.7.1-beta.3",
|
|
1266
1266
|
"@socket.io/cluster-adapter": "^0.1.0",
|
|
1267
1267
|
"@socket.io/sticky": "^1.0.1",
|
|
1268
1268
|
"aws-sdk": "^2.1037.0",
|
|
@@ -1306,19 +1306,19 @@
|
|
|
1306
1306
|
}
|
|
1307
1307
|
},
|
|
1308
1308
|
"@saltcorn/sqlite": {
|
|
1309
|
-
"version": "0.7.1-beta.
|
|
1310
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.7.1-beta.
|
|
1311
|
-
"integrity": "sha512-
|
|
1309
|
+
"version": "0.7.1-beta.3",
|
|
1310
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.7.1-beta.3.tgz",
|
|
1311
|
+
"integrity": "sha512-z98wU/XFgIcP/5qlR52OssCUjhquIsBbZb7UNeZQcAdnBrPJlXO4x/giODUx7qbZrU2MSDJ5mrDOAQukEFaPEw==",
|
|
1312
1312
|
"optional": true,
|
|
1313
1313
|
"requires": {
|
|
1314
|
-
"@saltcorn/db-common": "0.7.1-beta.
|
|
1314
|
+
"@saltcorn/db-common": "0.7.1-beta.3",
|
|
1315
1315
|
"sqlite3": "^5.0.2"
|
|
1316
1316
|
}
|
|
1317
1317
|
},
|
|
1318
1318
|
"@saltcorn/types": {
|
|
1319
|
-
"version": "0.7.1-beta.
|
|
1320
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/types/-/types-0.7.1-beta.
|
|
1321
|
-
"integrity": "sha512
|
|
1319
|
+
"version": "0.7.1-beta.3",
|
|
1320
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/types/-/types-0.7.1-beta.3.tgz",
|
|
1321
|
+
"integrity": "sha512-+g5z/5Cs9QanCtBO1X/aQMGtftr/iIMc1HuNbirHU+6O7n7PAF/m4pTOrfIGvo85BEszSiqjsBF5cwBkLYltCg=="
|
|
1322
1322
|
},
|
|
1323
1323
|
"@sindresorhus/is": {
|
|
1324
1324
|
"version": "0.14.0",
|
|
@@ -1711,9 +1711,9 @@
|
|
|
1711
1711
|
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
|
1712
1712
|
},
|
|
1713
1713
|
"aws-sdk": {
|
|
1714
|
-
"version": "2.
|
|
1715
|
-
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.
|
|
1716
|
-
"integrity": "sha512-
|
|
1714
|
+
"version": "2.1101.0",
|
|
1715
|
+
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1101.0.tgz",
|
|
1716
|
+
"integrity": "sha512-7lyVb7GXGl8yyu954Qxf6vU6MrcgFlmKyTLBVXJyo3Phn1OB+qOExA55WtSC6gQiQ7e5TeWOn1RUHLg30ywTBA==",
|
|
1717
1717
|
"requires": {
|
|
1718
1718
|
"buffer": "4.9.2",
|
|
1719
1719
|
"events": "1.1.1",
|
|
@@ -5181,11 +5181,11 @@
|
|
|
5181
5181
|
}
|
|
5182
5182
|
},
|
|
5183
5183
|
"mkdirp": {
|
|
5184
|
-
"version": "0.5.
|
|
5185
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.
|
|
5186
|
-
"integrity": "sha512-
|
|
5184
|
+
"version": "0.5.6",
|
|
5185
|
+
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
|
|
5186
|
+
"integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
|
|
5187
5187
|
"requires": {
|
|
5188
|
-
"minimist": "^1.2.
|
|
5188
|
+
"minimist": "^1.2.6"
|
|
5189
5189
|
}
|
|
5190
5190
|
},
|
|
5191
5191
|
"mkdirp-classic": {
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.7.1-beta.2","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":[]},"configuration-check":{"id":"configuration-check","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"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":[]},"delete-tenants":{"id":"delete-tenants","description":"Delete inactive tenants","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"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},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"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":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"Absolute 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},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","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},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","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.7.1-beta.3","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":[]},"configuration-check":{"id":"configuration-check","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"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":[]},"delete-tenants":{"id":"delete-tenants","description":"Delete inactive tenants","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"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},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"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":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"Absolute 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},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","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},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","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.7.1-beta.
|
|
5
|
+
"version": "0.7.1-beta.3",
|
|
6
6
|
"author": "Tom Nielsen @glutamate",
|
|
7
7
|
"bin": {
|
|
8
8
|
"saltcorn": "./bin/saltcorn"
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"@oclif/command": "^1.8.16",
|
|
13
13
|
"@oclif/config": "^1.18.3",
|
|
14
14
|
"@oclif/plugin-help": "^3.3.1",
|
|
15
|
-
"@saltcorn/admin-models": "0.7.1-beta.
|
|
16
|
-
"@saltcorn/data": "0.7.1-beta.
|
|
17
|
-
"@saltcorn/server": "0.7.1-beta.
|
|
15
|
+
"@saltcorn/admin-models": "0.7.1-beta.3",
|
|
16
|
+
"@saltcorn/data": "0.7.1-beta.3",
|
|
17
|
+
"@saltcorn/server": "0.7.1-beta.3",
|
|
18
18
|
"cli-ux": "^5.6.7",
|
|
19
19
|
"contractis": "^0.1.0",
|
|
20
20
|
"dateformat": "^3.0.3",
|