@saltcorn/cli 0.6.3 → 0.6.4-beta.1

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.3 darwin-x64 node-v14.16.1
23
+ @saltcorn/cli/0.6.4-beta.1 darwin-x64 node-v14.16.1
24
24
  $ saltcorn --help [COMMAND]
25
25
  USAGE
26
26
  $ saltcorn COMMAND
@@ -69,7 +69,7 @@ USAGE
69
69
  $ saltcorn add-schema
70
70
  ```
71
71
 
72
- _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/add-schema.js)_
72
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/add-schema.js)_
73
73
 
74
74
  ## `saltcorn backup`
75
75
 
@@ -85,7 +85,7 @@ OPTIONS
85
85
  -z, --zip zip format
86
86
  ```
87
87
 
88
- _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/backup.js)_
88
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/backup.js)_
89
89
 
90
90
  ## `saltcorn create-tenant TENANT`
91
91
 
@@ -103,7 +103,7 @@ OPTIONS
103
103
  -e, --email=email Email of owner of tenant
104
104
  ```
105
105
 
106
- _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/create-tenant.js)_
106
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/create-tenant.js)_
107
107
 
108
108
  ## `saltcorn create-user`
109
109
 
@@ -121,7 +121,7 @@ OPTIONS
121
121
  -t, --tenant=tenant tenant
122
122
  ```
123
123
 
124
- _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/create-user.js)_
124
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/create-user.js)_
125
125
 
126
126
  ## `saltcorn delete-tenants`
127
127
 
@@ -132,7 +132,7 @@ USAGE
132
132
  $ saltcorn delete-tenants
133
133
  ```
134
134
 
135
- _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/delete-tenants.js)_
135
+ _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/delete-tenants.js)_
136
136
 
137
137
  ## `saltcorn fixtures`
138
138
 
@@ -151,7 +151,7 @@ DESCRIPTION
151
151
  This manual step it is never required for users and rarely required for developers
152
152
  ```
153
153
 
154
- _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/fixtures.js)_
154
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/fixtures.js)_
155
155
 
156
156
  ## `saltcorn help [COMMAND]`
157
157
 
@@ -189,7 +189,7 @@ ALIASES
189
189
  $ saltcorn paths
190
190
  ```
191
191
 
192
- _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/info.js)_
192
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/info.js)_
193
193
 
194
194
  ## `saltcorn install-pack`
195
195
 
@@ -205,7 +205,7 @@ OPTIONS
205
205
  -t, --tenant=tenant tenant
206
206
  ```
207
207
 
208
- _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/install-pack.js)_
208
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/install-pack.js)_
209
209
 
210
210
  ## `saltcorn install-plugin`
211
211
 
@@ -221,7 +221,7 @@ OPTIONS
221
221
  -t, --tenant=tenant tenant
222
222
  ```
223
223
 
224
- _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/install-plugin.js)_
224
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/install-plugin.js)_
225
225
 
226
226
  ## `saltcorn list-tenants`
227
227
 
@@ -232,7 +232,7 @@ USAGE
232
232
  $ saltcorn list-tenants
233
233
  ```
234
234
 
235
- _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/list-tenants.js)_
235
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/list-tenants.js)_
236
236
 
237
237
  ## `saltcorn localize-plugin PLUGIN PATH`
238
238
 
@@ -250,7 +250,7 @@ OPTIONS
250
250
  -t, --tenant=tenant tenant
251
251
  ```
252
252
 
253
- _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/localize-plugin.js)_
253
+ _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/localize-plugin.js)_
254
254
 
255
255
  ## `saltcorn make-migration`
256
256
 
@@ -266,7 +266,7 @@ DESCRIPTION
266
266
  unless you are a developer.
267
267
  ```
268
268
 
269
- _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/make-migration.js)_
269
+ _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/make-migration.js)_
270
270
 
271
271
  ## `saltcorn saltcorn migrate`
272
272
 
@@ -288,7 +288,7 @@ DESCRIPTION
288
288
  servers and need to control when the migrations are run.
289
289
  ```
290
290
 
291
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/migrate.js)_
291
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/migrate.js)_
292
292
 
293
293
  ## `saltcorn plugins`
294
294
 
@@ -315,7 +315,7 @@ EXAMPLES
315
315
  plugins -u -f - force plugin update
316
316
  ```
317
317
 
318
- _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/plugins.js)_
318
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/plugins.js)_
319
319
 
320
320
  ## `saltcorn release VERSION`
321
321
 
@@ -329,7 +329,7 @@ ARGUMENTS
329
329
  VERSION New version number
330
330
  ```
331
331
 
332
- _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/release.js)_
332
+ _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/release.js)_
333
333
 
334
334
  ## `saltcorn reset-schema`
335
335
 
@@ -348,7 +348,7 @@ DESCRIPTION
348
348
  This will delete all existing information
349
349
  ```
350
350
 
351
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/reset-schema.js)_
351
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/reset-schema.js)_
352
352
 
353
353
  ## `saltcorn restore FILE`
354
354
 
@@ -365,7 +365,7 @@ OPTIONS
365
365
  -t, --tenant=tenant tenant
366
366
  ```
367
367
 
368
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/restore.js)_
368
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/restore.js)_
369
369
 
370
370
  ## `saltcorn rm-tenant TENANT`
371
371
 
@@ -379,7 +379,7 @@ ARGUMENTS
379
379
  TENANT Tenant to remove
380
380
  ```
381
381
 
382
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/rm-tenant.js)_
382
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/rm-tenant.js)_
383
383
 
384
384
  ## `saltcorn run-benchmark [BASEURL]`
385
385
 
@@ -398,7 +398,7 @@ OPTIONS
398
398
  -t, --token=token API Token for reporting results
399
399
  ```
400
400
 
401
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/run-benchmark.js)_
401
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/run-benchmark.js)_
402
402
 
403
403
  ## `saltcorn run-tests [PACKAGE]`
404
404
 
@@ -418,7 +418,7 @@ OPTIONS
418
418
  --watchAll Watch files for changes and rerun all tests.
419
419
  ```
420
420
 
421
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/run-tests.js)_
421
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/run-tests.js)_
422
422
 
423
423
  ## `saltcorn scheduler`
424
424
 
@@ -432,7 +432,7 @@ OPTIONS
432
432
  -v, --verbose Verbose
433
433
  ```
434
434
 
435
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/scheduler.js)_
435
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/scheduler.js)_
436
436
 
437
437
  ## `saltcorn serve`
438
438
 
@@ -452,7 +452,7 @@ OPTIONS
452
452
  -v, --verbose Verbose
453
453
  ```
454
454
 
455
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/serve.js)_
455
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/serve.js)_
456
456
 
457
457
  ## `saltcorn set-cfg KEY VALUE`
458
458
 
@@ -471,7 +471,7 @@ OPTIONS
471
471
  -t, --tenant=tenant tenant
472
472
  ```
473
473
 
474
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/set-cfg.js)_
474
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/set-cfg.js)_
475
475
 
476
476
  ## `saltcorn setup`
477
477
 
@@ -490,7 +490,7 @@ DESCRIPTION
490
490
  configuration file
491
491
  ```
492
492
 
493
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/setup.js)_
493
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/setup.js)_
494
494
 
495
495
  ## `saltcorn setup-benchmark`
496
496
 
@@ -504,7 +504,7 @@ OPTIONS
504
504
  -t, --tenant=tenant tenant
505
505
  ```
506
506
 
507
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/setup-benchmark.js)_
507
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/setup-benchmark.js)_
508
508
 
509
509
  ## `saltcorn test-plugin PATH`
510
510
 
@@ -522,7 +522,7 @@ DESCRIPTION
522
522
  Extra documentation goes here
523
523
  ```
524
524
 
525
- _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/test-plugin.js)_
525
+ _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/test-plugin.js)_
526
526
 
527
527
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
528
528
 
@@ -539,5 +539,5 @@ ARGUMENTS
539
539
  TENANT tenant name
540
540
  ```
541
541
 
542
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.3/src/commands/transform-field.js)_
542
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.4-beta.1/src/commands/transform-field.js)_
543
543
  <!-- commandsstop -->
package/bin/saltcorn CHANGED
@@ -1,5 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ require("source-map-support").install({
4
+ handleUncaughtExceptions: false,
5
+ });
6
+
3
7
  require("@oclif/command")
4
8
  .run()
5
9
  .then(require("@oclif/command/flush"))
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/cli",
3
- "version": "0.6.3",
3
+ "version": "0.6.4-beta.1",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -106,9 +106,9 @@
106
106
  }
107
107
  },
108
108
  "@babel/parser": {
109
- "version": "7.16.8",
110
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz",
111
- "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw=="
109
+ "version": "7.16.10",
110
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.10.tgz",
111
+ "integrity": "sha512-Sm/S9Or6nN8uiFsQU1yodyDW3MWXQhFeqzMPM+t8MJjM+pLsnFVxFZzkpXKvUXh+Gz9cbMoYYs484+Jw/NTEFQ=="
112
112
  },
113
113
  "@babel/template": {
114
114
  "version": "7.16.7",
@@ -134,9 +134,9 @@
134
134
  "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw=="
135
135
  },
136
136
  "@babel/highlight": {
137
- "version": "7.16.7",
138
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.7.tgz",
139
- "integrity": "sha512-aKpPMfLvGO3Q97V0qhw/V2SWNWlwfJknuwAunU7wZLSfrM4xTBvg7E5opUVi1kJTBKihE38CPg4nBiqX83PWYw==",
137
+ "version": "7.16.10",
138
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz",
139
+ "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==",
140
140
  "requires": {
141
141
  "@babel/helper-validator-identifier": "^7.16.7",
142
142
  "chalk": "^2.0.0",
@@ -146,9 +146,9 @@
146
146
  }
147
147
  },
148
148
  "@babel/traverse": {
149
- "version": "7.16.8",
150
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.8.tgz",
151
- "integrity": "sha512-xe+H7JlvKsDQwXRsBhSnq1/+9c+LlQcCK3Tn/l5sbx02HYns/cn7ibp9+RV1sIUqu7hKg91NWsgHurO9dowITQ==",
149
+ "version": "7.16.10",
150
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.10.tgz",
151
+ "integrity": "sha512-yzuaYXoRJBGMlBhsMJoUW7G1UmSb/eXr/JHYM/MsOJgavJibLwASijW7oXBdw3NQ6T0bW7Ty5P/VarOs9cHmqw==",
152
152
  "requires": {
153
153
  "@babel/code-frame": "^7.16.7",
154
154
  "@babel/generator": "^7.16.8",
@@ -156,7 +156,7 @@
156
156
  "@babel/helper-function-name": "^7.16.7",
157
157
  "@babel/helper-hoist-variables": "^7.16.7",
158
158
  "@babel/helper-split-export-declaration": "^7.16.7",
159
- "@babel/parser": "^7.16.8",
159
+ "@babel/parser": "^7.16.10",
160
160
  "@babel/types": "^7.16.8",
161
161
  "debug": "^4.1.0",
162
162
  "globals": "^11.1.0"
@@ -176,9 +176,9 @@
176
176
  "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw=="
177
177
  },
178
178
  "@babel/highlight": {
179
- "version": "7.16.7",
180
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.7.tgz",
181
- "integrity": "sha512-aKpPMfLvGO3Q97V0qhw/V2SWNWlwfJknuwAunU7wZLSfrM4xTBvg7E5opUVi1kJTBKihE38CPg4nBiqX83PWYw==",
179
+ "version": "7.16.10",
180
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz",
181
+ "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==",
182
182
  "requires": {
183
183
  "@babel/helper-validator-identifier": "^7.16.7",
184
184
  "chalk": "^2.0.0",
@@ -862,31 +862,31 @@
862
862
  }
863
863
  },
864
864
  "@saltcorn/base-plugin": {
865
- "version": "0.6.3",
866
- "resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.3.tgz",
867
- "integrity": "sha512-0nZV57IMPQmbUUCasyadZ6hJeFk6lkLcMWUE9NQA+oVbzquR1qf1oWPT+Ps37hh24pKjJm9kdGHrIhi7Op0yvQ==",
865
+ "version": "0.6.4-beta.1",
866
+ "resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.4-beta.1.tgz",
867
+ "integrity": "sha512-yz4Wsk9oSlVeCPetpFlVXR97PXhJEtZwFjnj/0fZcvieK4h8VCIrrhwBQqUMx4JjpVoCAyi7jP3zfQDksSowtA==",
868
868
  "requires": {
869
- "@saltcorn/data": "0.6.3"
869
+ "@saltcorn/data": "0.6.4-beta.1"
870
870
  }
871
871
  },
872
872
  "@saltcorn/builder": {
873
- "version": "0.6.3",
874
- "resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.3.tgz",
875
- "integrity": "sha512-Ur57mJROzv6Mr3GPP6WDczwLDxyuqHgYRpwMxA6PrR2YhSsQZc0Tizp5Zr6miNVWMzfQA+4jEZ15oGp0v9BE5w==",
873
+ "version": "0.6.4-beta.1",
874
+ "resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.4-beta.1.tgz",
875
+ "integrity": "sha512-aMjt+1EGuATv2iETIu+4PsBv1wMhUxG2lXy/eGvqlqu1Gz0fdlhpPMoz2eOnmI5JmmM/6tBwI3kw+QsAdRhlcw==",
876
876
  "requires": {
877
- "styled-components": "^4.4.1"
877
+ "styled-components": "4.4.1"
878
878
  }
879
879
  },
880
880
  "@saltcorn/data": {
881
- "version": "0.6.3",
882
- "resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.3.tgz",
883
- "integrity": "sha512-Y+sQ1yFDnyCTQc26i+2BhN8FjbMOU7D4i2XOqPtRkEuEfAuM3mw7fn38EcbkjPoYQvV4VJE+2bG1LvpUEJrM9w==",
884
- "requires": {
885
- "@saltcorn/db-common": "0.6.3",
886
- "@saltcorn/markup": "0.6.3",
887
- "@saltcorn/postgres": "0.6.3",
888
- "@saltcorn/sqlite": "0.6.3",
889
- "@saltcorn/types": "0.6.3",
881
+ "version": "0.6.4-beta.1",
882
+ "resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.4-beta.1.tgz",
883
+ "integrity": "sha512-R2xqFvMCgB6Rusu1ymp8etQ7tgudL1bKQaE7i7xmSj2neqC2xcF+qtARAAdOIIMBEjQNDCI7wknGqDOL3n6C7w==",
884
+ "requires": {
885
+ "@saltcorn/db-common": "0.6.4-beta.1",
886
+ "@saltcorn/markup": "0.6.4-beta.1",
887
+ "@saltcorn/postgres": "0.6.4-beta.1",
888
+ "@saltcorn/sqlite": "0.6.4-beta.1",
889
+ "@saltcorn/types": "0.6.4-beta.1",
890
890
  "acorn": "^8.0.3",
891
891
  "adm-zip": "0.5.5",
892
892
  "astring": "^1.4.3",
@@ -914,14 +914,14 @@
914
914
  }
915
915
  },
916
916
  "@saltcorn/db-common": {
917
- "version": "0.6.3",
918
- "resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.6.3.tgz",
919
- "integrity": "sha512-QabpYPifThvL+ZxoAl/9VJcxO4zEclzWiKCgdpo36vOHokPp106NmWjAEyE8/2XjODbTPVxEDDqK/taTE5XS/A=="
917
+ "version": "0.6.4-beta.1",
918
+ "resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.6.4-beta.1.tgz",
919
+ "integrity": "sha512-a+X/ZJV9WOgaTwXbP7OC4hDM7RXhDEzsNBfP/LBCQXcZf7dWcMf8Rd1d/D6i0ElYr2PaVx1Ajl10B3tTpTDiMg=="
920
920
  },
921
921
  "@saltcorn/markup": {
922
- "version": "0.6.3",
923
- "resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.3.tgz",
924
- "integrity": "sha512-mpHZP8mrEhpmL1sXIyW6s/Pdc7qI1HRM637a4xhCoB9M85wAsk6bV17ztNLa/FG50B7ShPUW2dgC2VzVJkYKDw==",
922
+ "version": "0.6.4-beta.1",
923
+ "resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.4-beta.1.tgz",
924
+ "integrity": "sha512-RXk/85vtsGKL2jK0WLC2J3bYq5hDl7whBUXlxWs4KptYnOuWoy5MYa2JXI8cE5+MmwnZIdWd6GsGQ7thBj/yyQ==",
925
925
  "requires": {
926
926
  "escape-html": "^1.0.3",
927
927
  "html-tags": "3.1.0",
@@ -929,36 +929,36 @@
929
929
  }
930
930
  },
931
931
  "@saltcorn/postgres": {
932
- "version": "0.6.3",
933
- "resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.6.3.tgz",
934
- "integrity": "sha512-+D2cApmgnKxoduIW274zjXhptvad3guNBRdfbqL9LETgXzhGIt/fbdpxnxN4a9uRWaAl+ps7fGuOQ1UGL/w07A==",
932
+ "version": "0.6.4-beta.1",
933
+ "resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.6.4-beta.1.tgz",
934
+ "integrity": "sha512-ccoTjJ9q0e1CF+Utr+0Zf2nsZfKqmS4Jbve73w3+M/mXitLoh7hS4a8QJlkcbxT52VF2y8ZkyBSuvvDy+U++cA==",
935
935
  "optional": true,
936
936
  "requires": {
937
- "@saltcorn/db-common": "0.6.3",
937
+ "@saltcorn/db-common": "0.6.4-beta.1",
938
938
  "pg": "^8.2.1",
939
939
  "pg-copy-streams": "^5.1.1"
940
940
  }
941
941
  },
942
942
  "@saltcorn/sbadmin2": {
943
- "version": "0.6.3",
944
- "resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.3.tgz",
945
- "integrity": "sha512-Aqcnj2VRrwKUXuGEqG7bmjwQqaEpTwP7tNrdRnXSD1C66bRR6LmbvbTAFAPId8mhXi36+KsQm+0tq7+Mf0C6SA==",
943
+ "version": "0.6.4-beta.1",
944
+ "resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.4-beta.1.tgz",
945
+ "integrity": "sha512-L/vixPqsJbRc9wStwQqtp/ujIB5kXByiVdGpvh65jqihJBROMyiaUEu8CzcFP57iJ9keBEe3jrH3oFMD83/iKw==",
946
946
  "requires": {
947
- "@saltcorn/data": "0.6.3",
948
- "@saltcorn/markup": "0.6.3",
947
+ "@saltcorn/data": "0.6.4-beta.1",
948
+ "@saltcorn/markup": "0.6.4-beta.1",
949
949
  "startbootstrap-sb-admin-2": "^4.1.4"
950
950
  }
951
951
  },
952
952
  "@saltcorn/server": {
953
- "version": "0.6.3",
954
- "resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.3.tgz",
955
- "integrity": "sha512-1Sx92oSHoFYfCFSWLVlT9DhQEBh7RygE0km3WfggHyABuYG2OkaFeG/8yS4khuDaiKVE2ayZceolvMJ+QVojvA==",
956
- "requires": {
957
- "@saltcorn/base-plugin": "0.6.3",
958
- "@saltcorn/builder": "0.6.3",
959
- "@saltcorn/data": "0.6.3",
960
- "@saltcorn/markup": "0.6.3",
961
- "@saltcorn/sbadmin2": "0.6.3",
953
+ "version": "0.6.4-beta.1",
954
+ "resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.4-beta.1.tgz",
955
+ "integrity": "sha512-kyz9TJ4WycrUB2rJEU2BBuQm6krizQhF3Nv3Klr6ZhppOjmZ8jnevG2/kwxu3AHNREB/vMrrUQXvOsvwrdhHOg==",
956
+ "requires": {
957
+ "@saltcorn/base-plugin": "0.6.4-beta.1",
958
+ "@saltcorn/builder": "0.6.4-beta.1",
959
+ "@saltcorn/data": "0.6.4-beta.1",
960
+ "@saltcorn/markup": "0.6.4-beta.1",
961
+ "@saltcorn/sbadmin2": "0.6.4-beta.1",
962
962
  "@socket.io/cluster-adapter": "^0.1.0",
963
963
  "@socket.io/sticky": "^1.0.1",
964
964
  "aws-sdk": "^2.1037.0",
@@ -1002,19 +1002,19 @@
1002
1002
  }
1003
1003
  },
1004
1004
  "@saltcorn/sqlite": {
1005
- "version": "0.6.3",
1006
- "resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.6.3.tgz",
1007
- "integrity": "sha512-nVDkUMMem51G1rHtPqsiXzWxm4I72CFMvUBiBbruUf5dpZq5nx+khg2rPsmYvuU2D9EpSS7DW99lHZLNpQfBLw==",
1005
+ "version": "0.6.4-beta.1",
1006
+ "resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.6.4-beta.1.tgz",
1007
+ "integrity": "sha512-LPItqY8r6gnGBkUqHH77Pxt69Rb+ej2zHlvT1+NCwzOnpnkvpr1Idj3BNQV69U5ybfZgWh9p+KC4j85XeqXnSQ==",
1008
1008
  "optional": true,
1009
1009
  "requires": {
1010
- "@saltcorn/db-common": "0.6.3",
1010
+ "@saltcorn/db-common": "0.6.4-beta.1",
1011
1011
  "sqlite3": "^5.0.2"
1012
1012
  }
1013
1013
  },
1014
1014
  "@saltcorn/types": {
1015
- "version": "0.6.3",
1016
- "resolved": "https://registry.npmjs.org/@saltcorn/types/-/types-0.6.3.tgz",
1017
- "integrity": "sha512-v1RdLA+JQcMh9I87PfErLbyMjqkFw2SfzfX1xTNTiTyzt5JjlulN0VOoUCG11lvBzA0DzXSdPZLCDBdJa3mKfQ=="
1015
+ "version": "0.6.4-beta.1",
1016
+ "resolved": "https://registry.npmjs.org/@saltcorn/types/-/types-0.6.4-beta.1.tgz",
1017
+ "integrity": "sha512-FhdMfACsenhpvaMOPI4UAjSM7R0Y09TXD+FxhXuU53J694e8U8a1KoqSr2AEHWNZS/QHbYWGuxfatJDoe7xkQQ=="
1018
1018
  },
1019
1019
  "@sindresorhus/is": {
1020
1020
  "version": "0.14.0",
@@ -1394,14 +1394,14 @@
1394
1394
  "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
1395
1395
  },
1396
1396
  "aws-sdk": {
1397
- "version": "2.1058.0",
1398
- "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1058.0.tgz",
1399
- "integrity": "sha512-q6bTq1DBBeBaU6GKKoTHmJj16WOQHhOoK7jwV93IT8pO0P1XH99gesFofhew3eT0h8Ev7quVKutk4B1kfnIXPQ==",
1397
+ "version": "2.1061.0",
1398
+ "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1061.0.tgz",
1399
+ "integrity": "sha512-T29yV+EPo4Fis9hAArxAXS/u6utKnlBq3DEu85LTSIA8i6e6Xg7e9u7Rveo8DmrlVrf7EGCNThaeF9WERHnwLg==",
1400
1400
  "requires": {
1401
1401
  "buffer": "4.9.2",
1402
1402
  "events": "1.1.1",
1403
1403
  "ieee754": "1.1.13",
1404
- "jmespath": "0.15.0",
1404
+ "jmespath": "0.16.0",
1405
1405
  "querystring": "0.2.0",
1406
1406
  "sax": "1.2.1",
1407
1407
  "url": "0.10.3",
@@ -3884,9 +3884,9 @@
3884
3884
  "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
3885
3885
  },
3886
3886
  "jmespath": {
3887
- "version": "0.15.0",
3888
- "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.15.0.tgz",
3889
- "integrity": "sha1-o/Iiqarp+Wb10nx5ZRDigJF2Qhc="
3887
+ "version": "0.16.0",
3888
+ "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz",
3889
+ "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw=="
3890
3890
  },
3891
3891
  "jquery": {
3892
3892
  "version": "3.6.0",
@@ -6103,9 +6103,9 @@
6103
6103
  "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
6104
6104
  },
6105
6105
  "resolve": {
6106
- "version": "1.21.0",
6107
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.21.0.tgz",
6108
- "integrity": "sha512-3wCbTpk5WJlyE4mSOtDLhqQmGFi0/TD9VPwmiolnk8U0wRgMEktqCXd3vy5buTO3tljvalNvKrjHEfrd2WpEKA==",
6106
+ "version": "1.21.1",
6107
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.21.1.tgz",
6108
+ "integrity": "sha512-lfEImVbnolPuaSZuLQ52cAxPBHeI77sPwCOWRdy12UG/CNa8an7oBHH1R+Fp1/mUqSJi4c8TIP6FOIPSZAUrEQ==",
6109
6109
  "requires": {
6110
6110
  "is-core-module": "^2.8.0",
6111
6111
  "path-parse": "^1.0.7",
@@ -6440,6 +6440,15 @@
6440
6440
  "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
6441
6441
  "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
6442
6442
  },
6443
+ "source-map-support": {
6444
+ "version": "0.5.21",
6445
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
6446
+ "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
6447
+ "requires": {
6448
+ "buffer-from": "^1.0.0",
6449
+ "source-map": "^0.6.0"
6450
+ }
6451
+ },
6443
6452
  "spdx-correct": {
6444
6453
  "version": "3.1.1",
6445
6454
  "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz",
@@ -6708,9 +6717,9 @@
6708
6717
  "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="
6709
6718
  },
6710
6719
  "systeminformation": {
6711
- "version": "5.10.0",
6712
- "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.10.0.tgz",
6713
- "integrity": "sha512-9m05qqR8sQzWpW1q1/BXUiz1bnUXh7NkK/+w0MoSX7+dURYLj6e4zAkuBBWyTCKnhJjRsQXpoXiJCnakpZdJVA=="
6720
+ "version": "5.10.5",
6721
+ "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.10.5.tgz",
6722
+ "integrity": "sha512-/1IkIIcgiu08eqFyEcgMUUG5Lm/kGCn3sYp57Dj1chZyciBcdVyb7RbtT8CrkrBFsK2KYlTwvU7Tnu3yrMnH1w=="
6714
6723
  },
6715
6724
  "tar": {
6716
6725
  "version": "2.2.2",
@@ -1 +1 @@
1
- {"version":"0.6.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":[]},"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":"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.6.4-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":[]},"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":"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.6.3",
5
+ "version": "0.6.4-beta.1",
6
6
  "author": "Tom Nielsen @glutamate",
7
7
  "bin": {
8
8
  "saltcorn": "./bin/saltcorn"
@@ -12,8 +12,8 @@
12
12
  "@oclif/command": "^1.8.16",
13
13
  "@oclif/config": "^1.18.2",
14
14
  "@oclif/plugin-help": "^3.3.1",
15
- "@saltcorn/data": "0.6.3",
16
- "@saltcorn/server": "0.6.3",
15
+ "@saltcorn/data": "0.6.4-beta.1",
16
+ "@saltcorn/server": "0.6.4-beta.1",
17
17
  "cli-ux": "^5.6.7",
18
18
  "contractis": "^0.1.0",
19
19
  "dateformat": "^3.0.3",
@@ -21,8 +21,9 @@
21
21
  "js-yaml": "^4.1.0",
22
22
  "node-fetch": "2.6.2",
23
23
  "node-watch": "^0.7.2",
24
+ "source-map-support": "^0.5.21",
24
25
  "sudo": "^1.0.3",
25
- "systeminformation": "^5.10.0",
26
+ "systeminformation": "^5.10.5",
26
27
  "tcp-port-used": "^1.0.2",
27
28
  "wrk": "^1.2.1"
28
29
  },