@saltcorn/cli 1.6.0-alpha.0 → 1.6.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,7 +20,7 @@ $ npm install -g @saltcorn/cli
20
20
  $ saltcorn COMMAND
21
21
  running command...
22
22
  $ saltcorn (--version)
23
- @saltcorn/cli/1.6.0-alpha.0 linux-x64 node-v20.19.4
23
+ @saltcorn/cli/1.6.0-alpha.1 linux-x64 node-v20.19.4
24
24
  $ saltcorn --help [COMMAND]
25
25
  USAGE
26
26
  $ saltcorn COMMAND
@@ -97,7 +97,7 @@ DESCRIPTION
97
97
  Add Saltcorn schema to existing database
98
98
  ```
99
99
 
100
- _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/add-schema.js)_
100
+ _See code: [src/commands/add-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/add-schema.js)_
101
101
 
102
102
  ## `saltcorn backup`
103
103
 
@@ -118,7 +118,7 @@ DESCRIPTION
118
118
  Backup the PostgreSQL database to a file with pg_dump or saltcorn backup zip
119
119
  ```
120
120
 
121
- _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/backup.js)_
121
+ _See code: [src/commands/backup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/backup.js)_
122
122
 
123
123
  ## `saltcorn build-app`
124
124
 
@@ -188,7 +188,7 @@ DESCRIPTION
188
188
  Build mobile app
189
189
  ```
190
190
 
191
- _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/build-app.js)_
191
+ _See code: [src/commands/build-app.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/build-app.js)_
192
192
 
193
193
  ## `saltcorn build-capacitor-builder`
194
194
 
@@ -206,7 +206,7 @@ DESCRIPTION
206
206
  Build the 'saltcorn/capacitor-builder' docker image or pull it from docker hub.
207
207
  ```
208
208
 
209
- _See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
209
+ _See code: [src/commands/build-capacitor-builder.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/build-capacitor-builder.js)_
210
210
 
211
211
  ## `saltcorn configuration-check`
212
212
 
@@ -223,7 +223,7 @@ DESCRIPTION
223
223
  Check configuration
224
224
  ```
225
225
 
226
- _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/configuration-check.js)_
226
+ _See code: [src/commands/configuration-check.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/configuration-check.js)_
227
227
 
228
228
  ## `saltcorn configuration-check-backups FILES`
229
229
 
@@ -243,7 +243,7 @@ DESCRIPTION
243
243
  Check configuration
244
244
  ```
245
245
 
246
- _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
246
+ _See code: [src/commands/configuration-check-backups.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/configuration-check-backups.js)_
247
247
 
248
248
  ## `saltcorn create-tenant TENANT`
249
249
 
@@ -265,7 +265,7 @@ DESCRIPTION
265
265
  Create a tenant
266
266
  ```
267
267
 
268
- _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/create-tenant.js)_
268
+ _See code: [src/commands/create-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/create-tenant.js)_
269
269
 
270
270
  ## `saltcorn create-user`
271
271
 
@@ -286,7 +286,7 @@ DESCRIPTION
286
286
  Create a new user
287
287
  ```
288
288
 
289
- _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/create-user.js)_
289
+ _See code: [src/commands/create-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/create-user.js)_
290
290
 
291
291
  ## `saltcorn delete-tenants`
292
292
 
@@ -300,7 +300,7 @@ DESCRIPTION
300
300
  Delete inactive tenants
301
301
  ```
302
302
 
303
- _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/delete-tenants.js)_
303
+ _See code: [src/commands/delete-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/delete-tenants.js)_
304
304
 
305
305
  ## `saltcorn delete-user USER_EMAIL`
306
306
 
@@ -323,7 +323,7 @@ DESCRIPTION
323
323
  Command deletes the user specified by USER_EMAIL.
324
324
  ```
325
325
 
326
- _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/delete-user.js)_
326
+ _See code: [src/commands/delete-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/delete-user.js)_
327
327
 
328
328
  ## `saltcorn dev:localize-plugin PLUGIN [PATH]`
329
329
 
@@ -345,7 +345,7 @@ DESCRIPTION
345
345
  Convert plugin to local plugin
346
346
  ```
347
347
 
348
- _See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
348
+ _See code: [src/commands/dev/localize-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/dev/localize-plugin.js)_
349
349
 
350
350
  ## `saltcorn make-migration`
351
351
 
@@ -362,7 +362,7 @@ DESCRIPTION
362
362
  unless you are a developer.
363
363
  ```
364
364
 
365
- _See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
365
+ _See code: [src/commands/dev/make-migration.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/dev/make-migration.js)_
366
366
 
367
367
  ## `saltcorn saltcorn dev:plugin-test -d [PATH_TO_LOCAL_PLUGIN]/statistics -f test-backup.zip`
368
368
 
@@ -383,7 +383,7 @@ DESCRIPTION
383
383
  Install a plugin, spawn 'npm run test' in the install directory and check the return code.
384
384
  ```
385
385
 
386
- _See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
386
+ _See code: [src/commands/dev/plugin-test.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/dev/plugin-test.js)_
387
387
 
388
388
  ## `saltcorn dev:post-release [TASK] [TAG]`
389
389
 
@@ -401,7 +401,7 @@ DESCRIPTION
401
401
  Post-release tasks: docker and vagrant builds
402
402
  ```
403
403
 
404
- _See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/dev/post-release.js)_
404
+ _See code: [src/commands/dev/post-release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/dev/post-release.js)_
405
405
 
406
406
  ## `saltcorn dev:release VERSION TAG`
407
407
 
@@ -419,7 +419,7 @@ DESCRIPTION
419
419
  Release a new saltcorn version
420
420
  ```
421
421
 
422
- _See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/dev/release.js)_
422
+ _See code: [src/commands/dev/release.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/dev/release.js)_
423
423
 
424
424
  ## `saltcorn dev:release-resume VERSION`
425
425
 
@@ -439,7 +439,7 @@ DESCRIPTION
439
439
  Release a new saltcorn version
440
440
  ```
441
441
 
442
- _See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
442
+ _See code: [src/commands/dev/release-resume.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/dev/release-resume.js)_
443
443
 
444
444
  ## `saltcorn dev:test-plugin PATH`
445
445
 
@@ -458,7 +458,7 @@ DESCRIPTION
458
458
  Extra documentation goes here
459
459
  ```
460
460
 
461
- _See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
461
+ _See code: [src/commands/dev/test-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/dev/test-plugin.js)_
462
462
 
463
463
  ## `saltcorn dev:translate LOCALE`
464
464
 
@@ -478,7 +478,7 @@ DESCRIPTION
478
478
  Produce translation files with LLM
479
479
  ```
480
480
 
481
- _See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/dev/translate.js)_
481
+ _See code: [src/commands/dev/translate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/dev/translate.js)_
482
482
 
483
483
  ## `saltcorn fixtures`
484
484
 
@@ -498,7 +498,7 @@ DESCRIPTION
498
498
  This manual step it is never required for users and rarely required for developers
499
499
  ```
500
500
 
501
- _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/fixtures.js)_
501
+ _See code: [src/commands/fixtures.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/fixtures.js)_
502
502
 
503
503
  ## `saltcorn get-cfg [KEY]`
504
504
 
@@ -519,7 +519,7 @@ DESCRIPTION
519
519
  Get a configuration value. The value is printed to stdout as a JSON value
520
520
  ```
521
521
 
522
- _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/get-cfg.js)_
522
+ _See code: [src/commands/get-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/get-cfg.js)_
523
523
 
524
524
  ## `saltcorn info [KEY]`
525
525
 
@@ -545,7 +545,7 @@ ALIASES
545
545
  $ saltcorn paths
546
546
  ```
547
547
 
548
- _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/info.js)_
548
+ _See code: [src/commands/info.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/info.js)_
549
549
 
550
550
  ## `saltcorn inspect TYPE [NAME]`
551
551
 
@@ -566,7 +566,7 @@ DESCRIPTION
566
566
  Inspect an entity's JSON representation, or list entities
567
567
  ```
568
568
 
569
- _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/inspect.js)_
569
+ _See code: [src/commands/inspect.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/inspect.js)_
570
570
 
571
571
  ## `saltcorn install-pack`
572
572
 
@@ -585,7 +585,7 @@ DESCRIPTION
585
585
  Install a pack or restore a snapshot
586
586
  ```
587
587
 
588
- _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/install-pack.js)_
588
+ _See code: [src/commands/install-pack.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/install-pack.js)_
589
589
 
590
590
  ## `saltcorn install-plugin`
591
591
 
@@ -605,7 +605,7 @@ DESCRIPTION
605
605
  Install a plugin
606
606
  ```
607
607
 
608
- _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/install-plugin.js)_
608
+ _See code: [src/commands/install-plugin.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/install-plugin.js)_
609
609
 
610
610
  ## `saltcorn list-tenants`
611
611
 
@@ -625,7 +625,7 @@ DESCRIPTION
625
625
  List tenants in CSV format
626
626
  ```
627
627
 
628
- _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/list-tenants.js)_
628
+ _See code: [src/commands/list-tenants.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/list-tenants.js)_
629
629
 
630
630
  ## `saltcorn list-triggers`
631
631
 
@@ -644,7 +644,7 @@ DESCRIPTION
644
644
  List triggers
645
645
  ```
646
646
 
647
- _See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/list-triggers.js)_
647
+ _See code: [src/commands/list-triggers.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/list-triggers.js)_
648
648
 
649
649
  ## `saltcorn list-users`
650
650
 
@@ -662,7 +662,7 @@ DESCRIPTION
662
662
  List users
663
663
  ```
664
664
 
665
- _See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/list-users.js)_
665
+ _See code: [src/commands/list-users.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/list-users.js)_
666
666
 
667
667
  ## `saltcorn saltcorn migrate`
668
668
 
@@ -685,7 +685,7 @@ DESCRIPTION
685
685
  servers and need to control when the migrations are run.
686
686
  ```
687
687
 
688
- _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/migrate.js)_
688
+ _See code: [src/commands/migrate.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/migrate.js)_
689
689
 
690
690
  ## `saltcorn modify-user USER_EMAIL`
691
691
 
@@ -716,7 +716,7 @@ DESCRIPTION
716
716
  NOTE that -a and -r role (--role=role) can give conflict.
717
717
  ```
718
718
 
719
- _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/modify-user.js)_
719
+ _See code: [src/commands/modify-user.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/modify-user.js)_
720
720
 
721
721
  ## `saltcorn paths [KEY]`
722
722
 
@@ -771,7 +771,7 @@ EXAMPLES
771
771
  plugins -u -f - force plugin update
772
772
  ```
773
773
 
774
- _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/plugins.js)_
774
+ _See code: [src/commands/plugins.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/plugins.js)_
775
775
 
776
776
  ## `saltcorn pre-install-modules PLUGINSELECTOR`
777
777
 
@@ -791,7 +791,7 @@ DESCRIPTION
791
791
  Pre-install modules required by Saltcorn before running the application.
792
792
  ```
793
793
 
794
- _See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
794
+ _See code: [src/commands/pre-install-modules.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/pre-install-modules.js)_
795
795
 
796
796
  ## `saltcorn prepare`
797
797
 
@@ -809,7 +809,7 @@ DESCRIPTION
809
809
  Prepare to serve. Optional, may accelerate subsequent 'saltcorn serve' startup
810
810
  ```
811
811
 
812
- _See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/prepare.js)_
812
+ _See code: [src/commands/prepare.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/prepare.js)_
813
813
 
814
814
  ## `saltcorn reset-schema`
815
815
 
@@ -829,7 +829,7 @@ DESCRIPTION
829
829
  This will delete all existing information
830
830
  ```
831
831
 
832
- _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/reset-schema.js)_
832
+ _See code: [src/commands/reset-schema.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/reset-schema.js)_
833
833
 
834
834
  ## `saltcorn restore FILE`
835
835
 
@@ -849,7 +849,7 @@ DESCRIPTION
849
849
  Restore a previously backed up database (zip or sqlc format)
850
850
  ```
851
851
 
852
- _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/restore.js)_
852
+ _See code: [src/commands/restore.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/restore.js)_
853
853
 
854
854
  ## `saltcorn rm-tenant`
855
855
 
@@ -869,7 +869,7 @@ DESCRIPTION
869
869
  It recommended to make backup of tenant before perform this command.
870
870
  ```
871
871
 
872
- _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/rm-tenant.js)_
872
+ _See code: [src/commands/rm-tenant.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/rm-tenant.js)_
873
873
 
874
874
  ## `saltcorn run-benchmark [BASEURL]`
875
875
 
@@ -891,7 +891,7 @@ DESCRIPTION
891
891
  Run benchmark
892
892
  ```
893
893
 
894
- _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/run-benchmark.js)_
894
+ _See code: [src/commands/run-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/run-benchmark.js)_
895
895
 
896
896
  ## `saltcorn run-js`
897
897
 
@@ -910,7 +910,7 @@ DESCRIPTION
910
910
  Run javascript code
911
911
  ```
912
912
 
913
- _See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/run-js.js)_
913
+ _See code: [src/commands/run-js.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/run-js.js)_
914
914
 
915
915
  ## `saltcorn run-sql`
916
916
 
@@ -929,7 +929,7 @@ DESCRIPTION
929
929
  Run sql expression
930
930
  ```
931
931
 
932
- _See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/run-sql.js)_
932
+ _See code: [src/commands/run-sql.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/run-sql.js)_
933
933
 
934
934
  ## `saltcorn run-tests [PACKAGE]`
935
935
 
@@ -956,7 +956,7 @@ DESCRIPTION
956
956
  Run test suites
957
957
  ```
958
958
 
959
- _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/run-tests.js)_
959
+ _See code: [src/commands/run-tests.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/run-tests.js)_
960
960
 
961
961
  ## `saltcorn run-trigger TRIGGER`
962
962
 
@@ -976,7 +976,7 @@ DESCRIPTION
976
976
  Run a trigger
977
977
  ```
978
978
 
979
- _See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/run-trigger.js)_
979
+ _See code: [src/commands/run-trigger.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/run-trigger.js)_
980
980
 
981
981
  ## `saltcorn scheduler`
982
982
 
@@ -993,7 +993,7 @@ DESCRIPTION
993
993
  Run the Saltcorn scheduler
994
994
  ```
995
995
 
996
- _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/scheduler.js)_
996
+ _See code: [src/commands/scheduler.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/scheduler.js)_
997
997
 
998
998
  ## `saltcorn serve`
999
999
 
@@ -1018,7 +1018,7 @@ DESCRIPTION
1018
1018
  Start the Saltcorn server
1019
1019
  ```
1020
1020
 
1021
- _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/serve.js)_
1021
+ _See code: [src/commands/serve.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/serve.js)_
1022
1022
 
1023
1023
  ## `saltcorn set-cfg [KEY] [VALUE]`
1024
1024
 
@@ -1043,7 +1043,7 @@ DESCRIPTION
1043
1043
  stored as a string.
1044
1044
  ```
1045
1045
 
1046
- _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/set-cfg.js)_
1046
+ _See code: [src/commands/set-cfg.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/set-cfg.js)_
1047
1047
 
1048
1048
  ## `saltcorn set-daily-time [MINS]`
1049
1049
 
@@ -1063,7 +1063,7 @@ DESCRIPTION
1063
1063
  Set the time the default daily event will run, offset in minutes from the current time. Restart required.
1064
1064
  ```
1065
1065
 
1066
- _See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/set-daily-time.js)_
1066
+ _See code: [src/commands/set-daily-time.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/set-daily-time.js)_
1067
1067
 
1068
1068
  ## `saltcorn setup`
1069
1069
 
@@ -1083,7 +1083,7 @@ DESCRIPTION
1083
1083
  configuration file
1084
1084
  ```
1085
1085
 
1086
- _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/setup.js)_
1086
+ _See code: [src/commands/setup.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/setup.js)_
1087
1087
 
1088
1088
  ## `saltcorn setup-benchmark`
1089
1089
 
@@ -1101,7 +1101,7 @@ DESCRIPTION
1101
1101
  Setup an instance for benchmarking
1102
1102
  ```
1103
1103
 
1104
- _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
1104
+ _See code: [src/commands/setup-benchmark.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/setup-benchmark.js)_
1105
1105
 
1106
1106
  ## `saltcorn sync-upload-data`
1107
1107
 
@@ -1123,7 +1123,7 @@ DESCRIPTION
1123
1123
  Runs a sync for data supplied by the mobile app
1124
1124
  ```
1125
1125
 
1126
- _See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
1126
+ _See code: [src/commands/sync-upload-data.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/sync-upload-data.js)_
1127
1127
 
1128
1128
  ## `saltcorn take-snapshot`
1129
1129
 
@@ -1141,7 +1141,7 @@ DESCRIPTION
1141
1141
  Print a current snapshout to stdout
1142
1142
  ```
1143
1143
 
1144
- _See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/take-snapshot.js)_
1144
+ _See code: [src/commands/take-snapshot.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/take-snapshot.js)_
1145
1145
 
1146
1146
  ## `saltcorn transform-field EXPRESSION FIELD TABLE [TENANT]`
1147
1147
 
@@ -1161,5 +1161,5 @@ DESCRIPTION
1161
1161
  transform an existing field by applying a calculated expression
1162
1162
  ```
1163
1163
 
1164
- _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.0/packages/saltcorn-cli/src/commands/transform-field.js)_
1164
+ _See code: [src/commands/transform-field.js](https://github.com/saltcorn/saltcorn/blob/v1.6.0-alpha.1/packages/saltcorn-cli/src/commands/transform-field.js)_
1165
1165
  <!-- commandsstop -->
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@saltcorn/cli",
3
- "version": "1.6.0-alpha.0",
3
+ "version": "1.6.0-alpha.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@saltcorn/cli",
9
- "version": "1.6.0-alpha.0",
9
+ "version": "1.6.0-alpha.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@oclif/core": "4.4.0",
13
13
  "@oclif/plugin-plugins": "^5.4.26",
14
- "@saltcorn/admin-models": "1.6.0-alpha.0",
15
- "@saltcorn/common-code": "1.6.0-alpha.0",
16
- "@saltcorn/data": "1.6.0-alpha.0",
17
- "@saltcorn/mobile-app": "1.6.0-alpha.0",
18
- "@saltcorn/mobile-builder": "1.6.0-alpha.0",
19
- "@saltcorn/plugins-loader": "1.6.0-alpha.0",
20
- "@saltcorn/server": "1.6.0-alpha.0",
14
+ "@saltcorn/admin-models": "1.6.0-alpha.1",
15
+ "@saltcorn/common-code": "1.6.0-alpha.1",
16
+ "@saltcorn/data": "1.6.0-alpha.1",
17
+ "@saltcorn/mobile-app": "1.6.0-alpha.1",
18
+ "@saltcorn/mobile-builder": "1.6.0-alpha.1",
19
+ "@saltcorn/plugins-loader": "1.6.0-alpha.1",
20
+ "@saltcorn/server": "1.6.0-alpha.1",
21
21
  "contractis": "^0.1.0",
22
22
  "dateformat": "^4.6.3",
23
23
  "inquirer": "^12.3.3",
@@ -4206,14 +4206,14 @@
4206
4206
  }
4207
4207
  },
4208
4208
  "node_modules/@saltcorn/admin-models": {
4209
- "version": "1.6.0-alpha.0",
4210
- "resolved": "https://registry.npmjs.org/@saltcorn/admin-models/-/admin-models-1.6.0-alpha.0.tgz",
4211
- "integrity": "sha512-QWRFO6OaEG7OXzX2QQMpT8jGgdjo4y1eiXGoEeA9wEq4bIaLGRO6/+yvw4w+gqsCj7xUpMBzahXP0+OgY5YKOw==",
4212
- "dependencies": {
4213
- "@saltcorn/data": "1.6.0-alpha.0",
4214
- "@saltcorn/db-common": "1.6.0-alpha.0",
4215
- "@saltcorn/markup": "1.6.0-alpha.0",
4216
- "@saltcorn/types": "1.6.0-alpha.0",
4209
+ "version": "1.6.0-alpha.1",
4210
+ "resolved": "https://registry.npmjs.org/@saltcorn/admin-models/-/admin-models-1.6.0-alpha.1.tgz",
4211
+ "integrity": "sha512-pcT0LOFRVBNEB9YbRiBFJExfxnxVwWz2V73IVh/bIZ0G+yylH/ise2xGvLigk4uCZSPM5r+rkJzs/CDv3nQUfA==",
4212
+ "dependencies": {
4213
+ "@saltcorn/data": "1.6.0-alpha.1",
4214
+ "@saltcorn/db-common": "1.6.0-alpha.1",
4215
+ "@saltcorn/markup": "1.6.0-alpha.1",
4216
+ "@saltcorn/types": "1.6.0-alpha.1",
4217
4217
  "adm-zip": "0.5.16",
4218
4218
  "aws-sdk": "^2.1692.0",
4219
4219
  "chaos-guinea-pig": "0.2.1",
@@ -4227,37 +4227,37 @@
4227
4227
  }
4228
4228
  },
4229
4229
  "node_modules/@saltcorn/base-plugin": {
4230
- "version": "1.6.0-alpha.0",
4231
- "resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-1.6.0-alpha.0.tgz",
4232
- "integrity": "sha512-Lro431It2a6SXQ0s+kRRjoBRoiQ2bUbg9ep0/bczW0jv0J0XOSy5nxRdCx9HnjbZoCixvSSgZJgkN3JYZLzo/A==",
4230
+ "version": "1.6.0-alpha.1",
4231
+ "resolved": "https://registry.npmjs.org/@saltcorn/base-plugin/-/base-plugin-1.6.0-alpha.1.tgz",
4232
+ "integrity": "sha512-ixH/IHpS4jquqTVY9XpqB0bGmp7gutj3i1/xmBlctJSTNDPyDYwFCWnLlFwyjVbj1aL3pxTYY1L4kSj13jlHOw==",
4233
4233
  "dependencies": {
4234
- "@saltcorn/data": "1.6.0-alpha.0"
4234
+ "@saltcorn/data": "1.6.0-alpha.1"
4235
4235
  }
4236
4236
  },
4237
4237
  "node_modules/@saltcorn/builder": {
4238
- "version": "1.6.0-alpha.0",
4239
- "resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-1.6.0-alpha.0.tgz",
4240
- "integrity": "sha512-xh1bozYeN6vLL5t/mEQkwGIDrfwQmsQ42HsUL7n9Ata6UaR10GEx81/GRjbDThXo08WY7MD5WZCv6cdPAeN1eg==",
4238
+ "version": "1.6.0-alpha.1",
4239
+ "resolved": "https://registry.npmjs.org/@saltcorn/builder/-/builder-1.6.0-alpha.1.tgz",
4240
+ "integrity": "sha512-nGZfmxNgjhJWlu71WP6uq79OuOmeI/7ufpNnOByEnTj5Pug+j5u993jJPY21712Yi4vfxGre5/jeEFL3k3x/aA==",
4241
4241
  "dependencies": {
4242
4242
  "styled-components": "4.4.1"
4243
4243
  }
4244
4244
  },
4245
4245
  "node_modules/@saltcorn/common-code": {
4246
- "version": "1.6.0-alpha.0",
4247
- "resolved": "https://registry.npmjs.org/@saltcorn/common-code/-/common-code-1.6.0-alpha.0.tgz",
4248
- "integrity": "sha512-7Bw8mR84uhyYR1hRKjZXGRf+7Eya8FzeFfHMpTRe12NttFZo6gl4KFVmBw1fdLzTmHBdNfgVbYLeoxhe8ph2WA=="
4246
+ "version": "1.6.0-alpha.1",
4247
+ "resolved": "https://registry.npmjs.org/@saltcorn/common-code/-/common-code-1.6.0-alpha.1.tgz",
4248
+ "integrity": "sha512-wimVtbGo483EV7Ry6qCpQXJtEDUq9Oh0kkwapVAn/vJDveTYGx68+st5X8nkA3r7ZQe+nJvICo31XmclIrULsw=="
4249
4249
  },
4250
4250
  "node_modules/@saltcorn/data": {
4251
- "version": "1.6.0-alpha.0",
4252
- "resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-1.6.0-alpha.0.tgz",
4253
- "integrity": "sha512-JAauqzjUKCm0fPcXFDNBqBgwbBAeGwkwUo5vR6ItNB7h4Wp3nP4AKllovOhNrnzBrLo6mxzpzw47/YQq6V2FLg==",
4251
+ "version": "1.6.0-alpha.1",
4252
+ "resolved": "https://registry.npmjs.org/@saltcorn/data/-/data-1.6.0-alpha.1.tgz",
4253
+ "integrity": "sha512-BM3IAElc16wgA+bqAT5+ib+wsgTBImkXi0sohRCFAvQX8gVmvMZvn6kbnjaxDM0hpICJuefD/8RC5ou7Lj0A0A==",
4254
4254
  "dependencies": {
4255
- "@saltcorn/common-code": "1.6.0-alpha.0",
4256
- "@saltcorn/db-common": "1.6.0-alpha.0",
4257
- "@saltcorn/markup": "1.6.0-alpha.0",
4255
+ "@saltcorn/common-code": "1.6.0-alpha.1",
4256
+ "@saltcorn/db-common": "1.6.0-alpha.1",
4257
+ "@saltcorn/markup": "1.6.0-alpha.1",
4258
4258
  "@saltcorn/plain-date": "0.2.5",
4259
- "@saltcorn/sqlite-mobile": "1.6.0-alpha.0",
4260
- "@saltcorn/types": "1.6.0-alpha.0",
4259
+ "@saltcorn/sqlite-mobile": "1.6.0-alpha.1",
4260
+ "@saltcorn/types": "1.6.0-alpha.1",
4261
4261
  "acorn": "^8.14.0",
4262
4262
  "assert": "^2.1.0",
4263
4263
  "astring": "^1.9.0",
@@ -4310,27 +4310,27 @@
4310
4310
  "web-push": "^3.6.7"
4311
4311
  },
4312
4312
  "optionalDependencies": {
4313
- "@saltcorn/postgres": "1.6.0-alpha.0",
4314
- "@saltcorn/sqlite": "1.6.0-alpha.0"
4313
+ "@saltcorn/postgres": "1.6.0-alpha.1",
4314
+ "@saltcorn/sqlite": "1.6.0-alpha.1"
4315
4315
  }
4316
4316
  },
4317
4317
  "node_modules/@saltcorn/db-common": {
4318
- "version": "1.6.0-alpha.0",
4319
- "resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-1.6.0-alpha.0.tgz",
4320
- "integrity": "sha512-e+FkG3eHn62sbIdS2BxGZDTzTepdb9I/uWVB/y5aP/MgUZ/XUVYym/NhgQ9sV5UfYbd03UQM8RsZjvZuoPzPiA=="
4318
+ "version": "1.6.0-alpha.1",
4319
+ "resolved": "https://registry.npmjs.org/@saltcorn/db-common/-/db-common-1.6.0-alpha.1.tgz",
4320
+ "integrity": "sha512-m8HETR6qqdDF6svS6k7Q/MluGmrTqctQciBgM7HS68fM9+GfhqDxkpogTsKKlXxG5oLsz7vreKb1A5KHifYpuQ=="
4321
4321
  },
4322
4322
  "node_modules/@saltcorn/filemanager": {
4323
- "version": "1.6.0-alpha.0",
4324
- "resolved": "https://registry.npmjs.org/@saltcorn/filemanager/-/filemanager-1.6.0-alpha.0.tgz",
4325
- "integrity": "sha512-KSyqJF24MTh0nxKAYxU4e3Gba0iH5Ts/qiPf6IiwCNwkvJsl3BGiacgvDovmwYDZGXFBxwUogHx4PhQEoUmynw==",
4323
+ "version": "1.6.0-alpha.1",
4324
+ "resolved": "https://registry.npmjs.org/@saltcorn/filemanager/-/filemanager-1.6.0-alpha.1.tgz",
4325
+ "integrity": "sha512-vOX5as1l+1XXv02hjT121U20Q+UjfJCCJvcBWNvEjNlzMwQ2XZ1rpmeyNKaP7PyGgo31AsJmKcC2gh+Fb2WGVA==",
4326
4326
  "dependencies": {
4327
4327
  "sirv-cli": "^2.0.0"
4328
4328
  }
4329
4329
  },
4330
4330
  "node_modules/@saltcorn/markup": {
4331
- "version": "1.6.0-alpha.0",
4332
- "resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-1.6.0-alpha.0.tgz",
4333
- "integrity": "sha512-RudT7wnnTsh5S6yq1Qz+o4EwiIt+p63/zJbYs3c+Pr7vvAFq8iqQLhY2uFz9o0MQhyunHP7RSUWu67w5fZqsVg==",
4331
+ "version": "1.6.0-alpha.1",
4332
+ "resolved": "https://registry.npmjs.org/@saltcorn/markup/-/markup-1.6.0-alpha.1.tgz",
4333
+ "integrity": "sha512-U79gtwz1uePDN211xB7ig6dHYZu/RyFAeXrS8uzPEppR9XAJX0az3MpC+7Nwld9d02/jUmUcq9V8mu69JgVfGA==",
4334
4334
  "dependencies": {
4335
4335
  "escape-html": "^1.0.3",
4336
4336
  "html-tags": "3.3.1",
@@ -4338,9 +4338,9 @@
4338
4338
  }
4339
4339
  },
4340
4340
  "node_modules/@saltcorn/mobile-app": {
4341
- "version": "1.6.0-alpha.0",
4342
- "resolved": "https://registry.npmjs.org/@saltcorn/mobile-app/-/mobile-app-1.6.0-alpha.0.tgz",
4343
- "integrity": "sha512-oWlj9nJfnID2LD5Lmn+qCXZoX/ASUeogp8nMtVDscB5auJ+O9EUct/zQRy0ZRGnRdLseExNMg6+aN4ETk02xlQ==",
4341
+ "version": "1.6.0-alpha.1",
4342
+ "resolved": "https://registry.npmjs.org/@saltcorn/mobile-app/-/mobile-app-1.6.0-alpha.1.tgz",
4343
+ "integrity": "sha512-iTyEn7YPko0AtP5/g0HDPa4/H5njpKAkLu8U6W0N6sb+ILQNuaj3xfrPtgkfKQNuKgWYmsl8CwehIHuRlFQT1w==",
4344
4344
  "dependencies": {
4345
4345
  "axios": "^0.30.2",
4346
4346
  "crypto-browserify": "3.12.1",
@@ -4353,17 +4353,17 @@
4353
4353
  }
4354
4354
  },
4355
4355
  "node_modules/@saltcorn/mobile-builder": {
4356
- "version": "1.6.0-alpha.0",
4357
- "resolved": "https://registry.npmjs.org/@saltcorn/mobile-builder/-/mobile-builder-1.6.0-alpha.0.tgz",
4358
- "integrity": "sha512-m3gSFVjNPEo4b2MRwL3Gx4nvIq/GBQary5BFLviatEPLKQAeHGbZJl7AVxvBVVWqqVTORs9xxpvWpgWPBwcs5Q==",
4359
- "dependencies": {
4360
- "@saltcorn/base-plugin": "1.6.0-alpha.0",
4361
- "@saltcorn/data": "1.6.0-alpha.0",
4362
- "@saltcorn/db-common": "1.6.0-alpha.0",
4363
- "@saltcorn/markup": "1.6.0-alpha.0",
4364
- "@saltcorn/mobile-app": "1.6.0-alpha.0",
4365
- "@saltcorn/sbadmin2": "1.6.0-alpha.0",
4366
- "@saltcorn/server": "1.6.0-alpha.0",
4356
+ "version": "1.6.0-alpha.1",
4357
+ "resolved": "https://registry.npmjs.org/@saltcorn/mobile-builder/-/mobile-builder-1.6.0-alpha.1.tgz",
4358
+ "integrity": "sha512-Bv/1d8mzA1p4fQ3uUsXjm+Pyx3FVx6NZAYRmqznyx7ms6eK/n38Kikb99rfFm4tzFtVad2Lc9sGCK/gRXrP+RA==",
4359
+ "dependencies": {
4360
+ "@saltcorn/base-plugin": "1.6.0-alpha.1",
4361
+ "@saltcorn/data": "1.6.0-alpha.1",
4362
+ "@saltcorn/db-common": "1.6.0-alpha.1",
4363
+ "@saltcorn/markup": "1.6.0-alpha.1",
4364
+ "@saltcorn/mobile-app": "1.6.0-alpha.1",
4365
+ "@saltcorn/sbadmin2": "1.6.0-alpha.1",
4366
+ "@saltcorn/server": "1.6.0-alpha.1",
4367
4367
  "fs-extra": "^11.3.3",
4368
4368
  "live-plugin-manager": "^1.0.0",
4369
4369
  "resize-with-sharp-or-jimp": "0.1.8",
@@ -4379,23 +4379,23 @@
4379
4379
  "integrity": "sha512-xihF5qngQwF/Juo1thbNb69j+w/WB+ZvA9gY3CN3JObL2xpt4DS+s2MjT7Z6KdKYefsddN+OQe74wPuxZ7hjgQ=="
4380
4380
  },
4381
4381
  "node_modules/@saltcorn/plugins-loader": {
4382
- "version": "1.6.0-alpha.0",
4383
- "resolved": "https://registry.npmjs.org/@saltcorn/plugins-loader/-/plugins-loader-1.6.0-alpha.0.tgz",
4384
- "integrity": "sha512-TzEjCR1j/lPaxl2CiF6IrZXORb7ScqSmGmBmFhLsFD6hiTM6AtJsG3A87b0YA4prdadp30bnDpGYaz28medrOA==",
4382
+ "version": "1.6.0-alpha.1",
4383
+ "resolved": "https://registry.npmjs.org/@saltcorn/plugins-loader/-/plugins-loader-1.6.0-alpha.1.tgz",
4384
+ "integrity": "sha512-3OZOCgF1EeJLir+iaBDcJN6sYGFvo53fMo/wiVxeOCXO/w7npxYdIHcECESgJHBnLe0U+LYEQKm2cRLLvylBDw==",
4385
4385
  "dependencies": {
4386
- "@saltcorn/data": "1.6.0-alpha.0",
4386
+ "@saltcorn/data": "1.6.0-alpha.1",
4387
4387
  "env-paths": "^2.2.1",
4388
4388
  "https-proxy-agent": "^7.0.6",
4389
4389
  "npm-registry-fetch": "17.1.0"
4390
4390
  }
4391
4391
  },
4392
4392
  "node_modules/@saltcorn/postgres": {
4393
- "version": "1.6.0-alpha.0",
4394
- "resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-1.6.0-alpha.0.tgz",
4395
- "integrity": "sha512-zV46buWA6NHeC9Vi0Wk4uli6QAqkzuCHOvgrXP4KmroQG1zVWRYdLmjt/ezXnudIwNjZ4JEgkIfsFtuXNMaggw==",
4393
+ "version": "1.6.0-alpha.1",
4394
+ "resolved": "https://registry.npmjs.org/@saltcorn/postgres/-/postgres-1.6.0-alpha.1.tgz",
4395
+ "integrity": "sha512-VQAFh5XxMKQjJVSqOe5s5e/V1+XAVgIuTz0oW/aKr4gOzzVKWeKaD/UhMK/xPjrr7jrVfmLLwSq3NbM7ee6sOg==",
4396
4396
  "optional": true,
4397
4397
  "dependencies": {
4398
- "@saltcorn/db-common": "1.6.0-alpha.0",
4398
+ "@saltcorn/db-common": "1.6.0-alpha.1",
4399
4399
  "@saltcorn/plain-date": "0.2.5",
4400
4400
  "pg": "^8.13.1",
4401
4401
  "pg-copy-streams": "^6.0.6",
@@ -4403,30 +4403,30 @@
4403
4403
  }
4404
4404
  },
4405
4405
  "node_modules/@saltcorn/sbadmin2": {
4406
- "version": "1.6.0-alpha.0",
4407
- "resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-1.6.0-alpha.0.tgz",
4408
- "integrity": "sha512-oI1haRRHO/pkH3McLgjlosrMeeZxDOP6BLGUrUK80H6R0vt7gg1hJlz9eAh8YpsdddhA+w6sgYz5XjEKhuYpsg==",
4406
+ "version": "1.6.0-alpha.1",
4407
+ "resolved": "https://registry.npmjs.org/@saltcorn/sbadmin2/-/sbadmin2-1.6.0-alpha.1.tgz",
4408
+ "integrity": "sha512-pzaSSeWY/58iUCPRyCRemp+r+u8CcTu2dShppEjWqIk6uNrI4v8iM7vWRcLA9WXHfeiCKnq24AQyz8VoGfMEjg==",
4409
4409
  "dependencies": {
4410
- "@saltcorn/data": "1.6.0-alpha.0",
4411
- "@saltcorn/markup": "1.6.0-alpha.0"
4410
+ "@saltcorn/data": "1.6.0-alpha.1",
4411
+ "@saltcorn/markup": "1.6.0-alpha.1"
4412
4412
  }
4413
4413
  },
4414
4414
  "node_modules/@saltcorn/server": {
4415
- "version": "1.6.0-alpha.0",
4416
- "resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-1.6.0-alpha.0.tgz",
4417
- "integrity": "sha512-tdkfZuCILTAgDdAyLsGbsRDMEopkyt1bjhRIdAlR2MzV+QcqXf7iOAFBufPJ9oMES61evQA+WV3ixiI8oAMh/g==",
4415
+ "version": "1.6.0-alpha.1",
4416
+ "resolved": "https://registry.npmjs.org/@saltcorn/server/-/server-1.6.0-alpha.1.tgz",
4417
+ "integrity": "sha512-9s+7RV5mTEVSjfQ4ADsjUUyiTnFS0cUIaDhPkZRkUjT0D75qNIzthWyHupxaquv8ACmGX9OmuI8QZZ2VhZayUw==",
4418
4418
  "dependencies": {
4419
4419
  "@aws-sdk/client-s3": "^3.735.0",
4420
4420
  "@aws-sdk/s3-request-presigner": "^3.940.0",
4421
4421
  "@dr.pogodin/csurf": "1.15.0",
4422
- "@saltcorn/admin-models": "1.6.0-alpha.0",
4423
- "@saltcorn/base-plugin": "1.6.0-alpha.0",
4424
- "@saltcorn/builder": "1.6.0-alpha.0",
4425
- "@saltcorn/data": "1.6.0-alpha.0",
4426
- "@saltcorn/filemanager": "1.6.0-alpha.0",
4427
- "@saltcorn/markup": "1.6.0-alpha.0",
4428
- "@saltcorn/plugins-loader": "1.6.0-alpha.0",
4429
- "@saltcorn/sbadmin2": "1.6.0-alpha.0",
4422
+ "@saltcorn/admin-models": "1.6.0-alpha.1",
4423
+ "@saltcorn/base-plugin": "1.6.0-alpha.1",
4424
+ "@saltcorn/builder": "1.6.0-alpha.1",
4425
+ "@saltcorn/data": "1.6.0-alpha.1",
4426
+ "@saltcorn/filemanager": "1.6.0-alpha.1",
4427
+ "@saltcorn/markup": "1.6.0-alpha.1",
4428
+ "@saltcorn/plugins-loader": "1.6.0-alpha.1",
4429
+ "@saltcorn/sbadmin2": "1.6.0-alpha.1",
4430
4430
  "@socket.io/cluster-adapter": "^0.2.1",
4431
4431
  "@socket.io/sticky": "^1.0.1",
4432
4432
  "adm-zip": "0.5.16",
@@ -4484,31 +4484,31 @@
4484
4484
  }
4485
4485
  },
4486
4486
  "node_modules/@saltcorn/sqlite": {
4487
- "version": "1.6.0-alpha.0",
4488
- "resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-1.6.0-alpha.0.tgz",
4489
- "integrity": "sha512-lQkXJQ3347CXhFEn1i8GM322wNgxh0EANgR444TiDs4WXeVZNo2rDFQG+5hoa5zdcoIP02Iwe3JNX013td05eg==",
4487
+ "version": "1.6.0-alpha.1",
4488
+ "resolved": "https://registry.npmjs.org/@saltcorn/sqlite/-/sqlite-1.6.0-alpha.1.tgz",
4489
+ "integrity": "sha512-240lWDAX73nB6i22h+lAxVaLElJhq5sjWe5pObnnqcNIwsicJ5YafEfNF8MxjcNMvBvgYr1CvUwYSEdw5ka1Hw==",
4490
4490
  "optional": true,
4491
4491
  "dependencies": {
4492
- "@saltcorn/db-common": "1.6.0-alpha.0"
4492
+ "@saltcorn/db-common": "1.6.0-alpha.1"
4493
4493
  },
4494
4494
  "optionalDependencies": {
4495
4495
  "sqlite3": "5.1.7"
4496
4496
  }
4497
4497
  },
4498
4498
  "node_modules/@saltcorn/sqlite-mobile": {
4499
- "version": "1.6.0-alpha.0",
4500
- "resolved": "https://registry.npmjs.org/@saltcorn/sqlite-mobile/-/sqlite-mobile-1.6.0-alpha.0.tgz",
4501
- "integrity": "sha512-HEZX2VUaEO6rnXv5wD0YZtE1M8CJVIKTOCCBhF11Sm3y8oraiIrBQ0TnoJY5Cu1Zuc+z8E5K/vb2RS3oRDS5Lw==",
4499
+ "version": "1.6.0-alpha.1",
4500
+ "resolved": "https://registry.npmjs.org/@saltcorn/sqlite-mobile/-/sqlite-mobile-1.6.0-alpha.1.tgz",
4501
+ "integrity": "sha512-8cCRlsR6Usc2UUiYqaMi5bncivbSxnFnIyrr+QhT50rzDZxalWKhiY9efiIp50uJZhC2h1Elr8o1OLTLxDN1Pg==",
4502
4502
  "dependencies": {
4503
4503
  "@capacitor-community/sqlite": "^6.0.2",
4504
4504
  "@capacitor/core": "^6.2.0",
4505
- "@saltcorn/db-common": "1.6.0-alpha.0"
4505
+ "@saltcorn/db-common": "1.6.0-alpha.1"
4506
4506
  }
4507
4507
  },
4508
4508
  "node_modules/@saltcorn/types": {
4509
- "version": "1.6.0-alpha.0",
4510
- "resolved": "https://registry.npmjs.org/@saltcorn/types/-/types-1.6.0-alpha.0.tgz",
4511
- "integrity": "sha512-CknbFteUAQFeO3M69i+F9SXQH8tO0meHXZ2mlUAq0xOhT0i6s5CfyQ0mDABR60sGaoCuu75lNy6zq/diMtpd/Q=="
4509
+ "version": "1.6.0-alpha.1",
4510
+ "resolved": "https://registry.npmjs.org/@saltcorn/types/-/types-1.6.0-alpha.1.tgz",
4511
+ "integrity": "sha512-I5F5/ZBlOUOdoR3ALEBnmu1mNq8fXVJJPDOenuvvBs4lasMsuHJvU+Ypta8zHu81OKObHG2dgM+p/w3dSm7Fog=="
4512
4512
  },
4513
4513
  "node_modules/@sideway/address": {
4514
4514
  "version": "4.1.5",
@@ -8485,9 +8485,9 @@
8485
8485
  }
8486
8486
  },
8487
8487
  "node_modules/electron-to-chromium": {
8488
- "version": "1.5.278",
8489
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.278.tgz",
8490
- "integrity": "sha512-dQ0tM1svDRQOwxnXxm+twlGTjr9Upvt8UFWAgmLsxEzFQxhbti4VwxmMjsDxVC51Zo84swW7FVCXEV+VAkhuPw=="
8488
+ "version": "1.5.279",
8489
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.279.tgz",
8490
+ "integrity": "sha512-0bblUU5UNdOt5G7XqGiJtpZMONma6WAfq9vsFmtn9x1+joAObr6x1chfqyxFSDCAFwFhCQDrqeAr6MYdpwJ9Hg=="
8491
8491
  },
8492
8492
  "node_modules/elliptic": {
8493
8493
  "version": "6.6.1",
@@ -2315,5 +2315,5 @@
2315
2315
  ]
2316
2316
  }
2317
2317
  },
2318
- "version": "1.6.0-alpha.0"
2318
+ "version": "1.6.0-alpha.1"
2319
2319
  }
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": "1.6.0-alpha.0",
5
+ "version": "1.6.0-alpha.1",
6
6
  "author": "Tom Nielsen @glutamate",
7
7
  "bin": {
8
8
  "saltcorn": "./bin/saltcorn"
@@ -11,13 +11,13 @@
11
11
  "dependencies": {
12
12
  "@oclif/core": "4.4.0",
13
13
  "@oclif/plugin-plugins": "^5.4.26",
14
- "@saltcorn/admin-models": "1.6.0-alpha.0",
15
- "@saltcorn/common-code": "1.6.0-alpha.0",
16
- "@saltcorn/data": "1.6.0-alpha.0",
17
- "@saltcorn/mobile-app": "1.6.0-alpha.0",
18
- "@saltcorn/mobile-builder": "1.6.0-alpha.0",
19
- "@saltcorn/plugins-loader": "1.6.0-alpha.0",
20
- "@saltcorn/server": "1.6.0-alpha.0",
14
+ "@saltcorn/admin-models": "1.6.0-alpha.1",
15
+ "@saltcorn/common-code": "1.6.0-alpha.1",
16
+ "@saltcorn/data": "1.6.0-alpha.1",
17
+ "@saltcorn/mobile-app": "1.6.0-alpha.1",
18
+ "@saltcorn/mobile-builder": "1.6.0-alpha.1",
19
+ "@saltcorn/plugins-loader": "1.6.0-alpha.1",
20
+ "@saltcorn/server": "1.6.0-alpha.1",
21
21
  "contractis": "^0.1.0",
22
22
  "dateformat": "^4.6.3",
23
23
  "inquirer": "^12.3.3",
@@ -87,32 +87,31 @@ const installPlugin = async (plugin) => {
87
87
  return location;
88
88
  };
89
89
 
90
- const removeOldPlugin = async (plugin) => {
91
- const byName = await Plugin.findOne({ name: plugin.name });
90
+ const removeOldPlugin = async (newPlugin) => {
91
+ const byName = await Plugin.findOne({ name: newPlugin.name });
92
92
  if (byName) {
93
93
  await byName.delete();
94
94
  await new PluginInstaller(byName).remove();
95
95
  }
96
- let oldPlugin = null;
97
- if (!plugin.name.startsWith("@saltcorn/")) {
98
- const withOrg = await Plugin.findOne({ name: `@saltcorn/${plugin.name}` });
96
+ let oldDbPlugin = null;
97
+ if (!newPlugin.name.startsWith("@saltcorn/")) {
98
+ const withOrg = await Plugin.findOne({
99
+ name: `@saltcorn/${newPlugin.name}`,
100
+ });
99
101
  if (withOrg) {
100
102
  await withOrg.delete();
101
- oldPlugin = withOrg;
103
+ oldDbPlugin = withOrg;
102
104
  }
103
105
  } else {
104
106
  const withoutOrg = await Plugin.findOne({
105
- name: plugin.name.replace(/^@saltcorn\//, ""),
107
+ name: newPlugin.name.replace(/^@saltcorn\//, ""),
106
108
  });
107
109
  if (withoutOrg) {
108
110
  await withoutOrg.delete();
109
- oldPlugin = withoutOrg;
111
+ oldDbPlugin = withoutOrg;
110
112
  }
111
113
  }
112
- if (oldPlugin) {
113
- const installer = new PluginInstaller(oldPlugin);
114
- await installer.remove();
115
- }
114
+ await new PluginInstaller(oldDbPlugin || newPlugin).remove();
116
115
  };
117
116
 
118
117
  const getPluginLocation = (pluginName) => {