@saltcorn/cli 0.7.1-beta.1 → 0.7.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 +43 -28
- package/npm-shrinkwrap.json +140 -149
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
- package/src/commands/configuration-check.js +60 -0
- package/src/common.js +19 -5
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
|
|
|
20
20
|
$ saltcorn COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ saltcorn (-v|--version|version)
|
|
23
|
-
@saltcorn/cli/0.7.1
|
|
23
|
+
@saltcorn/cli/0.7.1 darwin-x64 node-v14.16.1
|
|
24
24
|
$ saltcorn --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ saltcorn COMMAND
|
|
@@ -33,6 +33,7 @@ USAGE
|
|
|
33
33
|
<!-- commands -->
|
|
34
34
|
* [`saltcorn add-schema`](#saltcorn-add-schema)
|
|
35
35
|
* [`saltcorn backup`](#saltcorn-backup)
|
|
36
|
+
* [`saltcorn configuration-check`](#saltcorn-configuration-check)
|
|
36
37
|
* [`saltcorn create-tenant TENANT`](#saltcorn-create-tenant-tenant)
|
|
37
38
|
* [`saltcorn create-user`](#saltcorn-create-user)
|
|
38
39
|
* [`saltcorn delete-tenants`](#saltcorn-delete-tenants)
|
|
@@ -69,7 +70,7 @@ USAGE
|
|
|
69
70
|
$ saltcorn add-schema
|
|
70
71
|
```
|
|
71
72
|
|
|
72
|
-
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
73
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/add-schema.js)_
|
|
73
74
|
|
|
74
75
|
## `saltcorn backup`
|
|
75
76
|
|
|
@@ -85,7 +86,21 @@ OPTIONS
|
|
|
85
86
|
-z, --zip zip format
|
|
86
87
|
```
|
|
87
88
|
|
|
88
|
-
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
89
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/backup.js)_
|
|
90
|
+
|
|
91
|
+
## `saltcorn configuration-check`
|
|
92
|
+
|
|
93
|
+
Check configuration
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
USAGE
|
|
97
|
+
$ saltcorn configuration-check
|
|
98
|
+
|
|
99
|
+
OPTIONS
|
|
100
|
+
-t, --tenant=tenant tenant
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
_See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/configuration-check.js)_
|
|
89
104
|
|
|
90
105
|
## `saltcorn create-tenant TENANT`
|
|
91
106
|
|
|
@@ -103,7 +118,7 @@ OPTIONS
|
|
|
103
118
|
-e, --email=email Email of owner of tenant
|
|
104
119
|
```
|
|
105
120
|
|
|
106
|
-
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
121
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/create-tenant.js)_
|
|
107
122
|
|
|
108
123
|
## `saltcorn create-user`
|
|
109
124
|
|
|
@@ -121,7 +136,7 @@ OPTIONS
|
|
|
121
136
|
-t, --tenant=tenant tenant
|
|
122
137
|
```
|
|
123
138
|
|
|
124
|
-
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
139
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/create-user.js)_
|
|
125
140
|
|
|
126
141
|
## `saltcorn delete-tenants`
|
|
127
142
|
|
|
@@ -132,7 +147,7 @@ USAGE
|
|
|
132
147
|
$ saltcorn delete-tenants
|
|
133
148
|
```
|
|
134
149
|
|
|
135
|
-
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
150
|
+
_See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/delete-tenants.js)_
|
|
136
151
|
|
|
137
152
|
## `saltcorn fixtures`
|
|
138
153
|
|
|
@@ -151,7 +166,7 @@ DESCRIPTION
|
|
|
151
166
|
This manual step it is never required for users and rarely required for developers
|
|
152
167
|
```
|
|
153
168
|
|
|
154
|
-
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
169
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/fixtures.js)_
|
|
155
170
|
|
|
156
171
|
## `saltcorn help [COMMAND]`
|
|
157
172
|
|
|
@@ -189,7 +204,7 @@ ALIASES
|
|
|
189
204
|
$ saltcorn paths
|
|
190
205
|
```
|
|
191
206
|
|
|
192
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
207
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/info.js)_
|
|
193
208
|
|
|
194
209
|
## `saltcorn install-pack`
|
|
195
210
|
|
|
@@ -205,7 +220,7 @@ OPTIONS
|
|
|
205
220
|
-t, --tenant=tenant tenant
|
|
206
221
|
```
|
|
207
222
|
|
|
208
|
-
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
223
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/install-pack.js)_
|
|
209
224
|
|
|
210
225
|
## `saltcorn install-plugin`
|
|
211
226
|
|
|
@@ -221,7 +236,7 @@ OPTIONS
|
|
|
221
236
|
-t, --tenant=tenant tenant
|
|
222
237
|
```
|
|
223
238
|
|
|
224
|
-
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
239
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/install-plugin.js)_
|
|
225
240
|
|
|
226
241
|
## `saltcorn list-tenants`
|
|
227
242
|
|
|
@@ -232,7 +247,7 @@ USAGE
|
|
|
232
247
|
$ saltcorn list-tenants
|
|
233
248
|
```
|
|
234
249
|
|
|
235
|
-
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
250
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/list-tenants.js)_
|
|
236
251
|
|
|
237
252
|
## `saltcorn localize-plugin PLUGIN PATH`
|
|
238
253
|
|
|
@@ -250,7 +265,7 @@ OPTIONS
|
|
|
250
265
|
-t, --tenant=tenant tenant
|
|
251
266
|
```
|
|
252
267
|
|
|
253
|
-
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
268
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/localize-plugin.js)_
|
|
254
269
|
|
|
255
270
|
## `saltcorn make-migration`
|
|
256
271
|
|
|
@@ -266,7 +281,7 @@ DESCRIPTION
|
|
|
266
281
|
unless you are a developer.
|
|
267
282
|
```
|
|
268
283
|
|
|
269
|
-
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
284
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/make-migration.js)_
|
|
270
285
|
|
|
271
286
|
## `saltcorn saltcorn migrate`
|
|
272
287
|
|
|
@@ -288,7 +303,7 @@ DESCRIPTION
|
|
|
288
303
|
servers and need to control when the migrations are run.
|
|
289
304
|
```
|
|
290
305
|
|
|
291
|
-
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
306
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/migrate.js)_
|
|
292
307
|
|
|
293
308
|
## `saltcorn plugins`
|
|
294
309
|
|
|
@@ -315,7 +330,7 @@ EXAMPLES
|
|
|
315
330
|
plugins -u -f - force plugin update
|
|
316
331
|
```
|
|
317
332
|
|
|
318
|
-
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
333
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/plugins.js)_
|
|
319
334
|
|
|
320
335
|
## `saltcorn release VERSION`
|
|
321
336
|
|
|
@@ -329,7 +344,7 @@ ARGUMENTS
|
|
|
329
344
|
VERSION New version number
|
|
330
345
|
```
|
|
331
346
|
|
|
332
|
-
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
347
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/release.js)_
|
|
333
348
|
|
|
334
349
|
## `saltcorn reset-schema`
|
|
335
350
|
|
|
@@ -348,7 +363,7 @@ DESCRIPTION
|
|
|
348
363
|
This will delete all existing information
|
|
349
364
|
```
|
|
350
365
|
|
|
351
|
-
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
366
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/reset-schema.js)_
|
|
352
367
|
|
|
353
368
|
## `saltcorn restore FILE`
|
|
354
369
|
|
|
@@ -365,7 +380,7 @@ OPTIONS
|
|
|
365
380
|
-t, --tenant=tenant tenant
|
|
366
381
|
```
|
|
367
382
|
|
|
368
|
-
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
383
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/restore.js)_
|
|
369
384
|
|
|
370
385
|
## `saltcorn rm-tenant TENANT`
|
|
371
386
|
|
|
@@ -379,7 +394,7 @@ ARGUMENTS
|
|
|
379
394
|
TENANT Tenant to remove
|
|
380
395
|
```
|
|
381
396
|
|
|
382
|
-
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
397
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/rm-tenant.js)_
|
|
383
398
|
|
|
384
399
|
## `saltcorn run-benchmark [BASEURL]`
|
|
385
400
|
|
|
@@ -398,7 +413,7 @@ OPTIONS
|
|
|
398
413
|
-t, --token=token API Token for reporting results
|
|
399
414
|
```
|
|
400
415
|
|
|
401
|
-
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
416
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/run-benchmark.js)_
|
|
402
417
|
|
|
403
418
|
## `saltcorn run-tests [PACKAGE]`
|
|
404
419
|
|
|
@@ -418,7 +433,7 @@ OPTIONS
|
|
|
418
433
|
--watchAll Watch files for changes and rerun all tests.
|
|
419
434
|
```
|
|
420
435
|
|
|
421
|
-
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
436
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/run-tests.js)_
|
|
422
437
|
|
|
423
438
|
## `saltcorn scheduler`
|
|
424
439
|
|
|
@@ -432,7 +447,7 @@ OPTIONS
|
|
|
432
447
|
-v, --verbose Verbose
|
|
433
448
|
```
|
|
434
449
|
|
|
435
|
-
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
450
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/scheduler.js)_
|
|
436
451
|
|
|
437
452
|
## `saltcorn serve`
|
|
438
453
|
|
|
@@ -452,7 +467,7 @@ OPTIONS
|
|
|
452
467
|
-v, --verbose Verbose
|
|
453
468
|
```
|
|
454
469
|
|
|
455
|
-
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
470
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/serve.js)_
|
|
456
471
|
|
|
457
472
|
## `saltcorn set-cfg KEY VALUE`
|
|
458
473
|
|
|
@@ -471,7 +486,7 @@ OPTIONS
|
|
|
471
486
|
-t, --tenant=tenant tenant
|
|
472
487
|
```
|
|
473
488
|
|
|
474
|
-
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
489
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/set-cfg.js)_
|
|
475
490
|
|
|
476
491
|
## `saltcorn setup`
|
|
477
492
|
|
|
@@ -490,7 +505,7 @@ DESCRIPTION
|
|
|
490
505
|
configuration file
|
|
491
506
|
```
|
|
492
507
|
|
|
493
|
-
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
508
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/setup.js)_
|
|
494
509
|
|
|
495
510
|
## `saltcorn setup-benchmark`
|
|
496
511
|
|
|
@@ -504,7 +519,7 @@ OPTIONS
|
|
|
504
519
|
-t, --tenant=tenant tenant
|
|
505
520
|
```
|
|
506
521
|
|
|
507
|
-
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
522
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/setup-benchmark.js)_
|
|
508
523
|
|
|
509
524
|
## `saltcorn test-plugin PATH`
|
|
510
525
|
|
|
@@ -522,7 +537,7 @@ DESCRIPTION
|
|
|
522
537
|
Extra documentation goes here
|
|
523
538
|
```
|
|
524
539
|
|
|
525
|
-
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
540
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/test-plugin.js)_
|
|
526
541
|
|
|
527
542
|
## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
|
|
528
543
|
|
|
@@ -539,5 +554,5 @@ ARGUMENTS
|
|
|
539
554
|
TENANT tenant name
|
|
540
555
|
```
|
|
541
556
|
|
|
542
|
-
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1
|
|
557
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.7.1/src/commands/transform-field.js)_
|
|
543
558
|
<!-- commandsstop -->
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
|
-
"version": "0.7.1
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"@babel/generator": {
|
|
17
|
-
"version": "7.17.
|
|
18
|
-
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.
|
|
19
|
-
"integrity": "sha512-
|
|
17
|
+
"version": "7.17.9",
|
|
18
|
+
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.9.tgz",
|
|
19
|
+
"integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==",
|
|
20
20
|
"requires": {
|
|
21
21
|
"@babel/types": "^7.17.0",
|
|
22
22
|
"jsesc": "^2.5.1",
|
|
@@ -47,21 +47,12 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"@babel/helper-function-name": {
|
|
50
|
-
"version": "7.
|
|
51
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.
|
|
52
|
-
"integrity": "sha512-
|
|
50
|
+
"version": "7.17.9",
|
|
51
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz",
|
|
52
|
+
"integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==",
|
|
53
53
|
"requires": {
|
|
54
|
-
"@babel/helper-get-function-arity": "^7.16.7",
|
|
55
54
|
"@babel/template": "^7.16.7",
|
|
56
|
-
"@babel/types": "^7.
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"@babel/helper-get-function-arity": {
|
|
60
|
-
"version": "7.16.7",
|
|
61
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz",
|
|
62
|
-
"integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==",
|
|
63
|
-
"requires": {
|
|
64
|
-
"@babel/types": "^7.16.7"
|
|
55
|
+
"@babel/types": "^7.17.0"
|
|
65
56
|
}
|
|
66
57
|
},
|
|
67
58
|
"@babel/helper-hoist-variables": {
|
|
@@ -106,14 +97,14 @@
|
|
|
106
97
|
}
|
|
107
98
|
},
|
|
108
99
|
"@babel/parser": {
|
|
109
|
-
"version": "7.17.
|
|
110
|
-
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.
|
|
111
|
-
"integrity": "sha512-
|
|
100
|
+
"version": "7.17.9",
|
|
101
|
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.9.tgz",
|
|
102
|
+
"integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg=="
|
|
112
103
|
},
|
|
113
104
|
"@babel/runtime": {
|
|
114
|
-
"version": "7.17.
|
|
115
|
-
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.
|
|
116
|
-
"integrity": "sha512-
|
|
105
|
+
"version": "7.17.9",
|
|
106
|
+
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz",
|
|
107
|
+
"integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==",
|
|
117
108
|
"requires": {
|
|
118
109
|
"regenerator-runtime": "^0.13.4"
|
|
119
110
|
}
|
|
@@ -142,9 +133,9 @@
|
|
|
142
133
|
"integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw=="
|
|
143
134
|
},
|
|
144
135
|
"@babel/highlight": {
|
|
145
|
-
"version": "7.
|
|
146
|
-
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.
|
|
147
|
-
"integrity": "sha512-
|
|
136
|
+
"version": "7.17.9",
|
|
137
|
+
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz",
|
|
138
|
+
"integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==",
|
|
148
139
|
"requires": {
|
|
149
140
|
"@babel/helper-validator-identifier": "^7.16.7",
|
|
150
141
|
"chalk": "^2.0.0",
|
|
@@ -154,17 +145,17 @@
|
|
|
154
145
|
}
|
|
155
146
|
},
|
|
156
147
|
"@babel/traverse": {
|
|
157
|
-
"version": "7.17.
|
|
158
|
-
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.
|
|
159
|
-
"integrity": "sha512-
|
|
148
|
+
"version": "7.17.9",
|
|
149
|
+
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.9.tgz",
|
|
150
|
+
"integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==",
|
|
160
151
|
"requires": {
|
|
161
152
|
"@babel/code-frame": "^7.16.7",
|
|
162
|
-
"@babel/generator": "^7.17.
|
|
153
|
+
"@babel/generator": "^7.17.9",
|
|
163
154
|
"@babel/helper-environment-visitor": "^7.16.7",
|
|
164
|
-
"@babel/helper-function-name": "^7.
|
|
155
|
+
"@babel/helper-function-name": "^7.17.9",
|
|
165
156
|
"@babel/helper-hoist-variables": "^7.16.7",
|
|
166
157
|
"@babel/helper-split-export-declaration": "^7.16.7",
|
|
167
|
-
"@babel/parser": "^7.17.
|
|
158
|
+
"@babel/parser": "^7.17.9",
|
|
168
159
|
"@babel/types": "^7.17.0",
|
|
169
160
|
"debug": "^4.1.0",
|
|
170
161
|
"globals": "^11.1.0"
|
|
@@ -184,9 +175,9 @@
|
|
|
184
175
|
"integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw=="
|
|
185
176
|
},
|
|
186
177
|
"@babel/highlight": {
|
|
187
|
-
"version": "7.
|
|
188
|
-
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.
|
|
189
|
-
"integrity": "sha512-
|
|
178
|
+
"version": "7.17.9",
|
|
179
|
+
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.9.tgz",
|
|
180
|
+
"integrity": "sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg==",
|
|
190
181
|
"requires": {
|
|
191
182
|
"@babel/helper-validator-identifier": "^7.16.7",
|
|
192
183
|
"chalk": "^2.0.0",
|
|
@@ -1150,14 +1141,14 @@
|
|
|
1150
1141
|
}
|
|
1151
1142
|
},
|
|
1152
1143
|
"@saltcorn/admin-models": {
|
|
1153
|
-
"version": "0.7.1
|
|
1154
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/admin-models/-/admin-models-0.7.1
|
|
1155
|
-
"integrity": "sha512
|
|
1156
|
-
"requires": {
|
|
1157
|
-
"@saltcorn/data": "0.7.1
|
|
1158
|
-
"@saltcorn/db-common": "0.7.1
|
|
1159
|
-
"@saltcorn/markup": "0.7.1
|
|
1160
|
-
"@saltcorn/types": "0.7.1
|
|
1144
|
+
"version": "0.7.1",
|
|
1145
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/admin-models/-/admin-models-0.7.1.tgz",
|
|
1146
|
+
"integrity": "sha512-/C2jOOAMoaVUDAX85L2SmZleI2Mf98bw+eiGYCPL9zd/O8uGlWKUvZSfQPiCzQTgPanUMrc4j0CEGay/R36I2g==",
|
|
1147
|
+
"requires": {
|
|
1148
|
+
"@saltcorn/data": "0.7.1",
|
|
1149
|
+
"@saltcorn/db-common": "0.7.1",
|
|
1150
|
+
"@saltcorn/markup": "0.7.1",
|
|
1151
|
+
"@saltcorn/types": "0.7.1",
|
|
1161
1152
|
"adm-zip": "0.5.5",
|
|
1162
1153
|
"csv-stringify": "^5.5.0",
|
|
1163
1154
|
"csvtojson": "^2.0.10",
|
|
@@ -1167,31 +1158,31 @@
|
|
|
1167
1158
|
}
|
|
1168
1159
|
},
|
|
1169
1160
|
"@saltcorn/base-plugin": {
|
|
1170
|
-
"version": "0.7.1
|
|
1171
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.7.1
|
|
1172
|
-
"integrity": "sha512-
|
|
1161
|
+
"version": "0.7.1",
|
|
1162
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.7.1.tgz",
|
|
1163
|
+
"integrity": "sha512-jVtAS7ybQtIz7MGK6aFsfY5XJClIePSDY0XPwqlrg+NL30RD4r8VjBh2excotmYB5575uRPTnCtlfB98csmE2w==",
|
|
1173
1164
|
"requires": {
|
|
1174
|
-
"@saltcorn/data": "0.7.1
|
|
1165
|
+
"@saltcorn/data": "0.7.1"
|
|
1175
1166
|
}
|
|
1176
1167
|
},
|
|
1177
1168
|
"@saltcorn/builder": {
|
|
1178
|
-
"version": "0.7.1
|
|
1179
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.7.1
|
|
1180
|
-
"integrity": "sha512-
|
|
1169
|
+
"version": "0.7.1",
|
|
1170
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.7.1.tgz",
|
|
1171
|
+
"integrity": "sha512-z11Lu4dbK2KUNCsGUB4xlVBhLE35v173bcEAQdgtHFqZjEpdYIw6Cv4CnsS5Nmb05nK36Z8jQpODpzYZQeOCgQ==",
|
|
1181
1172
|
"requires": {
|
|
1182
1173
|
"styled-components": "4.4.1"
|
|
1183
1174
|
}
|
|
1184
1175
|
},
|
|
1185
1176
|
"@saltcorn/data": {
|
|
1186
|
-
"version": "0.7.1
|
|
1187
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.7.1
|
|
1188
|
-
"integrity": "sha512-
|
|
1189
|
-
"requires": {
|
|
1190
|
-
"@saltcorn/db-common": "0.7.1
|
|
1191
|
-
"@saltcorn/markup": "0.7.1
|
|
1192
|
-
"@saltcorn/postgres": "0.7.1
|
|
1193
|
-
"@saltcorn/sqlite": "0.7.1
|
|
1194
|
-
"@saltcorn/types": "0.7.1
|
|
1177
|
+
"version": "0.7.1",
|
|
1178
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.7.1.tgz",
|
|
1179
|
+
"integrity": "sha512-SmC0eX76T5qkT3aMoZ+yCB+1hIFJyVauxBwWzuW8HDTmA9XXUDhEarbUDYLxeeu9Qo4pq8v5Ag/F4F4j3i8Dkg==",
|
|
1180
|
+
"requires": {
|
|
1181
|
+
"@saltcorn/db-common": "0.7.1",
|
|
1182
|
+
"@saltcorn/markup": "0.7.1",
|
|
1183
|
+
"@saltcorn/postgres": "0.7.1",
|
|
1184
|
+
"@saltcorn/sqlite": "0.7.1",
|
|
1185
|
+
"@saltcorn/types": "0.7.1",
|
|
1195
1186
|
"@types/mjml": "4.7.0",
|
|
1196
1187
|
"acorn": "^8.0.3",
|
|
1197
1188
|
"astring": "^1.4.3",
|
|
@@ -1217,14 +1208,14 @@
|
|
|
1217
1208
|
}
|
|
1218
1209
|
},
|
|
1219
1210
|
"@saltcorn/db-common": {
|
|
1220
|
-
"version": "0.7.1
|
|
1221
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.7.1
|
|
1222
|
-
"integrity": "sha512-
|
|
1211
|
+
"version": "0.7.1",
|
|
1212
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.7.1.tgz",
|
|
1213
|
+
"integrity": "sha512-RUQOwZUzi3QCu5MzhPYOS88xwep2nzfnoGU1mgeKL4IE1qtTbn857HhWEj8HvSOSAcDh6kVX1o8IqwTdtMZiYg=="
|
|
1223
1214
|
},
|
|
1224
1215
|
"@saltcorn/markup": {
|
|
1225
|
-
"version": "0.7.1
|
|
1226
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.7.1
|
|
1227
|
-
"integrity": "sha512-
|
|
1216
|
+
"version": "0.7.1",
|
|
1217
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.7.1.tgz",
|
|
1218
|
+
"integrity": "sha512-tUhoSD8bY2pukhZnTs7KPTcpx0V1yQR0g/hUq7ElVFdH7WFLamHX5QHgXoEux1953ABIJthiplNcquWl5G/YIg==",
|
|
1228
1219
|
"requires": {
|
|
1229
1220
|
"escape-html": "^1.0.3",
|
|
1230
1221
|
"html-tags": "3.1.0",
|
|
@@ -1232,37 +1223,37 @@
|
|
|
1232
1223
|
}
|
|
1233
1224
|
},
|
|
1234
1225
|
"@saltcorn/postgres": {
|
|
1235
|
-
"version": "0.7.1
|
|
1236
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.7.1
|
|
1237
|
-
"integrity": "sha512-
|
|
1226
|
+
"version": "0.7.1",
|
|
1227
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.7.1.tgz",
|
|
1228
|
+
"integrity": "sha512-YOW56NrQfAh/eELERKvbovwi+mXEpb0B7zqHJL93DhGtrACSJZfyHCi2PaIXllnVlTdPwfpL13ySQeaQpGWSFQ==",
|
|
1238
1229
|
"optional": true,
|
|
1239
1230
|
"requires": {
|
|
1240
|
-
"@saltcorn/db-common": "0.7.1
|
|
1231
|
+
"@saltcorn/db-common": "0.7.1",
|
|
1241
1232
|
"pg": "^8.2.1",
|
|
1242
1233
|
"pg-copy-streams": "^5.1.1"
|
|
1243
1234
|
}
|
|
1244
1235
|
},
|
|
1245
1236
|
"@saltcorn/sbadmin2": {
|
|
1246
|
-
"version": "0.7.1
|
|
1247
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.7.1
|
|
1248
|
-
"integrity": "sha512-
|
|
1237
|
+
"version": "0.7.1",
|
|
1238
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.7.1.tgz",
|
|
1239
|
+
"integrity": "sha512-2Oq7lCRLNVEl6yULEELP6iqvePPQBXW7lrc0Btbj2ErChm3kfFxx+S6qs+L/yamC6SC25nwh1W2CkcOL5V8v3A==",
|
|
1249
1240
|
"requires": {
|
|
1250
|
-
"@saltcorn/data": "0.7.1
|
|
1251
|
-
"@saltcorn/markup": "0.7.1
|
|
1241
|
+
"@saltcorn/data": "0.7.1",
|
|
1242
|
+
"@saltcorn/markup": "0.7.1",
|
|
1252
1243
|
"startbootstrap-sb-admin-2-bs5": "^4.1.5-beta.3"
|
|
1253
1244
|
}
|
|
1254
1245
|
},
|
|
1255
1246
|
"@saltcorn/server": {
|
|
1256
|
-
"version": "0.7.1
|
|
1257
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.7.1
|
|
1258
|
-
"integrity": "sha512-
|
|
1259
|
-
"requires": {
|
|
1260
|
-
"@saltcorn/admin-models": "0.7.1
|
|
1261
|
-
"@saltcorn/base-plugin": "0.7.1
|
|
1262
|
-
"@saltcorn/builder": "0.7.1
|
|
1263
|
-
"@saltcorn/data": "0.7.1
|
|
1264
|
-
"@saltcorn/markup": "0.7.1
|
|
1265
|
-
"@saltcorn/sbadmin2": "0.7.1
|
|
1247
|
+
"version": "0.7.1",
|
|
1248
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.7.1.tgz",
|
|
1249
|
+
"integrity": "sha512-3mG/IZC5VrQyEQ+/cUphjWxuN3Echyk6YhUc91LI8vgxdjoqV8RlNLtsdObpyxLPtdpld8uSryh2GEnUuu2QPQ==",
|
|
1250
|
+
"requires": {
|
|
1251
|
+
"@saltcorn/admin-models": "0.7.1",
|
|
1252
|
+
"@saltcorn/base-plugin": "0.7.1",
|
|
1253
|
+
"@saltcorn/builder": "0.7.1",
|
|
1254
|
+
"@saltcorn/data": "0.7.1",
|
|
1255
|
+
"@saltcorn/markup": "0.7.1",
|
|
1256
|
+
"@saltcorn/sbadmin2": "0.7.1",
|
|
1266
1257
|
"@socket.io/cluster-adapter": "^0.1.0",
|
|
1267
1258
|
"@socket.io/sticky": "^1.0.1",
|
|
1268
1259
|
"aws-sdk": "^2.1037.0",
|
|
@@ -1306,19 +1297,19 @@
|
|
|
1306
1297
|
}
|
|
1307
1298
|
},
|
|
1308
1299
|
"@saltcorn/sqlite": {
|
|
1309
|
-
"version": "0.7.1
|
|
1310
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.7.1
|
|
1311
|
-
"integrity": "sha512
|
|
1300
|
+
"version": "0.7.1",
|
|
1301
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.7.1.tgz",
|
|
1302
|
+
"integrity": "sha512-c2+rvVFxKfyta4mKpPQDHJEZeffEx5wTsPtPYojw2ktKe8XzIFby4Vb30eZ5w6yTh1tru0tq0ghsu0/dKR+yjw==",
|
|
1312
1303
|
"optional": true,
|
|
1313
1304
|
"requires": {
|
|
1314
|
-
"@saltcorn/db-common": "0.7.1
|
|
1305
|
+
"@saltcorn/db-common": "0.7.1",
|
|
1315
1306
|
"sqlite3": "^5.0.2"
|
|
1316
1307
|
}
|
|
1317
1308
|
},
|
|
1318
1309
|
"@saltcorn/types": {
|
|
1319
|
-
"version": "0.7.1
|
|
1320
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/types/-/types-0.7.1
|
|
1321
|
-
"integrity": "sha512-
|
|
1310
|
+
"version": "0.7.1",
|
|
1311
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/types/-/types-0.7.1.tgz",
|
|
1312
|
+
"integrity": "sha512-XOhMWuYYhftZzy0IANUxnhQNaJIFNR+Y7TsS2MjA369lsOYsLFtpUebYuLQ5VTT3g7AakTR4M+yP8D7EqXGs0A=="
|
|
1322
1313
|
},
|
|
1323
1314
|
"@sindresorhus/is": {
|
|
1324
1315
|
"version": "0.14.0",
|
|
@@ -1335,9 +1326,9 @@
|
|
|
1335
1326
|
},
|
|
1336
1327
|
"dependencies": {
|
|
1337
1328
|
"debug": {
|
|
1338
|
-
"version": "4.3.
|
|
1339
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.
|
|
1340
|
-
"integrity": "sha512
|
|
1329
|
+
"version": "4.3.4",
|
|
1330
|
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
|
1331
|
+
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
|
1341
1332
|
"requires": {
|
|
1342
1333
|
"ms": "2.1.2"
|
|
1343
1334
|
}
|
|
@@ -1711,9 +1702,9 @@
|
|
|
1711
1702
|
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
|
1712
1703
|
},
|
|
1713
1704
|
"aws-sdk": {
|
|
1714
|
-
"version": "2.
|
|
1715
|
-
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.
|
|
1716
|
-
"integrity": "sha512-
|
|
1705
|
+
"version": "2.1108.0",
|
|
1706
|
+
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1108.0.tgz",
|
|
1707
|
+
"integrity": "sha512-BpoHW6vk8cXQDf0M+j7LSti7db4vIWocfUDTFbmkOT0hH9pR3f4IDzbnGzGmlka6IOFWkb9sVHl+P5S2meswOg==",
|
|
1717
1708
|
"requires": {
|
|
1718
1709
|
"buffer": "4.9.2",
|
|
1719
1710
|
"events": "1.1.1",
|
|
@@ -2133,15 +2124,15 @@
|
|
|
2133
2124
|
}
|
|
2134
2125
|
},
|
|
2135
2126
|
"cheerio-select": {
|
|
2136
|
-
"version": "1.
|
|
2137
|
-
"resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-1.
|
|
2138
|
-
"integrity": "sha512-
|
|
2127
|
+
"version": "1.6.0",
|
|
2128
|
+
"resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-1.6.0.tgz",
|
|
2129
|
+
"integrity": "sha512-eq0GdBvxVFbqWgmCm7M3XGs1I8oLy/nExUnh6oLqmBditPO9AqQJrkslDpMun/hZ0yyTs8L0m85OHp4ho6Qm9g==",
|
|
2139
2130
|
"requires": {
|
|
2140
|
-
"css-select": "^4.
|
|
2141
|
-
"css-what": "^
|
|
2131
|
+
"css-select": "^4.3.0",
|
|
2132
|
+
"css-what": "^6.0.1",
|
|
2142
2133
|
"domelementtype": "^2.2.0",
|
|
2143
|
-
"domhandler": "^4.
|
|
2144
|
-
"domutils": "^2.
|
|
2134
|
+
"domhandler": "^4.3.1",
|
|
2135
|
+
"domutils": "^2.8.0"
|
|
2145
2136
|
}
|
|
2146
2137
|
},
|
|
2147
2138
|
"chokidar": {
|
|
@@ -2670,13 +2661,13 @@
|
|
|
2670
2661
|
"integrity": "sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU="
|
|
2671
2662
|
},
|
|
2672
2663
|
"css-select": {
|
|
2673
|
-
"version": "4.
|
|
2674
|
-
"resolved": "https://registry.npmjs.org/css-select/-/css-select-4.
|
|
2675
|
-
"integrity": "sha512
|
|
2664
|
+
"version": "4.3.0",
|
|
2665
|
+
"resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz",
|
|
2666
|
+
"integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==",
|
|
2676
2667
|
"requires": {
|
|
2677
2668
|
"boolbase": "^1.0.0",
|
|
2678
|
-
"css-what": "^
|
|
2679
|
-
"domhandler": "^4.3.
|
|
2669
|
+
"css-what": "^6.0.1",
|
|
2670
|
+
"domhandler": "^4.3.1",
|
|
2680
2671
|
"domutils": "^2.8.0",
|
|
2681
2672
|
"nth-check": "^2.0.1"
|
|
2682
2673
|
}
|
|
@@ -2692,9 +2683,9 @@
|
|
|
2692
2683
|
}
|
|
2693
2684
|
},
|
|
2694
2685
|
"css-what": {
|
|
2695
|
-
"version": "
|
|
2696
|
-
"resolved": "https://registry.npmjs.org/css-what/-/css-what-
|
|
2697
|
-
"integrity": "sha512-
|
|
2686
|
+
"version": "6.1.0",
|
|
2687
|
+
"resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz",
|
|
2688
|
+
"integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw=="
|
|
2698
2689
|
},
|
|
2699
2690
|
"cssfilter": {
|
|
2700
2691
|
"version": "0.0.10",
|
|
@@ -2928,9 +2919,9 @@
|
|
|
2928
2919
|
}
|
|
2929
2920
|
},
|
|
2930
2921
|
"domhandler": {
|
|
2931
|
-
"version": "4.3.
|
|
2932
|
-
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.
|
|
2933
|
-
"integrity": "sha512-
|
|
2922
|
+
"version": "4.3.1",
|
|
2923
|
+
"resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz",
|
|
2924
|
+
"integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==",
|
|
2934
2925
|
"requires": {
|
|
2935
2926
|
"domelementtype": "^2.2.0"
|
|
2936
2927
|
}
|
|
@@ -3049,9 +3040,9 @@
|
|
|
3049
3040
|
},
|
|
3050
3041
|
"dependencies": {
|
|
3051
3042
|
"debug": {
|
|
3052
|
-
"version": "4.3.
|
|
3053
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.
|
|
3054
|
-
"integrity": "sha512
|
|
3043
|
+
"version": "4.3.4",
|
|
3044
|
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
|
3045
|
+
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
|
3055
3046
|
"requires": {
|
|
3056
3047
|
"ms": "2.1.2"
|
|
3057
3048
|
}
|
|
@@ -3922,9 +3913,9 @@
|
|
|
3922
3913
|
},
|
|
3923
3914
|
"dependencies": {
|
|
3924
3915
|
"debug": {
|
|
3925
|
-
"version": "4.3.
|
|
3926
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.
|
|
3927
|
-
"integrity": "sha512
|
|
3916
|
+
"version": "4.3.4",
|
|
3917
|
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
|
3918
|
+
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
|
3928
3919
|
"requires": {
|
|
3929
3920
|
"ms": "2.1.2"
|
|
3930
3921
|
}
|
|
@@ -4245,9 +4236,9 @@
|
|
|
4245
4236
|
"integrity": "sha1-R5gsWDa9dY/UhJSSPEoQHvbpPjs="
|
|
4246
4237
|
},
|
|
4247
4238
|
"js-beautify": {
|
|
4248
|
-
"version": "1.14.
|
|
4249
|
-
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.
|
|
4250
|
-
"integrity": "sha512-
|
|
4239
|
+
"version": "1.14.2",
|
|
4240
|
+
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.2.tgz",
|
|
4241
|
+
"integrity": "sha512-H85kX95a53os+q1OCqtYe8AXAmgy3BvtysA/V83S3fdhznm6WlUpGi14DqSPbKFsL3dXZFXYl7YQwW9U1+76ng==",
|
|
4251
4242
|
"requires": {
|
|
4252
4243
|
"config-chain": "^1.1.12",
|
|
4253
4244
|
"editorconfig": "^0.15.3",
|
|
@@ -4486,9 +4477,9 @@
|
|
|
4486
4477
|
"integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ=="
|
|
4487
4478
|
},
|
|
4488
4479
|
"debug": {
|
|
4489
|
-
"version": "4.3.
|
|
4490
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.
|
|
4491
|
-
"integrity": "sha512
|
|
4480
|
+
"version": "4.3.4",
|
|
4481
|
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
|
4482
|
+
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
|
4492
4483
|
"requires": {
|
|
4493
4484
|
"ms": "2.1.2"
|
|
4494
4485
|
}
|
|
@@ -4764,9 +4755,9 @@
|
|
|
4764
4755
|
}
|
|
4765
4756
|
},
|
|
4766
4757
|
"minimist": {
|
|
4767
|
-
"version": "1.2.
|
|
4768
|
-
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.
|
|
4769
|
-
"integrity": "sha512-
|
|
4758
|
+
"version": "1.2.6",
|
|
4759
|
+
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
|
|
4760
|
+
"integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="
|
|
4770
4761
|
},
|
|
4771
4762
|
"minipass": {
|
|
4772
4763
|
"version": "2.9.0",
|
|
@@ -5181,11 +5172,11 @@
|
|
|
5181
5172
|
}
|
|
5182
5173
|
},
|
|
5183
5174
|
"mkdirp": {
|
|
5184
|
-
"version": "0.5.
|
|
5185
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.
|
|
5186
|
-
"integrity": "sha512-
|
|
5175
|
+
"version": "0.5.6",
|
|
5176
|
+
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
|
|
5177
|
+
"integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
|
|
5187
5178
|
"requires": {
|
|
5188
|
-
"minimist": "^1.2.
|
|
5179
|
+
"minimist": "^1.2.6"
|
|
5189
5180
|
}
|
|
5190
5181
|
},
|
|
5191
5182
|
"mkdirp-classic": {
|
|
@@ -5195,9 +5186,9 @@
|
|
|
5195
5186
|
"dev": true
|
|
5196
5187
|
},
|
|
5197
5188
|
"moment": {
|
|
5198
|
-
"version": "2.29.
|
|
5199
|
-
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.
|
|
5200
|
-
"integrity": "sha512-
|
|
5189
|
+
"version": "2.29.2",
|
|
5190
|
+
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.2.tgz",
|
|
5191
|
+
"integrity": "sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg=="
|
|
5201
5192
|
},
|
|
5202
5193
|
"moment-timezone": {
|
|
5203
5194
|
"version": "0.5.34",
|
|
@@ -5445,9 +5436,9 @@
|
|
|
5445
5436
|
"integrity": "sha512-3l4E8uMPY1HdMMryPRUAl+oIHtXtyiTlIiESNSVSNxcPfzAFzeTbXFQkZfAwBbo0B1qMSG8nUABx+Gd+YrbKrQ=="
|
|
5446
5437
|
},
|
|
5447
5438
|
"nodemailer": {
|
|
5448
|
-
"version": "6.7.
|
|
5449
|
-
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.
|
|
5450
|
-
"integrity": "sha512-
|
|
5439
|
+
"version": "6.7.3",
|
|
5440
|
+
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.3.tgz",
|
|
5441
|
+
"integrity": "sha512-KUdDsspqx89sD4UUyUKzdlUOper3hRkDVkrKh/89G+d9WKsU5ox51NWS4tB1XR5dPUdR4SP0E3molyEfOvSa3g=="
|
|
5451
5442
|
},
|
|
5452
5443
|
"nopt": {
|
|
5453
5444
|
"version": "3.0.6",
|
|
@@ -6625,9 +6616,9 @@
|
|
|
6625
6616
|
},
|
|
6626
6617
|
"dependencies": {
|
|
6627
6618
|
"debug": {
|
|
6628
|
-
"version": "4.3.
|
|
6629
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.
|
|
6630
|
-
"integrity": "sha512
|
|
6619
|
+
"version": "4.3.4",
|
|
6620
|
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
|
6621
|
+
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
|
6631
6622
|
"requires": {
|
|
6632
6623
|
"ms": "2.1.2"
|
|
6633
6624
|
}
|
|
@@ -6650,9 +6641,9 @@
|
|
|
6650
6641
|
},
|
|
6651
6642
|
"dependencies": {
|
|
6652
6643
|
"debug": {
|
|
6653
|
-
"version": "4.3.
|
|
6654
|
-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.
|
|
6655
|
-
"integrity": "sha512
|
|
6644
|
+
"version": "4.3.4",
|
|
6645
|
+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
|
6646
|
+
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
|
6656
6647
|
"requires": {
|
|
6657
6648
|
"ms": "2.1.2"
|
|
6658
6649
|
}
|
|
@@ -6903,9 +6894,9 @@
|
|
|
6903
6894
|
"integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="
|
|
6904
6895
|
},
|
|
6905
6896
|
"systeminformation": {
|
|
6906
|
-
"version": "5.11.
|
|
6907
|
-
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.11.
|
|
6908
|
-
"integrity": "sha512-
|
|
6897
|
+
"version": "5.11.9",
|
|
6898
|
+
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.11.9.tgz",
|
|
6899
|
+
"integrity": "sha512-eeMtL9UJFR/LYG+2rpeAgZ0Va4ojlNQTkYiQH/xbbPwDjDMsaetj3Pkc+C1aH5G8mav6HvDY8kI4Vl4noksSkA=="
|
|
6909
6900
|
},
|
|
6910
6901
|
"tar": {
|
|
6911
6902
|
"version": "2.2.2",
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.7.1-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":"Absolute path to local plugin","required":true}]},"make-migration":{"id":"make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"release":{"id":"release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"version","description":"New version number","required":true}]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"tenant","description":"Tenant to remove","required":true}]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","allowNo":false}},"args":[{"name":"package","description":"which package to run tests for"}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false}},"args":[]},"set-cfg":{"id":"set-cfg","description":"Set a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true},{"name":"value","description":"Configuration value (JSON or string)","required":true}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a \nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"test-plugin":{"id":"test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]}}}
|
|
1
|
+
{"version":"0.7.1","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"configuration-check":{"id":"configuration-check","description":"Check configuration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"delete-tenants":{"id":"delete-tenants","description":"Delete inactive tenants","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"install-pack":{"id":"install-pack","description":"Install a pack","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"localize-plugin":{"id":"localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"Absolute path to local plugin","required":true}]},"make-migration":{"id":"make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"release":{"id":"release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"version","description":"New version number","required":true}]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"tenant","description":"Tenant to remove","required":true}]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","allowNo":false}},"args":[{"name":"package","description":"which package to run tests for"}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false}},"args":[]},"set-cfg":{"id":"set-cfg","description":"Set a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true},{"name":"value","description":"Configuration value (JSON or string)","required":true}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a \nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"test-plugin":{"id":"test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]}}}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
3
|
"description": "Command-line interface for Saltcorn, open-source no-code platform",
|
|
4
4
|
"homepage": "https://saltcorn.com",
|
|
5
|
-
"version": "0.7.1
|
|
5
|
+
"version": "0.7.1",
|
|
6
6
|
"author": "Tom Nielsen @glutamate",
|
|
7
7
|
"bin": {
|
|
8
8
|
"saltcorn": "./bin/saltcorn"
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"@oclif/command": "^1.8.16",
|
|
13
13
|
"@oclif/config": "^1.18.3",
|
|
14
14
|
"@oclif/plugin-help": "^3.3.1",
|
|
15
|
-
"@saltcorn/admin-models": "0.7.1
|
|
16
|
-
"@saltcorn/data": "0.7.1
|
|
17
|
-
"@saltcorn/server": "0.7.1
|
|
15
|
+
"@saltcorn/admin-models": "0.7.1",
|
|
16
|
+
"@saltcorn/data": "0.7.1",
|
|
17
|
+
"@saltcorn/server": "0.7.1",
|
|
18
18
|
"cli-ux": "^5.6.7",
|
|
19
19
|
"contractis": "^0.1.0",
|
|
20
20
|
"dateformat": "^3.0.3",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node-watch": "^0.7.3",
|
|
25
25
|
"source-map-support": "^0.5.21",
|
|
26
26
|
"sudo": "^1.0.3",
|
|
27
|
-
"systeminformation": "^5.11.
|
|
27
|
+
"systeminformation": "^5.11.9",
|
|
28
28
|
"tcp-port-used": "^1.0.2",
|
|
29
29
|
"wrk": "^1.2.1"
|
|
30
30
|
},
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @category saltcorn-cli
|
|
3
|
+
* @module commands/configuration-check
|
|
4
|
+
*/
|
|
5
|
+
const { Command, flags } = require("@oclif/command");
|
|
6
|
+
const { cli } = require("cli-ux");
|
|
7
|
+
const { maybe_as_tenant, init_some_tenants } = require("../common");
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* ConfigurationCheckCommand Class
|
|
11
|
+
* @extends oclif.Command
|
|
12
|
+
* @category saltcorn-cli
|
|
13
|
+
*/
|
|
14
|
+
class ConfigurationCheckCommand extends Command {
|
|
15
|
+
/**
|
|
16
|
+
* @returns {Promise<void>}
|
|
17
|
+
*/
|
|
18
|
+
async run() {
|
|
19
|
+
const { flags } = this.parse(ConfigurationCheckCommand);
|
|
20
|
+
await init_some_tenants(flags.tenant);
|
|
21
|
+
const {
|
|
22
|
+
runConfigurationCheck,
|
|
23
|
+
} = require("@saltcorn/admin-models/models/config-check");
|
|
24
|
+
const { mockReqRes } = require("@saltcorn/data/tests/mocks");
|
|
25
|
+
|
|
26
|
+
const that = this;
|
|
27
|
+
await maybe_as_tenant(flags.tenant, async () => {
|
|
28
|
+
const { passes, errors, pass } = await runConfigurationCheck(
|
|
29
|
+
mockReqRes.req
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
if (!pass) {
|
|
33
|
+
errors.forEach((s) => console.log(s + "\n"));
|
|
34
|
+
console.log(`FAIL - ${errors.length} checks failed`);
|
|
35
|
+
that.exit(1);
|
|
36
|
+
} else {
|
|
37
|
+
passes.forEach((s) => console.log(s));
|
|
38
|
+
console.log("Success - all checks pass");
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
this.exit(0);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @type {string}
|
|
47
|
+
*/
|
|
48
|
+
ConfigurationCheckCommand.description = `Check configuration`;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @type {object}
|
|
52
|
+
*/
|
|
53
|
+
ConfigurationCheckCommand.flags = {
|
|
54
|
+
tenant: flags.string({
|
|
55
|
+
char: "t",
|
|
56
|
+
description: "tenant",
|
|
57
|
+
}),
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
module.exports = ConfigurationCheckCommand;
|
package/src/common.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @param {object} ten
|
|
8
|
-
* @param {function} f
|
|
7
|
+
* @param {object} ten
|
|
8
|
+
* @param {function} f
|
|
9
9
|
* @returns {Promise<void>}
|
|
10
10
|
*/
|
|
11
11
|
const maybe_as_tenant = async (ten, f) => {
|
|
@@ -14,8 +14,17 @@ const maybe_as_tenant = async (ten, f) => {
|
|
|
14
14
|
return await db.runWithTenant(ten, f);
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
+
const init_some_tenants = async (tenant) => {
|
|
18
|
+
const { loadAllPlugins } = require("@saltcorn/server/load_plugins");
|
|
19
|
+
const { init_multi_tenant } = require("@saltcorn/data/db/state");
|
|
20
|
+
await loadAllPlugins();
|
|
21
|
+
if (tenant) await init_multi_tenant(loadAllPlugins, undefined, [tenant]);
|
|
22
|
+
else await init_multi_tenant(loadAllPlugins, undefined, []);
|
|
23
|
+
//await init_multi_tenant(loadAllPlugins, undefined, tenants);
|
|
24
|
+
};
|
|
25
|
+
|
|
17
26
|
/**
|
|
18
|
-
* @param {string} s
|
|
27
|
+
* @param {string} s
|
|
19
28
|
* @returns {object}
|
|
20
29
|
*/
|
|
21
30
|
const parseJSONorString = (s) => {
|
|
@@ -27,10 +36,15 @@ const parseJSONorString = (s) => {
|
|
|
27
36
|
};
|
|
28
37
|
|
|
29
38
|
/**
|
|
30
|
-
* @param {numer} ms
|
|
39
|
+
* @param {numer} ms
|
|
31
40
|
* @returns {Promise<void>}
|
|
32
41
|
*/
|
|
33
42
|
function sleep(ms) {
|
|
34
43
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
35
44
|
}
|
|
36
|
-
module.exports = {
|
|
45
|
+
module.exports = {
|
|
46
|
+
maybe_as_tenant,
|
|
47
|
+
parseJSONorString,
|
|
48
|
+
sleep,
|
|
49
|
+
init_some_tenants,
|
|
50
|
+
};
|