eas-cli 2.8.0 → 3.0.0

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
@@ -70,6 +70,7 @@ eas --help COMMAND
70
70
  * [`eas build:configure`](#eas-buildconfigure)
71
71
  * [`eas build:inspect`](#eas-buildinspect)
72
72
  * [`eas build:list`](#eas-buildlist)
73
+ * [`eas build:run`](#eas-buildrun)
73
74
  * [`eas build:submit`](#eas-buildsubmit)
74
75
  * [`eas build:version:set`](#eas-buildversionset)
75
76
  * [`eas build:version:sync`](#eas-buildversionsync)
@@ -95,6 +96,8 @@ eas --help COMMAND
95
96
  * [`eas open`](#eas-open)
96
97
  * [`eas project:info`](#eas-projectinfo)
97
98
  * [`eas project:init`](#eas-projectinit)
99
+ * [`eas run`](#eas-run)
100
+ * [`eas run:run`](#eas-runrun)
98
101
  * [`eas secret:create`](#eas-secretcreate)
99
102
  * [`eas secret:delete`](#eas-secretdelete)
100
103
  * [`eas secret:list`](#eas-secretlist)
@@ -104,6 +107,7 @@ eas --help COMMAND
104
107
  * [`eas update:configure`](#eas-updateconfigure)
105
108
  * [`eas update:delete GROUPID`](#eas-updatedelete-groupid)
106
109
  * [`eas update:list`](#eas-updatelist)
110
+ * [`eas update:republish`](#eas-updaterepublish)
107
111
  * [`eas update:view GROUPID`](#eas-updateview-groupid)
108
112
  * [`eas webhook:create`](#eas-webhookcreate)
109
113
  * [`eas webhook:delete [ID]`](#eas-webhookdelete-id)
@@ -127,7 +131,7 @@ ALIASES
127
131
  $ eas login
128
132
  ```
129
133
 
130
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/account/login.ts)_
134
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/account/login.ts)_
131
135
 
132
136
  ## `eas account:logout`
133
137
 
@@ -144,7 +148,7 @@ ALIASES
144
148
  $ eas logout
145
149
  ```
146
150
 
147
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/account/logout.ts)_
151
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/account/logout.ts)_
148
152
 
149
153
  ## `eas account:view`
150
154
 
@@ -161,7 +165,7 @@ ALIASES
161
165
  $ eas whoami
162
166
  ```
163
167
 
164
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/account/view.ts)_
168
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/account/view.ts)_
165
169
 
166
170
  ## `eas analytics [STATUS]`
167
171
 
@@ -175,7 +179,7 @@ DESCRIPTION
175
179
  display or change analytics settings
176
180
  ```
177
181
 
178
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/analytics.ts)_
182
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/analytics.ts)_
179
183
 
180
184
  ## `eas autocomplete [SHELL]`
181
185
 
@@ -225,7 +229,7 @@ DESCRIPTION
225
229
  create a branch
226
230
  ```
227
231
 
228
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/branch/create.ts)_
232
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/branch/create.ts)_
229
233
 
230
234
  ## `eas branch:delete [NAME]`
231
235
 
@@ -246,7 +250,7 @@ DESCRIPTION
246
250
  delete a branch
247
251
  ```
248
252
 
249
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/branch/delete.ts)_
253
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/branch/delete.ts)_
250
254
 
251
255
  ## `eas branch:list`
252
256
 
@@ -266,7 +270,7 @@ DESCRIPTION
266
270
  list all branches
267
271
  ```
268
272
 
269
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/branch/list.ts)_
273
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/branch/list.ts)_
270
274
 
271
275
  ## `eas branch:rename`
272
276
 
@@ -286,7 +290,7 @@ DESCRIPTION
286
290
  rename a branch
287
291
  ```
288
292
 
289
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/branch/rename.ts)_
293
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/branch/rename.ts)_
290
294
 
291
295
  ## `eas branch:view [NAME]`
292
296
 
@@ -309,7 +313,7 @@ DESCRIPTION
309
313
  view a branch
310
314
  ```
311
315
 
312
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/branch/view.ts)_
316
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/branch/view.ts)_
313
317
 
314
318
  ## `eas build`
315
319
 
@@ -339,7 +343,7 @@ DESCRIPTION
339
343
  start a build
340
344
  ```
341
345
 
342
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/build/index.ts)_
346
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/index.ts)_
343
347
 
344
348
  ## `eas build:cancel [BUILD_ID]`
345
349
 
@@ -356,7 +360,7 @@ DESCRIPTION
356
360
  cancel a build
357
361
  ```
358
362
 
359
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/build/cancel.ts)_
363
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/cancel.ts)_
360
364
 
361
365
  ## `eas build:configure`
362
366
 
@@ -373,7 +377,7 @@ DESCRIPTION
373
377
  configure the project to support EAS Build
374
378
  ```
375
379
 
376
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/build/configure.ts)_
380
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/configure.ts)_
377
381
 
378
382
  ## `eas build:inspect`
379
383
 
@@ -408,7 +412,7 @@ DESCRIPTION
408
412
  inspect the state of the project at specific build stages, useful for troubleshooting
409
413
  ```
410
414
 
411
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/build/inspect.ts)_
415
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/inspect.ts)_
412
416
 
413
417
  ## `eas build:list`
414
418
 
@@ -445,7 +449,31 @@ DESCRIPTION
445
449
  list all builds for your project
446
450
  ```
447
451
 
448
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/build/list.ts)_
452
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/list.ts)_
453
+
454
+ ## `eas build:run`
455
+
456
+ run simulator/emulator builds from eas-cli
457
+
458
+ ```
459
+ USAGE
460
+ $ eas build:run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios] [--offset
461
+ <value>] [--limit <value>]
462
+
463
+ FLAGS
464
+ -p, --platform=(android|ios)
465
+ --id=<value> ID of the simulator/emulator build to run
466
+ --latest Run the latest simulator/emulator build for specified platform
467
+ --limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
468
+ --offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
469
+ --path=<value> Path to the simulator/emulator build archive or app
470
+ --url=<value> Simulator/Emulator build archive url
471
+
472
+ DESCRIPTION
473
+ run simulator/emulator builds from eas-cli
474
+ ```
475
+
476
+ _See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/run.ts)_
449
477
 
450
478
  ## `eas build:submit`
451
479
 
@@ -465,7 +493,7 @@ FLAGS
465
493
  --non-interactive Run command in non-interactive mode
466
494
  --path=<value> Path to the .apk/.aab/.ipa file
467
495
  --url=<value> App archive url
468
- --verbose Always print logs from Submission Service
496
+ --verbose Always print logs from EAS Submit
469
497
  --[no-]wait Wait for submission to complete
470
498
 
471
499
  DESCRIPTION
@@ -492,7 +520,7 @@ DESCRIPTION
492
520
  Update version of an app.
493
521
  ```
494
522
 
495
- _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/build/version/set.ts)_
523
+ _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/version/set.ts)_
496
524
 
497
525
  ## `eas build:version:sync`
498
526
 
@@ -511,7 +539,7 @@ DESCRIPTION
511
539
  Update a version in native code with a value stored on EAS servers
512
540
  ```
513
541
 
514
- _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/build/version/sync.ts)_
542
+ _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/version/sync.ts)_
515
543
 
516
544
  ## `eas build:view [BUILD_ID]`
517
545
 
@@ -528,7 +556,7 @@ DESCRIPTION
528
556
  view a build for your project
529
557
  ```
530
558
 
531
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/build/view.ts)_
559
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/build/view.ts)_
532
560
 
533
561
  ## `eas channel:create [NAME]`
534
562
 
@@ -549,7 +577,7 @@ DESCRIPTION
549
577
  create a channel
550
578
  ```
551
579
 
552
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/channel/create.ts)_
580
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/channel/create.ts)_
553
581
 
554
582
  ## `eas channel:edit [NAME]`
555
583
 
@@ -571,7 +599,7 @@ DESCRIPTION
571
599
  point a channel at a new branch
572
600
  ```
573
601
 
574
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/channel/edit.ts)_
602
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/channel/edit.ts)_
575
603
 
576
604
  ## `eas channel:list`
577
605
 
@@ -591,7 +619,7 @@ DESCRIPTION
591
619
  list all channels
592
620
  ```
593
621
 
594
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/channel/list.ts)_
622
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/channel/list.ts)_
595
623
 
596
624
  ## `eas channel:view [NAME]`
597
625
 
@@ -614,7 +642,7 @@ DESCRIPTION
614
642
  view a channel
615
643
  ```
616
644
 
617
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/channel/view.ts)_
645
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/channel/view.ts)_
618
646
 
619
647
  ## `eas config`
620
648
 
@@ -633,7 +661,7 @@ DESCRIPTION
633
661
  display project configuration (app.json + eas.json)
634
662
  ```
635
663
 
636
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/config.ts)_
664
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/config.ts)_
637
665
 
638
666
  ## `eas credentials`
639
667
 
@@ -650,7 +678,7 @@ DESCRIPTION
650
678
  manage credentials
651
679
  ```
652
680
 
653
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/credentials.ts)_
681
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/credentials.ts)_
654
682
 
655
683
  ## `eas device:create`
656
684
 
@@ -664,7 +692,7 @@ DESCRIPTION
664
692
  register new Apple Devices to use for internal distribution
665
693
  ```
666
694
 
667
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/device/create.ts)_
695
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/device/create.ts)_
668
696
 
669
697
  ## `eas device:delete`
670
698
 
@@ -684,7 +712,7 @@ DESCRIPTION
684
712
  remove a registered device from your account
685
713
  ```
686
714
 
687
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/device/delete.ts)_
715
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/device/delete.ts)_
688
716
 
689
717
  ## `eas device:list`
690
718
 
@@ -705,7 +733,7 @@ DESCRIPTION
705
733
  list all registered devices for your account
706
734
  ```
707
735
 
708
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/device/list.ts)_
736
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/device/list.ts)_
709
737
 
710
738
  ## `eas device:view [UDID]`
711
739
 
@@ -719,7 +747,7 @@ DESCRIPTION
719
747
  view a device for your project
720
748
  ```
721
749
 
722
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/device/view.ts)_
750
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/device/view.ts)_
723
751
 
724
752
  ## `eas diagnostics`
725
753
 
@@ -733,7 +761,7 @@ DESCRIPTION
733
761
  display environment info
734
762
  ```
735
763
 
736
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/diagnostics.ts)_
764
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/diagnostics.ts)_
737
765
 
738
766
  ## `eas help [COMMAND]`
739
767
 
@@ -821,7 +849,7 @@ DESCRIPTION
821
849
  validate the local store configuration
822
850
  ```
823
851
 
824
- _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/metadata/lint.ts)_
852
+ _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/metadata/lint.ts)_
825
853
 
826
854
  ## `eas metadata:pull`
827
855
 
@@ -838,7 +866,7 @@ DESCRIPTION
838
866
  generate the local store configuration from the app stores
839
867
  ```
840
868
 
841
- _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/metadata/pull.ts)_
869
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/metadata/pull.ts)_
842
870
 
843
871
  ## `eas metadata:push`
844
872
 
@@ -855,7 +883,7 @@ DESCRIPTION
855
883
  sync the local store configuration to the app stores
856
884
  ```
857
885
 
858
- _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/metadata/push.ts)_
886
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/metadata/push.ts)_
859
887
 
860
888
  ## `eas open`
861
889
 
@@ -869,7 +897,7 @@ DESCRIPTION
869
897
  open the project page in a web browser
870
898
  ```
871
899
 
872
- _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/open.ts)_
900
+ _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/open.ts)_
873
901
 
874
902
  ## `eas project:info`
875
903
 
@@ -883,7 +911,7 @@ DESCRIPTION
883
911
  information about the current project
884
912
  ```
885
913
 
886
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/project/info.ts)_
914
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/project/info.ts)_
887
915
 
888
916
  ## `eas project:init`
889
917
 
@@ -905,7 +933,55 @@ ALIASES
905
933
  $ eas init
906
934
  ```
907
935
 
908
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/project/init.ts)_
936
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/project/init.ts)_
937
+
938
+ ## `eas run`
939
+
940
+ run simulator build
941
+
942
+ ```
943
+ USAGE
944
+ $ eas run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios|all] [--offset
945
+ <value>] [--limit <value>]
946
+
947
+ FLAGS
948
+ -p, --platform=(android|ios|all)
949
+ --id=<value> ID of the simulator build to run
950
+ --latest Run the latest simulator build for specified platform
951
+ --limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
952
+ --offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
953
+ --path=<value> Path to the simulator build file file
954
+ --url=<value> Simulator build archive url
955
+
956
+ DESCRIPTION
957
+ run simulator build
958
+ ```
959
+
960
+ _See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/run/index.ts)_
961
+
962
+ ## `eas run:run`
963
+
964
+ run simulator build
965
+
966
+ ```
967
+ USAGE
968
+ $ eas run:run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios|all] [--offset
969
+ <value>] [--limit <value>]
970
+
971
+ FLAGS
972
+ -p, --platform=(android|ios|all)
973
+ --id=<value> ID of the simulator build to run
974
+ --latest Run the latest simulator build for specified platform
975
+ --limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
976
+ --offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
977
+ --path=<value> Path to the simulator build file file
978
+ --url=<value> Simulator build archive url
979
+
980
+ DESCRIPTION
981
+ run simulator build
982
+ ```
983
+
984
+ _See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/run/run.ts)_
909
985
 
910
986
  ## `eas secret:create`
911
987
 
@@ -928,7 +1004,7 @@ DESCRIPTION
928
1004
  create an environment secret on the current project or owner account
929
1005
  ```
930
1006
 
931
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/secret/create.ts)_
1007
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/secret/create.ts)_
932
1008
 
933
1009
  ## `eas secret:delete`
934
1010
 
@@ -946,7 +1022,7 @@ DESCRIPTION
946
1022
  delete an environment secret by ID
947
1023
  ```
948
1024
 
949
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/secret/delete.ts)_
1025
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/secret/delete.ts)_
950
1026
 
951
1027
  ## `eas secret:list`
952
1028
 
@@ -960,7 +1036,7 @@ DESCRIPTION
960
1036
  list environment secrets available for your current app
961
1037
  ```
962
1038
 
963
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/secret/list.ts)_
1039
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/secret/list.ts)_
964
1040
 
965
1041
  ## `eas secret:push`
966
1042
 
@@ -980,7 +1056,7 @@ DESCRIPTION
980
1056
  read environment secrets from env file and store on the server
981
1057
  ```
982
1058
 
983
- _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/secret/push.ts)_
1059
+ _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/secret/push.ts)_
984
1060
 
985
1061
  ## `eas submit`
986
1062
 
@@ -1000,7 +1076,7 @@ FLAGS
1000
1076
  --non-interactive Run command in non-interactive mode
1001
1077
  --path=<value> Path to the .apk/.aab/.ipa file
1002
1078
  --url=<value> App archive url
1003
- --verbose Always print logs from Submission Service
1079
+ --verbose Always print logs from EAS Submit
1004
1080
  --[no-]wait Wait for submission to complete
1005
1081
 
1006
1082
  DESCRIPTION
@@ -1010,7 +1086,7 @@ ALIASES
1010
1086
  $ eas build:submit
1011
1087
  ```
1012
1088
 
1013
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/submit.ts)_
1089
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/submit.ts)_
1014
1090
 
1015
1091
  ## `eas update`
1016
1092
 
@@ -1025,7 +1101,7 @@ FLAGS
1025
1101
  -p, --platform=(android|ios|all) [default: all]
1026
1102
  --auto Use the current git branch and commit message for the EAS branch and update message
1027
1103
  --branch=<value> Branch to publish the update group on
1028
- --group=<value> Update group to republish
1104
+ --group=<value> Update group to republish (deprecated, see republish command)
1029
1105
  --input-dir=<value> [default: dist] Location of the bundle
1030
1106
  --json Enable JSON output, non-JSON messages will be printed to stderr.
1031
1107
  --message=<value> A short message describing the update
@@ -1033,14 +1109,14 @@ FLAGS
1033
1109
  --private-key-path=<value> File containing the PEM-encoded private key corresponding to the certificate in
1034
1110
  expo-updates' configuration. Defaults to a file named "private-key.pem" in the
1035
1111
  certificate's directory.
1036
- --republish Republish an update group
1112
+ --republish Republish an update group (deprecated, see republish command)
1037
1113
  --skip-bundler Skip running Expo CLI to bundle the app before publishing
1038
1114
 
1039
1115
  DESCRIPTION
1040
1116
  publish an update group
1041
1117
  ```
1042
1118
 
1043
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/update/index.ts)_
1119
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/update/index.ts)_
1044
1120
 
1045
1121
  ## `eas update:configure`
1046
1122
 
@@ -1058,7 +1134,7 @@ DESCRIPTION
1058
1134
  configure the project to support EAS Update
1059
1135
  ```
1060
1136
 
1061
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/update/configure.ts)_
1137
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/update/configure.ts)_
1062
1138
 
1063
1139
  ## `eas update:delete GROUPID`
1064
1140
 
@@ -1079,7 +1155,7 @@ DESCRIPTION
1079
1155
  delete all the updates in an update group
1080
1156
  ```
1081
1157
 
1082
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/update/delete.ts)_
1158
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/update/delete.ts)_
1083
1159
 
1084
1160
  ## `eas update:list`
1085
1161
 
@@ -1101,7 +1177,30 @@ DESCRIPTION
1101
1177
  view the recent updates
1102
1178
  ```
1103
1179
 
1104
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/update/list.ts)_
1180
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/update/list.ts)_
1181
+
1182
+ ## `eas update:republish`
1183
+
1184
+ rollback to an existing update
1185
+
1186
+ ```
1187
+ USAGE
1188
+ $ eas update:republish [--branch <value> | --group <value>] [--message <value>] [-p android|ios|all] [--json
1189
+ --non-interactive]
1190
+
1191
+ FLAGS
1192
+ -p, --platform=(android|ios|all) [default: all]
1193
+ --branch=<value> Branch name to select an update to republish from
1194
+ --group=<value> Update group ID to republish
1195
+ --json Enable JSON output, non-JSON messages will be printed to stderr.
1196
+ --message=<value> Short message describing the republished update
1197
+ --non-interactive Run the command in non-interactive mode.
1198
+
1199
+ DESCRIPTION
1200
+ rollback to an existing update
1201
+ ```
1202
+
1203
+ _See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/update/republish.ts)_
1105
1204
 
1106
1205
  ## `eas update:view GROUPID`
1107
1206
 
@@ -1121,7 +1220,7 @@ DESCRIPTION
1121
1220
  update group details
1122
1221
  ```
1123
1222
 
1124
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/update/view.ts)_
1223
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/update/view.ts)_
1125
1224
 
1126
1225
  ## `eas webhook:create`
1127
1226
 
@@ -1142,7 +1241,7 @@ DESCRIPTION
1142
1241
  create a webhook
1143
1242
  ```
1144
1243
 
1145
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/webhook/create.ts)_
1244
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/webhook/create.ts)_
1146
1245
 
1147
1246
  ## `eas webhook:delete [ID]`
1148
1247
 
@@ -1162,7 +1261,7 @@ DESCRIPTION
1162
1261
  delete a webhook
1163
1262
  ```
1164
1263
 
1165
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1264
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1166
1265
 
1167
1266
  ## `eas webhook:list`
1168
1267
 
@@ -1179,7 +1278,7 @@ DESCRIPTION
1179
1278
  list webhooks
1180
1279
  ```
1181
1280
 
1182
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/webhook/list.ts)_
1281
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/webhook/list.ts)_
1183
1282
 
1184
1283
  ## `eas webhook:update`
1185
1284
 
@@ -1201,7 +1300,7 @@ DESCRIPTION
1201
1300
  update a webhook
1202
1301
  ```
1203
1302
 
1204
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/webhook/update.ts)_
1303
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/webhook/update.ts)_
1205
1304
 
1206
1305
  ## `eas webhook:view ID`
1207
1306
 
@@ -1218,7 +1317,7 @@ DESCRIPTION
1218
1317
  view a webhook
1219
1318
  ```
1220
1319
 
1221
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/webhook/view.ts)_
1320
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.0.0/packages/eas-cli/src/commands/webhook/view.ts)_
1222
1321
 
1223
1322
  ## `eas whoami`
1224
1323
 
@@ -21,7 +21,7 @@ interface Builder<TPlatform extends Platform, Credentials, TJob extends Job> {
21
21
  }
22
22
  export declare type BuildRequestSender = () => Promise<BuildFragment | undefined>;
23
23
  export declare function prepareBuildRequestForPlatformAsync<TPlatform extends Platform, Credentials, TJob extends Job>(builder: Builder<TPlatform, Credentials, TJob>): Promise<BuildRequestSender>;
24
- declare type MaybeBuildFragment = BuildFragment | null;
24
+ export declare type MaybeBuildFragment = BuildFragment | null;
25
25
  export declare function waitForBuildEndAsync(graphqlClient: ExpoGraphqlClient, { buildIds, accountName }: {
26
26
  buildIds: string[];
27
27
  accountName: string;
@@ -4,6 +4,7 @@ exports.runBuildAndSubmitAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const eas_build_job_1 = require("@expo/eas-build-job");
6
6
  const eas_json_1 = require("@expo/eas-json");
7
+ const assert_1 = tslib_1.__importDefault(require("assert"));
7
8
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
8
9
  const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
9
10
  const generated_1 = require("../graphql/generated");
@@ -15,10 +16,15 @@ const expoSdk_1 = require("../project/expoSdk");
15
16
  const metroConfig_1 = require("../project/metroConfig");
16
17
  const projectUtils_1 = require("../project/projectUtils");
17
18
  const remoteVersionSource_1 = require("../project/remoteVersionSource");
19
+ const prompts_1 = require("../prompts");
20
+ const run_1 = require("../run/run");
21
+ const utils_1 = require("../run/utils");
18
22
  const context_1 = require("../submit/context");
19
23
  const submit_1 = require("../submit/submit");
20
24
  const urls_1 = require("../submit/utils/urls");
21
- const utils_1 = require("../update/utils");
25
+ const utils_2 = require("../update/utils");
26
+ const download_1 = require("../utils/download");
27
+ const filter_1 = require("../utils/expodash/filter");
22
28
  const json_1 = require("../utils/json");
23
29
  const profiles_1 = require("../utils/profiles");
24
30
  const vcs_1 = require("../vcs");
@@ -142,6 +148,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
142
148
  (0, printBuildInfo_1.printBuildResults)(builds);
143
149
  }
144
150
  const haveAllBuildsFailedOrCanceled = builds.every(build => (build === null || build === void 0 ? void 0 : build.status) && [generated_1.BuildStatus.Errored, generated_1.BuildStatus.Canceled].includes(build === null || build === void 0 ? void 0 : build.status));
151
+ await maybeDownloadAndRunSimulatorBuildsAsync(builds, flags);
145
152
  if (haveAllBuildsFailedOrCanceled || !flags.autoSubmit) {
146
153
  if (flags.json) {
147
154
  (0, json_1.printJsonOnlyOutput)(builds);
@@ -182,7 +189,7 @@ async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildP
182
189
  const appPlatform = (0, AppPlatform_1.toAppPlatform)(buildProfile.platform);
183
190
  log_1.default.log(`${platform_1.appPlatformEmojis[appPlatform]} ${chalk_1.default.bold(`${platform_1.appPlatformDisplayNames[appPlatform]} build`)}`);
184
191
  }
185
- await (0, utils_1.validateBuildProfileConfigMatchesProjectConfigAsync)(buildCtx.exp, buildProfile, buildCtx.projectId, flags.nonInteractive);
192
+ await (0, utils_2.validateBuildProfileConfigMatchesProjectConfigAsync)(buildCtx.exp, buildProfile, buildCtx.projectId, flags.nonInteractive);
186
193
  await (0, projectUtils_1.validateAppVersionRuntimePolicySupportAsync)(buildCtx.projectDir, buildCtx.exp);
187
194
  if ((easJsonCliConfig === null || easJsonCliConfig === void 0 ? void 0 : easJsonCliConfig.appVersionSource) === eas_json_1.AppVersionSource.REMOTE) {
188
195
  (0, remoteVersionSource_1.validateAppConfigForRemoteVersionSource)(buildCtx.exp, buildProfile.platform);
@@ -243,3 +250,25 @@ function exitWithNonZeroCodeIfSomeBuildsFailed(maybeBuilds) {
243
250
  process.exit(1);
244
251
  }
245
252
  }
253
+ async function downloadAndRunAsync(build) {
254
+ var _a;
255
+ (0, assert_1.default)((_a = build.artifacts) === null || _a === void 0 ? void 0 : _a.applicationArchiveUrl);
256
+ const buildPath = await (0, download_1.downloadAndMaybeExtractAppAsync)(build.artifacts.applicationArchiveUrl, build.platform);
257
+ await (0, run_1.runAsync)(buildPath, build.platform);
258
+ }
259
+ async function maybeDownloadAndRunSimulatorBuildsAsync(builds, flags) {
260
+ const simBuilds = builds.filter(filter_1.truthy).filter(utils_1.isRunnableOnSimulatorOrEmulator);
261
+ if (simBuilds.length > 0 && !flags.autoSubmit && !flags.nonInteractive) {
262
+ for (const simBuild of simBuilds) {
263
+ if (simBuild.platform === generated_1.AppPlatform.Android || process.platform === 'darwin') {
264
+ log_1.default.newLine();
265
+ const confirm = await (0, prompts_1.confirmAsync)({
266
+ message: `Install and run the ${simBuild.platform === generated_1.AppPlatform.Android ? 'Android' : 'iOS'} build on ${simBuild.platform === generated_1.AppPlatform.Android ? 'an emulator' : 'a simulator'}?`,
267
+ });
268
+ if (confirm) {
269
+ await downloadAndRunAsync(simBuild);
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }