hereya-cli 0.92.0 → 0.92.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g hereya-cli
21
21
  $ hereya COMMAND
22
22
  running command...
23
23
  $ hereya (--version)
24
- hereya-cli/0.92.0 linux-x64 node-v24.14.1
24
+ hereya-cli/0.92.2 linux-x64 node-v24.14.1
25
25
  $ hereya --help [COMMAND]
26
26
  USAGE
27
27
  $ hereya COMMAND
@@ -128,7 +128,7 @@ EXAMPLES
128
128
  $ hereya add cloudy/docker_postgres
129
129
  ```
130
130
 
131
- _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/add/index.ts)_
131
+ _See code: [src/commands/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/add/index.ts)_
132
132
 
133
133
  ## `hereya app deploy NAME`
134
134
 
@@ -162,7 +162,7 @@ EXAMPLES
162
162
  $ hereya app deploy my-org/my-app -w prod -p organizationId=org-123
163
163
  ```
164
164
 
165
- _See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/app/deploy/index.ts)_
165
+ _See code: [src/commands/app/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/app/deploy/index.ts)_
166
166
 
167
167
  ## `hereya app deployments NAME`
168
168
 
@@ -182,7 +182,7 @@ EXAMPLES
182
182
  $ hereya app deployments my-org/my-app
183
183
  ```
184
184
 
185
- _See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/app/deployments/index.ts)_
185
+ _See code: [src/commands/app/deployments/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/app/deployments/index.ts)_
186
186
 
187
187
  ## `hereya app destroy NAME`
188
188
 
@@ -211,7 +211,7 @@ EXAMPLES
211
211
  $ hereya app destroy my-org/my-app -w my-workspace
212
212
  ```
213
213
 
214
- _See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/app/destroy/index.ts)_
214
+ _See code: [src/commands/app/destroy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/app/destroy/index.ts)_
215
215
 
216
216
  ## `hereya app env NAME [KEY]`
217
217
 
@@ -237,7 +237,7 @@ EXAMPLES
237
237
  $ hereya app env my-org/my-app -w my-workspace DATABASE_URL
238
238
  ```
239
239
 
240
- _See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/app/env/index.ts)_
240
+ _See code: [src/commands/app/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/app/env/index.ts)_
241
241
 
242
242
  ## `hereya app list`
243
243
 
@@ -254,7 +254,7 @@ EXAMPLES
254
254
  $ hereya app list
255
255
  ```
256
256
 
257
- _See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/app/list/index.ts)_
257
+ _See code: [src/commands/app/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/app/list/index.ts)_
258
258
 
259
259
  ## `hereya app new DIRNAME`
260
260
 
@@ -280,7 +280,7 @@ EXAMPLES
280
280
  $ hereya app new ./my-app -n my-org/my-app --description "An ai-app-builder app"
281
281
  ```
282
282
 
283
- _See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/app/new/index.ts)_
283
+ _See code: [src/commands/app/new/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/app/new/index.ts)_
284
284
 
285
285
  ## `hereya app status NAME`
286
286
 
@@ -303,7 +303,7 @@ EXAMPLES
303
303
  $ hereya app status my-org/my-app -w my-workspace
304
304
  ```
305
305
 
306
- _See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/app/status/index.ts)_
306
+ _See code: [src/commands/app/status/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/app/status/index.ts)_
307
307
 
308
308
  ## `hereya bootstrap INFRASTRUCTURETYPE`
309
309
 
@@ -328,7 +328,7 @@ EXAMPLES
328
328
  $ hereya bootstrap local
329
329
  ```
330
330
 
331
- _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/bootstrap/index.ts)_
331
+ _See code: [src/commands/bootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/bootstrap/index.ts)_
332
332
 
333
333
  ## `hereya clone PROJECT`
334
334
 
@@ -353,7 +353,7 @@ EXAMPLES
353
353
  $ hereya clone myProject --chdir=./myProject
354
354
  ```
355
355
 
356
- _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/clone/index.ts)_
356
+ _See code: [src/commands/clone/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/clone/index.ts)_
357
357
 
358
358
  ## `hereya config export-backend [FILE]`
359
359
 
@@ -375,7 +375,7 @@ EXAMPLES
375
375
  $ hereya config export-backend ./path/to/export.json
376
376
  ```
377
377
 
378
- _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/config/export-backend/index.ts)_
378
+ _See code: [src/commands/config/export-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/config/export-backend/index.ts)_
379
379
 
380
380
  ## `hereya config get-backend`
381
381
 
@@ -392,7 +392,7 @@ EXAMPLES
392
392
  $ hereya config get-backend
393
393
  ```
394
394
 
395
- _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/config/get-backend/index.ts)_
395
+ _See code: [src/commands/config/get-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/config/get-backend/index.ts)_
396
396
 
397
397
  ## `hereya config import-backend FILE`
398
398
 
@@ -412,7 +412,7 @@ EXAMPLES
412
412
  $ hereya config import-backend ./path/to/cloud-backend.json
413
413
  ```
414
414
 
415
- _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/config/import-backend/index.ts)_
415
+ _See code: [src/commands/config/import-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/config/import-backend/index.ts)_
416
416
 
417
417
  ## `hereya config use-backend TYPE`
418
418
 
@@ -434,7 +434,7 @@ EXAMPLES
434
434
  $ hereya config use-backend local
435
435
  ```
436
436
 
437
- _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/config/use-backend/index.ts)_
437
+ _See code: [src/commands/config/use-backend/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/config/use-backend/index.ts)_
438
438
 
439
439
  ## `hereya delete-state`
440
440
 
@@ -460,7 +460,7 @@ EXAMPLES
460
460
  $ hereya delete-state --workspace staging
461
461
  ```
462
462
 
463
- _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/delete-state/index.ts)_
463
+ _See code: [src/commands/delete-state/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/delete-state/index.ts)_
464
464
 
465
465
  ## `hereya deploy`
466
466
 
@@ -486,7 +486,7 @@ EXAMPLES
486
486
  $ hereya deploy
487
487
  ```
488
488
 
489
- _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/deploy/index.ts)_
489
+ _See code: [src/commands/deploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/deploy/index.ts)_
490
490
 
491
491
  ## `hereya devenv config`
492
492
 
@@ -506,7 +506,7 @@ EXAMPLES
506
506
  $ hereya devenv config -w my-workspace
507
507
  ```
508
508
 
509
- _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/devenv/config/index.ts)_
509
+ _See code: [src/commands/devenv/config/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/devenv/config/index.ts)_
510
510
 
511
511
  ## `hereya devenv install`
512
512
 
@@ -531,7 +531,7 @@ EXAMPLES
531
531
  $ hereya devenv install -w my-workspace -p instanceType=t3.large
532
532
  ```
533
533
 
534
- _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/devenv/install/index.ts)_
534
+ _See code: [src/commands/devenv/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/devenv/install/index.ts)_
535
535
 
536
536
  ## `hereya devenv project init PROJECT`
537
537
 
@@ -563,7 +563,7 @@ EXAMPLES
563
563
  $ hereya devenv project init my-app -w my-workspace -t acme/node-starter -p region=us-east-1
564
564
  ```
565
565
 
566
- _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/devenv/project/init/index.ts)_
566
+ _See code: [src/commands/devenv/project/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/devenv/project/init/index.ts)_
567
567
 
568
568
  ## `hereya devenv project uninit PROJECT`
569
569
 
@@ -589,7 +589,7 @@ EXAMPLES
589
589
  $ hereya devenv project uninit my-app -w my-workspace --force
590
590
  ```
591
591
 
592
- _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/devenv/project/uninit/index.ts)_
592
+ _See code: [src/commands/devenv/project/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/devenv/project/uninit/index.ts)_
593
593
 
594
594
  ## `hereya devenv ssh`
595
595
 
@@ -609,7 +609,7 @@ EXAMPLES
609
609
  $ hereya devenv ssh -w my-workspace
610
610
  ```
611
611
 
612
- _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/devenv/ssh/index.ts)_
612
+ _See code: [src/commands/devenv/ssh/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/devenv/ssh/index.ts)_
613
613
 
614
614
  ## `hereya devenv uninstall`
615
615
 
@@ -630,7 +630,7 @@ EXAMPLES
630
630
  $ hereya devenv uninstall -w my-workspace
631
631
  ```
632
632
 
633
- _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/devenv/uninstall/index.ts)_
633
+ _See code: [src/commands/devenv/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/devenv/uninstall/index.ts)_
634
634
 
635
635
  ## `hereya doc PACKAGE`
636
636
 
@@ -663,7 +663,7 @@ EXAMPLES
663
663
  $ hereya doc my-package --no-doc
664
664
  ```
665
665
 
666
- _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/doc/index.ts)_
666
+ _See code: [src/commands/doc/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/doc/index.ts)_
667
667
 
668
668
  ## `hereya docker run IMAGE`
669
669
 
@@ -694,7 +694,7 @@ EXAMPLES
694
694
  $ hereya docker run myapp:latest -- --rm -v ./data:/data
695
695
  ```
696
696
 
697
- _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/docker/run/index.ts)_
697
+ _See code: [src/commands/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/docker/run/index.ts)_
698
698
 
699
699
  ## `hereya down`
700
700
 
@@ -721,7 +721,7 @@ EXAMPLES
721
721
  $ hereya down
722
722
  ```
723
723
 
724
- _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/down/index.ts)_
724
+ _See code: [src/commands/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/down/index.ts)_
725
725
 
726
726
  ## `hereya env [NAME]`
727
727
 
@@ -752,7 +752,7 @@ EXAMPLES
752
752
  $ hereya env -w dev -l
753
753
  ```
754
754
 
755
- _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/env/index.ts)_
755
+ _See code: [src/commands/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/env/index.ts)_
756
756
 
757
757
  ## `hereya env set [NAME]`
758
758
 
@@ -779,7 +779,7 @@ EXAMPLES
779
779
  $ hereya env set FOO -v bar -w dev
780
780
  ```
781
781
 
782
- _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/env/set/index.ts)_
782
+ _See code: [src/commands/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/env/set/index.ts)_
783
783
 
784
784
  ## `hereya executor start`
785
785
 
@@ -813,7 +813,7 @@ EXAMPLES
813
813
  HEREYA_TOKEN=<token> HEREYA_CLOUD_URL=https://my-cloud.example.com hereya executor start -w my-workspace
814
814
  ```
815
815
 
816
- _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/executor/start/index.ts)_
816
+ _See code: [src/commands/executor/start/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/executor/start/index.ts)_
817
817
 
818
818
  ## `hereya flow add PACKAGE`
819
819
 
@@ -851,7 +851,7 @@ EXAMPLES
851
851
  $ hereya flow add cloudy/docker_postgres -p DB_NAME=mydb -p DB_USER=admin
852
852
  ```
853
853
 
854
- _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/flow/add/index.ts)_
854
+ _See code: [src/commands/flow/add/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/flow/add/index.ts)_
855
855
 
856
856
  ## `hereya flow docker run IMAGE`
857
857
 
@@ -881,7 +881,7 @@ EXAMPLES
881
881
  $ hereya flow docker run --pin myapp:latest -- --rm
882
882
  ```
883
883
 
884
- _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/flow/docker/run/index.ts)_
884
+ _See code: [src/commands/flow/docker/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/flow/docker/run/index.ts)_
885
885
 
886
886
  ## `hereya flow down`
887
887
 
@@ -915,7 +915,7 @@ EXAMPLES
915
915
  $ hereya flow down --pin
916
916
  ```
917
917
 
918
- _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/flow/down/index.ts)_
918
+ _See code: [src/commands/flow/down/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/flow/down/index.ts)_
919
919
 
920
920
  ## `hereya flow env [NAME]`
921
921
 
@@ -949,7 +949,7 @@ EXAMPLES
949
949
  $ hereya flow env -l
950
950
  ```
951
951
 
952
- _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/flow/env/index.ts)_
952
+ _See code: [src/commands/flow/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/flow/env/index.ts)_
953
953
 
954
954
  ## `hereya flow provid PACKAGE`
955
955
 
@@ -978,7 +978,7 @@ EXAMPLES
978
978
  $ hereya flow provid hereya/postgres --pin
979
979
  ```
980
980
 
981
- _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/flow/provid/index.ts)_
981
+ _See code: [src/commands/flow/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/flow/provid/index.ts)_
982
982
 
983
983
  ## `hereya flow remove PACKAGE`
984
984
 
@@ -1008,7 +1008,7 @@ EXAMPLES
1008
1008
  $ hereya flow remove cloudy/docker_postgres --profile staging
1009
1009
  ```
1010
1010
 
1011
- _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/flow/remove/index.ts)_
1011
+ _See code: [src/commands/flow/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/flow/remove/index.ts)_
1012
1012
 
1013
1013
  ## `hereya flow run CMD`
1014
1014
 
@@ -1037,7 +1037,7 @@ EXAMPLES
1037
1037
  $ hereya flow run --pin -- npm test
1038
1038
  ```
1039
1039
 
1040
- _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/flow/run/index.ts)_
1040
+ _See code: [src/commands/flow/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/flow/run/index.ts)_
1041
1041
 
1042
1042
  ## `hereya flow up`
1043
1043
 
@@ -1071,7 +1071,7 @@ EXAMPLES
1071
1071
  $ hereya flow up --pin
1072
1072
  ```
1073
1073
 
1074
- _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/flow/up/index.ts)_
1074
+ _See code: [src/commands/flow/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/flow/up/index.ts)_
1075
1075
 
1076
1076
  ## `hereya help [COMMAND]`
1077
1077
 
@@ -1128,7 +1128,7 @@ EXAMPLES
1128
1128
  $ hereya import org/my-package -f state.tfstate -w my-workspace
1129
1129
  ```
1130
1130
 
1131
- _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/import/index.ts)_
1131
+ _See code: [src/commands/import/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/import/index.ts)_
1132
1132
 
1133
1133
  ## `hereya import-repo PROJECT`
1134
1134
 
@@ -1158,7 +1158,7 @@ EXAMPLES
1158
1158
  $ hereya import-repo myProject -w=dev -r=https://github.com/acme/api --clone --chdir=./api
1159
1159
  ```
1160
1160
 
1161
- _See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/import-repo/index.ts)_
1161
+ _See code: [src/commands/import-repo/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/import-repo/index.ts)_
1162
1162
 
1163
1163
  ## `hereya init PROJECT`
1164
1164
 
@@ -1192,7 +1192,7 @@ EXAMPLES
1192
1192
  $ hereya init myProject -w=dev -t=acme/node-starter -d=prod -p region=us-east-1
1193
1193
  ```
1194
1194
 
1195
- _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/init/index.ts)_
1195
+ _See code: [src/commands/init/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/init/index.ts)_
1196
1196
 
1197
1197
  ## `hereya list`
1198
1198
 
@@ -1209,7 +1209,7 @@ EXAMPLES
1209
1209
  $ hereya list
1210
1210
  ```
1211
1211
 
1212
- _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/list/index.ts)_
1212
+ _See code: [src/commands/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/list/index.ts)_
1213
1213
 
1214
1214
  ## `hereya login [URL]`
1215
1215
 
@@ -1238,7 +1238,7 @@ EXAMPLES
1238
1238
  $ hereya login --token=your-token https://cloud.hereya.dev
1239
1239
  ```
1240
1240
 
1241
- _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/login/index.ts)_
1241
+ _See code: [src/commands/login/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/login/index.ts)_
1242
1242
 
1243
1243
  ## `hereya logout`
1244
1244
 
@@ -1255,7 +1255,7 @@ EXAMPLES
1255
1255
  $ hereya logout
1256
1256
  ```
1257
1257
 
1258
- _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/logout/index.ts)_
1258
+ _See code: [src/commands/logout/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/logout/index.ts)_
1259
1259
 
1260
1260
  ## `hereya provid PACKAGE`
1261
1261
 
@@ -1283,7 +1283,7 @@ EXAMPLES
1283
1283
  $ hereya provid hereya/postgres --workspace staging
1284
1284
  ```
1285
1285
 
1286
- _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/provid/index.ts)_
1286
+ _See code: [src/commands/provid/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/provid/index.ts)_
1287
1287
 
1288
1288
  ## `hereya publish`
1289
1289
 
@@ -1306,7 +1306,7 @@ EXAMPLES
1306
1306
  $ hereya publish --chdir=/path/to/package
1307
1307
  ```
1308
1308
 
1309
- _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/publish/index.ts)_
1309
+ _See code: [src/commands/publish/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/publish/index.ts)_
1310
1310
 
1311
1311
  ## `hereya remove PACKAGE`
1312
1312
 
@@ -1334,7 +1334,7 @@ EXAMPLES
1334
1334
  $ hereya remove cloudy/docker_postgres
1335
1335
  ```
1336
1336
 
1337
- _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/remove/index.ts)_
1337
+ _See code: [src/commands/remove/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/remove/index.ts)_
1338
1338
 
1339
1339
  ## `hereya run CMD`
1340
1340
 
@@ -1360,7 +1360,7 @@ EXAMPLES
1360
1360
  $ hereya run -w uat -- node index.js
1361
1361
  ```
1362
1362
 
1363
- _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/run/index.ts)_
1363
+ _See code: [src/commands/run/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/run/index.ts)_
1364
1364
 
1365
1365
  ## `hereya search QUERY`
1366
1366
 
@@ -1391,7 +1391,7 @@ EXAMPLES
1391
1391
  $ hereya search database --json
1392
1392
  ```
1393
1393
 
1394
- _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/search/index.ts)_
1394
+ _See code: [src/commands/search/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/search/index.ts)_
1395
1395
 
1396
1396
  ## `hereya unbootstrap INFRASTRUCTURETYPE`
1397
1397
 
@@ -1416,7 +1416,7 @@ EXAMPLES
1416
1416
  $ hereya unbootstrap local
1417
1417
  ```
1418
1418
 
1419
- _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/unbootstrap/index.ts)_
1419
+ _See code: [src/commands/unbootstrap/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/unbootstrap/index.ts)_
1420
1420
 
1421
1421
  ## `hereya undeploy`
1422
1422
 
@@ -1442,7 +1442,7 @@ EXAMPLES
1442
1442
  $ hereya undeploy
1443
1443
  ```
1444
1444
 
1445
- _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/undeploy/index.ts)_
1445
+ _See code: [src/commands/undeploy/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/undeploy/index.ts)_
1446
1446
 
1447
1447
  ## `hereya uninit PROJECT`
1448
1448
 
@@ -1470,7 +1470,7 @@ EXAMPLES
1470
1470
  $ hereya uninit myProject -w dev -p prodWorkspace=prod
1471
1471
  ```
1472
1472
 
1473
- _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/uninit/index.ts)_
1473
+ _See code: [src/commands/uninit/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/uninit/index.ts)_
1474
1474
 
1475
1475
  ## `hereya up`
1476
1476
 
@@ -1497,7 +1497,7 @@ EXAMPLES
1497
1497
  $ hereya up
1498
1498
  ```
1499
1499
 
1500
- _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/up/index.ts)_
1500
+ _See code: [src/commands/up/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/up/index.ts)_
1501
1501
 
1502
1502
  ## `hereya update [VERSION]`
1503
1503
 
@@ -1519,7 +1519,7 @@ EXAMPLES
1519
1519
  $ hereya update 0.75.0
1520
1520
  ```
1521
1521
 
1522
- _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/update/index.ts)_
1522
+ _See code: [src/commands/update/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/update/index.ts)_
1523
1523
 
1524
1524
  ## `hereya workspace create NAME`
1525
1525
 
@@ -1544,7 +1544,7 @@ EXAMPLES
1544
1544
  $ hereya workspace create dev
1545
1545
  ```
1546
1546
 
1547
- _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/create/index.ts)_
1547
+ _See code: [src/commands/workspace/create/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/create/index.ts)_
1548
1548
 
1549
1549
  ## `hereya workspace delete NAME`
1550
1550
 
@@ -1564,7 +1564,7 @@ EXAMPLES
1564
1564
  $ hereya workspace delete dev
1565
1565
  ```
1566
1566
 
1567
- _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/delete/index.ts)_
1567
+ _See code: [src/commands/workspace/delete/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/delete/index.ts)_
1568
1568
 
1569
1569
  ## `hereya workspace env [NAME]`
1570
1570
 
@@ -1590,7 +1590,7 @@ EXAMPLES
1590
1590
  $ hereya workspace env myEnv -w dev
1591
1591
  ```
1592
1592
 
1593
- _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/env/index.ts)_
1593
+ _See code: [src/commands/workspace/env/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/env/index.ts)_
1594
1594
 
1595
1595
  ## `hereya workspace env set`
1596
1596
 
@@ -1614,7 +1614,7 @@ EXAMPLES
1614
1614
  $ hereya workspace env set -w my-workspace -n myVar -v my-value -i aws -s
1615
1615
  ```
1616
1616
 
1617
- _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/env/set/index.ts)_
1617
+ _See code: [src/commands/workspace/env/set/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/env/set/index.ts)_
1618
1618
 
1619
1619
  ## `hereya workspace env unset`
1620
1620
 
@@ -1635,7 +1635,7 @@ EXAMPLES
1635
1635
  $ hereya workspace env unset -w my-workspace -n myVar
1636
1636
  ```
1637
1637
 
1638
- _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/env/unset/index.ts)_
1638
+ _See code: [src/commands/workspace/env/unset/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/env/unset/index.ts)_
1639
1639
 
1640
1640
  ## `hereya workspace executor install`
1641
1641
 
@@ -1662,7 +1662,7 @@ DESCRIPTION
1662
1662
  - ephemeral: ASG scaled to 0 with a broker Lambda + OIDC for on-demand wake.
1663
1663
  ```
1664
1664
 
1665
- _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/executor/install/index.ts)_
1665
+ _See code: [src/commands/workspace/executor/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/executor/install/index.ts)_
1666
1666
 
1667
1667
  ## `hereya workspace executor token`
1668
1668
 
@@ -1679,7 +1679,7 @@ DESCRIPTION
1679
1679
  Generate a workspace-scoped executor token for the remote executor
1680
1680
  ```
1681
1681
 
1682
- _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/executor/token/index.ts)_
1682
+ _See code: [src/commands/workspace/executor/token/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/executor/token/index.ts)_
1683
1683
 
1684
1684
  ## `hereya workspace executor uninstall`
1685
1685
 
@@ -1703,7 +1703,7 @@ DESCRIPTION
1703
1703
  controls log output.
1704
1704
  ```
1705
1705
 
1706
- _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/executor/uninstall/index.ts)_
1706
+ _See code: [src/commands/workspace/executor/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/executor/uninstall/index.ts)_
1707
1707
 
1708
1708
  ## `hereya workspace install PACKAGE`
1709
1709
 
@@ -1730,7 +1730,7 @@ EXAMPLES
1730
1730
  $ hereya workspace install hereya/aws-cognito
1731
1731
  ```
1732
1732
 
1733
- _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/install/index.ts)_
1733
+ _See code: [src/commands/workspace/install/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/install/index.ts)_
1734
1734
 
1735
1735
  ## `hereya workspace list`
1736
1736
 
@@ -1754,7 +1754,7 @@ EXAMPLES
1754
1754
  $ hereya workspace list --org personal
1755
1755
  ```
1756
1756
 
1757
- _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/list/index.ts)_
1757
+ _See code: [src/commands/workspace/list/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/list/index.ts)_
1758
1758
 
1759
1759
  ## `hereya workspace set-profile PROFILE`
1760
1760
 
@@ -1778,7 +1778,7 @@ EXAMPLES
1778
1778
  $ hereya workspace set-profile prod-profile -w production
1779
1779
  ```
1780
1780
 
1781
- _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/set-profile/index.ts)_
1781
+ _See code: [src/commands/workspace/set-profile/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/set-profile/index.ts)_
1782
1782
 
1783
1783
  ## `hereya workspace uninstall PACKAGE`
1784
1784
 
@@ -1805,5 +1805,5 @@ EXAMPLES
1805
1805
  $ hereya workspace uninstall hereya/aws-cognito
1806
1806
  ```
1807
1807
 
1808
- _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.0/src/commands/workspace/uninstall/index.ts)_
1808
+ _See code: [src/commands/workspace/uninstall/index.ts](https://github.com/hereya/hereya-cli/blob/v0.92.2/src/commands/workspace/uninstall/index.ts)_
1809
1809
  <!-- commandsstop -->
@@ -30,6 +30,7 @@ Set the HEREYA_CLOUD_URL environment variable to target a specific hereya cloud
30
30
  min: 1,
31
31
  }),
32
32
  idleTimeout: Flags.integer({
33
+ aliases: ['idle-timeout'],
33
34
  char: 'i',
34
35
  description: 'seconds idle before exit; omit to keep running indefinitely',
35
36
  min: 1,
@@ -9,7 +9,11 @@ import { downloadPackage } from '../lib/package/index.js';
9
9
  import { runShell } from '../lib/shell.js';
10
10
  import { getAwsConfig, getAwsConfigKey } from './aws-config.js';
11
11
  import { getPackageDownloadPath, } from './common.js';
12
- import { destroyPackage, provisionPackage } from './index.js';
12
+ // destroyPackage/provisionPackage are imported lazily inside bootstrap/unbootstrap
13
+ // (the only callers) to break a circular import: aws.js -> index.js -> registry.js
14
+ // -> aws.js. The static import broke the broker Lambda's ESM evaluation order
15
+ // (TDZ on `factories`). The Lambda never calls bootstrap/unbootstrap so the
16
+ // dynamic import is never resolved there.
13
17
  export class AwsInfrastructure {
14
18
  async bootstrap(_) {
15
19
  const stsClient = new STSClient({});
@@ -17,6 +21,7 @@ export class AwsInfrastructure {
17
21
  const region = await stsClient.config.region();
18
22
  await runShell('npx', ['cdk', 'bootstrap', `aws://${accountId}/${region}`]);
19
23
  const bootstrapPackage = 'hereya/bootstrap-aws-stack';
24
+ const { provisionPackage } = await import('./index.js');
20
25
  const output = await provisionPackage({ package: bootstrapPackage });
21
26
  if (!output.success) {
22
27
  throw new Error(output.reason);
@@ -182,6 +187,7 @@ export class AwsInfrastructure {
182
187
  }
183
188
  async unbootstrap(_) {
184
189
  const bootstrapPackage = 'hereya/bootstrap-aws-stack';
190
+ const { destroyPackage } = await import('./index.js');
185
191
  const output = await destroyPackage({ package: bootstrapPackage });
186
192
  if (!output.success) {
187
193
  throw new Error(output.reason);
@@ -1418,31 +1418,6 @@
1418
1418
  "index.js"
1419
1419
  ]
1420
1420
  },
1421
- "app:list": {
1422
- "aliases": [],
1423
- "args": {},
1424
- "description": "List hereya-apps available to your account.",
1425
- "examples": [
1426
- "<%= config.bin %> <%= command.id %>"
1427
- ],
1428
- "flags": {},
1429
- "hasDynamicHelp": false,
1430
- "hiddenAliases": [],
1431
- "id": "app:list",
1432
- "pluginAlias": "hereya-cli",
1433
- "pluginName": "hereya-cli",
1434
- "pluginType": "core",
1435
- "strict": true,
1436
- "enableJsonFlag": false,
1437
- "isESM": true,
1438
- "relativePath": [
1439
- "dist",
1440
- "commands",
1441
- "app",
1442
- "list",
1443
- "index.js"
1444
- ]
1445
- },
1446
1421
  "app:env": {
1447
1422
  "aliases": [],
1448
1423
  "args": {
@@ -1490,6 +1465,31 @@
1490
1465
  "index.js"
1491
1466
  ]
1492
1467
  },
1468
+ "app:list": {
1469
+ "aliases": [],
1470
+ "args": {},
1471
+ "description": "List hereya-apps available to your account.",
1472
+ "examples": [
1473
+ "<%= config.bin %> <%= command.id %>"
1474
+ ],
1475
+ "flags": {},
1476
+ "hasDynamicHelp": false,
1477
+ "hiddenAliases": [],
1478
+ "id": "app:list",
1479
+ "pluginAlias": "hereya-cli",
1480
+ "pluginName": "hereya-cli",
1481
+ "pluginType": "core",
1482
+ "strict": true,
1483
+ "enableJsonFlag": false,
1484
+ "isESM": true,
1485
+ "relativePath": [
1486
+ "dist",
1487
+ "commands",
1488
+ "app",
1489
+ "list",
1490
+ "index.js"
1491
+ ]
1492
+ },
1493
1493
  "app:new": {
1494
1494
  "aliases": [],
1495
1495
  "args": {
@@ -1540,6 +1540,38 @@
1540
1540
  "index.js"
1541
1541
  ]
1542
1542
  },
1543
+ "config:export-backend": {
1544
+ "aliases": [],
1545
+ "args": {
1546
+ "file": {
1547
+ "description": "Path to save the export file. Defaults to cloud-backend.json in current directory",
1548
+ "name": "file",
1549
+ "required": false
1550
+ }
1551
+ },
1552
+ "description": "Export the cloud backend configuration to a file",
1553
+ "examples": [
1554
+ "<%= config.bin %> <%= command.id %>",
1555
+ "<%= config.bin %> <%= command.id %> ./path/to/export.json"
1556
+ ],
1557
+ "flags": {},
1558
+ "hasDynamicHelp": false,
1559
+ "hiddenAliases": [],
1560
+ "id": "config:export-backend",
1561
+ "pluginAlias": "hereya-cli",
1562
+ "pluginName": "hereya-cli",
1563
+ "pluginType": "core",
1564
+ "strict": true,
1565
+ "enableJsonFlag": false,
1566
+ "isESM": true,
1567
+ "relativePath": [
1568
+ "dist",
1569
+ "commands",
1570
+ "config",
1571
+ "export-backend",
1572
+ "index.js"
1573
+ ]
1574
+ },
1543
1575
  "app:status": {
1544
1576
  "aliases": [],
1545
1577
  "args": {
@@ -1581,38 +1613,6 @@
1581
1613
  "index.js"
1582
1614
  ]
1583
1615
  },
1584
- "config:export-backend": {
1585
- "aliases": [],
1586
- "args": {
1587
- "file": {
1588
- "description": "Path to save the export file. Defaults to cloud-backend.json in current directory",
1589
- "name": "file",
1590
- "required": false
1591
- }
1592
- },
1593
- "description": "Export the cloud backend configuration to a file",
1594
- "examples": [
1595
- "<%= config.bin %> <%= command.id %>",
1596
- "<%= config.bin %> <%= command.id %> ./path/to/export.json"
1597
- ],
1598
- "flags": {},
1599
- "hasDynamicHelp": false,
1600
- "hiddenAliases": [],
1601
- "id": "config:export-backend",
1602
- "pluginAlias": "hereya-cli",
1603
- "pluginName": "hereya-cli",
1604
- "pluginType": "core",
1605
- "strict": true,
1606
- "enableJsonFlag": false,
1607
- "isESM": true,
1608
- "relativePath": [
1609
- "dist",
1610
- "commands",
1611
- "config",
1612
- "export-backend",
1613
- "index.js"
1614
- ]
1615
- },
1616
1616
  "config:get-backend": {
1617
1617
  "aliases": [],
1618
1618
  "args": {},
@@ -2019,6 +2019,9 @@
2019
2019
  "type": "option"
2020
2020
  },
2021
2021
  "idleTimeout": {
2022
+ "aliases": [
2023
+ "idle-timeout"
2024
+ ],
2022
2025
  "char": "i",
2023
2026
  "description": "seconds idle before exit; omit to keep running indefinitely",
2024
2027
  "name": "idleTimeout",
@@ -3317,5 +3320,5 @@
3317
3320
  ]
3318
3321
  }
3319
3322
  },
3320
- "version": "0.92.0"
3323
+ "version": "0.92.2"
3321
3324
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hereya-cli",
3
3
  "description": "Infrastructure as Package",
4
- "version": "0.92.0",
4
+ "version": "0.92.2",
5
5
  "author": "Hereya Developers",
6
6
  "bin": {
7
7
  "hereya": "./bin/run.js"