@saltcorn/cli 0.6.2-beta.0 → 0.6.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -27
- package/npm-shrinkwrap.json +52 -112
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
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.
|
|
23
|
+
@saltcorn/cli/0.6.2-beta.1 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.
|
|
71
|
+
_See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
87
|
+
_See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
105
|
+
_See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
123
|
+
_See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
141
|
+
_See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/src/commands/fixtures.js)_
|
|
142
142
|
|
|
143
143
|
## `saltcorn help [COMMAND]`
|
|
144
144
|
|
|
@@ -176,7 +176,7 @@ ALIASES
|
|
|
176
176
|
$ saltcorn paths
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.
|
|
179
|
+
_See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
195
|
+
_See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
211
|
+
_See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
222
|
+
_See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
240
|
+
_See code: [src/commands/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
256
|
+
_See code: [src/commands/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
278
|
+
_See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
305
|
+
_See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
319
|
+
_See code: [src/commands/release.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
338
|
+
_See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
355
|
+
_See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
369
|
+
_See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
388
|
+
_See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
408
|
+
_See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
422
|
+
_See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
442
|
+
_See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
461
|
+
_See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
480
|
+
_See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
494
|
+
_See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
512
|
+
_See code: [src/commands/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/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.
|
|
529
|
+
_See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v0.6.2-beta.1/src/commands/transform-field.js)_
|
|
530
530
|
<!-- commandsstop -->
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
|
-
"version": "0.6.2-beta.
|
|
3
|
+
"version": "0.6.2-beta.1",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"version": "7.16.0",
|
|
9
9
|
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz",
|
|
10
10
|
"integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==",
|
|
11
|
-
"dev": true,
|
|
12
11
|
"requires": {
|
|
13
12
|
"@babel/highlight": "^7.16.0"
|
|
14
13
|
}
|
|
@@ -83,14 +82,12 @@
|
|
|
83
82
|
"@babel/helper-validator-identifier": {
|
|
84
83
|
"version": "7.15.7",
|
|
85
84
|
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz",
|
|
86
|
-
"integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w=="
|
|
87
|
-
"dev": true
|
|
85
|
+
"integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w=="
|
|
88
86
|
},
|
|
89
87
|
"@babel/highlight": {
|
|
90
88
|
"version": "7.16.0",
|
|
91
89
|
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz",
|
|
92
90
|
"integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",
|
|
93
|
-
"dev": true,
|
|
94
91
|
"requires": {
|
|
95
92
|
"@babel/helper-validator-identifier": "^7.15.7",
|
|
96
93
|
"chalk": "^2.0.0",
|
|
@@ -110,31 +107,6 @@
|
|
|
110
107
|
"@babel/code-frame": "^7.16.0",
|
|
111
108
|
"@babel/parser": "^7.16.0",
|
|
112
109
|
"@babel/types": "^7.16.0"
|
|
113
|
-
},
|
|
114
|
-
"dependencies": {
|
|
115
|
-
"@babel/code-frame": {
|
|
116
|
-
"version": "7.16.0",
|
|
117
|
-
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz",
|
|
118
|
-
"integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==",
|
|
119
|
-
"requires": {
|
|
120
|
-
"@babel/highlight": "^7.16.0"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"@babel/helper-validator-identifier": {
|
|
124
|
-
"version": "7.15.7",
|
|
125
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz",
|
|
126
|
-
"integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w=="
|
|
127
|
-
},
|
|
128
|
-
"@babel/highlight": {
|
|
129
|
-
"version": "7.16.0",
|
|
130
|
-
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz",
|
|
131
|
-
"integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",
|
|
132
|
-
"requires": {
|
|
133
|
-
"@babel/helper-validator-identifier": "^7.15.7",
|
|
134
|
-
"chalk": "^2.0.0",
|
|
135
|
-
"js-tokens": "^4.0.0"
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
110
|
}
|
|
139
111
|
},
|
|
140
112
|
"@babel/traverse": {
|
|
@@ -151,31 +123,6 @@
|
|
|
151
123
|
"@babel/types": "^7.16.0",
|
|
152
124
|
"debug": "^4.1.0",
|
|
153
125
|
"globals": "^11.1.0"
|
|
154
|
-
},
|
|
155
|
-
"dependencies": {
|
|
156
|
-
"@babel/code-frame": {
|
|
157
|
-
"version": "7.16.0",
|
|
158
|
-
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz",
|
|
159
|
-
"integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==",
|
|
160
|
-
"requires": {
|
|
161
|
-
"@babel/highlight": "^7.16.0"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"@babel/helper-validator-identifier": {
|
|
165
|
-
"version": "7.15.7",
|
|
166
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz",
|
|
167
|
-
"integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w=="
|
|
168
|
-
},
|
|
169
|
-
"@babel/highlight": {
|
|
170
|
-
"version": "7.16.0",
|
|
171
|
-
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz",
|
|
172
|
-
"integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",
|
|
173
|
-
"requires": {
|
|
174
|
-
"@babel/helper-validator-identifier": "^7.15.7",
|
|
175
|
-
"chalk": "^2.0.0",
|
|
176
|
-
"js-tokens": "^4.0.0"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
126
|
}
|
|
180
127
|
},
|
|
181
128
|
"@babel/types": {
|
|
@@ -185,13 +132,6 @@
|
|
|
185
132
|
"requires": {
|
|
186
133
|
"@babel/helper-validator-identifier": "^7.15.7",
|
|
187
134
|
"to-fast-properties": "^2.0.0"
|
|
188
|
-
},
|
|
189
|
-
"dependencies": {
|
|
190
|
-
"@babel/helper-validator-identifier": {
|
|
191
|
-
"version": "7.15.7",
|
|
192
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz",
|
|
193
|
-
"integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w=="
|
|
194
|
-
}
|
|
195
135
|
}
|
|
196
136
|
},
|
|
197
137
|
"@emotion/is-prop-valid": {
|
|
@@ -678,30 +618,30 @@
|
|
|
678
618
|
}
|
|
679
619
|
},
|
|
680
620
|
"@saltcorn/base-plugin": {
|
|
681
|
-
"version": "0.6.2-beta.
|
|
682
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.2-beta.
|
|
683
|
-
"integrity": "sha512-
|
|
621
|
+
"version": "0.6.2-beta.1",
|
|
622
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-0.6.2-beta.1.tgz",
|
|
623
|
+
"integrity": "sha512-HDFb8SE+u868g2YzmJpeQedF9t4H15Y5KwgD7lj62e2N1K7Me+DltsszpVqjEFWkOEiS1YbkOgIf23HvCB12Sw==",
|
|
684
624
|
"requires": {
|
|
685
|
-
"@saltcorn/data": "0.6.2-beta.
|
|
625
|
+
"@saltcorn/data": "0.6.2-beta.1"
|
|
686
626
|
}
|
|
687
627
|
},
|
|
688
628
|
"@saltcorn/builder": {
|
|
689
|
-
"version": "0.6.2-beta.
|
|
690
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.2-beta.
|
|
691
|
-
"integrity": "sha512-
|
|
629
|
+
"version": "0.6.2-beta.1",
|
|
630
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-0.6.2-beta.1.tgz",
|
|
631
|
+
"integrity": "sha512-TycD6QMsJGpfPajYM57mNwVlakgIsaujjz85uGqFhy7UT/TPRHQnjv8ngQlpUG8ZC2O3pWLuRMtcwBUL+cATgQ==",
|
|
692
632
|
"requires": {
|
|
693
633
|
"styled-components": "^4.4.1"
|
|
694
634
|
}
|
|
695
635
|
},
|
|
696
636
|
"@saltcorn/data": {
|
|
697
|
-
"version": "0.6.2-beta.
|
|
698
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.2-beta.
|
|
699
|
-
"integrity": "sha512-
|
|
700
|
-
"requires": {
|
|
701
|
-
"@saltcorn/db-common": "0.6.2-beta.
|
|
702
|
-
"@saltcorn/markup": "0.6.2-beta.
|
|
703
|
-
"@saltcorn/postgres": "0.6.2-beta.
|
|
704
|
-
"@saltcorn/sqlite": "0.6.2-beta.
|
|
637
|
+
"version": "0.6.2-beta.1",
|
|
638
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-0.6.2-beta.1.tgz",
|
|
639
|
+
"integrity": "sha512-LeRARQDh0FyzWglyZJh1CXwZi//SosLSHaWD8czUVApu46e7rvbd461GxN+slnozKiuLkGQCbnVAtMXtq+mrjQ==",
|
|
640
|
+
"requires": {
|
|
641
|
+
"@saltcorn/db-common": "0.6.2-beta.1",
|
|
642
|
+
"@saltcorn/markup": "0.6.2-beta.1",
|
|
643
|
+
"@saltcorn/postgres": "0.6.2-beta.1",
|
|
644
|
+
"@saltcorn/sqlite": "0.6.2-beta.1",
|
|
705
645
|
"acorn": "^8.0.3",
|
|
706
646
|
"adm-zip": "0.5.5",
|
|
707
647
|
"astring": "^1.4.3",
|
|
@@ -729,18 +669,18 @@
|
|
|
729
669
|
}
|
|
730
670
|
},
|
|
731
671
|
"@saltcorn/db-common": {
|
|
732
|
-
"version": "0.6.2-beta.
|
|
733
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.6.2-beta.
|
|
734
|
-
"integrity": "sha512
|
|
672
|
+
"version": "0.6.2-beta.1",
|
|
673
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-0.6.2-beta.1.tgz",
|
|
674
|
+
"integrity": "sha512-RdSYm9PBSWHZaCrSE69GJ3UK2R1+tnth9ZhgdFJ1ecDrFb6H29plqS6gsgpXzKPYPHz+XyWxrSKlqFbq+Kdb/Q==",
|
|
735
675
|
"requires": {
|
|
736
|
-
"@saltcorn/markup": "0.6.2-beta.
|
|
676
|
+
"@saltcorn/markup": "0.6.2-beta.1",
|
|
737
677
|
"contractis": "^0.1.0"
|
|
738
678
|
}
|
|
739
679
|
},
|
|
740
680
|
"@saltcorn/markup": {
|
|
741
|
-
"version": "0.6.2-beta.
|
|
742
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.2-beta.
|
|
743
|
-
"integrity": "sha512
|
|
681
|
+
"version": "0.6.2-beta.1",
|
|
682
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-0.6.2-beta.1.tgz",
|
|
683
|
+
"integrity": "sha512-+TP/Q+bLKPEdhFG5Oz/fvChJM9FJjUpje5jhq/Y1GykXCeIhgr54MNZfoTjUvm32pPKT3vEiUF5gqojAA2IBoA==",
|
|
744
684
|
"requires": {
|
|
745
685
|
"contractis": "^0.1.0",
|
|
746
686
|
"escape-html": "^1.0.3",
|
|
@@ -749,36 +689,36 @@
|
|
|
749
689
|
}
|
|
750
690
|
},
|
|
751
691
|
"@saltcorn/postgres": {
|
|
752
|
-
"version": "0.6.2-beta.
|
|
753
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.6.2-beta.
|
|
754
|
-
"integrity": "sha512-
|
|
692
|
+
"version": "0.6.2-beta.1",
|
|
693
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-0.6.2-beta.1.tgz",
|
|
694
|
+
"integrity": "sha512-xJLAnOlxDsDuD/d+G7mr6eNoe6Se9Di1wbCNiE+AThNkLfwMaVCcLpDKIsoPpHHHvP5vUEUzyF2p8k7tyPu1hQ==",
|
|
755
695
|
"optional": true,
|
|
756
696
|
"requires": {
|
|
757
|
-
"@saltcorn/db-common": "0.6.2-beta.
|
|
697
|
+
"@saltcorn/db-common": "0.6.2-beta.1",
|
|
758
698
|
"pg": "^8.2.1",
|
|
759
699
|
"pg-copy-streams": "^5.1.1"
|
|
760
700
|
}
|
|
761
701
|
},
|
|
762
702
|
"@saltcorn/sbadmin2": {
|
|
763
|
-
"version": "0.6.2-beta.
|
|
764
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.2-beta.
|
|
765
|
-
"integrity": "sha512
|
|
703
|
+
"version": "0.6.2-beta.1",
|
|
704
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-0.6.2-beta.1.tgz",
|
|
705
|
+
"integrity": "sha512-nkN9ZFJNXbx7TzYZ8BbiQjIqZUHo0TZW6ickiUDCga0JlIJKlPKbAqB/OLeaenV/8i0FLaU2NrOzAYaLsvlBXg==",
|
|
766
706
|
"requires": {
|
|
767
|
-
"@saltcorn/data": "0.6.2-beta.
|
|
768
|
-
"@saltcorn/markup": "0.6.2-beta.
|
|
707
|
+
"@saltcorn/data": "0.6.2-beta.1",
|
|
708
|
+
"@saltcorn/markup": "0.6.2-beta.1",
|
|
769
709
|
"startbootstrap-sb-admin-2": "^4.1.4"
|
|
770
710
|
}
|
|
771
711
|
},
|
|
772
712
|
"@saltcorn/server": {
|
|
773
|
-
"version": "0.6.2-beta.
|
|
774
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.2-beta.
|
|
775
|
-
"integrity": "sha512-
|
|
776
|
-
"requires": {
|
|
777
|
-
"@saltcorn/base-plugin": "0.6.2-beta.
|
|
778
|
-
"@saltcorn/builder": "0.6.2-beta.
|
|
779
|
-
"@saltcorn/data": "0.6.2-beta.
|
|
780
|
-
"@saltcorn/markup": "0.6.2-beta.
|
|
781
|
-
"@saltcorn/sbadmin2": "0.6.2-beta.
|
|
713
|
+
"version": "0.6.2-beta.1",
|
|
714
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-0.6.2-beta.1.tgz",
|
|
715
|
+
"integrity": "sha512-ih0GNLLEdHVVtS4c4MT2C0EUgaU5Lt9I62Ug32qAudOYzncN/6JTt+VGRKWnzYwHmTuJexD+xmxdMOJMiH6+bQ==",
|
|
716
|
+
"requires": {
|
|
717
|
+
"@saltcorn/base-plugin": "0.6.2-beta.1",
|
|
718
|
+
"@saltcorn/builder": "0.6.2-beta.1",
|
|
719
|
+
"@saltcorn/data": "0.6.2-beta.1",
|
|
720
|
+
"@saltcorn/markup": "0.6.2-beta.1",
|
|
721
|
+
"@saltcorn/sbadmin2": "0.6.2-beta.1",
|
|
782
722
|
"@socket.io/cluster-adapter": "^0.1.0",
|
|
783
723
|
"@socket.io/sticky": "^1.0.1",
|
|
784
724
|
"connect-flash": "^0.1.1",
|
|
@@ -813,12 +753,12 @@
|
|
|
813
753
|
}
|
|
814
754
|
},
|
|
815
755
|
"@saltcorn/sqlite": {
|
|
816
|
-
"version": "0.6.2-beta.
|
|
817
|
-
"resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.6.2-beta.
|
|
818
|
-
"integrity": "sha512-
|
|
756
|
+
"version": "0.6.2-beta.1",
|
|
757
|
+
"resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-0.6.2-beta.1.tgz",
|
|
758
|
+
"integrity": "sha512-fOP+NhHTVcrzpSazRmo+QKRqs/kTjpRlulWwmG1FpLnC/AkvLlCyyAUts8KywGJNtumvizVUny8gWxfO7kSuyA==",
|
|
819
759
|
"optional": true,
|
|
820
760
|
"requires": {
|
|
821
|
-
"@saltcorn/db-common": "0.6.2-beta.
|
|
761
|
+
"@saltcorn/db-common": "0.6.2-beta.1",
|
|
822
762
|
"sqlite3": "^5.0.2"
|
|
823
763
|
}
|
|
824
764
|
},
|
|
@@ -3446,9 +3386,9 @@
|
|
|
3446
3386
|
"integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
|
|
3447
3387
|
},
|
|
3448
3388
|
"is-core-module": {
|
|
3449
|
-
"version": "2.
|
|
3450
|
-
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.
|
|
3451
|
-
"integrity": "sha512-
|
|
3389
|
+
"version": "2.8.0",
|
|
3390
|
+
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz",
|
|
3391
|
+
"integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==",
|
|
3452
3392
|
"requires": {
|
|
3453
3393
|
"has": "^1.0.3"
|
|
3454
3394
|
}
|
|
@@ -4638,9 +4578,9 @@
|
|
|
4638
4578
|
"integrity": "sha512-g53VjSARRv1JdST0LZRIg8RiuLr1TaBbVPsVvxh0/0Ymvi0xYUjDuoqQQAWtHJQUXhiShowPT/aXKNeHBcyQsw=="
|
|
4639
4579
|
},
|
|
4640
4580
|
"nodemailer": {
|
|
4641
|
-
"version": "6.7.
|
|
4642
|
-
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.
|
|
4643
|
-
"integrity": "sha512-
|
|
4581
|
+
"version": "6.7.2",
|
|
4582
|
+
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.7.2.tgz",
|
|
4583
|
+
"integrity": "sha512-Dz7zVwlef4k5R71fdmxwR8Q39fiboGbu3xgswkzGwczUfjp873rVxt1O46+Fh0j1ORnAC6L9+heI8uUpO6DT7Q=="
|
|
4644
4584
|
},
|
|
4645
4585
|
"nopt": {
|
|
4646
4586
|
"version": "3.0.6",
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.6.2-beta.0","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false}},"args":[]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"install-pack":{"id":"install-pack","description":"Install a pack","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"localize-plugin":{"id":"localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"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-beta.1","commands":{"add-schema":{"id":"add-schema","description":"Add Saltcorn schema to existing database","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"backup":{"id":"backup","description":"Backup the PostgreSQL database to a file with pg_dump or zip","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"output":{"name":"output","type":"option","char":"o","description":"output filename"},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"zip":{"name":"zip","type":"boolean","char":"z","description":"zip format","allowNo":false}},"args":[]},"create-tenant":{"id":"create-tenant","description":"Create a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"email":{"name":"email","type":"option","char":"e","description":"Email of owner of tenant"},"description":{"name":"description","type":"option","char":"d","description":"Description of tenant"}},"args":[{"name":"tenant","description":"Tenant subdomain to create","required":true}]},"create-user":{"id":"create-user","description":"Create a new user","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"admin":{"name":"admin","type":"boolean","char":"a","description":"Admin user","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"email":{"name":"email","type":"option","char":"e","description":"email"},"role":{"name":"role","type":"option","char":"r","description":"role"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"fixtures":{"id":"fixtures","description":"Load fixtures for testing\n...\nThis manual step it is never required for users and rarely required for developers\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"reset":{"name":"reset","type":"boolean","char":"r","description":"Also reset schema","allowNo":false}},"args":[]},"info":{"id":"info","description":"Show paths\n...\nShow configuration and file store paths\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":["paths"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"json format","allowNo":false}},"args":[]},"install-pack":{"id":"install-pack","description":"Install a pack","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Pack name in store"},"file":{"name":"file","type":"option","char":"f","description":"File with pack JSON"}},"args":[]},"install-plugin":{"id":"install-plugin","description":"Install a plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"name":{"name":"name","type":"option","char":"n","description":"Plugin name in store"},"directory":{"name":"directory","type":"option","char":"d","description":"Directory with local plugin"}},"args":[]},"list-tenants":{"id":"list-tenants","description":"List tenants in CSV format","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"localize-plugin":{"id":"localize-plugin","description":"Convert plugin to local plugin","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"plugin","description":"Current plugin name","required":true},{"name":"path","description":"path to local plugin","required":true}]},"make-migration":{"id":"make-migration","description":"Create a new blank Database structure migration file.\nThese migrations update database structure.\nYou should not normally need to run this\nunless you are a developer.\n","usage":"make-migration","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"migrate":{"id":"migrate","description":"Run Database structure migrations\n...\nNOTE!\n- Please stop Saltcorn before run DB migrations.\n- Please make db backup before migration.\n- There are no way to rollback migration if you doesn't make backup.\n\nThis is not normally required as migrations will be run when the server starts.\nHowever, this command may be useful if you are running multiple application\nservers and need to control when the migrations are run.\n","usage":"saltcorn migrate","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"plugins":{"id":"plugins","description":"List and upgrade plugins for tenants\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"examples":["plugins -v - verbose output of commands","plugins -u -d - dry-run for plugin update","plugins -u -f - force plugin update"],"flags":{"upgrade":{"name":"upgrade","type":"boolean","char":"u","description":"Upgrade","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"Upgrade dry-run","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Force update","allowNo":false},"name":{"name":"name","type":"option","char":"n","description":"Plugin name"}},"args":[]},"release":{"id":"release","description":"Release a new saltcorn version","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"version","description":"New version number","required":true}]},"reset-schema":{"id":"reset-schema","description":"Reset the database\n...\nThis will delete all existing information\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"force":{"name":"force","type":"boolean","char":"f","description":"force","allowNo":false},"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"restore":{"id":"restore","description":"Restore a previously backed up database (zip or sqlc format)","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[{"name":"file","description":"backup file to restore","required":true}]},"rm-tenant":{"id":"rm-tenant","description":"Remove a tenant","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"tenant","description":"Tenant to remove","required":true}]},"run-benchmark":{"id":"run-benchmark","description":"Run benchmark","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"token":{"name":"token","type":"option","char":"t","description":"API Token for reporting results"},"benchmark":{"name":"benchmark","type":"option","char":"b","description":"Which benchmark to run"},"delay":{"name":"delay","type":"option","char":"d","description":"delay between runs (s)","default":30}},"args":[{"name":"baseurl","description":"Base URL","required":false}]},"run-tests":{"id":"run-tests","description":"Run test suites","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false},"testFilter":{"name":"testFilter","type":"option","char":"t","description":"Filter tests by suite or test name"},"watch":{"name":"watch","type":"boolean","description":"Watch files for changes and rerun tests related to changed files.","allowNo":false},"watchAll":{"name":"watchAll","type":"boolean","description":"Watch files for changes and rerun all tests.","allowNo":false}},"args":[{"name":"package","description":"which package to run tests for"}]},"scheduler":{"id":"scheduler","description":"Run the Saltcorn scheduler","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Start the Saltcorn server","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"port":{"name":"port","type":"option","char":"p","description":"port","default":3000},"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose","allowNo":false},"watchReaper":{"name":"watchReaper","type":"boolean","char":"r","description":"Watch reaper","allowNo":false},"dev":{"name":"dev","type":"boolean","char":"d","description":"Run in dev mode and re-start on file changes","allowNo":false},"addschema":{"name":"addschema","type":"boolean","char":"a","description":"Add schema if missing","allowNo":false},"nomigrate":{"name":"nomigrate","type":"boolean","char":"n","description":"No migrations","allowNo":false},"noscheduler":{"name":"noscheduler","type":"boolean","char":"s","description":"No scheduler","allowNo":false}},"args":[]},"set-cfg":{"id":"set-cfg","description":"Set a configuration value","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"},"plugin":{"name":"plugin","type":"option","char":"p","description":"plugin"}},"args":[{"name":"key","description":"Configuration key","required":true},{"name":"value","description":"Configuration value (JSON or string)","required":true}]},"setup-benchmark":{"id":"setup-benchmark","description":"Setup an instance for benchmarking","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"tenant":{"name":"tenant","type":"option","char":"t","description":"tenant"}},"args":[]},"setup":{"id":"setup","description":"Set up a new system\n...\nThis will attempt to install or connect a database, and set up a \nconfiguration file\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{"coverage":{"name":"coverage","type":"boolean","char":"c","description":"Coverage","allowNo":false}},"args":[]},"test-plugin":{"id":"test-plugin","description":"Test a plugin\n...\nExtra documentation goes here\n","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"path to plugin package","required":true}]},"transform-field":{"id":"transform-field","description":"transform an existing field by applying a calculated expression","pluginName":"@saltcorn/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"expression","description":"expression to calculate field","required":true},{"name":"field","description":"field name","required":true},{"name":"table","description":"table name","required":true},{"name":"tenant","description":"tenant name","required":false}]}}}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
3
|
"description": "Command-line interface for Saltcorn, open-source no-code platform",
|
|
4
4
|
"homepage": "https://saltcorn.com",
|
|
5
|
-
"version": "0.6.2-beta.
|
|
5
|
+
"version": "0.6.2-beta.1",
|
|
6
6
|
"author": "Tom Nielsen @glutamate",
|
|
7
7
|
"bin": {
|
|
8
8
|
"saltcorn": "./bin/saltcorn"
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@oclif/command": "^1.8.4",
|
|
13
13
|
"@oclif/config": "^1.17.1",
|
|
14
14
|
"@oclif/plugin-help": "^3.2.7",
|
|
15
|
-
"@saltcorn/data": "0.6.2-beta.
|
|
16
|
-
"@saltcorn/server": "0.6.2-beta.
|
|
15
|
+
"@saltcorn/data": "0.6.2-beta.1",
|
|
16
|
+
"@saltcorn/server": "0.6.2-beta.1",
|
|
17
17
|
"cli-ux": "^5.6.4",
|
|
18
18
|
"contractis": "^0.1.0",
|
|
19
19
|
"dateformat": "^3.0.3",
|