eas-cli 0.60.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +80 -47
  2. package/build/analytics/events.d.ts +4 -1
  3. package/build/analytics/events.js +3 -0
  4. package/build/build/android/build.js +1 -1
  5. package/build/build/build.d.ts +1 -2
  6. package/build/build/build.js +6 -11
  7. package/build/build/utils/printBuildInfo.js +2 -2
  8. package/build/build/utils/repository.js +4 -4
  9. package/build/commands/branch/create.js +1 -1
  10. package/build/commands/branch/delete.js +1 -1
  11. package/build/commands/branch/rename.js +2 -2
  12. package/build/commands/channel/create.js +1 -1
  13. package/build/commands/channel/delete.js +1 -1
  14. package/build/commands/channel/edit.js +3 -3
  15. package/build/commands/channel/rollout.js +3 -3
  16. package/build/commands/channel/view.js +1 -1
  17. package/build/commands/credentials.d.ts +3 -0
  18. package/build/commands/credentials.js +6 -1
  19. package/build/commands/metadata/pull.js +2 -2
  20. package/build/commands/project/init.js +3 -1
  21. package/build/commands/secret/list.js +1 -1
  22. package/build/commands/update/index.js +4 -4
  23. package/build/commands/update/list.js +1 -1
  24. package/build/credentials/android/actions/RemoveKeystore.js +1 -1
  25. package/build/credentials/errors.js +1 -1
  26. package/build/credentials/ios/actions/DistributionCertificateUtils.js +2 -2
  27. package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +1 -1
  28. package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +2 -2
  29. package/build/credentials/ios/actions/SetUpProvisioningProfile.js +1 -1
  30. package/build/credentials/ios/actions/SetUpSubmissionCredentials.js +1 -1
  31. package/build/credentials/ios/appstore/ascApiKey.d.ts +11 -0
  32. package/build/credentials/ios/appstore/ascApiKey.js +53 -3
  33. package/build/credentials/ios/appstore/contractMessages.js +1 -1
  34. package/build/credentials/ios/appstore/ensureAppExists.js +3 -3
  35. package/build/credentials/ios/appstore/pushKey.js +2 -2
  36. package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.js +1 -1
  37. package/build/credentials/manager/SelectPlatform.d.ts +2 -0
  38. package/build/credentials/manager/SelectPlatform.js +7 -12
  39. package/build/credentials/utils/promptForCredentials.js +1 -1
  40. package/build/devices/manager.js +1 -1
  41. package/build/graphql/client.js +1 -1
  42. package/build/graphql/generated.d.ts +35 -0
  43. package/build/metadata/config.d.ts +19 -0
  44. package/build/metadata/config.js +45 -1
  45. package/build/metadata/download.js +6 -5
  46. package/build/metadata/errors.js +2 -2
  47. package/build/metadata/upload.js +18 -21
  48. package/build/ora.js +1 -1
  49. package/build/project/metroConfig.js +1 -1
  50. package/build/project/projectUtils.d.ts +19 -2
  51. package/build/project/projectUtils.js +41 -32
  52. package/build/project/publish.js +8 -2
  53. package/build/submit/utils/errors.js +9 -9
  54. package/build/submit/utils/wait.js +1 -7
  55. package/build/update/utils.js +1 -1
  56. package/build/uploads.d.ts +1 -1
  57. package/build/uploads.js +64 -25
  58. package/build/vcs/clients/git.js +6 -2
  59. package/build/vcs/local.d.ts +1 -0
  60. package/build/vcs/local.js +11 -2
  61. package/oclif.manifest.json +1 -1
  62. package/package.json +11 -10
package/README.md CHANGED
@@ -58,11 +58,13 @@ eas --help COMMAND
58
58
  * [`eas channel:view [NAME]`](#eas-channelview-name)
59
59
  * [`eas config`](#eas-config)
60
60
  * [`eas credentials`](#eas-credentials)
61
+ * [`eas database:create`](#eas-databasecreate)
61
62
  * [`eas device:create`](#eas-devicecreate)
62
63
  * [`eas device:delete`](#eas-devicedelete)
63
64
  * [`eas device:list`](#eas-devicelist)
64
65
  * [`eas device:view [UDID]`](#eas-deviceview-udid)
65
66
  * [`eas diagnostics`](#eas-diagnostics)
67
+ * [`eas functions:start`](#eas-functionsstart)
66
68
  * [`eas help [COMMAND]`](#eas-help-command)
67
69
  * [`eas init`](#eas-init)
68
70
  * [`eas login`](#eas-login)
@@ -102,7 +104,7 @@ ALIASES
102
104
  $ eas login
103
105
  ```
104
106
 
105
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/account/login.ts)_
107
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/account/login.ts)_
106
108
 
107
109
  ## `eas account:logout`
108
110
 
@@ -119,7 +121,7 @@ ALIASES
119
121
  $ eas logout
120
122
  ```
121
123
 
122
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/account/logout.ts)_
124
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/account/logout.ts)_
123
125
 
124
126
  ## `eas account:view`
125
127
 
@@ -136,7 +138,7 @@ ALIASES
136
138
  $ eas whoami
137
139
  ```
138
140
 
139
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/account/view.ts)_
141
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/account/view.ts)_
140
142
 
141
143
  ## `eas analytics [STATUS]`
142
144
 
@@ -150,7 +152,7 @@ DESCRIPTION
150
152
  display or change analytics settings
151
153
  ```
152
154
 
153
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/analytics.ts)_
155
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/analytics.ts)_
154
156
 
155
157
  ## `eas autocomplete [SHELL]`
156
158
 
@@ -199,7 +201,7 @@ DESCRIPTION
199
201
  create a branch
200
202
  ```
201
203
 
202
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/branch/create.ts)_
204
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/branch/create.ts)_
203
205
 
204
206
  ## `eas branch:delete [NAME]`
205
207
 
@@ -219,7 +221,7 @@ DESCRIPTION
219
221
  delete a branch
220
222
  ```
221
223
 
222
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/branch/delete.ts)_
224
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/branch/delete.ts)_
223
225
 
224
226
  ## `eas branch:list`
225
227
 
@@ -240,7 +242,7 @@ DESCRIPTION
240
242
  list all branches
241
243
  ```
242
244
 
243
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/branch/list.ts)_
245
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/branch/list.ts)_
244
246
 
245
247
  ## `eas branch:rename`
246
248
 
@@ -259,7 +261,7 @@ DESCRIPTION
259
261
  rename a branch
260
262
  ```
261
263
 
262
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/branch/rename.ts)_
264
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/branch/rename.ts)_
263
265
 
264
266
  ## `eas branch:view [NAME]`
265
267
 
@@ -283,7 +285,7 @@ DESCRIPTION
283
285
  view a branch
284
286
  ```
285
287
 
286
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/branch/view.ts)_
288
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/branch/view.ts)_
287
289
 
288
290
  ## `eas build`
289
291
 
@@ -313,7 +315,7 @@ DESCRIPTION
313
315
  start a build
314
316
  ```
315
317
 
316
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/build/index.ts)_
318
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/build/index.ts)_
317
319
 
318
320
  ## `eas build:cancel [BUILD_ID]`
319
321
 
@@ -327,7 +329,7 @@ DESCRIPTION
327
329
  cancel a build
328
330
  ```
329
331
 
330
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/build/cancel.ts)_
332
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/build/cancel.ts)_
331
333
 
332
334
  ## `eas build:configure`
333
335
 
@@ -344,7 +346,7 @@ DESCRIPTION
344
346
  configure the project to support EAS Build
345
347
  ```
346
348
 
347
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/build/configure.ts)_
349
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/build/configure.ts)_
348
350
 
349
351
  ## `eas build:inspect`
350
352
 
@@ -379,7 +381,7 @@ DESCRIPTION
379
381
  inspect the state of the project at specific build stages, useful for troubleshooting
380
382
  ```
381
383
 
382
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/build/inspect.ts)_
384
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/build/inspect.ts)_
383
385
 
384
386
  ## `eas build:list`
385
387
 
@@ -412,7 +414,7 @@ DESCRIPTION
412
414
  list all builds for your project
413
415
  ```
414
416
 
415
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/build/list.ts)_
417
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/build/list.ts)_
416
418
 
417
419
  ## `eas build:submit`
418
420
 
@@ -459,7 +461,7 @@ DESCRIPTION
459
461
  Update version of an app.
460
462
  ```
461
463
 
462
- _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/build/version/set.ts)_
464
+ _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/build/version/set.ts)_
463
465
 
464
466
  ## `eas build:version:sync`
465
467
 
@@ -478,7 +480,7 @@ DESCRIPTION
478
480
  Update a version in native code with a value stored on EAS servers
479
481
  ```
480
482
 
481
- _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/build/version/sync.ts)_
483
+ _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/build/version/sync.ts)_
482
484
 
483
485
  ## `eas build:view [BUILD_ID]`
484
486
 
@@ -495,7 +497,7 @@ DESCRIPTION
495
497
  view a build for your project
496
498
  ```
497
499
 
498
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/build/view.ts)_
500
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/build/view.ts)_
499
501
 
500
502
  ## `eas channel:create [NAME]`
501
503
 
@@ -515,7 +517,7 @@ DESCRIPTION
515
517
  create a channel
516
518
  ```
517
519
 
518
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/channel/create.ts)_
520
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/channel/create.ts)_
519
521
 
520
522
  ## `eas channel:edit [NAME]`
521
523
 
@@ -536,7 +538,7 @@ DESCRIPTION
536
538
  point a channel at a new branch
537
539
  ```
538
540
 
539
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/channel/edit.ts)_
541
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/channel/edit.ts)_
540
542
 
541
543
  ## `eas channel:list`
542
544
 
@@ -553,7 +555,7 @@ DESCRIPTION
553
555
  list all channels
554
556
  ```
555
557
 
556
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/channel/list.ts)_
558
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/channel/list.ts)_
557
559
 
558
560
  ## `eas channel:view [NAME]`
559
561
 
@@ -573,7 +575,7 @@ DESCRIPTION
573
575
  view a channel
574
576
  ```
575
577
 
576
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/channel/view.ts)_
578
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/channel/view.ts)_
577
579
 
578
580
  ## `eas config`
579
581
 
@@ -591,7 +593,7 @@ DESCRIPTION
591
593
  display project configuration (app.json + eas.json)
592
594
  ```
593
595
 
594
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/config.ts)_
596
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/config.ts)_
595
597
 
596
598
  ## `eas credentials`
597
599
 
@@ -599,13 +601,30 @@ manage credentials
599
601
 
600
602
  ```
601
603
  USAGE
602
- $ eas credentials
604
+ $ eas credentials [-p android|ios]
605
+
606
+ FLAGS
607
+ -p, --platform=(android|ios)
603
608
 
604
609
  DESCRIPTION
605
610
  manage credentials
606
611
  ```
607
612
 
608
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/credentials.ts)_
613
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/credentials.ts)_
614
+
615
+ ## `eas database:create`
616
+
617
+ create a database
618
+
619
+ ```
620
+ USAGE
621
+ $ eas database:create
622
+
623
+ DESCRIPTION
624
+ create a database
625
+ ```
626
+
627
+ _See code: [src/commands/database/create.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/database/create.ts)_
609
628
 
610
629
  ## `eas device:create`
611
630
 
@@ -619,7 +638,7 @@ DESCRIPTION
619
638
  register new Apple Devices to use for internal distribution
620
639
  ```
621
640
 
622
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/device/create.ts)_
641
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/device/create.ts)_
623
642
 
624
643
  ## `eas device:delete`
625
644
 
@@ -637,7 +656,7 @@ DESCRIPTION
637
656
  remove a registered device from your account
638
657
  ```
639
658
 
640
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/device/delete.ts)_
659
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/device/delete.ts)_
641
660
 
642
661
  ## `eas device:list`
643
662
 
@@ -654,7 +673,7 @@ DESCRIPTION
654
673
  list all registered devices for your account
655
674
  ```
656
675
 
657
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/device/list.ts)_
676
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/device/list.ts)_
658
677
 
659
678
  ## `eas device:view [UDID]`
660
679
 
@@ -668,7 +687,7 @@ DESCRIPTION
668
687
  view a device for your project
669
688
  ```
670
689
 
671
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/device/view.ts)_
690
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/device/view.ts)_
672
691
 
673
692
  ## `eas diagnostics`
674
693
 
@@ -682,7 +701,21 @@ DESCRIPTION
682
701
  display environment info
683
702
  ```
684
703
 
685
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/diagnostics.ts)_
704
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/diagnostics.ts)_
705
+
706
+ ## `eas functions:start`
707
+
708
+ start a function
709
+
710
+ ```
711
+ USAGE
712
+ $ eas functions:start
713
+
714
+ DESCRIPTION
715
+ start a function
716
+ ```
717
+
718
+ _See code: [src/commands/functions/start.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/functions/start.ts)_
686
719
 
687
720
  ## `eas help [COMMAND]`
688
721
 
@@ -764,7 +797,7 @@ DESCRIPTION
764
797
  generate the local store configuration from the app stores
765
798
  ```
766
799
 
767
- _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/metadata/pull.ts)_
800
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/metadata/pull.ts)_
768
801
 
769
802
  ## `eas metadata:push`
770
803
 
@@ -781,7 +814,7 @@ DESCRIPTION
781
814
  sync the local store configuration to the app stores
782
815
  ```
783
816
 
784
- _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/metadata/push.ts)_
817
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/metadata/push.ts)_
785
818
 
786
819
  ## `eas project:info`
787
820
 
@@ -795,7 +828,7 @@ DESCRIPTION
795
828
  information about the current project
796
829
  ```
797
830
 
798
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/project/info.ts)_
831
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/project/info.ts)_
799
832
 
800
833
  ## `eas project:init`
801
834
 
@@ -812,7 +845,7 @@ ALIASES
812
845
  $ eas init
813
846
  ```
814
847
 
815
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/project/init.ts)_
848
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/project/init.ts)_
816
849
 
817
850
  ## `eas secret:create`
818
851
 
@@ -832,7 +865,7 @@ DESCRIPTION
832
865
  create an environment secret on the current project or owner account
833
866
  ```
834
867
 
835
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/secret/create.ts)_
868
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/secret/create.ts)_
836
869
 
837
870
  ## `eas secret:delete`
838
871
 
@@ -849,7 +882,7 @@ DESCRIPTION
849
882
  delete an environment secret by ID
850
883
  ```
851
884
 
852
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/secret/delete.ts)_
885
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/secret/delete.ts)_
853
886
 
854
887
  ## `eas secret:list`
855
888
 
@@ -863,7 +896,7 @@ DESCRIPTION
863
896
  list environment secrets available for your current app
864
897
  ```
865
898
 
866
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/secret/list.ts)_
899
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/secret/list.ts)_
867
900
 
868
901
  ## `eas submit`
869
902
 
@@ -893,7 +926,7 @@ ALIASES
893
926
  $ eas build:submit
894
927
  ```
895
928
 
896
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/submit.ts)_
929
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/submit.ts)_
897
930
 
898
931
  ## `eas update`
899
932
 
@@ -923,7 +956,7 @@ DESCRIPTION
923
956
  publish an update group
924
957
  ```
925
958
 
926
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/update/index.ts)_
959
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/update/index.ts)_
927
960
 
928
961
  ## `eas update:configure`
929
962
 
@@ -940,7 +973,7 @@ DESCRIPTION
940
973
  configure the project to support EAS Update
941
974
  ```
942
975
 
943
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/update/configure.ts)_
976
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/update/configure.ts)_
944
977
 
945
978
  ## `eas update:delete GROUPID`
946
979
 
@@ -960,7 +993,7 @@ DESCRIPTION
960
993
  delete all the updates in an update group
961
994
  ```
962
995
 
963
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/update/delete.ts)_
996
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/update/delete.ts)_
964
997
 
965
998
  ## `eas update:list`
966
999
 
@@ -979,7 +1012,7 @@ DESCRIPTION
979
1012
  view the recent updates for a branch
980
1013
  ```
981
1014
 
982
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/update/list.ts)_
1015
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/update/list.ts)_
983
1016
 
984
1017
  ## `eas update:view GROUPID`
985
1018
 
@@ -999,7 +1032,7 @@ DESCRIPTION
999
1032
  update group details
1000
1033
  ```
1001
1034
 
1002
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/update/view.ts)_
1035
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/update/view.ts)_
1003
1036
 
1004
1037
  ## `eas webhook:create`
1005
1038
 
@@ -1019,7 +1052,7 @@ DESCRIPTION
1019
1052
  create a webhook
1020
1053
  ```
1021
1054
 
1022
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/webhook/create.ts)_
1055
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/webhook/create.ts)_
1023
1056
 
1024
1057
  ## `eas webhook:delete [ID]`
1025
1058
 
@@ -1036,7 +1069,7 @@ DESCRIPTION
1036
1069
  delete a webhook
1037
1070
  ```
1038
1071
 
1039
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1072
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/webhook/delete.ts)_
1040
1073
 
1041
1074
  ## `eas webhook:list`
1042
1075
 
@@ -1053,7 +1086,7 @@ DESCRIPTION
1053
1086
  list webhooks
1054
1087
  ```
1055
1088
 
1056
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/webhook/list.ts)_
1089
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/webhook/list.ts)_
1057
1090
 
1058
1091
  ## `eas webhook:update`
1059
1092
 
@@ -1074,7 +1107,7 @@ DESCRIPTION
1074
1107
  update a webhook
1075
1108
  ```
1076
1109
 
1077
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/webhook/update.ts)_
1110
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/webhook/update.ts)_
1078
1111
 
1079
1112
  ## `eas webhook:view ID`
1080
1113
 
@@ -1091,7 +1124,7 @@ DESCRIPTION
1091
1124
  view a webhook
1092
1125
  ```
1093
1126
 
1094
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/webhook/view.ts)_
1127
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/webhook/view.ts)_
1095
1128
 
1096
1129
  ## `eas whoami`
1097
1130
 
@@ -12,7 +12,10 @@ export declare enum SubmissionEvent {
12
12
  GATHER_ARCHIVE_FAIL = "submit cli gather archive fail",
13
13
  SUBMIT_REQUEST_ATTEMPT = "submit cli request attempt",
14
14
  SUBMIT_REQUEST_SUCCESS = "submit cli request success",
15
- SUBMIT_REQUEST_FAIL = "submit cli request fail"
15
+ SUBMIT_REQUEST_FAIL = "submit cli request fail",
16
+ API_KEY_DOWNLOAD_FAIL = "submit cli credentials api key download fail",
17
+ API_KEY_DOWNLOAD_RETRY = "submit cli credentials api key download fail temporary",
18
+ API_KEY_DOWNLOAD_SUCCESS = "submit cli credentials api key download succeed"
16
19
  }
17
20
  export declare enum BuildEvent {
18
21
  BUILD_COMMAND = "build cli build command",
@@ -17,6 +17,9 @@ var SubmissionEvent;
17
17
  SubmissionEvent["SUBMIT_REQUEST_ATTEMPT"] = "submit cli request attempt";
18
18
  SubmissionEvent["SUBMIT_REQUEST_SUCCESS"] = "submit cli request success";
19
19
  SubmissionEvent["SUBMIT_REQUEST_FAIL"] = "submit cli request fail";
20
+ SubmissionEvent["API_KEY_DOWNLOAD_FAIL"] = "submit cli credentials api key download fail";
21
+ SubmissionEvent["API_KEY_DOWNLOAD_RETRY"] = "submit cli credentials api key download fail temporary";
22
+ SubmissionEvent["API_KEY_DOWNLOAD_SUCCESS"] = "submit cli credentials api key download succeed";
20
23
  })(SubmissionEvent = exports.SubmissionEvent || (exports.SubmissionEvent = {}));
21
24
  var BuildEvent;
22
25
  (function (BuildEvent) {
@@ -31,7 +31,7 @@ This means that it will most likely produce an AAB and you will not be able to i
31
31
  log_1.default.newLine();
32
32
  const confirmed = await (0, prompts_1.toggleConfirmAsync)({ message: 'Would you like to proceed?' });
33
33
  if (!confirmed) {
34
- log_1.default.error('Please update eas.json and come back again.');
34
+ log_1.default.error('Update eas.json and come back again.');
35
35
  process.exit(1);
36
36
  }
37
37
  }
@@ -24,8 +24,7 @@ declare type MaybeBuildFragment = BuildFragment | null;
24
24
  export declare function waitForBuildEndAsync({ buildIds, accountName }: {
25
25
  buildIds: string[];
26
26
  accountName: string;
27
- }, { timeoutSec, intervalSec, }?: {
28
- timeoutSec?: number | undefined;
27
+ }, { intervalSec }?: {
29
28
  intervalSec?: number | undefined;
30
29
  }): Promise<MaybeBuildFragment[]>;
31
30
  export {};
@@ -81,15 +81,15 @@ exports.prepareBuildRequestForPlatformAsync = prepareBuildRequestForPlatformAsyn
81
81
  function handleBuildRequestError(error, platform) {
82
82
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
83
83
  if (((_c = (_b = (_a = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.extensions) === null || _c === void 0 ? void 0 : _c.errorCode) === 'TURTLE_DEPRECATED_JOB_FORMAT') {
84
- log_1.default.error('EAS Build API has changed, please upgrade to the latest eas-cli version.');
84
+ log_1.default.error('EAS Build API has changed. Upgrade to the latest eas-cli version.');
85
85
  throw new Error('Build request failed.');
86
86
  }
87
87
  else if (((_f = (_e = (_d = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.errorCode) === 'EAS_BUILD_DOWN_FOR_MAINTENANCE') {
88
- log_1.default.error('EAS Build is down for maintenance, please try again later. Check https://status.expo.dev/ for updates.');
88
+ log_1.default.error('EAS Build is down for maintenance. Try again later. Check https://status.expo.dev/ for updates.');
89
89
  throw new Error('Build request failed.');
90
90
  }
91
91
  else if (((_j = (_h = (_g = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.extensions) === null || _j === void 0 ? void 0 : _j.errorCode) === 'EAS_BUILD_FREE_TIER_DISABLED') {
92
- log_1.default.error('EAS Build free tier is temporarily disabled, please try again later. Check https://status.expo.dev/ for updates.');
92
+ log_1.default.error('EAS Build free tier is temporarily disabled. Try again later. Check https://status.expo.dev/ for updates.');
93
93
  throw new Error('Build request failed.');
94
94
  }
95
95
  else if (((_m = (_l = (_k = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _k === void 0 ? void 0 : _k[0]) === null || _l === void 0 ? void 0 : _l.extensions) === null || _m === void 0 ? void 0 : _m.errorCode) === 'EAS_BUILD_TOO_MANY_PENDING_BUILDS') {
@@ -97,7 +97,7 @@ function handleBuildRequestError(error, platform) {
97
97
  throw new Error('Build request failed.');
98
98
  }
99
99
  else if (error === null || error === void 0 ? void 0 : error.graphQLErrors) {
100
- log_1.default.error('Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, please report the issue.');
100
+ log_1.default.error('Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.');
101
101
  }
102
102
  throw error;
103
103
  }
@@ -144,9 +144,7 @@ async function sendBuildRequestAsync(builder, job, metadata, buildParams) {
144
144
  trackingCtx: ctx.trackingCtx,
145
145
  });
146
146
  }
147
- async function waitForBuildEndAsync({ buildIds, accountName }, {
148
- // 2 hours (max build time limit) + 10 minutes (possible queue time)
149
- timeoutSec = 2 * 60 * 60 + 10 * 60, intervalSec = 10, } = {}) {
147
+ async function waitForBuildEndAsync({ buildIds, accountName }, { intervalSec = 10 } = {}) {
150
148
  let spinner;
151
149
  let originalSpinnerText;
152
150
  if (buildIds.length === 1) {
@@ -158,8 +156,7 @@ timeoutSec = 2 * 60 * 60 + 10 * 60, intervalSec = 10, } = {}) {
158
156
  originalSpinnerText = 'Waiting for builds to complete. You can press Ctrl+C to exit.';
159
157
  spinner = (0, ora_1.ora)('Waiting for builds to complete. You can press Ctrl+C to exit.').start();
160
158
  }
161
- const endTime = new Date().getTime() + timeoutSec * 1000;
162
- while (new Date().getTime() <= endTime) {
159
+ while (true) {
163
160
  const builds = await getBuildsSafelyAsync(buildIds);
164
161
  const { refetch } = builds.length === 1
165
162
  ? await handleSingleBuildProgressAsync({ build: builds[0], accountName }, { spinner })
@@ -169,8 +166,6 @@ timeoutSec = 2 * 60 * 60 + 10 * 60, intervalSec = 10, } = {}) {
169
166
  }
170
167
  await (0, promise_1.sleepAsync)(intervalSec * 1000);
171
168
  }
172
- spinner.fail('Timed out');
173
- throw new Error('Timeout reached! It is taking longer than expected to finish the build, aborting...');
174
169
  }
175
170
  exports.waitForBuildEndAsync = waitForBuildEndAsync;
176
171
  async function getBuildsSafelyAsync(buildIds) {
@@ -71,7 +71,7 @@ function printDeprecationWarnings(deprecationInfo) {
71
71
  return;
72
72
  }
73
73
  if (deprecationInfo.type === generated_1.EasBuildDeprecationInfoType.Internal) {
74
- log_1.default.warn('This command is using API that soon will be deprecated, please update eas-cli.');
74
+ log_1.default.warn('This command is using API that soon will be deprecated. Upgrade EAS CLI.');
75
75
  log_1.default.warn("Changes won't affect your project config.");
76
76
  log_1.default.warn(deprecationInfo.message);
77
77
  }
@@ -80,7 +80,7 @@ function printDeprecationWarnings(deprecationInfo) {
80
80
  log_1.default.warn(deprecationInfo.message);
81
81
  }
82
82
  else {
83
- log_1.default.warn('An unexpected warning was encountered. Please report it as a bug:');
83
+ log_1.default.warn('An unexpected warning was encountered. Report it as a bug:');
84
84
  log_1.default.warn(deprecationInfo);
85
85
  }
86
86
  }
@@ -25,7 +25,7 @@ async function maybeBailOnRepoStatusAsync() {
25
25
  message: `Would you like to proceed?`,
26
26
  });
27
27
  if (!answer) {
28
- throw new Error('Please commit all changes. Aborting...');
28
+ throw new Error('Commit all changes. Aborting...');
29
29
  }
30
30
  }
31
31
  exports.maybeBailOnRepoStatusAsync = maybeBailOnRepoStatusAsync;
@@ -35,9 +35,9 @@ async function ensureRepoIsCleanAsync(nonInteractive = false) {
35
35
  }
36
36
  log_1.default.addNewLineIfNone();
37
37
  log_1.default.warn(`${chalk_1.default.bold('Warning!')} Your repository working tree is dirty.`);
38
- log_1.default.log(`This operation needs to be run on a clean working tree, please ${chalk_1.default.bold('commit all your changes before proceeding')}.`);
38
+ log_1.default.log(`This operation needs to be run on a clean working tree. ${chalk_1.default.bold('Commit all your changes before proceeding')}.`);
39
39
  if (nonInteractive) {
40
- throw new Error('Please commit all changes. Aborting...');
40
+ throw new Error('Commit all changes. Aborting...');
41
41
  }
42
42
  const answer = await (0, prompts_1.confirmAsync)({
43
43
  message: `Commit changes to git?`,
@@ -46,7 +46,7 @@ async function ensureRepoIsCleanAsync(nonInteractive = false) {
46
46
  await commitPromptAsync({ commitAllFiles: true });
47
47
  }
48
48
  else {
49
- throw new Error('Please commit all changes. Aborting...');
49
+ throw new Error('Commit all changes. Aborting...');
50
50
  }
51
51
  }
52
52
  exports.ensureRepoIsCleanAsync = ensureRepoIsCleanAsync;
@@ -54,7 +54,7 @@ class BranchCreate extends EasCommand_1.default {
54
54
  ({ name } = await (0, prompts_1.promptAsync)({
55
55
  type: 'text',
56
56
  name: 'name',
57
- message: 'Please name the branch:',
57
+ message: 'Provide a branch name:',
58
58
  initial: (await (0, vcs_1.getVcsClient)().getBranchNameAsync()) ||
59
59
  `branch-${Math.random().toString(36).substr(2, 4)}`,
60
60
  validate: value => (value ? true : validationMessage),
@@ -67,7 +67,7 @@ class BranchDelete extends EasCommand_1.default {
67
67
  ({ name } = await (0, prompts_1.promptAsync)({
68
68
  type: 'text',
69
69
  name: 'name',
70
- message: 'Please enter the name of the branch to delete:',
70
+ message: 'Provide the name of the branch to delete:',
71
71
  validate: value => (value ? true : validationMessage),
72
72
  }));
73
73
  }
@@ -50,7 +50,7 @@ class BranchRename extends EasCommand_1.default {
50
50
  ({ currentName } = await (0, prompts_1.promptAsync)({
51
51
  type: 'text',
52
52
  name: 'currentName',
53
- message: 'Please enter the current name of the branch to rename:',
53
+ message: "Provide the name of the branch you'd like to rename:",
54
54
  validate: value => (value ? true : validationMessage),
55
55
  }));
56
56
  }
@@ -62,7 +62,7 @@ class BranchRename extends EasCommand_1.default {
62
62
  ({ newName } = await (0, prompts_1.promptAsync)({
63
63
  type: 'text',
64
64
  name: 'newName',
65
- message: `Please rename ${currentName}`,
65
+ message: `Rename ${currentName}`,
66
66
  validate: value => (value ? true : validationMessage),
67
67
  }));
68
68
  }