eas-cli 2.7.1 → 2.8.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.
Files changed (52) hide show
  1. package/README.md +49 -99
  2. package/build/branch/queries.d.ts +1 -0
  3. package/build/branch/queries.js +2 -2
  4. package/build/build/build.js +2 -2
  5. package/build/build/createContext.js +1 -0
  6. package/build/build/graphql.js +6 -0
  7. package/build/build/local.js +1 -1
  8. package/build/build/queries.d.ts +4 -2
  9. package/build/build/queries.js +32 -7
  10. package/build/commands/build/run.js +24 -11
  11. package/build/commands/submit.js +1 -1
  12. package/build/commands/update/index.js +8 -6
  13. package/build/devices/utils/formatDevice.js +1 -2
  14. package/build/graphql/generated.d.ts +12 -0
  15. package/build/graphql/generated.js +9 -2
  16. package/build/graphql/mutations/SubmissionMutation.js +14 -2
  17. package/build/graphql/mutations/UploadSessionMutation.d.ts +4 -3
  18. package/build/run/android/aapt.d.ts +5 -0
  19. package/build/run/android/aapt.js +51 -0
  20. package/build/run/android/adb.d.ts +23 -0
  21. package/build/run/android/adb.js +120 -0
  22. package/build/run/android/emulator.d.ts +7 -0
  23. package/build/run/android/emulator.js +109 -0
  24. package/build/run/android/run.d.ts +1 -1
  25. package/build/run/android/run.js +10 -3
  26. package/build/run/android/sdk.d.ts +3 -0
  27. package/build/run/android/sdk.js +29 -0
  28. package/build/run/android/systemRequirements.d.ts +1 -0
  29. package/build/run/android/systemRequirements.js +24 -0
  30. package/build/submit/ArchiveSource.d.ts +20 -10
  31. package/build/submit/ArchiveSource.js +59 -60
  32. package/build/submit/BaseSubmitter.d.ts +4 -1
  33. package/build/submit/BaseSubmitter.js +20 -0
  34. package/build/submit/android/AndroidSubmitCommand.js +1 -2
  35. package/build/submit/android/AndroidSubmitter.d.ts +3 -3
  36. package/build/submit/android/AndroidSubmitter.js +12 -7
  37. package/build/submit/commons.d.ts +1 -1
  38. package/build/submit/commons.js +1 -16
  39. package/build/submit/ios/IosSubmitCommand.js +1 -2
  40. package/build/submit/ios/IosSubmitter.d.ts +3 -3
  41. package/build/submit/ios/IosSubmitter.js +11 -6
  42. package/build/submit/utils/files.js +2 -2
  43. package/build/submit/utils/summary.d.ts +2 -2
  44. package/build/submit/utils/summary.js +7 -8
  45. package/build/uploads.d.ts +4 -10
  46. package/build/uploads.js +16 -36
  47. package/build/utils/download.d.ts +3 -2
  48. package/build/utils/download.js +37 -30
  49. package/build/utils/progress.d.ts +1 -1
  50. package/build/utils/progress.js +6 -4
  51. package/oclif.manifest.json +1 -1
  52. package/package.json +3 -3
package/README.md CHANGED
@@ -95,8 +95,6 @@ eas --help COMMAND
95
95
  * [`eas open`](#eas-open)
96
96
  * [`eas project:info`](#eas-projectinfo)
97
97
  * [`eas project:init`](#eas-projectinit)
98
- * [`eas run`](#eas-run)
99
- * [`eas run:run`](#eas-runrun)
100
98
  * [`eas secret:create`](#eas-secretcreate)
101
99
  * [`eas secret:delete`](#eas-secretdelete)
102
100
  * [`eas secret:list`](#eas-secretlist)
@@ -129,7 +127,7 @@ ALIASES
129
127
  $ eas login
130
128
  ```
131
129
 
132
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/account/login.ts)_
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)_
133
131
 
134
132
  ## `eas account:logout`
135
133
 
@@ -146,7 +144,7 @@ ALIASES
146
144
  $ eas logout
147
145
  ```
148
146
 
149
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/account/logout.ts)_
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)_
150
148
 
151
149
  ## `eas account:view`
152
150
 
@@ -163,7 +161,7 @@ ALIASES
163
161
  $ eas whoami
164
162
  ```
165
163
 
166
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/account/view.ts)_
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)_
167
165
 
168
166
  ## `eas analytics [STATUS]`
169
167
 
@@ -177,7 +175,7 @@ DESCRIPTION
177
175
  display or change analytics settings
178
176
  ```
179
177
 
180
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/analytics.ts)_
178
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/analytics.ts)_
181
179
 
182
180
  ## `eas autocomplete [SHELL]`
183
181
 
@@ -227,7 +225,7 @@ DESCRIPTION
227
225
  create a branch
228
226
  ```
229
227
 
230
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/branch/create.ts)_
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)_
231
229
 
232
230
  ## `eas branch:delete [NAME]`
233
231
 
@@ -248,7 +246,7 @@ DESCRIPTION
248
246
  delete a branch
249
247
  ```
250
248
 
251
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/branch/delete.ts)_
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)_
252
250
 
253
251
  ## `eas branch:list`
254
252
 
@@ -268,7 +266,7 @@ DESCRIPTION
268
266
  list all branches
269
267
  ```
270
268
 
271
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/branch/list.ts)_
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)_
272
270
 
273
271
  ## `eas branch:rename`
274
272
 
@@ -288,7 +286,7 @@ DESCRIPTION
288
286
  rename a branch
289
287
  ```
290
288
 
291
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/branch/rename.ts)_
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)_
292
290
 
293
291
  ## `eas branch:view [NAME]`
294
292
 
@@ -311,7 +309,7 @@ DESCRIPTION
311
309
  view a branch
312
310
  ```
313
311
 
314
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/branch/view.ts)_
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)_
315
313
 
316
314
  ## `eas build`
317
315
 
@@ -341,7 +339,7 @@ DESCRIPTION
341
339
  start a build
342
340
  ```
343
341
 
344
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/build/index.ts)_
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)_
345
343
 
346
344
  ## `eas build:cancel [BUILD_ID]`
347
345
 
@@ -358,7 +356,7 @@ DESCRIPTION
358
356
  cancel a build
359
357
  ```
360
358
 
361
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/build/cancel.ts)_
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)_
362
360
 
363
361
  ## `eas build:configure`
364
362
 
@@ -375,7 +373,7 @@ DESCRIPTION
375
373
  configure the project to support EAS Build
376
374
  ```
377
375
 
378
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/build/configure.ts)_
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)_
379
377
 
380
378
  ## `eas build:inspect`
381
379
 
@@ -410,7 +408,7 @@ DESCRIPTION
410
408
  inspect the state of the project at specific build stages, useful for troubleshooting
411
409
  ```
412
410
 
413
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/build/inspect.ts)_
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)_
414
412
 
415
413
  ## `eas build:list`
416
414
 
@@ -447,7 +445,7 @@ DESCRIPTION
447
445
  list all builds for your project
448
446
  ```
449
447
 
450
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/build/list.ts)_
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)_
451
449
 
452
450
  ## `eas build:submit`
453
451
 
@@ -494,7 +492,7 @@ DESCRIPTION
494
492
  Update version of an app.
495
493
  ```
496
494
 
497
- _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/build/version/set.ts)_
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)_
498
496
 
499
497
  ## `eas build:version:sync`
500
498
 
@@ -513,7 +511,7 @@ DESCRIPTION
513
511
  Update a version in native code with a value stored on EAS servers
514
512
  ```
515
513
 
516
- _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/build/version/sync.ts)_
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)_
517
515
 
518
516
  ## `eas build:view [BUILD_ID]`
519
517
 
@@ -530,7 +528,7 @@ DESCRIPTION
530
528
  view a build for your project
531
529
  ```
532
530
 
533
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/build/view.ts)_
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)_
534
532
 
535
533
  ## `eas channel:create [NAME]`
536
534
 
@@ -551,7 +549,7 @@ DESCRIPTION
551
549
  create a channel
552
550
  ```
553
551
 
554
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/channel/create.ts)_
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)_
555
553
 
556
554
  ## `eas channel:edit [NAME]`
557
555
 
@@ -573,7 +571,7 @@ DESCRIPTION
573
571
  point a channel at a new branch
574
572
  ```
575
573
 
576
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/channel/edit.ts)_
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)_
577
575
 
578
576
  ## `eas channel:list`
579
577
 
@@ -593,7 +591,7 @@ DESCRIPTION
593
591
  list all channels
594
592
  ```
595
593
 
596
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/channel/list.ts)_
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)_
597
595
 
598
596
  ## `eas channel:view [NAME]`
599
597
 
@@ -616,7 +614,7 @@ DESCRIPTION
616
614
  view a channel
617
615
  ```
618
616
 
619
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/channel/view.ts)_
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)_
620
618
 
621
619
  ## `eas config`
622
620
 
@@ -635,7 +633,7 @@ DESCRIPTION
635
633
  display project configuration (app.json + eas.json)
636
634
  ```
637
635
 
638
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/config.ts)_
636
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/config.ts)_
639
637
 
640
638
  ## `eas credentials`
641
639
 
@@ -652,7 +650,7 @@ DESCRIPTION
652
650
  manage credentials
653
651
  ```
654
652
 
655
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/credentials.ts)_
653
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/credentials.ts)_
656
654
 
657
655
  ## `eas device:create`
658
656
 
@@ -666,7 +664,7 @@ DESCRIPTION
666
664
  register new Apple Devices to use for internal distribution
667
665
  ```
668
666
 
669
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/device/create.ts)_
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)_
670
668
 
671
669
  ## `eas device:delete`
672
670
 
@@ -686,7 +684,7 @@ DESCRIPTION
686
684
  remove a registered device from your account
687
685
  ```
688
686
 
689
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/device/delete.ts)_
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)_
690
688
 
691
689
  ## `eas device:list`
692
690
 
@@ -707,7 +705,7 @@ DESCRIPTION
707
705
  list all registered devices for your account
708
706
  ```
709
707
 
710
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/device/list.ts)_
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)_
711
709
 
712
710
  ## `eas device:view [UDID]`
713
711
 
@@ -721,7 +719,7 @@ DESCRIPTION
721
719
  view a device for your project
722
720
  ```
723
721
 
724
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/device/view.ts)_
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)_
725
723
 
726
724
  ## `eas diagnostics`
727
725
 
@@ -735,7 +733,7 @@ DESCRIPTION
735
733
  display environment info
736
734
  ```
737
735
 
738
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/diagnostics.ts)_
736
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/diagnostics.ts)_
739
737
 
740
738
  ## `eas help [COMMAND]`
741
739
 
@@ -823,7 +821,7 @@ DESCRIPTION
823
821
  validate the local store configuration
824
822
  ```
825
823
 
826
- _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/metadata/lint.ts)_
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)_
827
825
 
828
826
  ## `eas metadata:pull`
829
827
 
@@ -840,7 +838,7 @@ DESCRIPTION
840
838
  generate the local store configuration from the app stores
841
839
  ```
842
840
 
843
- _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/metadata/pull.ts)_
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)_
844
842
 
845
843
  ## `eas metadata:push`
846
844
 
@@ -857,7 +855,7 @@ DESCRIPTION
857
855
  sync the local store configuration to the app stores
858
856
  ```
859
857
 
860
- _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/metadata/push.ts)_
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)_
861
859
 
862
860
  ## `eas open`
863
861
 
@@ -871,7 +869,7 @@ DESCRIPTION
871
869
  open the project page in a web browser
872
870
  ```
873
871
 
874
- _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/open.ts)_
872
+ _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/open.ts)_
875
873
 
876
874
  ## `eas project:info`
877
875
 
@@ -885,7 +883,7 @@ DESCRIPTION
885
883
  information about the current project
886
884
  ```
887
885
 
888
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/project/info.ts)_
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)_
889
887
 
890
888
  ## `eas project:init`
891
889
 
@@ -907,55 +905,7 @@ ALIASES
907
905
  $ eas init
908
906
  ```
909
907
 
910
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/project/init.ts)_
911
-
912
- ## `eas run`
913
-
914
- run simulator build
915
-
916
- ```
917
- USAGE
918
- $ eas run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios|all] [--offset
919
- <value>] [--limit <value>]
920
-
921
- FLAGS
922
- -p, --platform=(android|ios|all)
923
- --id=<value> ID of the simulator build to run
924
- --latest Run the latest simulator build for specified platform
925
- --limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
926
- --offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
927
- --path=<value> Path to the simulator build file file
928
- --url=<value> Simulator build archive url
929
-
930
- DESCRIPTION
931
- run simulator build
932
- ```
933
-
934
- _See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/run/index.ts)_
935
-
936
- ## `eas run:run`
937
-
938
- run simulator build
939
-
940
- ```
941
- USAGE
942
- $ eas run:run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios|all] [--offset
943
- <value>] [--limit <value>]
944
-
945
- FLAGS
946
- -p, --platform=(android|ios|all)
947
- --id=<value> ID of the simulator build to run
948
- --latest Run the latest simulator build for specified platform
949
- --limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
950
- --offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
951
- --path=<value> Path to the simulator build file file
952
- --url=<value> Simulator build archive url
953
-
954
- DESCRIPTION
955
- run simulator build
956
- ```
957
-
958
- _See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/run/run.ts)_
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)_
959
909
 
960
910
  ## `eas secret:create`
961
911
 
@@ -978,7 +928,7 @@ DESCRIPTION
978
928
  create an environment secret on the current project or owner account
979
929
  ```
980
930
 
981
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/secret/create.ts)_
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)_
982
932
 
983
933
  ## `eas secret:delete`
984
934
 
@@ -996,7 +946,7 @@ DESCRIPTION
996
946
  delete an environment secret by ID
997
947
  ```
998
948
 
999
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/secret/delete.ts)_
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)_
1000
950
 
1001
951
  ## `eas secret:list`
1002
952
 
@@ -1010,7 +960,7 @@ DESCRIPTION
1010
960
  list environment secrets available for your current app
1011
961
  ```
1012
962
 
1013
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/secret/list.ts)_
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)_
1014
964
 
1015
965
  ## `eas secret:push`
1016
966
 
@@ -1030,7 +980,7 @@ DESCRIPTION
1030
980
  read environment secrets from env file and store on the server
1031
981
  ```
1032
982
 
1033
- _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/secret/push.ts)_
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)_
1034
984
 
1035
985
  ## `eas submit`
1036
986
 
@@ -1060,7 +1010,7 @@ ALIASES
1060
1010
  $ eas build:submit
1061
1011
  ```
1062
1012
 
1063
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/submit.ts)_
1013
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v2.8.0/packages/eas-cli/src/commands/submit.ts)_
1064
1014
 
1065
1015
  ## `eas update`
1066
1016
 
@@ -1090,7 +1040,7 @@ DESCRIPTION
1090
1040
  publish an update group
1091
1041
  ```
1092
1042
 
1093
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/update/index.ts)_
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)_
1094
1044
 
1095
1045
  ## `eas update:configure`
1096
1046
 
@@ -1108,7 +1058,7 @@ DESCRIPTION
1108
1058
  configure the project to support EAS Update
1109
1059
  ```
1110
1060
 
1111
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/update/configure.ts)_
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)_
1112
1062
 
1113
1063
  ## `eas update:delete GROUPID`
1114
1064
 
@@ -1129,7 +1079,7 @@ DESCRIPTION
1129
1079
  delete all the updates in an update group
1130
1080
  ```
1131
1081
 
1132
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/update/delete.ts)_
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)_
1133
1083
 
1134
1084
  ## `eas update:list`
1135
1085
 
@@ -1151,7 +1101,7 @@ DESCRIPTION
1151
1101
  view the recent updates
1152
1102
  ```
1153
1103
 
1154
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/update/list.ts)_
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)_
1155
1105
 
1156
1106
  ## `eas update:view GROUPID`
1157
1107
 
@@ -1171,7 +1121,7 @@ DESCRIPTION
1171
1121
  update group details
1172
1122
  ```
1173
1123
 
1174
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/update/view.ts)_
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)_
1175
1125
 
1176
1126
  ## `eas webhook:create`
1177
1127
 
@@ -1192,7 +1142,7 @@ DESCRIPTION
1192
1142
  create a webhook
1193
1143
  ```
1194
1144
 
1195
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/webhook/create.ts)_
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)_
1196
1146
 
1197
1147
  ## `eas webhook:delete [ID]`
1198
1148
 
@@ -1212,7 +1162,7 @@ DESCRIPTION
1212
1162
  delete a webhook
1213
1163
  ```
1214
1164
 
1215
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/webhook/delete.ts)_
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)_
1216
1166
 
1217
1167
  ## `eas webhook:list`
1218
1168
 
@@ -1229,7 +1179,7 @@ DESCRIPTION
1229
1179
  list webhooks
1230
1180
  ```
1231
1181
 
1232
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/webhook/list.ts)_
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)_
1233
1183
 
1234
1184
  ## `eas webhook:update`
1235
1185
 
@@ -1251,7 +1201,7 @@ DESCRIPTION
1251
1201
  update a webhook
1252
1202
  ```
1253
1203
 
1254
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/webhook/update.ts)_
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)_
1255
1205
 
1256
1206
  ## `eas webhook:view ID`
1257
1207
 
@@ -1268,7 +1218,7 @@ DESCRIPTION
1268
1218
  view a webhook
1269
1219
  ```
1270
1220
 
1271
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v2.7.1/packages/eas-cli/src/commands/webhook/view.ts)_
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)_
1272
1222
 
1273
1223
  ## `eas whoami`
1274
1224
 
@@ -18,4 +18,5 @@ export declare function ensureBranchExistsAsync(graphqlClient: ExpoGraphqlClient
18
18
  branchName: string;
19
19
  }): Promise<{
20
20
  branchId: string;
21
+ createdBranch: boolean;
21
22
  }>;
@@ -102,7 +102,7 @@ async function ensureBranchExistsAsync(graphqlClient, { appId, branchName, }) {
102
102
  name: branchName,
103
103
  });
104
104
  const { id } = updateBranch;
105
- return { branchId: id };
105
+ return { branchId: id, createdBranch: false };
106
106
  }
107
107
  catch (error) {
108
108
  if (error instanceof utils_2.BranchNotFoundError) {
@@ -110,7 +110,7 @@ async function ensureBranchExistsAsync(graphqlClient, { appId, branchName, }) {
110
110
  appId,
111
111
  name: branchName,
112
112
  });
113
- return { branchId: newUpdateBranch.id };
113
+ return { branchId: newUpdateBranch.id, createdBranch: true };
114
114
  }
115
115
  else {
116
116
  throw error;
@@ -53,7 +53,7 @@ async function prepareBuildRequestForPlatformAsync(builder) {
53
53
  path: (await (0, repository_1.makeProjectTarballAsync)()).path,
54
54
  }
55
55
  : {
56
- type: eas_build_job_1.ArchiveSourceType.S3,
56
+ type: eas_build_job_1.ArchiveSourceType.GCS,
57
57
  bucketKey: await uploadProjectAsync(ctx),
58
58
  };
59
59
  const metadata = await (0, metadata_1.collectMetadataAsync)(ctx);
@@ -120,7 +120,7 @@ async function uploadProjectAsync(ctx) {
120
120
  log_1.default.warn(`Your project archive is ${(0, files_1.formatBytes)(projectTarball.size)}. You can reduce its size and the time it takes to upload by excluding files that are unnecessary for the build process in ${chalk_1.default.bold('.easignore')} file. ${(0, log_1.learnMore)('https://expo.fyi/eas-build-archive')}`);
121
121
  }
122
122
  projectTarballPath = projectTarball.path;
123
- const { bucketKey } = await (0, uploads_1.uploadFileAtPathToS3Async)(ctx.graphqlClient, generated_1.UploadSessionType.EasBuildProjectSources, projectTarball.path, (0, progress_1.createProgressTracker)({
123
+ const bucketKey = await (0, uploads_1.uploadFileAtPathToGCSAsync)(ctx.graphqlClient, generated_1.UploadSessionType.EasBuildGcsProjectSources, projectTarball.path, (0, progress_1.createProgressTracker)({
124
124
  total: projectTarball.size,
125
125
  message: ratio => `Uploading to EAS Build (${(0, files_1.formatBytes)(projectTarball.size * ratio)} / ${(0, files_1.formatBytes)(projectTarball.size)})`,
126
126
  completedMessage: (duration) => `Uploaded to EAS ${chalk_1.default.dim(duration)}`,
@@ -38,6 +38,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, easJson
38
38
  const analyticsEventProperties = {
39
39
  tracking_id: (0, uuid_1.v4)(),
40
40
  platform,
41
+ ...(exp.sdkVersion && { sdk_version: exp.sdkVersion }),
41
42
  ...(accountId && { account_id: accountId }),
42
43
  project_id: projectId,
43
44
  project_type: workflow,
@@ -10,6 +10,12 @@ function transformProjectArchive(archiveSource) {
10
10
  bucketKey: archiveSource.bucketKey,
11
11
  };
12
12
  }
13
+ else if (archiveSource.type === eas_build_job_1.ArchiveSourceType.GCS) {
14
+ return {
15
+ type: generated_1.ProjectArchiveSourceType.Gcs,
16
+ bucketKey: archiveSource.bucketKey,
17
+ };
18
+ }
13
19
  else if (archiveSource.type === eas_build_job_1.ArchiveSourceType.URL) {
14
20
  return {
15
21
  type: generated_1.ProjectArchiveSourceType.Url,
@@ -6,7 +6,7 @@ const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
6
6
  const semver_1 = tslib_1.__importDefault(require("semver"));
7
7
  const ora_1 = require("../ora");
8
8
  const PLUGIN_PACKAGE_NAME = 'eas-cli-local-build-plugin';
9
- const PLUGIN_PACKAGE_VERSION = '0.0.119';
9
+ const PLUGIN_PACKAGE_VERSION = '0.0.120';
10
10
  async function runLocalBuildAsync(job, metadata, options) {
11
11
  var _a;
12
12
  const { command, args } = await getCommandAndArgsAsync(job, metadata);
@@ -1,6 +1,6 @@
1
1
  import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
2
2
  import { PaginatedQueryOptions } from '../commandUtils/pagination';
3
- import { BuildFilter, BuildFragment } from '../graphql/generated';
3
+ import { AppPlatform, BuildFilter, BuildFragment } from '../graphql/generated';
4
4
  export declare const BUILDS_LIMIT = 50;
5
5
  export declare function listAndRenderBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, { projectId, projectDisplayName, filter, paginatedQueryOptions, }: {
6
6
  projectId: string;
@@ -8,11 +8,13 @@ export declare function listAndRenderBuildsOnAppAsync(graphqlClient: ExpoGraphql
8
8
  filter?: BuildFilter;
9
9
  paginatedQueryOptions: PaginatedQueryOptions;
10
10
  }): Promise<void>;
11
- export declare function listAndSelectBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, { projectId, projectDisplayName, filter, queryOptions, }: {
11
+ export declare function listAndSelectBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, selectedPlatform: AppPlatform, { projectId, projectDisplayName, filter, queryOptions, selectPromptDisabledFunction, warningMessage, }: {
12
12
  projectId: string;
13
13
  projectDisplayName: string;
14
14
  filter?: BuildFilter;
15
15
  queryOptions: PaginatedQueryOptions;
16
+ selectPromptDisabledFunction?: (build: BuildFragment) => boolean;
17
+ warningMessage?: string;
16
18
  }): Promise<BuildFragment>;
17
19
  export declare function getLatestBuildAsync(graphqlClient: ExpoGraphqlClient, { projectId, filter, }: {
18
20
  projectId: string;
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getLatestBuildAsync = exports.listAndSelectBuildsOnAppAsync = exports.listAndRenderBuildsOnAppAsync = exports.BUILDS_LIMIT = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
6
+ const generated_1 = require("../graphql/generated");
6
7
  const BuildQuery_1 = require("../graphql/queries/BuildQuery");
7
8
  const log_1 = tslib_1.__importDefault(require("../log"));
8
- const platform_1 = require("../platform");
9
9
  const prompts_1 = require("../prompts");
10
+ const date_1 = require("../utils/date");
10
11
  const json_1 = require("../utils/json");
11
12
  const queries_1 = require("../utils/queries");
12
13
  const formatBuild_1 = require("./utils/formatBuild");
@@ -40,7 +41,25 @@ async function listAndRenderBuildsOnAppAsync(graphqlClient, { projectId, project
40
41
  }
41
42
  }
42
43
  exports.listAndRenderBuildsOnAppAsync = listAndRenderBuildsOnAppAsync;
43
- async function listAndSelectBuildsOnAppAsync(graphqlClient, { projectId, projectDisplayName, filter, queryOptions, }) {
44
+ function formatBuildChoiceValue(value) {
45
+ return value ? chalk_1.default.bold(value) : chalk_1.default.dim('Unknown');
46
+ }
47
+ function formatBuildChoiceTitleAndDescription(build) {
48
+ var _a;
49
+ const splitCommitMessage = (_a = build.gitCommitMessage) === null || _a === void 0 ? void 0 : _a.split('\n');
50
+ const formattedCommitData = build.gitCommitHash && splitCommitMessage && splitCommitMessage.length > 0
51
+ ? `${chalk_1.default.dim(build.gitCommitHash.slice(0, 7))} "${chalk_1.default.bold(splitCommitMessage[0] + (splitCommitMessage.length > 1 ? '…' : ''))}"`
52
+ : 'Unknown';
53
+ return {
54
+ title: `ID: ${chalk_1.default.dim(build.id)} (${chalk_1.default.dim(`${(0, date_1.fromNow)(new Date(build.updatedAt))} ago`)})`,
55
+ description: [
56
+ `\tVersion: ${formatBuildChoiceValue(build.appVersion)}`,
57
+ `\t${build.platform === generated_1.AppPlatform.Ios ? 'Build number' : 'Version code'}: ${formatBuildChoiceValue(build.appBuildVersion)}`,
58
+ `\tCommit: ${formattedCommitData}`,
59
+ ].join('\n'),
60
+ };
61
+ }
62
+ async function listAndSelectBuildsOnAppAsync(graphqlClient, selectedPlatform, { projectId, projectDisplayName, filter, queryOptions, selectPromptDisabledFunction, warningMessage, }) {
44
63
  var _a;
45
64
  const builds = await BuildQuery_1.BuildQuery.viewBuildsOnAppAsync(graphqlClient, {
46
65
  appId: projectId,
@@ -53,12 +72,18 @@ async function listAndSelectBuildsOnAppAsync(graphqlClient, { projectId, project
53
72
  }
54
73
  const { selectedSimulatorBuild } = await (0, prompts_1.promptAsync)({
55
74
  type: 'select',
56
- message: `Select simulator build to run for ${projectDisplayName} app`,
75
+ message: `Select ${selectedPlatform === generated_1.AppPlatform.Ios ? 'iOS' : 'Android'} ${selectedPlatform === generated_1.AppPlatform.Ios ? 'simulator' : 'emulator'} build to run for ${projectDisplayName} app`,
57
76
  name: 'selectedSimulatorBuild',
58
- choices: builds.map(build => ({
59
- title: `id: ${build.id}, platform: ${platform_1.appPlatformDisplayNames[build.platform]}, version: ${build.appVersion}, build number: ${build.appBuildVersion}`,
60
- value: build,
61
- })),
77
+ choices: builds.map(build => {
78
+ const buildChoice = formatBuildChoiceTitleAndDescription(build);
79
+ return {
80
+ title: buildChoice.title,
81
+ description: buildChoice.description,
82
+ value: build,
83
+ disabled: selectPromptDisabledFunction === null || selectPromptDisabledFunction === void 0 ? void 0 : selectPromptDisabledFunction(build),
84
+ };
85
+ }),
86
+ warn: warningMessage,
62
87
  });
63
88
  return selectedSimulatorBuild;
64
89
  }