@saltcorn/cli 0.6.2-beta.2 → 0.6.2

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.2-beta.2 darwin-x64 node-v14.16.1
23
+ @saltcorn/cli/0.6.2 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.2-beta.2/src/commands/add-schema.js)_
71
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/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.2-beta.2/src/commands/backup.js)_
87
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/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.2-beta.2/src/commands/create-tenant.js)_
105
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/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.2-beta.2/src/commands/create-user.js)_
123
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/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.2-beta.2/src/commands/fixtures.js)_
141
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/fixtures.js)_
142
142
 
143
143
  ## `saltcorn help [COMMAND]`
144
144
 
@@ -155,7 +155,7 @@ OPTIONS
155
155
  --all see all commands in CLI
156
156
  ```
157
157
 
158
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.10/src/commands/help.ts)_
158
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.19/src/commands/help.ts)_
159
159
 
160
160
  ## `saltcorn info`
161
161
 
@@ -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.2-beta.2/src/commands/info.js)_
179
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/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.2-beta.2/src/commands/install-pack.js)_
195
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/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.2-beta.2/src/commands/install-plugin.js)_
211
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/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.2-beta.2/src/commands/list-tenants.js)_
222
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/list-tenants.js)_
223
223
 
224
224
  ## `saltcorn localize-plugin PLUGIN PATH`
225
225
 
@@ -237,7 +237,7 @@ OPTIONS
237
237
  -t, --tenant=tenant tenant
238
238
  ```
239
239
 
240
- _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/localize-plugin.js)_
240
+ _See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/localize-plugin.js)_
241
241
 
242
242
  ## `saltcorn make-migration`
243
243
 
@@ -253,7 +253,7 @@ DESCRIPTION
253
253
  unless you are a developer.
254
254
  ```
255
255
 
256
- _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/make-migration.js)_
256
+ _See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/make-migration.js)_
257
257
 
258
258
  ## `saltcorn saltcorn migrate`
259
259
 
@@ -275,7 +275,7 @@ DESCRIPTION
275
275
  servers and need to control when the migrations are run.
276
276
  ```
277
277
 
278
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/migrate.js)_
278
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/migrate.js)_
279
279
 
280
280
  ## `saltcorn plugins`
281
281
 
@@ -302,7 +302,7 @@ EXAMPLES
302
302
  plugins -u -f - force plugin update
303
303
  ```
304
304
 
305
- _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/plugins.js)_
305
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/plugins.js)_
306
306
 
307
307
  ## `saltcorn release VERSION`
308
308
 
@@ -316,7 +316,7 @@ ARGUMENTS
316
316
  VERSION New version number
317
317
  ```
318
318
 
319
- _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/release.js)_
319
+ _See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/release.js)_
320
320
 
321
321
  ## `saltcorn reset-schema`
322
322
 
@@ -335,7 +335,7 @@ DESCRIPTION
335
335
  This will delete all existing information
336
336
  ```
337
337
 
338
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/reset-schema.js)_
338
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/reset-schema.js)_
339
339
 
340
340
  ## `saltcorn restore FILE`
341
341
 
@@ -352,7 +352,7 @@ OPTIONS
352
352
  -t, --tenant=tenant tenant
353
353
  ```
354
354
 
355
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/restore.js)_
355
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/restore.js)_
356
356
 
357
357
  ## `saltcorn rm-tenant TENANT`
358
358
 
@@ -366,7 +366,7 @@ ARGUMENTS
366
366
  TENANT Tenant to remove
367
367
  ```
368
368
 
369
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/rm-tenant.js)_
369
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/rm-tenant.js)_
370
370
 
371
371
  ## `saltcorn run-benchmark [BASEURL]`
372
372
 
@@ -385,7 +385,7 @@ OPTIONS
385
385
  -t, --token=token API Token for reporting results
386
386
  ```
387
387
 
388
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/run-benchmark.js)_
388
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/run-benchmark.js)_
389
389
 
390
390
  ## `saltcorn run-tests [PACKAGE]`
391
391
 
@@ -405,7 +405,7 @@ OPTIONS
405
405
  --watchAll Watch files for changes and rerun all tests.
406
406
  ```
407
407
 
408
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/run-tests.js)_
408
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/run-tests.js)_
409
409
 
410
410
  ## `saltcorn scheduler`
411
411
 
@@ -419,7 +419,7 @@ OPTIONS
419
419
  -v, --verbose Verbose
420
420
  ```
421
421
 
422
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/scheduler.js)_
422
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/scheduler.js)_
423
423
 
424
424
  ## `saltcorn serve`
425
425
 
@@ -439,7 +439,7 @@ OPTIONS
439
439
  -v, --verbose Verbose
440
440
  ```
441
441
 
442
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/serve.js)_
442
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/serve.js)_
443
443
 
444
444
  ## `saltcorn set-cfg KEY VALUE`
445
445
 
@@ -458,7 +458,7 @@ OPTIONS
458
458
  -t, --tenant=tenant tenant
459
459
  ```
460
460
 
461
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/set-cfg.js)_
461
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/set-cfg.js)_
462
462
 
463
463
  ## `saltcorn setup`
464
464
 
@@ -477,7 +477,7 @@ DESCRIPTION
477
477
  configuration file
478
478
  ```
479
479
 
480
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/setup.js)_
480
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/setup.js)_
481
481
 
482
482
  ## `saltcorn setup-benchmark`
483
483
 
@@ -491,7 +491,7 @@ OPTIONS
491
491
  -t, --tenant=tenant tenant
492
492
  ```
493
493
 
494
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/setup-benchmark.js)_
494
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/setup-benchmark.js)_
495
495
 
496
496
  ## `saltcorn test-plugin PATH`
497
497
 
@@ -509,7 +509,7 @@ DESCRIPTION
509
509
  Extra documentation goes here
510
510
  ```
511
511
 
512
- _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/test-plugin.js)_
512
+ _See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/test-plugin.js)_
513
513
 
514
514
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
515
515
 
@@ -526,5 +526,5 @@ ARGUMENTS
526
526
  TENANT tenant name
527
527
  ```
528
528
 
529
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.2/src/commands/transform-field.js)_
529
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2/src/commands/transform-field.js)_
530
530
  <!-- commandsstop -->
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/cli",
3
- "version": "0.6.2-beta.2",
3
+ "version": "0.6.2",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
@@ -13,9 +13,9 @@
13
13
  }
14
14
  },
15
15
  "@babel/generator": {
16
- "version": "7.16.0",
17
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz",
18
- "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==",
16
+ "version": "7.16.5",
17
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.5.tgz",
18
+ "integrity": "sha512-kIvCdjZqcdKqoDbVVdt5R99icaRtrtYhYK/xux5qiWCBmfdvEYMFZ68QCrpE5cbFM1JsuArUNs1ZkuKtTtUcZA==",
19
19
  "requires": {
20
20
  "@babel/types": "^7.16.0",
21
21
  "jsesc": "^2.5.1",
@@ -37,6 +37,14 @@
37
37
  "@babel/types": "^7.16.0"
38
38
  }
39
39
  },
40
+ "@babel/helper-environment-visitor": {
41
+ "version": "7.16.5",
42
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.5.tgz",
43
+ "integrity": "sha512-ODQyc5AnxmZWm/R2W7fzhamOk1ey8gSguo5SGvF0zcB3uUzRpTRmM/jmLSm9bDMyPlvbyJ+PwPEK0BWIoZ9wjg==",
44
+ "requires": {
45
+ "@babel/types": "^7.16.0"
46
+ }
47
+ },
40
48
  "@babel/helper-function-name": {
41
49
  "version": "7.16.0",
42
50
  "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz",
@@ -95,9 +103,9 @@
95
103
  }
96
104
  },
97
105
  "@babel/parser": {
98
- "version": "7.16.4",
99
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz",
100
- "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng=="
106
+ "version": "7.16.6",
107
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.6.tgz",
108
+ "integrity": "sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ=="
101
109
  },
102
110
  "@babel/template": {
103
111
  "version": "7.16.0",
@@ -110,16 +118,17 @@
110
118
  }
111
119
  },
112
120
  "@babel/traverse": {
113
- "version": "7.16.3",
114
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz",
115
- "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==",
121
+ "version": "7.16.5",
122
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.5.tgz",
123
+ "integrity": "sha512-FOCODAzqUMROikDYLYxl4nmwiLlu85rNqBML/A5hKRVXG2LV8d0iMqgPzdYTcIpjZEBB7D6UDU9vxRZiriASdQ==",
116
124
  "requires": {
117
125
  "@babel/code-frame": "^7.16.0",
118
- "@babel/generator": "^7.16.0",
126
+ "@babel/generator": "^7.16.5",
127
+ "@babel/helper-environment-visitor": "^7.16.5",
119
128
  "@babel/helper-function-name": "^7.16.0",
120
129
  "@babel/helper-hoist-variables": "^7.16.0",
121
130
  "@babel/helper-split-export-declaration": "^7.16.0",
122
- "@babel/parser": "^7.16.3",
131
+ "@babel/parser": "^7.16.5",
123
132
  "@babel/types": "^7.16.0",
124
133
  "debug": "^4.1.0",
125
134
  "globals": "^11.1.0"
@@ -189,22 +198,22 @@
189
198
  }
190
199
  },
191
200
  "@oclif/command": {
192
- "version": "1.8.7",
193
- "resolved": "https://registry.npmjs.org/@oclif/command/-/command-1.8.7.tgz",
194
- "integrity": "sha512-5DRLd2WHppuKsudHe8rCZnjgEpA2/6P4zxrLwWBXrGz+/kzA/RWcPJgkcdfm1uBCEgHMSWZP4MX21d4lAB1vYA==",
201
+ "version": "1.8.15",
202
+ "resolved": "https://registry.npmjs.org/@oclif/command/-/command-1.8.15.tgz",
203
+ "integrity": "sha512-lMRsr38sm4XBDBt2u88nvGyk3YxMjQenfX1HM140ZckTVqwuvFVZLP4HZ0rSAK9FdJzfryO/tH5hovdiC6bgsw==",
195
204
  "requires": {
196
- "@oclif/config": "^1.18.1",
205
+ "@oclif/config": "^1.18.2",
197
206
  "@oclif/errors": "^1.3.5",
207
+ "@oclif/help": "^1.0.1",
198
208
  "@oclif/parser": "^3.8.6",
199
- "@oclif/plugin-help": "^3.2.10",
200
209
  "debug": "^4.1.1",
201
210
  "semver": "^7.3.2"
202
211
  }
203
212
  },
204
213
  "@oclif/config": {
205
- "version": "1.18.1",
206
- "resolved": "https://registry.npmjs.org/@oclif/config/-/config-1.18.1.tgz",
207
- "integrity": "sha512-twRJO5RRl3CCDaAASb6LiynfFQl/SbkWWOQy1l0kJZSMPysEhz+fk3BKfmlCCm451Btkp4UezHUwI1JtH+/zYg==",
214
+ "version": "1.18.2",
215
+ "resolved": "https://registry.npmjs.org/@oclif/config/-/config-1.18.2.tgz",
216
+ "integrity": "sha512-cE3qfHWv8hGRCP31j7fIS7BfCflm/BNZ2HNqHexH+fDrdF2f1D5S8VmXWLC77ffv3oDvWyvE9AZeR0RfmHCCaA==",
208
217
  "requires": {
209
218
  "@oclif/errors": "^1.3.3",
210
219
  "@oclif/parser": "^3.8.0",
@@ -235,16 +244,16 @@
235
244
  }
236
245
  },
237
246
  "@oclif/dev-cli": {
238
- "version": "1.26.6",
239
- "resolved": "https://registry.npmjs.org/@oclif/dev-cli/-/dev-cli-1.26.6.tgz",
240
- "integrity": "sha512-C+bRSmhPXVZj/NpJgtRORm85TapAgMdpWpNtOE62Gwio1ci77h8iMgbwtAQyK/pv6gcbv8JXihEd7/KllLy/tQ==",
247
+ "version": "1.26.10",
248
+ "resolved": "https://registry.npmjs.org/@oclif/dev-cli/-/dev-cli-1.26.10.tgz",
249
+ "integrity": "sha512-dJ+II9rVXckzFvG+82PbfphMTnoqiHvsuAAbcHrLdZWPBnFAiDKhNYE0iHnA/knAC4VGXhogsrAJ3ERT5d5r2g==",
241
250
  "dev": true,
242
251
  "requires": {
243
- "@oclif/command": "^1.8.6",
244
- "@oclif/config": "^1.18.1",
252
+ "@oclif/command": "^1.8.15",
253
+ "@oclif/config": "^1.18.2",
245
254
  "@oclif/errors": "^1.3.5",
246
- "@oclif/plugin-help": "^3.2.10",
247
- "cli-ux": "^5.6.4",
255
+ "@oclif/plugin-help": "3.2.18",
256
+ "cli-ux": "5.6.7",
248
257
  "debug": "^4.1.1",
249
258
  "find-yarn-workspace-root": "^2.0.0",
250
259
  "fs-extra": "^8.1",
@@ -255,11 +264,122 @@
255
264
  "tslib": "^2.0.3"
256
265
  },
257
266
  "dependencies": {
267
+ "@oclif/plugin-help": {
268
+ "version": "3.2.18",
269
+ "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-3.2.18.tgz",
270
+ "integrity": "sha512-5n5Pkz4L0duknIvFwx2Ko9Xda3miT6RZP8bgaaK3Q/9fzVBrhi4bOM0u05/OThI6V+3NsSdxYS2o1NLcXToWDg==",
271
+ "dev": true,
272
+ "requires": {
273
+ "@oclif/command": "^1.8.14",
274
+ "@oclif/config": "1.18.2",
275
+ "@oclif/errors": "1.3.5",
276
+ "@oclif/help": "^1.0.0",
277
+ "chalk": "^4.1.2",
278
+ "indent-string": "^4.0.0",
279
+ "lodash": "^4.17.21",
280
+ "string-width": "^4.2.0",
281
+ "strip-ansi": "^6.0.0",
282
+ "widest-line": "^3.1.0",
283
+ "wrap-ansi": "^6.2.0"
284
+ }
285
+ },
286
+ "ansi-regex": {
287
+ "version": "5.0.1",
288
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
289
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
290
+ "dev": true
291
+ },
292
+ "ansi-styles": {
293
+ "version": "4.3.0",
294
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
295
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
296
+ "dev": true,
297
+ "requires": {
298
+ "color-convert": "^2.0.1"
299
+ }
300
+ },
301
+ "chalk": {
302
+ "version": "4.1.2",
303
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
304
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
305
+ "dev": true,
306
+ "requires": {
307
+ "ansi-styles": "^4.1.0",
308
+ "supports-color": "^7.1.0"
309
+ }
310
+ },
311
+ "color-convert": {
312
+ "version": "2.0.1",
313
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
314
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
315
+ "dev": true,
316
+ "requires": {
317
+ "color-name": "~1.1.4"
318
+ }
319
+ },
320
+ "color-name": {
321
+ "version": "1.1.4",
322
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
323
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
324
+ "dev": true
325
+ },
326
+ "has-flag": {
327
+ "version": "4.0.0",
328
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
329
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
330
+ "dev": true
331
+ },
332
+ "is-fullwidth-code-point": {
333
+ "version": "3.0.0",
334
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
335
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
336
+ "dev": true
337
+ },
338
+ "string-width": {
339
+ "version": "4.2.3",
340
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
341
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
342
+ "dev": true,
343
+ "requires": {
344
+ "emoji-regex": "^8.0.0",
345
+ "is-fullwidth-code-point": "^3.0.0",
346
+ "strip-ansi": "^6.0.1"
347
+ }
348
+ },
349
+ "strip-ansi": {
350
+ "version": "6.0.1",
351
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
352
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
353
+ "dev": true,
354
+ "requires": {
355
+ "ansi-regex": "^5.0.1"
356
+ }
357
+ },
358
+ "supports-color": {
359
+ "version": "7.2.0",
360
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
361
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
362
+ "dev": true,
363
+ "requires": {
364
+ "has-flag": "^4.0.0"
365
+ }
366
+ },
258
367
  "tslib": {
259
368
  "version": "2.3.1",
260
369
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
261
370
  "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==",
262
371
  "dev": true
372
+ },
373
+ "wrap-ansi": {
374
+ "version": "6.2.0",
375
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
376
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
377
+ "dev": true,
378
+ "requires": {
379
+ "ansi-styles": "^4.0.0",
380
+ "string-width": "^4.1.0",
381
+ "strip-ansi": "^6.0.0"
382
+ }
263
383
  }
264
384
  }
265
385
  },
@@ -290,6 +410,105 @@
290
410
  }
291
411
  }
292
412
  },
413
+ "@oclif/help": {
414
+ "version": "1.0.1",
415
+ "resolved": "https://registry.npmjs.org/@oclif/help/-/help-1.0.1.tgz",
416
+ "integrity": "sha512-8rsl4RHL5+vBUAKBL6PFI3mj58hjPCp2VYyXD4TAa7IMStikFfOH2gtWmqLzIlxAED2EpD0dfYwo9JJxYsH7Aw==",
417
+ "requires": {
418
+ "@oclif/config": "1.18.2",
419
+ "@oclif/errors": "1.3.5",
420
+ "chalk": "^4.1.2",
421
+ "indent-string": "^4.0.0",
422
+ "lodash": "^4.17.21",
423
+ "string-width": "^4.2.0",
424
+ "strip-ansi": "^6.0.0",
425
+ "widest-line": "^3.1.0",
426
+ "wrap-ansi": "^6.2.0"
427
+ },
428
+ "dependencies": {
429
+ "ansi-regex": {
430
+ "version": "5.0.1",
431
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
432
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
433
+ },
434
+ "ansi-styles": {
435
+ "version": "4.3.0",
436
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
437
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
438
+ "requires": {
439
+ "color-convert": "^2.0.1"
440
+ }
441
+ },
442
+ "chalk": {
443
+ "version": "4.1.2",
444
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
445
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
446
+ "requires": {
447
+ "ansi-styles": "^4.1.0",
448
+ "supports-color": "^7.1.0"
449
+ }
450
+ },
451
+ "color-convert": {
452
+ "version": "2.0.1",
453
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
454
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
455
+ "requires": {
456
+ "color-name": "~1.1.4"
457
+ }
458
+ },
459
+ "color-name": {
460
+ "version": "1.1.4",
461
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
462
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
463
+ },
464
+ "has-flag": {
465
+ "version": "4.0.0",
466
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
467
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
468
+ },
469
+ "is-fullwidth-code-point": {
470
+ "version": "3.0.0",
471
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
472
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
473
+ },
474
+ "string-width": {
475
+ "version": "4.2.3",
476
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
477
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
478
+ "requires": {
479
+ "emoji-regex": "^8.0.0",
480
+ "is-fullwidth-code-point": "^3.0.0",
481
+ "strip-ansi": "^6.0.1"
482
+ }
483
+ },
484
+ "strip-ansi": {
485
+ "version": "6.0.1",
486
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
487
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
488
+ "requires": {
489
+ "ansi-regex": "^5.0.1"
490
+ }
491
+ },
492
+ "supports-color": {
493
+ "version": "7.2.0",
494
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
495
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
496
+ "requires": {
497
+ "has-flag": "^4.0.0"
498
+ }
499
+ },
500
+ "wrap-ansi": {
501
+ "version": "6.2.0",
502
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
503
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
504
+ "requires": {
505
+ "ansi-styles": "^4.0.0",
506
+ "string-width": "^4.1.0",
507
+ "strip-ansi": "^6.0.0"
508
+ }
509
+ }
510
+ }
511
+ },
293
512
  "@oclif/linewrap": {
294
513
  "version": "1.0.0",
295
514
  "resolved": "https://registry.npmjs.org/@oclif/linewrap/-/linewrap-1.0.0.tgz",
@@ -357,13 +576,14 @@
357
576
  }
358
577
  },
359
578
  "@oclif/plugin-help": {
360
- "version": "3.2.10",
361
- "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-3.2.10.tgz",
362
- "integrity": "sha512-U3Jk01MTnqnd9druulNSn6nTjPEE1Rr6PWhD4rJ6Z+NjLFTKhp3S1kutWDXJQd7CQ6m8tHd1AYgsIjiR+36bSw==",
363
- "requires": {
364
- "@oclif/command": "^1.8.6",
365
- "@oclif/config": "^1.18.1",
366
- "@oclif/errors": "^1.3.5",
579
+ "version": "3.2.19",
580
+ "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-3.2.19.tgz",
581
+ "integrity": "sha512-aA+KfHTDODEg/EF+OFHclS8x6whBn/w6+u+r7LvRNYDvjhnIA3kYCLW54ZCFR984Q+ufy6im8+JXBir7ulNzSA==",
582
+ "requires": {
583
+ "@oclif/command": "^1.8.15",
584
+ "@oclif/config": "1.18.2",
585
+ "@oclif/errors": "1.3.5",
586
+ "@oclif/help": "^1.0.1",
367
587
  "chalk": "^4.1.2",
368
588
  "indent-string": "^4.0.0",
369
589
  "lodash": "^4.17.21",
@@ -582,30 +802,30 @@
582
802
  }
583
803
  },
584
804
  "@saltcorn/base-plugin": {
585
- "version": "0.6.2-beta.2",
586
- "resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.2-beta.2.tgz",
587
- "integrity": "sha512-4hWB9A6PgTNNlYaeLHX8kzNLBR1XrV8fcjY6UKZP/pPWiM5bwgJLA4/9vRz9k0jUlPscN1poQ3+nJePfcEsoqg==",
805
+ "version": "0.6.2",
806
+ "resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.2.tgz",
807
+ "integrity": "sha512-326QaXTABHEjyinOoRheHFpa/dFuJmvJddQiZQj6bDHush9X22rn8F8LCnaNkxIUbCDkD69jj4lStDQ2wFJqlg==",
588
808
  "requires": {
589
- "@saltcorn/data": "0.6.2-beta.2"
809
+ "@saltcorn/data": "0.6.2"
590
810
  }
591
811
  },
592
812
  "@saltcorn/builder": {
593
- "version": "0.6.2-beta.2",
594
- "resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.2-beta.2.tgz",
595
- "integrity": "sha512-0Uy3IzPfSdmxrx8FR81Zqx0oKKVyogmr5WEnIRBZb/MnxioRGrEUw1eHeQsOkKCtKZOy5vxHRXVGAwkdMGoSCQ==",
813
+ "version": "0.6.2",
814
+ "resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.2.tgz",
815
+ "integrity": "sha512-BMftqFkkgsgG6mUL+CvD7N16ISt5srbkBg4vB4GG1vIAVZFEX9Y/4ttoS8wt0VYE4KswFxHmC8zSEB6XA5BbTg==",
596
816
  "requires": {
597
817
  "styled-components": "^4.4.1"
598
818
  }
599
819
  },
600
820
  "@saltcorn/data": {
601
- "version": "0.6.2-beta.2",
602
- "resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.2-beta.2.tgz",
603
- "integrity": "sha512-BxA6MyOp7WcXoOzlWPuZAzbETj9EfhJ3gECy09O8vBbWaaIpu9jPmx/tOA5qfqtJEZP69TpMjW3KynN6IJL95Q==",
604
- "requires": {
605
- "@saltcorn/db-common": "0.6.2-beta.2",
606
- "@saltcorn/markup": "0.6.2-beta.2",
607
- "@saltcorn/postgres": "0.6.2-beta.2",
608
- "@saltcorn/sqlite": "0.6.2-beta.2",
821
+ "version": "0.6.2",
822
+ "resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.2.tgz",
823
+ "integrity": "sha512-GmA8IbA1e9BCcdJcS4WwgLdY9zDNN7UrU98zna/AulHrjHrdmKStX1ju3pyF2h9b+5KI/y6rkfWIEfRxNlmByw==",
824
+ "requires": {
825
+ "@saltcorn/db-common": "0.6.2",
826
+ "@saltcorn/markup": "0.6.2",
827
+ "@saltcorn/postgres": "0.6.2",
828
+ "@saltcorn/sqlite": "0.6.2",
609
829
  "acorn": "^8.0.3",
610
830
  "adm-zip": "0.5.5",
611
831
  "astring": "^1.4.3",
@@ -633,56 +853,51 @@
633
853
  }
634
854
  },
635
855
  "@saltcorn/db-common": {
636
- "version": "0.6.2-beta.2",
637
- "resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.6.2-beta.2.tgz",
638
- "integrity": "sha512-p/4I0shI0qDu+yl6G2zllCKD36iVZ/7SaX+XzSiI1kDu/NVpifmlI5wypIWylarkRKN3SlOocDCPtVJaDd2+Ug==",
639
- "requires": {
640
- "@saltcorn/markup": "0.6.2-beta.2",
641
- "contractis": "^0.1.0"
642
- }
856
+ "version": "0.6.2",
857
+ "resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.6.2.tgz",
858
+ "integrity": "sha512-0ETCFHQrCsLBCz+ZgzN5lab6Whgs5Y/8u4alFFy/IZunBElR5r+6xUbpS9Jw4A+YnHVsMQC1OnKtAEsH4xoBpA=="
643
859
  },
644
860
  "@saltcorn/markup": {
645
- "version": "0.6.2-beta.2",
646
- "resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.2-beta.2.tgz",
647
- "integrity": "sha512-D7SJKCSqV1q9W1o8jroR94lPYe4sVg2wv1Hz5n5iYmpnV2AQS5I4v1Kjmjo+jv1hUiCO6H42ferFwKYzTrbHBw==",
861
+ "version": "0.6.2",
862
+ "resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.2.tgz",
863
+ "integrity": "sha512-ueztzQ4wIEoKe00Gb8qiL2ngfsUAd9bF1Ty5XKvPo2B9mWsXl/12fQ4srPjzz14ZW9gnT/WULaziIXqY9uBRuQ==",
648
864
  "requires": {
649
- "contractis": "^0.1.0",
650
865
  "escape-html": "^1.0.3",
651
866
  "html-tags": "3.1.0",
652
- "xss": "^1.0.8"
867
+ "xss": "^1.0.10"
653
868
  }
654
869
  },
655
870
  "@saltcorn/postgres": {
656
- "version": "0.6.2-beta.2",
657
- "resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.6.2-beta.2.tgz",
658
- "integrity": "sha512-p2yhLRAOLmF3gvPHOIjJ/QfksVMb3LChamJuneGNjpXmnAIyyI1LhCHH/IG1HFXzUSU/oSkdytrBM/3W4ztGjg==",
871
+ "version": "0.6.2",
872
+ "resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.6.2.tgz",
873
+ "integrity": "sha512-L8rt9zyVk0ec5AVHiBqQj4DIhsdBdX3v8Z49ScJIlg5mBFigWpBJNarC447MfJi10F5eZcgc+dhYeszZvCVtiQ==",
659
874
  "optional": true,
660
875
  "requires": {
661
- "@saltcorn/db-common": "0.6.2-beta.2",
876
+ "@saltcorn/db-common": "0.6.2",
662
877
  "pg": "^8.2.1",
663
878
  "pg-copy-streams": "^5.1.1"
664
879
  }
665
880
  },
666
881
  "@saltcorn/sbadmin2": {
667
- "version": "0.6.2-beta.2",
668
- "resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.2-beta.2.tgz",
669
- "integrity": "sha512-pJKGrmY0kIRkjncnji7LiNRwChAisv6amdGVxzE6GipU0iale/DEpJaXAdsiAVY9iyAtCAT51xmjvvEtd6qEfw==",
882
+ "version": "0.6.2",
883
+ "resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.2.tgz",
884
+ "integrity": "sha512-lUB1PR2euSUs8vklN04Qo2bfKeF/UnlTgb1EzUz49gwVsnhdlzSWsUEVflEyw/keoLAFdLdrDrdq+emAsKodyQ==",
670
885
  "requires": {
671
- "@saltcorn/data": "0.6.2-beta.2",
672
- "@saltcorn/markup": "0.6.2-beta.2",
886
+ "@saltcorn/data": "0.6.2",
887
+ "@saltcorn/markup": "0.6.2",
673
888
  "startbootstrap-sb-admin-2": "^4.1.4"
674
889
  }
675
890
  },
676
891
  "@saltcorn/server": {
677
- "version": "0.6.2-beta.2",
678
- "resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.2-beta.2.tgz",
679
- "integrity": "sha512-VwnaqJrpSt8MCoZeLshXDIFdrVWXGKW6zY8jHZaJ8RUK6i+LoFK02VeyXZ8U7VZa2FB86PuwxgOIvXSN9A30HQ==",
680
- "requires": {
681
- "@saltcorn/base-plugin": "0.6.2-beta.2",
682
- "@saltcorn/builder": "0.6.2-beta.2",
683
- "@saltcorn/data": "0.6.2-beta.2",
684
- "@saltcorn/markup": "0.6.2-beta.2",
685
- "@saltcorn/sbadmin2": "0.6.2-beta.2",
892
+ "version": "0.6.2",
893
+ "resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.2.tgz",
894
+ "integrity": "sha512-SbW4fpVUuTxBwhq/wNQR2NsIbsm8yIIhtOKVs32N2PRw42kIumzLZ3vg0pZAPeLkWufQtFqxgkhJv9Nt5RMTlA==",
895
+ "requires": {
896
+ "@saltcorn/base-plugin": "0.6.2",
897
+ "@saltcorn/builder": "0.6.2",
898
+ "@saltcorn/data": "0.6.2",
899
+ "@saltcorn/markup": "0.6.2",
900
+ "@saltcorn/sbadmin2": "0.6.2",
686
901
  "@socket.io/cluster-adapter": "^0.1.0",
687
902
  "@socket.io/sticky": "^1.0.1",
688
903
  "aws-sdk": "^2.1037.0",
@@ -722,12 +937,12 @@
722
937
  }
723
938
  },
724
939
  "@saltcorn/sqlite": {
725
- "version": "0.6.2-beta.2",
726
- "resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.6.2-beta.2.tgz",
727
- "integrity": "sha512-1f4k7dzHYNi+R3C/XbLYzajrw+AwT2HKY/1bHp3MXeKow3fbuOEPagRwLTedTLiCGr82/5HmqXsJIVtXJHay8Q==",
940
+ "version": "0.6.2",
941
+ "resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.6.2.tgz",
942
+ "integrity": "sha512-uJmcoxRsO6YV5trtvJi/cx7firEw/BB8tP3nmAfbCgJaraWArlqJ6FjRpNTfn25dlrhcJ+SHJDah+d5ln51gIQ==",
728
943
  "optional": true,
729
944
  "requires": {
730
- "@saltcorn/db-common": "0.6.2-beta.2",
945
+ "@saltcorn/db-common": "0.6.2",
731
946
  "sqlite3": "^5.0.2"
732
947
  }
733
948
  },
@@ -1109,9 +1324,9 @@
1109
1324
  "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
1110
1325
  },
1111
1326
  "aws-sdk": {
1112
- "version": "2.1043.0",
1113
- "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1043.0.tgz",
1114
- "integrity": "sha512-WysMTSLfi8ZCj6QAAitJkxObxOzGLhcu6FxoKHiEnrefvfQtSvwqUq7BbT/pIfijnF9dE/7e9XwjW8Dz/hqF4Q==",
1327
+ "version": "2.1046.0",
1328
+ "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1046.0.tgz",
1329
+ "integrity": "sha512-ocwHclMXdIA+NWocUyvp9Ild3/zy2vr5mHp3mTyodf0WU5lzBE8PocCVLSWhMAXLxyia83xv2y5f5AzAcetbqA==",
1115
1330
  "requires": {
1116
1331
  "buffer": "4.9.2",
1117
1332
  "events": "1.1.1",
@@ -1611,11 +1826,11 @@
1611
1826
  }
1612
1827
  },
1613
1828
  "cli-ux": {
1614
- "version": "5.6.5",
1615
- "resolved": "https://registry.npmjs.org/cli-ux/-/cli-ux-5.6.5.tgz",
1616
- "integrity": "sha512-FjC69Z13a5iMuo6mNjXaA+/qNO1vdJvoHPAGKqULIMVAuhff6DMPU5hbk5ygHoIQWkU9RsgeAup9tV97pXJ7fQ==",
1829
+ "version": "5.6.7",
1830
+ "resolved": "https://registry.npmjs.org/cli-ux/-/cli-ux-5.6.7.tgz",
1831
+ "integrity": "sha512-dsKAurMNyFDnO6X1TiiRNiVbL90XReLKcvIq4H777NMqXGBxBws23ag8ubCJE97vVZEgWG2eSUhsyLf63Jv8+g==",
1617
1832
  "requires": {
1618
- "@oclif/command": "^1.8.7",
1833
+ "@oclif/command": "^1.8.15",
1619
1834
  "@oclif/errors": "^1.3.5",
1620
1835
  "@oclif/linewrap": "^1.0.0",
1621
1836
  "@oclif/screen": "^1.0.4",
@@ -1765,6 +1980,11 @@
1765
1980
  "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
1766
1981
  "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA=="
1767
1982
  },
1983
+ "is-fullwidth-code-point": {
1984
+ "version": "2.0.0",
1985
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
1986
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
1987
+ },
1768
1988
  "string-width": {
1769
1989
  "version": "3.1.0",
1770
1990
  "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
@@ -1917,18 +2137,11 @@
1917
2137
  "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4="
1918
2138
  },
1919
2139
  "content-disposition": {
1920
- "version": "0.5.3",
1921
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
1922
- "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
2140
+ "version": "0.5.4",
2141
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
2142
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
1923
2143
  "requires": {
1924
- "safe-buffer": "5.1.2"
1925
- },
1926
- "dependencies": {
1927
- "safe-buffer": {
1928
- "version": "5.1.2",
1929
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
1930
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
1931
- }
2144
+ "safe-buffer": "5.2.1"
1932
2145
  }
1933
2146
  },
1934
2147
  "content-security-policy-builder": {
@@ -2051,15 +2264,15 @@
2051
2264
  "integrity": "sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU="
2052
2265
  },
2053
2266
  "css-select": {
2054
- "version": "4.1.3",
2055
- "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.1.3.tgz",
2056
- "integrity": "sha512-gT3wBNd9Nj49rAbmtFHj1cljIAOLYSX1nZ8CB7TBO3INYckygm5B7LISU/szY//YmdiSLbJvDLOx9VnMVpMBxA==",
2267
+ "version": "4.2.0",
2268
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.2.0.tgz",
2269
+ "integrity": "sha512-6YVG6hsH9yIb/si3Th/is8Pex7qnVHO6t7q7U6TIUnkQASGbS8tnUDBftnPynLNnuUl/r2+PTd0ekiiq7R0zJw==",
2057
2270
  "requires": {
2058
2271
  "boolbase": "^1.0.0",
2059
- "css-what": "^5.0.0",
2060
- "domhandler": "^4.2.0",
2061
- "domutils": "^2.6.0",
2062
- "nth-check": "^2.0.0"
2272
+ "css-what": "^5.1.0",
2273
+ "domhandler": "^4.3.0",
2274
+ "domutils": "^2.8.0",
2275
+ "nth-check": "^2.0.1"
2063
2276
  }
2064
2277
  },
2065
2278
  "css-to-react-native": {
@@ -2566,6 +2779,14 @@
2566
2779
  "vary": "~1.1.2"
2567
2780
  },
2568
2781
  "dependencies": {
2782
+ "content-disposition": {
2783
+ "version": "0.5.3",
2784
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
2785
+ "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
2786
+ "requires": {
2787
+ "safe-buffer": "5.1.2"
2788
+ }
2789
+ },
2569
2790
  "cookie": {
2570
2791
  "version": "0.4.0",
2571
2792
  "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
@@ -3485,9 +3706,12 @@
3485
3706
  "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w=="
3486
3707
  },
3487
3708
  "is-fullwidth-code-point": {
3488
- "version": "2.0.0",
3489
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
3490
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
3709
+ "version": "1.0.0",
3710
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
3711
+ "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
3712
+ "requires": {
3713
+ "number-is-nan": "^1.0.0"
3714
+ }
3491
3715
  },
3492
3716
  "is-glob": {
3493
3717
  "version": "4.0.1",
@@ -3947,9 +4171,9 @@
3947
4171
  }
3948
4172
  },
3949
4173
  "minipass": {
3950
- "version": "3.1.5",
3951
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.5.tgz",
3952
- "integrity": "sha512-+8NzxD82XQoNKNrl1d/FSi+X8wAEWR+sbYAfIvub4Nz0d22plFG72CEVVaufV8PNf4qSslFTD8VMOxNVhHCjTw==",
4174
+ "version": "3.1.6",
4175
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz",
4176
+ "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==",
3953
4177
  "requires": {
3954
4178
  "yallist": "^4.0.0"
3955
4179
  }
@@ -4399,9 +4623,9 @@
4399
4623
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
4400
4624
  },
4401
4625
  "multer": {
4402
- "version": "1.4.3",
4403
- "resolved": "https://registry.npmjs.org/multer/-/multer-1.4.3.tgz",
4404
- "integrity": "sha512-np0YLKncuZoTzufbkM6wEKp68EhWJXcU6fq6QqrSwkckd2LlMgd1UqhUJLj6NS/5sZ8dE8LYDWslsltJznnXlg==",
4626
+ "version": "1.4.4",
4627
+ "resolved": "https://registry.npmjs.org/multer/-/multer-1.4.4.tgz",
4628
+ "integrity": "sha512-2wY2+xD4udX612aMqMcB8Ws2Voq6NIUPEtD1be6m411T4uDH/VtL9i//xvcyFlTVfRdaBsk7hV5tgrGQqhuBiw==",
4405
4629
  "requires": {
4406
4630
  "append-field": "^1.0.0",
4407
4631
  "busboy": "^0.2.11",
@@ -6116,16 +6340,6 @@
6116
6340
  "code-point-at": "^1.0.0",
6117
6341
  "is-fullwidth-code-point": "^1.0.0",
6118
6342
  "strip-ansi": "^3.0.0"
6119
- },
6120
- "dependencies": {
6121
- "is-fullwidth-code-point": {
6122
- "version": "1.0.0",
6123
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
6124
- "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
6125
- "requires": {
6126
- "number-is-nan": "^1.0.0"
6127
- }
6128
- }
6129
6343
  }
6130
6344
  },
6131
6345
  "string_decoder": {
@@ -6247,9 +6461,9 @@
6247
6461
  "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="
6248
6462
  },
6249
6463
  "systeminformation": {
6250
- "version": "5.9.16",
6251
- "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.9.16.tgz",
6252
- "integrity": "sha512-GDqen5wR9p3GVrTlyFYKbtQIE9eEhqd6Ya9Jr6HReSbDYJuYqhUgYTLuEt45qpSgNj1hKonUe/IzzdFXFmRBeg=="
6464
+ "version": "5.9.17",
6465
+ "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.9.17.tgz",
6466
+ "integrity": "sha512-hbJtPsG63PCst4PLXFq8hycbkeR5oGDquRowfLK0gNX7nJ1qx3tCbsWu83OL4GP1dkcLMKsVooLUn5x2K1Epgg=="
6253
6467
  },
6254
6468
  "tar": {
6255
6469
  "version": "2.2.2",
@@ -6900,6 +7114,11 @@
6900
7114
  "locate-path": "^3.0.0"
6901
7115
  }
6902
7116
  },
7117
+ "is-fullwidth-code-point": {
7118
+ "version": "2.0.0",
7119
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
7120
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8="
7121
+ },
6903
7122
  "locate-path": {
6904
7123
  "version": "3.0.0",
6905
7124
  "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
@@ -1 +1 @@
1
- {"version":"0.6.2-beta.2","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"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":{"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.2","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"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":{"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,19 +2,19 @@
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.2-beta.2",
5
+ "version": "0.6.2",
6
6
  "author": "Tom Nielsen @glutamate",
7
7
  "bin": {
8
8
  "saltcorn": "./bin/saltcorn"
9
9
  },
10
10
  "bugs": "https://github.com/saltcorn/saltcorn/issues",
11
11
  "dependencies": {
12
- "@oclif/command": "^1.8.7",
13
- "@oclif/config": "^1.18.1",
14
- "@oclif/plugin-help": "^3.2.10",
15
- "@saltcorn/data": "0.6.2-beta.2",
16
- "@saltcorn/server": "0.6.2-beta.2",
17
- "cli-ux": "^5.6.5",
12
+ "@oclif/command": "^1.8.15",
13
+ "@oclif/config": "^1.18.2",
14
+ "@oclif/plugin-help": "^3.2.19",
15
+ "@saltcorn/data": "0.6.2",
16
+ "@saltcorn/server": "0.6.2",
17
+ "cli-ux": "^5.6.7",
18
18
  "contractis": "^0.1.0",
19
19
  "dateformat": "^3.0.3",
20
20
  "inquirer": "^7.3.3",
@@ -22,12 +22,12 @@
22
22
  "node-fetch": "2.6.2",
23
23
  "node-watch": "^0.7.2",
24
24
  "sudo": "^1.0.3",
25
- "systeminformation": "^5.9.16",
25
+ "systeminformation": "^5.9.17",
26
26
  "tcp-port-used": "^1.0.2",
27
27
  "wrk": "^1.2.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@oclif/dev-cli": "^1.26.6",
30
+ "@oclif/dev-cli": "^1.26.10",
31
31
  "globby": "^10.0.2"
32
32
  },
33
33
  "engines": {
@@ -90,6 +90,11 @@ class RunTestsCommand extends Command {
90
90
  const { args, flags } = this.parse(RunTestsCommand);
91
91
  this.validateCall(args, flags);
92
92
  var env;
93
+
94
+ spawnSync("npm", ["run", "tsc"], {
95
+ stdio: "inherit",
96
+ });
97
+
93
98
  const db = require("@saltcorn/data/db");
94
99
 
95
100
  if (db.isSQLite) {