eas-cli 0.60.0 → 1.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
@@ -102,7 +102,7 @@ ALIASES
102
102
  $ eas login
103
103
  ```
104
104
 
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)_
105
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/account/login.ts)_
106
106
 
107
107
  ## `eas account:logout`
108
108
 
@@ -119,7 +119,7 @@ ALIASES
119
119
  $ eas logout
120
120
  ```
121
121
 
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)_
122
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/account/logout.ts)_
123
123
 
124
124
  ## `eas account:view`
125
125
 
@@ -136,7 +136,7 @@ ALIASES
136
136
  $ eas whoami
137
137
  ```
138
138
 
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)_
139
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/account/view.ts)_
140
140
 
141
141
  ## `eas analytics [STATUS]`
142
142
 
@@ -150,7 +150,7 @@ DESCRIPTION
150
150
  display or change analytics settings
151
151
  ```
152
152
 
153
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/analytics.ts)_
153
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/analytics.ts)_
154
154
 
155
155
  ## `eas autocomplete [SHELL]`
156
156
 
@@ -199,7 +199,7 @@ DESCRIPTION
199
199
  create a branch
200
200
  ```
201
201
 
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)_
202
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/create.ts)_
203
203
 
204
204
  ## `eas branch:delete [NAME]`
205
205
 
@@ -219,7 +219,7 @@ DESCRIPTION
219
219
  delete a branch
220
220
  ```
221
221
 
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)_
222
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/delete.ts)_
223
223
 
224
224
  ## `eas branch:list`
225
225
 
@@ -240,7 +240,7 @@ DESCRIPTION
240
240
  list all branches
241
241
  ```
242
242
 
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)_
243
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/list.ts)_
244
244
 
245
245
  ## `eas branch:rename`
246
246
 
@@ -259,7 +259,7 @@ DESCRIPTION
259
259
  rename a branch
260
260
  ```
261
261
 
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)_
262
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/rename.ts)_
263
263
 
264
264
  ## `eas branch:view [NAME]`
265
265
 
@@ -283,7 +283,7 @@ DESCRIPTION
283
283
  view a branch
284
284
  ```
285
285
 
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)_
286
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/view.ts)_
287
287
 
288
288
  ## `eas build`
289
289
 
@@ -313,7 +313,7 @@ DESCRIPTION
313
313
  start a build
314
314
  ```
315
315
 
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)_
316
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/index.ts)_
317
317
 
318
318
  ## `eas build:cancel [BUILD_ID]`
319
319
 
@@ -327,7 +327,7 @@ DESCRIPTION
327
327
  cancel a build
328
328
  ```
329
329
 
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)_
330
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/cancel.ts)_
331
331
 
332
332
  ## `eas build:configure`
333
333
 
@@ -344,7 +344,7 @@ DESCRIPTION
344
344
  configure the project to support EAS Build
345
345
  ```
346
346
 
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)_
347
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/configure.ts)_
348
348
 
349
349
  ## `eas build:inspect`
350
350
 
@@ -379,7 +379,7 @@ DESCRIPTION
379
379
  inspect the state of the project at specific build stages, useful for troubleshooting
380
380
  ```
381
381
 
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)_
382
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/inspect.ts)_
383
383
 
384
384
  ## `eas build:list`
385
385
 
@@ -412,7 +412,7 @@ DESCRIPTION
412
412
  list all builds for your project
413
413
  ```
414
414
 
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)_
415
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/list.ts)_
416
416
 
417
417
  ## `eas build:submit`
418
418
 
@@ -459,7 +459,7 @@ DESCRIPTION
459
459
  Update version of an app.
460
460
  ```
461
461
 
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)_
462
+ _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/version/set.ts)_
463
463
 
464
464
  ## `eas build:version:sync`
465
465
 
@@ -478,7 +478,7 @@ DESCRIPTION
478
478
  Update a version in native code with a value stored on EAS servers
479
479
  ```
480
480
 
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)_
481
+ _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/version/sync.ts)_
482
482
 
483
483
  ## `eas build:view [BUILD_ID]`
484
484
 
@@ -495,7 +495,7 @@ DESCRIPTION
495
495
  view a build for your project
496
496
  ```
497
497
 
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)_
498
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/view.ts)_
499
499
 
500
500
  ## `eas channel:create [NAME]`
501
501
 
@@ -515,7 +515,7 @@ DESCRIPTION
515
515
  create a channel
516
516
  ```
517
517
 
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)_
518
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/channel/create.ts)_
519
519
 
520
520
  ## `eas channel:edit [NAME]`
521
521
 
@@ -536,7 +536,7 @@ DESCRIPTION
536
536
  point a channel at a new branch
537
537
  ```
538
538
 
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)_
539
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/channel/edit.ts)_
540
540
 
541
541
  ## `eas channel:list`
542
542
 
@@ -553,7 +553,7 @@ DESCRIPTION
553
553
  list all channels
554
554
  ```
555
555
 
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)_
556
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/channel/list.ts)_
557
557
 
558
558
  ## `eas channel:view [NAME]`
559
559
 
@@ -573,7 +573,7 @@ DESCRIPTION
573
573
  view a channel
574
574
  ```
575
575
 
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)_
576
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/channel/view.ts)_
577
577
 
578
578
  ## `eas config`
579
579
 
@@ -591,7 +591,7 @@ DESCRIPTION
591
591
  display project configuration (app.json + eas.json)
592
592
  ```
593
593
 
594
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/config.ts)_
594
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/config.ts)_
595
595
 
596
596
  ## `eas credentials`
597
597
 
@@ -605,7 +605,7 @@ DESCRIPTION
605
605
  manage credentials
606
606
  ```
607
607
 
608
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/credentials.ts)_
608
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/credentials.ts)_
609
609
 
610
610
  ## `eas device:create`
611
611
 
@@ -619,7 +619,7 @@ DESCRIPTION
619
619
  register new Apple Devices to use for internal distribution
620
620
  ```
621
621
 
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)_
622
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/device/create.ts)_
623
623
 
624
624
  ## `eas device:delete`
625
625
 
@@ -637,7 +637,7 @@ DESCRIPTION
637
637
  remove a registered device from your account
638
638
  ```
639
639
 
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)_
640
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/device/delete.ts)_
641
641
 
642
642
  ## `eas device:list`
643
643
 
@@ -654,7 +654,7 @@ DESCRIPTION
654
654
  list all registered devices for your account
655
655
  ```
656
656
 
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)_
657
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/device/list.ts)_
658
658
 
659
659
  ## `eas device:view [UDID]`
660
660
 
@@ -668,7 +668,7 @@ DESCRIPTION
668
668
  view a device for your project
669
669
  ```
670
670
 
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)_
671
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/device/view.ts)_
672
672
 
673
673
  ## `eas diagnostics`
674
674
 
@@ -682,7 +682,7 @@ DESCRIPTION
682
682
  display environment info
683
683
  ```
684
684
 
685
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/diagnostics.ts)_
685
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/diagnostics.ts)_
686
686
 
687
687
  ## `eas help [COMMAND]`
688
688
 
@@ -764,7 +764,7 @@ DESCRIPTION
764
764
  generate the local store configuration from the app stores
765
765
  ```
766
766
 
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)_
767
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/metadata/pull.ts)_
768
768
 
769
769
  ## `eas metadata:push`
770
770
 
@@ -781,7 +781,7 @@ DESCRIPTION
781
781
  sync the local store configuration to the app stores
782
782
  ```
783
783
 
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)_
784
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/metadata/push.ts)_
785
785
 
786
786
  ## `eas project:info`
787
787
 
@@ -795,7 +795,7 @@ DESCRIPTION
795
795
  information about the current project
796
796
  ```
797
797
 
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)_
798
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/project/info.ts)_
799
799
 
800
800
  ## `eas project:init`
801
801
 
@@ -812,7 +812,7 @@ ALIASES
812
812
  $ eas init
813
813
  ```
814
814
 
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)_
815
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/project/init.ts)_
816
816
 
817
817
  ## `eas secret:create`
818
818
 
@@ -832,7 +832,7 @@ DESCRIPTION
832
832
  create an environment secret on the current project or owner account
833
833
  ```
834
834
 
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)_
835
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/secret/create.ts)_
836
836
 
837
837
  ## `eas secret:delete`
838
838
 
@@ -849,7 +849,7 @@ DESCRIPTION
849
849
  delete an environment secret by ID
850
850
  ```
851
851
 
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)_
852
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/secret/delete.ts)_
853
853
 
854
854
  ## `eas secret:list`
855
855
 
@@ -863,7 +863,7 @@ DESCRIPTION
863
863
  list environment secrets available for your current app
864
864
  ```
865
865
 
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)_
866
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/secret/list.ts)_
867
867
 
868
868
  ## `eas submit`
869
869
 
@@ -893,7 +893,7 @@ ALIASES
893
893
  $ eas build:submit
894
894
  ```
895
895
 
896
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.60.0/packages/eas-cli/src/commands/submit.ts)_
896
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/submit.ts)_
897
897
 
898
898
  ## `eas update`
899
899
 
@@ -923,7 +923,7 @@ DESCRIPTION
923
923
  publish an update group
924
924
  ```
925
925
 
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)_
926
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/index.ts)_
927
927
 
928
928
  ## `eas update:configure`
929
929
 
@@ -940,7 +940,7 @@ DESCRIPTION
940
940
  configure the project to support EAS Update
941
941
  ```
942
942
 
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)_
943
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/configure.ts)_
944
944
 
945
945
  ## `eas update:delete GROUPID`
946
946
 
@@ -960,7 +960,7 @@ DESCRIPTION
960
960
  delete all the updates in an update group
961
961
  ```
962
962
 
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)_
963
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/delete.ts)_
964
964
 
965
965
  ## `eas update:list`
966
966
 
@@ -979,7 +979,7 @@ DESCRIPTION
979
979
  view the recent updates for a branch
980
980
  ```
981
981
 
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)_
982
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/list.ts)_
983
983
 
984
984
  ## `eas update:view GROUPID`
985
985
 
@@ -999,7 +999,7 @@ DESCRIPTION
999
999
  update group details
1000
1000
  ```
1001
1001
 
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)_
1002
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/view.ts)_
1003
1003
 
1004
1004
  ## `eas webhook:create`
1005
1005
 
@@ -1019,7 +1019,7 @@ DESCRIPTION
1019
1019
  create a webhook
1020
1020
  ```
1021
1021
 
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)_
1022
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/create.ts)_
1023
1023
 
1024
1024
  ## `eas webhook:delete [ID]`
1025
1025
 
@@ -1036,7 +1036,7 @@ DESCRIPTION
1036
1036
  delete a webhook
1037
1037
  ```
1038
1038
 
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)_
1039
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1040
1040
 
1041
1041
  ## `eas webhook:list`
1042
1042
 
@@ -1053,7 +1053,7 @@ DESCRIPTION
1053
1053
  list webhooks
1054
1054
  ```
1055
1055
 
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)_
1056
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/list.ts)_
1057
1057
 
1058
1058
  ## `eas webhook:update`
1059
1059
 
@@ -1074,7 +1074,7 @@ DESCRIPTION
1074
1074
  update a webhook
1075
1075
  ```
1076
1076
 
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)_
1077
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/update.ts)_
1078
1078
 
1079
1079
  ## `eas webhook:view ID`
1080
1080
 
@@ -1091,7 +1091,7 @@ DESCRIPTION
1091
1091
  view a webhook
1092
1092
  ```
1093
1093
 
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)_
1094
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/view.ts)_
1095
1095
 
1096
1096
  ## `eas whoami`
1097
1097
 
@@ -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 {};
@@ -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) {
@@ -38,11 +38,11 @@ class MetadataPull extends EasCommand_1.default {
38
38
  const filePath = await (0, download_1.downloadMetadataAsync)(metadataCtx);
39
39
  const relativePath = path_1.default.relative(process.cwd(), filePath);
40
40
  log_1.default.addNewLineIfNone();
41
- log_1.default.log(`🎉 Your store configuration is ready.
41
+ log_1.default.log(`🎉 Your store config is ready.
42
42
 
43
43
  - Update the ${chalk_1.default.bold(relativePath)} file to prepare the app information.
44
44
  - Run ${chalk_1.default.bold('eas submit')} or manually upload a new app version to the app stores.
45
- - Once the app is uploaded, run ${chalk_1.default.bold('eas metadata:push')} to sync the store configuration.
45
+ - Once the app is uploaded, run ${chalk_1.default.bold('eas metadata:push')} to sync the store config.
46
46
  - ${(0, log_1.learnMore)('https://docs.expo.dev/eas-metadata/introduction/')}`);
47
47
  }
48
48
  catch (error) {
@@ -102,6 +102,8 @@ export declare type Account = {
102
102
  createdAt: Scalars['DateTime'];
103
103
  /** Environment secrets for an account */
104
104
  environmentSecrets: Array<EnvironmentSecret>;
105
+ /** GitHub App installations for an account */
106
+ githubAppInstallations: Array<GitHubAppInstallation>;
105
107
  /** Android credentials for account */
106
108
  googleServiceAccountKeys: Array<GoogleServiceAccountKey>;
107
109
  id: Scalars['ID'];
@@ -1815,6 +1817,10 @@ export declare type CreateEnvironmentSecretInput = {
1815
1817
  name: Scalars['String'];
1816
1818
  value: Scalars['String'];
1817
1819
  };
1820
+ export declare type CreateGitHubAppInstallationInput = {
1821
+ accountId: Scalars['ID'];
1822
+ installationIdentifier: Scalars['Int'];
1823
+ };
1818
1824
  export declare type CreateIosSubmissionInput = {
1819
1825
  appId: Scalars['ID'];
1820
1826
  archiveUrl?: InputMaybe<Scalars['String']>;
@@ -2011,6 +2017,31 @@ export declare type GetSignedAssetUploadSpecificationsResult = {
2011
2017
  __typename?: 'GetSignedAssetUploadSpecificationsResult';
2012
2018
  specifications: Array<Scalars['String']>;
2013
2019
  };
2020
+ export declare type GitHubAppInstallation = {
2021
+ __typename?: 'GitHubAppInstallation';
2022
+ account: Account;
2023
+ actor?: Maybe<Actor>;
2024
+ id: Scalars['ID'];
2025
+ installationIdentifier: Scalars['Int'];
2026
+ };
2027
+ export declare type GitHubAppInstallationMutation = {
2028
+ __typename?: 'GitHubAppInstallationMutation';
2029
+ /** Create a GitHub App installation for an Account */
2030
+ createGitHubAppInstallationForAccount: GitHubAppInstallation;
2031
+ /** Delete a GitHub App installation by ID */
2032
+ deleteGitHubAppInstallation: GitHubAppInstallation;
2033
+ };
2034
+ export declare type GitHubAppInstallationMutationCreateGitHubAppInstallationForAccountArgs = {
2035
+ githubAppInstallationData: CreateGitHubAppInstallationInput;
2036
+ };
2037
+ export declare type GitHubAppInstallationMutationDeleteGitHubAppInstallationArgs = {
2038
+ githubAppInstallationId: Scalars['ID'];
2039
+ };
2040
+ export declare type GitHubAppQuery = {
2041
+ __typename?: 'GitHubAppQuery';
2042
+ appIdentifier: Scalars['String'];
2043
+ clientIdentifier: Scalars['String'];
2044
+ };
2014
2045
  export declare type GoogleServiceAccountKey = {
2015
2046
  __typename?: 'GoogleServiceAccountKey';
2016
2047
  account: Account;
@@ -2611,6 +2642,8 @@ export declare type RootMutation = {
2611
2642
  emailSubscription: EmailSubscriptionMutation;
2612
2643
  /** Mutations that create and delete EnvironmentSecrets */
2613
2644
  environmentSecret: EnvironmentSecretMutation;
2645
+ /** Mutations for GitHub App installations */
2646
+ githubAppInstallation: GitHubAppInstallationMutation;
2614
2647
  /** Mutations that modify a Google Service Account Key */
2615
2648
  googleServiceAccountKey: GoogleServiceAccountKeyMutation;
2616
2649
  /** Mutations that modify the build credentials for an iOS app */
@@ -2648,6 +2681,8 @@ export declare type RootMutationBuildJobArgs = {
2648
2681
  };
2649
2682
  export declare type RootQuery = {
2650
2683
  __typename?: 'RootQuery';
2684
+ /** Top-level query object for querying GitHub App information and resources it has access to. */
2685
+ GitHubApp: GitHubAppQuery;
2651
2686
  /**
2652
2687
  * This is a placeholder field
2653
2688
  * @deprecated Not used.
@@ -8,6 +8,25 @@ export interface MetadataConfig {
8
8
  /** All App Store related configuration */
9
9
  apple?: AppleMetadata;
10
10
  }
11
+ /**
12
+ * Get the static configuration file path, based on the metadata context.
13
+ * This uses any custom name provided, but swaps out the extension for `.json`.
14
+ */
15
+ export declare function getStaticConfigFilePath({ projectDir, metadataPath, }: {
16
+ projectDir: string;
17
+ metadataPath: string;
18
+ }): string;
19
+ /**
20
+ * Load the store configuration from a metadata context.
21
+ * This can load `.json` and `.js` config files, using `require`.
22
+ * It throws MetadataValidationErrors when the file doesn't exist, or contains errors.
23
+ * The user is prompted to try anyway when errors are found.
24
+ */
25
+ export declare function loadConfigAsync({ projectDir, metadataPath, skipValidation, }: {
26
+ projectDir: string;
27
+ metadataPath: string;
28
+ skipValidation?: boolean;
29
+ }): Promise<MetadataConfig>;
11
30
  /**
12
31
  * Run the JSON Schema validation to normalize defaults and flag early config errors.
13
32
  * This includes validating the known store limitations for every configurable property.
@@ -1,11 +1,55 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createAppleWriter = exports.createAppleReader = exports.validateConfig = void 0;
3
+ exports.createAppleWriter = exports.createAppleReader = exports.validateConfig = exports.loadConfigAsync = exports.getStaticConfigFilePath = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const ajv_1 = tslib_1.__importDefault(require("ajv"));
6
6
  const assert_1 = tslib_1.__importDefault(require("assert"));
7
+ const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
8
+ const path_1 = tslib_1.__importDefault(require("path"));
7
9
  const reader_1 = require("./apple/config/reader");
8
10
  const writer_1 = require("./apple/config/writer");
11
+ const errors_1 = require("./errors");
12
+ /**
13
+ * Resolve the dynamic config from the user.
14
+ * It supports methods, async methods, or objects (json).
15
+ */
16
+ async function resolveDynamicConfigAsync(configFile) {
17
+ const userConfigOrFunction = await Promise.resolve().then(() => tslib_1.__importStar(require(configFile))).then(file => { var _a; return (_a = file.default) !== null && _a !== void 0 ? _a : file; });
18
+ return typeof userConfigOrFunction === 'function'
19
+ ? await userConfigOrFunction()
20
+ : userConfigOrFunction;
21
+ }
22
+ /**
23
+ * Get the static configuration file path, based on the metadata context.
24
+ * This uses any custom name provided, but swaps out the extension for `.json`.
25
+ */
26
+ function getStaticConfigFilePath({ projectDir, metadataPath, }) {
27
+ const configFile = path_1.default.join(projectDir, metadataPath);
28
+ const configExtension = path_1.default.extname(configFile);
29
+ return path_1.default.join(projectDir, `${path_1.default.basename(configFile, configExtension)}.json`);
30
+ }
31
+ exports.getStaticConfigFilePath = getStaticConfigFilePath;
32
+ /**
33
+ * Load the store configuration from a metadata context.
34
+ * This can load `.json` and `.js` config files, using `require`.
35
+ * It throws MetadataValidationErrors when the file doesn't exist, or contains errors.
36
+ * The user is prompted to try anyway when errors are found.
37
+ */
38
+ async function loadConfigAsync({ projectDir, metadataPath, skipValidation = false, }) {
39
+ const configFile = path_1.default.join(projectDir, metadataPath);
40
+ if (!(await fs_extra_1.default.pathExists(configFile))) {
41
+ throw new errors_1.MetadataValidationError(`Metadata store config file not found: "${configFile}"`);
42
+ }
43
+ const configData = await resolveDynamicConfigAsync(configFile);
44
+ if (!skipValidation) {
45
+ const { valid, errors: validationErrors } = validateConfig(configData);
46
+ if (!valid) {
47
+ throw new errors_1.MetadataValidationError(`Metadata store config errors found`, validationErrors);
48
+ }
49
+ }
50
+ return configData;
51
+ }
52
+ exports.loadConfigAsync = loadConfigAsync;
9
53
  /**
10
54
  * Run the JSON Schema validation to normalize defaults and flag early config errors.
11
55
  * This includes validating the known store limitations for every configurable property.
@@ -17,20 +17,21 @@ const telemetry_1 = require("./utils/telemetry");
17
17
  * Note, only App Store is supported at this time.
18
18
  */
19
19
  async function downloadMetadataAsync(metadataCtx) {
20
- const filePath = path_1.default.resolve(metadataCtx.projectDir, metadataCtx.metadataPath);
20
+ const filePath = (0, config_1.getStaticConfigFilePath)(metadataCtx);
21
21
  const fileExists = await fs_extra_1.default.pathExists(filePath);
22
22
  if (fileExists) {
23
+ const filePathRelative = path_1.default.relative(metadataCtx.projectDir, filePath);
23
24
  const overwrite = await (0, prompts_1.confirmAsync)({
24
- message: `Do you want to overwrite the existing store configuration "${metadataCtx.metadataPath}"?`,
25
+ message: `Do you want to overwrite the existing "${filePathRelative}"?`,
25
26
  });
26
27
  if (!overwrite) {
27
- throw new errors_1.MetadataValidationError(`Store configuration already exists at "${filePath}"`);
28
+ throw new errors_1.MetadataValidationError(`Store config already exists at "${filePath}"`);
28
29
  }
29
30
  }
30
31
  const { app, auth } = await (0, context_1.ensureMetadataAppStoreAuthenticatedAsync)(metadataCtx);
31
32
  const { unsubscribeTelemetry, executionId } = (0, telemetry_1.subscribeTelemetry)(events_1.MetadataEvent.APPLE_METADATA_DOWNLOAD, { app, auth });
32
33
  log_1.default.addNewLineIfNone();
33
- log_1.default.log('Downloading App Store configuration...');
34
+ log_1.default.log('Downloading App Store config...');
34
35
  const errors = [];
35
36
  const config = (0, config_1.createAppleWriter)();
36
37
  const tasks = (0, tasks_1.createAppleTasks)(metadataCtx);
@@ -52,7 +53,7 @@ async function downloadMetadataAsync(metadataCtx) {
52
53
  }
53
54
  }
54
55
  try {
55
- await fs_extra_1.default.writeJson(filePath, config.toSchema(), { spaces: 2 });
56
+ await fs_extra_1.default.writeJSON(filePath, config.toSchema(), { spaces: 2 });
56
57
  }
57
58
  finally {
58
59
  unsubscribeTelemetry();