@saltcorn/cli 0.6.0-beta.1 → 0.6.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 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.6.0-beta.1 darwin-x64 node-v14.16.1
23
+ @saltcorn/cli/0.6.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.6.0-beta.1/src/commands/add-schema.js)_
71
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/backup.js)_
87
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/create-tenant.js)_
105
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/create-user.js)_
123
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/fixtures.js)_
141
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/info.js)_
179
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/install-pack.js)_
195
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/install-plugin.js)_
211
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/list-tenants.js)_
222
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/localize-plugin.js)_
237
+ _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/make-migration.js)_
253
+ _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/migrate.js)_
275
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/plugins.js)_
302
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/release.js)_
316
+ _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/reset-schema.js)_
335
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/restore.js)_
352
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/rm-tenant.js)_
366
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/run-benchmark.js)_
385
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/run-tests.js)_
403
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/scheduler.js)_
417
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/serve.js)_
436
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/set-cfg.js)_
455
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/setup.js)_
474
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/setup-benchmark.js)_
488
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/test-plugin.js)_
506
+ _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.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.6.0-beta.1/src/commands/transform-field.js)_
523
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.0/src/commands/transform-field.js)_
524
524
  <!-- commandsstop -->
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/cli",
3
- "version": "0.6.0-beta.1",
3
+ "version": "0.6.0",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -954,9 +954,9 @@
954
954
  "integrity": "sha512-rEUDiUsHtild8GfIjFE9wXtcVxeS+ehCJQBwbQQ3IVfORKHK93CFnRtkr69R75lZFjcmKYVc+AXDB+AeRFOULA=="
955
955
  },
956
956
  "@root/request": {
957
- "version": "1.7.0",
958
- "resolved": "https://registry.npmjs.org/@root/request/-/request-1.7.0.tgz",
959
- "integrity": "sha512-lre7XVeEwszgyrayWWb/kRn5fuJfa+n0Nh+rflM9E+EpC28yIYA+FPm/OL1uhzp3TxhQM0HFN4FE2RDIPGlnmg=="
957
+ "version": "1.8.0",
958
+ "resolved": "https://registry.npmjs.org/@root/request/-/request-1.8.0.tgz",
959
+ "integrity": "sha512-HufCvoTwqR30OyKSjwg28W5QCUpypSJZpOYcJbC9PME5kI6cOYsccYs/6bXfsuEoarz8+YwBDrsuM1UdBMxMLw=="
960
960
  },
961
961
  "@root/x509": {
962
962
  "version": "0.7.2",
@@ -968,27 +968,27 @@
968
968
  }
969
969
  },
970
970
  "@saltcorn/base-plugin": {
971
- "version": "0.6.0-beta.1",
972
- "resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.0-beta.1.tgz",
973
- "integrity": "sha512-ohguMnUdj3GlVMcjFkbD90e7HhSIUqq3vnM1fJzepjajL0DqcS2TwcZMeOgHXFniTBUy27CnetgqBQ2FIoioAw==",
971
+ "version": "0.6.0",
972
+ "resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.0.tgz",
973
+ "integrity": "sha512-JT7AjeIm+SrW0Ud9dma3UkYF3KHTDcrlSU9Z+2hGlnikQNqzHptX29wDh4JPmvX5gWOL7GerzkdTczyttcR7CQ==",
974
974
  "requires": {
975
- "@saltcorn/data": "0.6.0-beta.1"
975
+ "@saltcorn/data": "0.6.0"
976
976
  }
977
977
  },
978
978
  "@saltcorn/builder": {
979
- "version": "0.6.0-beta.1",
980
- "resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.0-beta.1.tgz",
981
- "integrity": "sha512-qecWRpLCft4yKst1cHcd+Cwpn+pqPr3GrcA5j90Ef4FYs1+xajt1zJ3glbIFVoCQ1dh5zM8nX2G6ky8uW+OFLg==",
979
+ "version": "0.6.0",
980
+ "resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.0.tgz",
981
+ "integrity": "sha512-Znr1z1/4eynEtAdH3kNnl70dEjpB32KrsjUhockoXX32gFY6L9VdEFtYVjf/D8BBapEyglUrALvvV/5PGNQmaw==",
982
982
  "requires": {
983
983
  "styled-components": "^4.4.1"
984
984
  }
985
985
  },
986
986
  "@saltcorn/data": {
987
- "version": "0.6.0-beta.1",
988
- "resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.0-beta.1.tgz",
989
- "integrity": "sha512-qYiK5IZ+q0hLcrhIZxyF/l6pbcd/1hs33k22Crb+j+PgE2L3bW/KNo3Lsrld8fqSINwfzEZ98jstM1ABLRDmpA==",
987
+ "version": "0.6.0",
988
+ "resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.0.tgz",
989
+ "integrity": "sha512-7hPAt3uvHUDotlM+Z1DEmr2pzFGYnCnStVnexMlLtoT5aP56GkJ9Axzied4/Km6FAWDPew59NsDm8LBr/GcvvQ==",
990
990
  "requires": {
991
- "@saltcorn/markup": "0.6.0-beta.1",
991
+ "@saltcorn/markup": "0.6.0",
992
992
  "acorn": "^8.0.3",
993
993
  "adm-zip": "0.5.5",
994
994
  "astring": "^1.4.3",
@@ -1013,15 +1013,15 @@
1013
1013
  "pg": "^8.2.1",
1014
1014
  "pg-copy-streams": "^5.1.1",
1015
1015
  "pluralize": "^8.0.0",
1016
- "sqlite3": "^5.0.1",
1016
+ "sqlite3": "^5.0.2",
1017
1017
  "tmp-promise": "^3.0.2",
1018
1018
  "uuid": "^8.2.0"
1019
1019
  }
1020
1020
  },
1021
1021
  "@saltcorn/markup": {
1022
- "version": "0.6.0-beta.1",
1023
- "resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.0-beta.1.tgz",
1024
- "integrity": "sha512-cFifyN8gc6nw30GgFoWaKI6QDH6GA2ew4qOM3ca738jE5MX6CB1ncVhnlaWbGokVmklkOrXeyQGRZ+/QyKTsYw==",
1022
+ "version": "0.6.0",
1023
+ "resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.0.tgz",
1024
+ "integrity": "sha512-ZM1HWGLPd6vS43tRdO6368rqCBAbKfUErXsVOztVyzopvgU1wvRTIrYaHBImQ+z9Wpgycqa3eJuNM46INorg4Q==",
1025
1025
  "requires": {
1026
1026
  "contractis": "^0.1.0",
1027
1027
  "escape-html": "^1.0.3",
@@ -1030,25 +1030,25 @@
1030
1030
  }
1031
1031
  },
1032
1032
  "@saltcorn/sbadmin2": {
1033
- "version": "0.6.0-beta.1",
1034
- "resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.0-beta.1.tgz",
1035
- "integrity": "sha512-3mCr02nKUHfDCSBF7ZV4pmFXINvNroZ+Iwvhk6xaz61ihEnXGYn2bziSntyb3YoNg8O/WdJsR5QEtw4KHpKjfA==",
1033
+ "version": "0.6.0",
1034
+ "resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.0.tgz",
1035
+ "integrity": "sha512-W4+Q4YhdNYmBygDC646Toeey1epiM8okiNqUMwnygbgE760tW6EGpEd25z9oLBzOsYdotbq0xXNGChe2QlGMKQ==",
1036
1036
  "requires": {
1037
- "@saltcorn/data": "0.6.0-beta.1",
1038
- "@saltcorn/markup": "0.6.0-beta.1",
1037
+ "@saltcorn/data": "0.6.0",
1038
+ "@saltcorn/markup": "0.6.0",
1039
1039
  "startbootstrap-sb-admin-2": "^4.1.4"
1040
1040
  }
1041
1041
  },
1042
1042
  "@saltcorn/server": {
1043
- "version": "0.6.0-beta.1",
1044
- "resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.0-beta.1.tgz",
1045
- "integrity": "sha512-MVo6GVfgxQ47QyusTHnvQECq4haf943Z5qZXzKPqu2Q/Fpt0KX7xim5t5NMTyRqmXrP8DBdYo1IuLYQKZ4+WUA==",
1046
- "requires": {
1047
- "@saltcorn/base-plugin": "0.6.0-beta.1",
1048
- "@saltcorn/builder": "0.6.0-beta.1",
1049
- "@saltcorn/data": "0.6.0-beta.1",
1050
- "@saltcorn/markup": "0.6.0-beta.1",
1051
- "@saltcorn/sbadmin2": "0.6.0-beta.1",
1043
+ "version": "0.6.0",
1044
+ "resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.0.tgz",
1045
+ "integrity": "sha512-8PipqtF5YEUPGN/2QII1a2Jk/OaQkk99YoYgGkeB8NSKjUuwf6D2K6cnMbeSM2d+61hl0jb451hPPIKR5uJM1g==",
1046
+ "requires": {
1047
+ "@saltcorn/base-plugin": "0.6.0",
1048
+ "@saltcorn/builder": "0.6.0",
1049
+ "@saltcorn/data": "0.6.0",
1050
+ "@saltcorn/markup": "0.6.0",
1051
+ "@saltcorn/sbadmin2": "0.6.0",
1052
1052
  "@socket.io/cluster-adapter": "^0.1.0",
1053
1053
  "@socket.io/sticky": "^1.0.1",
1054
1054
  "connect-flash": "^0.1.1",
@@ -1119,9 +1119,9 @@
1119
1119
  }
1120
1120
  },
1121
1121
  "@types/component-emitter": {
1122
- "version": "1.2.10",
1123
- "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.10.tgz",
1124
- "integrity": "sha512-bsjleuRKWmGqajMerkzox19aGbscQX5rmmvvXl3wlIp5gMG1HgkiwPxsN5p070fBDKTNSPgojVbuY1+HWMbFhg=="
1122
+ "version": "1.2.11",
1123
+ "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz",
1124
+ "integrity": "sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ=="
1125
1125
  },
1126
1126
  "@types/cookie": {
1127
1127
  "version": "0.4.1",
@@ -1227,9 +1227,9 @@
1227
1227
  }
1228
1228
  },
1229
1229
  "@types/semver": {
1230
- "version": "7.3.8",
1231
- "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.8.tgz",
1232
- "integrity": "sha512-D/2EJvAlCEtYFEYmmlGwbGXuK886HzyCc3nZX/tkFTQdEU8jZDAgiv08P162yB17y4ZXZoq7yFAnW4GDBb9Now=="
1230
+ "version": "7.3.9",
1231
+ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.9.tgz",
1232
+ "integrity": "sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ=="
1233
1233
  },
1234
1234
  "@types/tar": {
1235
1235
  "version": "4.0.5",
@@ -1464,12 +1464,12 @@
1464
1464
  "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA=="
1465
1465
  },
1466
1466
  "babel-plugin-styled-components": {
1467
- "version": "1.13.2",
1468
- "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-1.13.2.tgz",
1469
- "integrity": "sha512-Vb1R3d4g+MUfPQPVDMCGjm3cDocJEUTR7Xq7QS95JWWeksN1wdFRYpD2kulDgI3Huuaf1CZd+NK4KQmqUFh5dA==",
1467
+ "version": "1.13.3",
1468
+ "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-1.13.3.tgz",
1469
+ "integrity": "sha512-meGStRGv+VuKA/q0/jXxrPNWEm4LPfYIqxooDTdmh8kFsP/Ph7jJG5rUPwUPX3QHUvggwdbgdGpo88P/rRYsVw==",
1470
1470
  "requires": {
1471
- "@babel/helper-annotate-as-pure": "^7.0.0",
1472
- "@babel/helper-module-imports": "^7.0.0",
1471
+ "@babel/helper-annotate-as-pure": "^7.15.4",
1472
+ "@babel/helper-module-imports": "^7.15.4",
1473
1473
  "babel-plugin-syntax-jsx": "^6.18.0",
1474
1474
  "lodash": "^4.17.11"
1475
1475
  }
@@ -2358,9 +2358,9 @@
2358
2358
  }
2359
2359
  },
2360
2360
  "css-what": {
2361
- "version": "5.0.1",
2362
- "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.0.1.tgz",
2363
- "integrity": "sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg=="
2361
+ "version": "5.1.0",
2362
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.1.0.tgz",
2363
+ "integrity": "sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw=="
2364
2364
  },
2365
2365
  "cssfilter": {
2366
2366
  "version": "0.0.10",
@@ -2893,9 +2893,9 @@
2893
2893
  }
2894
2894
  },
2895
2895
  "express-rate-limit": {
2896
- "version": "5.4.1",
2897
- "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-5.4.1.tgz",
2898
- "integrity": "sha512-ZQh2h3qiu7wWdvWNYHznBhaOp2ZIXNnT4hl2Ff608STeWtCuJ251NzqQlk7mo5wnO2HmrydBYHuVA9Z3S3ZtXg=="
2896
+ "version": "5.5.0",
2897
+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-5.5.0.tgz",
2898
+ "integrity": "sha512-/1mrKggjXMxd1/ghPub5N3d36u5VlK8KjbQFQLxYub09BWSSgSXMQbXgFiIW0BYxjM49YCj8bkihONZR2U4+mQ=="
2899
2899
  },
2900
2900
  "express-session": {
2901
2901
  "version": "1.17.2",
@@ -3161,26 +3161,6 @@
3161
3161
  "string-width": "^1.0.1",
3162
3162
  "strip-ansi": "^3.0.1",
3163
3163
  "wide-align": "^1.1.0"
3164
- },
3165
- "dependencies": {
3166
- "is-fullwidth-code-point": {
3167
- "version": "1.0.0",
3168
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
3169
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
3170
- "requires": {
3171
- "number-is-nan": "^1.0.0"
3172
- }
3173
- },
3174
- "string-width": {
3175
- "version": "1.0.2",
3176
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
3177
- "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
3178
- "requires": {
3179
- "code-point-at": "^1.0.0",
3180
- "is-fullwidth-code-point": "^1.0.0",
3181
- "strip-ansi": "^3.0.0"
3182
- }
3183
- }
3184
3164
  }
3185
3165
  },
3186
3166
  "gaze": {
@@ -4955,9 +4935,9 @@
4955
4935
  }
4956
4936
  },
4957
4937
  "nodemailer": {
4958
- "version": "6.6.5",
4959
- "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.6.5.tgz",
4960
- "integrity": "sha512-C/v856DBijUzHcHIgGpQoTrfsH3suKIRAGliIzCstatM2cAa+MYX3LuyCrABiO/cdJTxgBBHXxV1ztiqUwst5A=="
4938
+ "version": "6.7.0",
4939
+ "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.0.tgz",
4940
+ "integrity": "sha512-AtiTVUFHLiiDnMQ43zi0YgkzHOEWUkhDgPlBXrsDzJiJvB29Alo4OKxHQ0ugF3gRqRQIneCLtZU3yiUo7pItZw=="
4961
4941
  },
4962
4942
  "nopt": {
4963
4943
  "version": "3.0.6",
@@ -6352,25 +6332,21 @@
6352
6332
  "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo="
6353
6333
  },
6354
6334
  "string-width": {
6355
- "version": "2.1.1",
6356
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
6357
- "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
6335
+ "version": "1.0.2",
6336
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
6337
+ "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
6358
6338
  "requires": {
6359
- "is-fullwidth-code-point": "^2.0.0",
6360
- "strip-ansi": "^4.0.0"
6339
+ "code-point-at": "^1.0.0",
6340
+ "is-fullwidth-code-point": "^1.0.0",
6341
+ "strip-ansi": "^3.0.0"
6361
6342
  },
6362
6343
  "dependencies": {
6363
- "ansi-regex": {
6364
- "version": "3.0.0",
6365
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
6366
- "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg="
6367
- },
6368
- "strip-ansi": {
6369
- "version": "4.0.0",
6370
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
6371
- "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
6344
+ "is-fullwidth-code-point": {
6345
+ "version": "1.0.0",
6346
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
6347
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
6372
6348
  "requires": {
6373
- "ansi-regex": "^3.0.0"
6349
+ "number-is-nan": "^1.0.0"
6374
6350
  }
6375
6351
  }
6376
6352
  }
@@ -6494,9 +6470,9 @@
6494
6470
  "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="
6495
6471
  },
6496
6472
  "systeminformation": {
6497
- "version": "5.9.7",
6498
- "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.9.7.tgz",
6499
- "integrity": "sha512-Vcmc8HaWPMFM4DoasuKN2lpvIwS2AqaoPuEGZc4HCT6tlRJH+IQ5GhA2BrUgjpBDJjFMj2Bti6qLOzP3T1arCw=="
6473
+ "version": "5.9.8",
6474
+ "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.9.8.tgz",
6475
+ "integrity": "sha512-Dt54Vuu4Q5pGCsBtbVjIzD3Lahek7qIL+2vqAPqcPtPAlFRPf+ef4VKB4F5AL5UmdjYm7NFCTnwjoiu7qtxmQQ=="
6500
6476
  },
6501
6477
  "tar": {
6502
6478
  "version": "2.2.2",
@@ -6887,11 +6863,11 @@
6887
6863
  "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
6888
6864
  },
6889
6865
  "wide-align": {
6890
- "version": "1.1.3",
6891
- "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",
6892
- "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==",
6866
+ "version": "1.1.5",
6867
+ "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
6868
+ "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
6893
6869
  "requires": {
6894
- "string-width": "^1.0.2 || 2"
6870
+ "string-width": "^1.0.2 || 2 || 3 || 4"
6895
6871
  }
6896
6872
  },
6897
6873
  "widest-line": {
@@ -6951,6 +6927,15 @@
6951
6927
  "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
6952
6928
  "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg="
6953
6929
  },
6930
+ "string-width": {
6931
+ "version": "2.1.1",
6932
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
6933
+ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
6934
+ "requires": {
6935
+ "is-fullwidth-code-point": "^2.0.0",
6936
+ "strip-ansi": "^4.0.0"
6937
+ }
6938
+ },
6954
6939
  "strip-ansi": {
6955
6940
  "version": "4.0.0",
6956
6941
  "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
@@ -1 +1 @@
1
- {"version":"0.6.0-beta.1","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","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.6.0-beta.1",
5
+ "version": "0.6.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.6.0-beta.1",
16
- "@saltcorn/server": "0.6.0-beta.1",
15
+ "@saltcorn/data": "0.6.0",
16
+ "@saltcorn/server": "0.6.0",
17
17
  "cli-ux": "^5.6.3",
18
18
  "contractis": "^0.1.0",
19
19
  "dateformat": "^3.0.3",
@@ -21,7 +21,7 @@
21
21
  "js-yaml": "^4.1.0",
22
22
  "node-fetch": "2.6.2",
23
23
  "sudo": "^1.0.3",
24
- "systeminformation": "^5.9.7",
24
+ "systeminformation": "^5.9.8",
25
25
  "tcp-port-used": "^1.0.2",
26
26
  "wrk": "^1.2.1"
27
27
  },