eas-cli 3.13.2 → 3.14.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 (59) hide show
  1. package/README.md +55 -55
  2. package/build/api.d.ts +1 -0
  3. package/build/api.js +14 -1
  4. package/build/build/build.js +8 -5
  5. package/build/build/configure.d.ts +1 -0
  6. package/build/build/configure.js +8 -4
  7. package/build/build/local.js +1 -1
  8. package/build/build/runBuildAndSubmit.js +29 -0
  9. package/build/commandUtils/EasCommand.js +3 -1
  10. package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +3 -3
  11. package/build/commands/account/login.d.ts +3 -0
  12. package/build/commands/account/login.js +12 -1
  13. package/build/commands/build/configure.js +5 -1
  14. package/build/commands/project/init.js +1 -1
  15. package/build/commands/update/configure.js +14 -15
  16. package/build/commands/update/index.js +40 -3
  17. package/build/credentials/android/api/GraphqlClient.d.ts +1 -0
  18. package/build/credentials/android/api/GraphqlClient.js +5 -7
  19. package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.d.ts +1 -0
  20. package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.js +23 -0
  21. package/build/credentials/ios/appstore/bundleIdCapabilities.js +43 -0
  22. package/build/credentials/manager/Actions.d.ts +11 -10
  23. package/build/credentials/manager/Actions.js +11 -10
  24. package/build/credentials/manager/AndroidActions.js +5 -0
  25. package/build/credentials/manager/CreateAndroidBuildCredentials.d.ts +8 -0
  26. package/build/credentials/manager/CreateAndroidBuildCredentials.js +33 -0
  27. package/build/credentials/manager/ManageAndroid.js +6 -15
  28. package/build/credentials/manager/SetDefaultAndroidKeystore.d.ts +8 -0
  29. package/build/credentials/manager/SetDefaultAndroidKeystore.js +41 -0
  30. package/build/graphql/generated.d.ts +76 -12
  31. package/build/graphql/generated.js +13 -2
  32. package/build/graphql/queries/UserQuery.js +2 -5
  33. package/build/project/expoConfig.d.ts +5 -1
  34. package/build/project/expoConfig.js +58 -1
  35. package/build/project/projectUtils.d.ts +2 -0
  36. package/build/project/projectUtils.js +14 -3
  37. package/build/project/publish.d.ts +8 -1
  38. package/build/project/publish.js +19 -5
  39. package/build/update/android/UpdatesModule.d.ts +3 -0
  40. package/build/update/android/UpdatesModule.js +11 -0
  41. package/build/update/configure.js +9 -5
  42. package/build/user/SessionManager.d.ts +3 -1
  43. package/build/user/SessionManager.js +16 -2
  44. package/build/user/User.d.ts +1 -1
  45. package/build/user/User.js +1 -1
  46. package/build/user/actions.js +1 -1
  47. package/build/user/expoSsoLauncher.d.ts +4 -0
  48. package/build/user/expoSsoLauncher.js +71 -0
  49. package/build/user/fetchSessionSecretAndSsoUser.d.ts +5 -0
  50. package/build/user/fetchSessionSecretAndSsoUser.js +20 -0
  51. package/build/user/fetchSessionSecretAndUser.js +4 -24
  52. package/build/user/fetchUser.d.ts +6 -0
  53. package/build/user/fetchUser.js +27 -0
  54. package/build/utils/expoCli.js +12 -2
  55. package/build/utils/port.d.ts +2 -0
  56. package/build/utils/port.js +14 -0
  57. package/build/vcs/clients/git.js +1 -1
  58. package/oclif.manifest.json +1 -1
  59. package/package.json +5 -4
package/README.md CHANGED
@@ -133,7 +133,7 @@ ALIASES
133
133
  $ eas login
134
134
  ```
135
135
 
136
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/account/login.ts)_
136
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/account/login.ts)_
137
137
 
138
138
  ## `eas account:logout`
139
139
 
@@ -150,7 +150,7 @@ ALIASES
150
150
  $ eas logout
151
151
  ```
152
152
 
153
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/account/logout.ts)_
153
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/account/logout.ts)_
154
154
 
155
155
  ## `eas account:view`
156
156
 
@@ -167,7 +167,7 @@ ALIASES
167
167
  $ eas whoami
168
168
  ```
169
169
 
170
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/account/view.ts)_
170
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/account/view.ts)_
171
171
 
172
172
  ## `eas analytics [STATUS]`
173
173
 
@@ -181,7 +181,7 @@ DESCRIPTION
181
181
  display or change analytics settings
182
182
  ```
183
183
 
184
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/analytics.ts)_
184
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/analytics.ts)_
185
185
 
186
186
  ## `eas autocomplete [SHELL]`
187
187
 
@@ -231,7 +231,7 @@ DESCRIPTION
231
231
  create a branch
232
232
  ```
233
233
 
234
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/branch/create.ts)_
234
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/branch/create.ts)_
235
235
 
236
236
  ## `eas branch:delete [NAME]`
237
237
 
@@ -252,7 +252,7 @@ DESCRIPTION
252
252
  delete a branch
253
253
  ```
254
254
 
255
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/branch/delete.ts)_
255
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/branch/delete.ts)_
256
256
 
257
257
  ## `eas branch:list`
258
258
 
@@ -272,7 +272,7 @@ DESCRIPTION
272
272
  list all branches
273
273
  ```
274
274
 
275
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/branch/list.ts)_
275
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/branch/list.ts)_
276
276
 
277
277
  ## `eas branch:rename`
278
278
 
@@ -292,7 +292,7 @@ DESCRIPTION
292
292
  rename a branch
293
293
  ```
294
294
 
295
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/branch/rename.ts)_
295
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/branch/rename.ts)_
296
296
 
297
297
  ## `eas branch:view [NAME]`
298
298
 
@@ -315,7 +315,7 @@ DESCRIPTION
315
315
  view a branch
316
316
  ```
317
317
 
318
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/branch/view.ts)_
318
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/branch/view.ts)_
319
319
 
320
320
  ## `eas build`
321
321
 
@@ -345,7 +345,7 @@ DESCRIPTION
345
345
  start a build
346
346
  ```
347
347
 
348
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/index.ts)_
348
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/index.ts)_
349
349
 
350
350
  ## `eas build:cancel [BUILD_ID]`
351
351
 
@@ -362,7 +362,7 @@ DESCRIPTION
362
362
  cancel a build
363
363
  ```
364
364
 
365
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/cancel.ts)_
365
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/cancel.ts)_
366
366
 
367
367
  ## `eas build:configure`
368
368
 
@@ -379,7 +379,7 @@ DESCRIPTION
379
379
  configure the project to support EAS Build
380
380
  ```
381
381
 
382
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/configure.ts)_
382
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/configure.ts)_
383
383
 
384
384
  ## `eas build:inspect`
385
385
 
@@ -414,7 +414,7 @@ DESCRIPTION
414
414
  inspect the state of the project at specific build stages, useful for troubleshooting
415
415
  ```
416
416
 
417
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/inspect.ts)_
417
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/inspect.ts)_
418
418
 
419
419
  ## `eas build:list`
420
420
 
@@ -452,7 +452,7 @@ DESCRIPTION
452
452
  list all builds for your project
453
453
  ```
454
454
 
455
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/list.ts)_
455
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/list.ts)_
456
456
 
457
457
  ## `eas build:resign`
458
458
 
@@ -478,7 +478,7 @@ DESCRIPTION
478
478
  re-sign a build archive
479
479
  ```
480
480
 
481
- _See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/resign.ts)_
481
+ _See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/resign.ts)_
482
482
 
483
483
  ## `eas build:run`
484
484
 
@@ -502,7 +502,7 @@ DESCRIPTION
502
502
  run simulator/emulator builds from eas-cli
503
503
  ```
504
504
 
505
- _See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/run.ts)_
505
+ _See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/run.ts)_
506
506
 
507
507
  ## `eas build:submit`
508
508
 
@@ -551,7 +551,7 @@ DESCRIPTION
551
551
  get the latest version from EAS servers
552
552
  ```
553
553
 
554
- _See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/version/get.ts)_
554
+ _See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/version/get.ts)_
555
555
 
556
556
  ## `eas build:version:set`
557
557
 
@@ -570,7 +570,7 @@ DESCRIPTION
570
570
  update version of an app
571
571
  ```
572
572
 
573
- _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/version/set.ts)_
573
+ _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/version/set.ts)_
574
574
 
575
575
  ## `eas build:version:sync`
576
576
 
@@ -589,7 +589,7 @@ DESCRIPTION
589
589
  update a version in native code with a value stored on EAS servers
590
590
  ```
591
591
 
592
- _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/version/sync.ts)_
592
+ _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/version/sync.ts)_
593
593
 
594
594
  ## `eas build:view [BUILD_ID]`
595
595
 
@@ -606,7 +606,7 @@ DESCRIPTION
606
606
  view a build for your project
607
607
  ```
608
608
 
609
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/build/view.ts)_
609
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/build/view.ts)_
610
610
 
611
611
  ## `eas channel:create [NAME]`
612
612
 
@@ -627,7 +627,7 @@ DESCRIPTION
627
627
  create a channel
628
628
  ```
629
629
 
630
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/channel/create.ts)_
630
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/channel/create.ts)_
631
631
 
632
632
  ## `eas channel:edit [NAME]`
633
633
 
@@ -649,7 +649,7 @@ DESCRIPTION
649
649
  point a channel at a new branch
650
650
  ```
651
651
 
652
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/channel/edit.ts)_
652
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/channel/edit.ts)_
653
653
 
654
654
  ## `eas channel:list`
655
655
 
@@ -669,7 +669,7 @@ DESCRIPTION
669
669
  list all channels
670
670
  ```
671
671
 
672
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/channel/list.ts)_
672
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/channel/list.ts)_
673
673
 
674
674
  ## `eas channel:rollout [CHANNEL]`
675
675
 
@@ -693,7 +693,7 @@ DESCRIPTION
693
693
  Roll a new branch out on a channel incrementally.
694
694
  ```
695
695
 
696
- _See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/channel/rollout.ts)_
696
+ _See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/channel/rollout.ts)_
697
697
 
698
698
  ## `eas channel:view [NAME]`
699
699
 
@@ -716,7 +716,7 @@ DESCRIPTION
716
716
  view a channel
717
717
  ```
718
718
 
719
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/channel/view.ts)_
719
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/channel/view.ts)_
720
720
 
721
721
  ## `eas config`
722
722
 
@@ -737,7 +737,7 @@ DESCRIPTION
737
737
  display project configuration (app.json + eas.json)
738
738
  ```
739
739
 
740
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/config.ts)_
740
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/config.ts)_
741
741
 
742
742
  ## `eas credentials`
743
743
 
@@ -754,7 +754,7 @@ DESCRIPTION
754
754
  manage credentials
755
755
  ```
756
756
 
757
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/credentials.ts)_
757
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/credentials.ts)_
758
758
 
759
759
  ## `eas device:create`
760
760
 
@@ -768,7 +768,7 @@ DESCRIPTION
768
768
  register new Apple Devices to use for internal distribution
769
769
  ```
770
770
 
771
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/device/create.ts)_
771
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/device/create.ts)_
772
772
 
773
773
  ## `eas device:delete`
774
774
 
@@ -788,7 +788,7 @@ DESCRIPTION
788
788
  remove a registered device from your account
789
789
  ```
790
790
 
791
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/device/delete.ts)_
791
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/device/delete.ts)_
792
792
 
793
793
  ## `eas device:list`
794
794
 
@@ -809,7 +809,7 @@ DESCRIPTION
809
809
  list all registered devices for your account
810
810
  ```
811
811
 
812
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/device/list.ts)_
812
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/device/list.ts)_
813
813
 
814
814
  ## `eas device:rename`
815
815
 
@@ -830,7 +830,7 @@ DESCRIPTION
830
830
  rename a registered device
831
831
  ```
832
832
 
833
- _See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/device/rename.ts)_
833
+ _See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/device/rename.ts)_
834
834
 
835
835
  ## `eas device:view [UDID]`
836
836
 
@@ -844,7 +844,7 @@ DESCRIPTION
844
844
  view a device for your project
845
845
  ```
846
846
 
847
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/device/view.ts)_
847
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/device/view.ts)_
848
848
 
849
849
  ## `eas diagnostics`
850
850
 
@@ -858,7 +858,7 @@ DESCRIPTION
858
858
  display environment info
859
859
  ```
860
860
 
861
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/diagnostics.ts)_
861
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/diagnostics.ts)_
862
862
 
863
863
  ## `eas help [COMMAND]`
864
864
 
@@ -946,7 +946,7 @@ DESCRIPTION
946
946
  validate the local store configuration
947
947
  ```
948
948
 
949
- _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/metadata/lint.ts)_
949
+ _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/metadata/lint.ts)_
950
950
 
951
951
  ## `eas metadata:pull`
952
952
 
@@ -963,7 +963,7 @@ DESCRIPTION
963
963
  generate the local store configuration from the app stores
964
964
  ```
965
965
 
966
- _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/metadata/pull.ts)_
966
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/metadata/pull.ts)_
967
967
 
968
968
  ## `eas metadata:push`
969
969
 
@@ -980,7 +980,7 @@ DESCRIPTION
980
980
  sync the local store configuration to the app stores
981
981
  ```
982
982
 
983
- _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/metadata/push.ts)_
983
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/metadata/push.ts)_
984
984
 
985
985
  ## `eas open`
986
986
 
@@ -994,7 +994,7 @@ DESCRIPTION
994
994
  open the project page in a web browser
995
995
  ```
996
996
 
997
- _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/open.ts)_
997
+ _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/open.ts)_
998
998
 
999
999
  ## `eas project:info`
1000
1000
 
@@ -1008,7 +1008,7 @@ DESCRIPTION
1008
1008
  information about the current project
1009
1009
  ```
1010
1010
 
1011
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/project/info.ts)_
1011
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/project/info.ts)_
1012
1012
 
1013
1013
  ## `eas project:init`
1014
1014
 
@@ -1030,7 +1030,7 @@ ALIASES
1030
1030
  $ eas init
1031
1031
  ```
1032
1032
 
1033
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/project/init.ts)_
1033
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/project/init.ts)_
1034
1034
 
1035
1035
  ## `eas secret:create`
1036
1036
 
@@ -1053,7 +1053,7 @@ DESCRIPTION
1053
1053
  create an environment secret on the current project or owner account
1054
1054
  ```
1055
1055
 
1056
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/secret/create.ts)_
1056
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/secret/create.ts)_
1057
1057
 
1058
1058
  ## `eas secret:delete`
1059
1059
 
@@ -1071,7 +1071,7 @@ DESCRIPTION
1071
1071
  delete an environment secret by ID
1072
1072
  ```
1073
1073
 
1074
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/secret/delete.ts)_
1074
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/secret/delete.ts)_
1075
1075
 
1076
1076
  ## `eas secret:list`
1077
1077
 
@@ -1085,7 +1085,7 @@ DESCRIPTION
1085
1085
  list environment secrets available for your current app
1086
1086
  ```
1087
1087
 
1088
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/secret/list.ts)_
1088
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/secret/list.ts)_
1089
1089
 
1090
1090
  ## `eas secret:push`
1091
1091
 
@@ -1105,7 +1105,7 @@ DESCRIPTION
1105
1105
  read environment secrets from env file and store on the server
1106
1106
  ```
1107
1107
 
1108
- _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/secret/push.ts)_
1108
+ _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/secret/push.ts)_
1109
1109
 
1110
1110
  ## `eas submit`
1111
1111
 
@@ -1135,7 +1135,7 @@ ALIASES
1135
1135
  $ eas build:submit
1136
1136
  ```
1137
1137
 
1138
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/submit.ts)_
1138
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/submit.ts)_
1139
1139
 
1140
1140
  ## `eas update`
1141
1141
 
@@ -1168,7 +1168,7 @@ DESCRIPTION
1168
1168
  publish an update group
1169
1169
  ```
1170
1170
 
1171
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/update/index.ts)_
1171
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/update/index.ts)_
1172
1172
 
1173
1173
  ## `eas update:configure`
1174
1174
 
@@ -1186,7 +1186,7 @@ DESCRIPTION
1186
1186
  configure the project to support EAS Update
1187
1187
  ```
1188
1188
 
1189
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/update/configure.ts)_
1189
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/update/configure.ts)_
1190
1190
 
1191
1191
  ## `eas update:delete GROUPID`
1192
1192
 
@@ -1207,7 +1207,7 @@ DESCRIPTION
1207
1207
  delete all the updates in an update group
1208
1208
  ```
1209
1209
 
1210
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/update/delete.ts)_
1210
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/update/delete.ts)_
1211
1211
 
1212
1212
  ## `eas update:list`
1213
1213
 
@@ -1229,7 +1229,7 @@ DESCRIPTION
1229
1229
  view the recent updates
1230
1230
  ```
1231
1231
 
1232
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/update/list.ts)_
1232
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/update/list.ts)_
1233
1233
 
1234
1234
  ## `eas update:republish`
1235
1235
 
@@ -1253,7 +1253,7 @@ DESCRIPTION
1253
1253
  roll back to an existing update
1254
1254
  ```
1255
1255
 
1256
- _See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/update/republish.ts)_
1256
+ _See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/update/republish.ts)_
1257
1257
 
1258
1258
  ## `eas update:view GROUPID`
1259
1259
 
@@ -1273,7 +1273,7 @@ DESCRIPTION
1273
1273
  update group details
1274
1274
  ```
1275
1275
 
1276
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/update/view.ts)_
1276
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/update/view.ts)_
1277
1277
 
1278
1278
  ## `eas webhook:create`
1279
1279
 
@@ -1294,7 +1294,7 @@ DESCRIPTION
1294
1294
  create a webhook
1295
1295
  ```
1296
1296
 
1297
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/webhook/create.ts)_
1297
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/webhook/create.ts)_
1298
1298
 
1299
1299
  ## `eas webhook:delete [ID]`
1300
1300
 
@@ -1314,7 +1314,7 @@ DESCRIPTION
1314
1314
  delete a webhook
1315
1315
  ```
1316
1316
 
1317
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/webhook/delete.ts)_
1317
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1318
1318
 
1319
1319
  ## `eas webhook:list`
1320
1320
 
@@ -1332,7 +1332,7 @@ DESCRIPTION
1332
1332
  list webhooks
1333
1333
  ```
1334
1334
 
1335
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/webhook/list.ts)_
1335
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/webhook/list.ts)_
1336
1336
 
1337
1337
  ## `eas webhook:update`
1338
1338
 
@@ -1354,7 +1354,7 @@ DESCRIPTION
1354
1354
  update a webhook
1355
1355
  ```
1356
1356
 
1357
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/webhook/update.ts)_
1357
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/webhook/update.ts)_
1358
1358
 
1359
1359
  ## `eas webhook:view ID`
1360
1360
 
@@ -1371,7 +1371,7 @@ DESCRIPTION
1371
1371
  view a webhook
1372
1372
  ```
1373
1373
 
1374
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.13.2/packages/eas-cli/src/commands/webhook/view.ts)_
1374
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.14.0/packages/eas-cli/src/commands/webhook/view.ts)_
1375
1375
 
1376
1376
  ## `eas whoami`
1377
1377
 
package/build/api.d.ts CHANGED
@@ -19,4 +19,5 @@ export declare class ApiV2Client {
19
19
  export declare function getExpoApiBaseUrl(): string;
20
20
  export declare function getExpoWebsiteBaseUrl(): string;
21
21
  export declare function getEASUpdateURL(projectId: string): string;
22
+ export declare function getSsoLocalServerPortAsync(): Promise<number>;
22
23
  export {};
package/build/api.js CHANGED
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getEASUpdateURL = exports.getExpoWebsiteBaseUrl = exports.getExpoApiBaseUrl = exports.ApiV2Client = void 0;
3
+ exports.getSsoLocalServerPortAsync = exports.getEASUpdateURL = exports.getExpoWebsiteBaseUrl = exports.getExpoApiBaseUrl = exports.ApiV2Client = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const ApiV2Error_1 = require("./ApiV2Error");
6
6
  const fetch_1 = tslib_1.__importStar(require("./fetch"));
7
+ const port_1 = require("./utils/port");
7
8
  class ApiV2Client {
8
9
  constructor(authInfo) {
9
10
  this.authInfo = authInfo;
@@ -102,3 +103,15 @@ function getEASUpdateURL(projectId) {
102
103
  }
103
104
  }
104
105
  exports.getEASUpdateURL = getEASUpdateURL;
106
+ async function getSsoLocalServerPortAsync() {
107
+ let startPort;
108
+ if (process.env.SSO_LOCAL_SERVER_PORT) {
109
+ startPort = Number(process.env.SSO_LOCAL_SERVER_PORT);
110
+ }
111
+ else {
112
+ startPort = 19300;
113
+ }
114
+ const port = await (0, port_1.getFreePortAsync)(startPort);
115
+ return port;
116
+ }
117
+ exports.getSsoLocalServerPortAsync = getSsoLocalServerPortAsync;
@@ -118,7 +118,7 @@ const SERVER_SIDE_DEFINED_ERRORS = {
118
118
  VALIDATION_ERROR: errors_1.RequestValidationError,
119
119
  };
120
120
  function handleBuildRequestError(error, platform) {
121
- var _a, _b, _c, _d, _e, _f, _g, _h;
121
+ var _a, _b, _c, _d, _e, _f;
122
122
  log_1.default.debug(JSON.stringify(error.graphQLErrors, null, 2));
123
123
  const graphQLErrorCode = (_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;
124
124
  if (graphQLErrorCode in SERVER_SIDE_DEFINED_ERRORS) {
@@ -132,11 +132,14 @@ function handleBuildRequestError(error, platform) {
132
132
  throw new errors_1.EasBuildTooManyPendingBuildsError(`You have already reached the maximum number of pending ${platform_1.requestedPlatformDisplayNames[platform]} builds for your account. Try again later.`);
133
133
  }
134
134
  else if (error === null || error === void 0 ? void 0 : error.graphQLErrors) {
135
- const requestIdLine = ((_h = (_g = (_f = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.extensions) === null || _h === void 0 ? void 0 : _h.requestId)
136
- ? `\nRequest ID: ${error.graphQLErrors[0].extensions.requestId}`
135
+ const graphQLError = error.graphQLErrors[0];
136
+ const requestIdLine = ((_f = graphQLError === null || graphQLError === void 0 ? void 0 : graphQLError.extensions) === null || _f === void 0 ? void 0 : _f.requestId)
137
+ ? `\nRequest ID: ${graphQLError.extensions.requestId}`
137
138
  : '';
138
- throw new Error('Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.' +
139
- requestIdLine);
139
+ const originalErrorMessage = (graphQLError === null || graphQLError === void 0 ? void 0 : graphQLError.message)
140
+ ? `\nError message: ${graphQLError.message}`
141
+ : '';
142
+ throw new Error(`Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.${requestIdLine}${originalErrorMessage}`);
140
143
  }
141
144
  throw error;
142
145
  }
@@ -2,6 +2,7 @@ interface ConfigureParams {
2
2
  projectDir: string;
3
3
  nonInteractive: boolean;
4
4
  }
5
+ export declare function easJsonExistsAsync(projectDir: string): Promise<boolean>;
5
6
  /**
6
7
  * Creates eas.json if it does not exist.
7
8
  *
@@ -1,16 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ensureProjectConfiguredAsync = void 0;
3
+ exports.ensureProjectConfiguredAsync = exports.easJsonExistsAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const eas_build_job_1 = require("@expo/eas-build-job");
6
6
  const eas_json_1 = require("@expo/eas-json");
7
7
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
8
8
  const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
9
- const log_1 = tslib_1.__importDefault(require("../log"));
9
+ const log_1 = tslib_1.__importStar(require("../log"));
10
10
  const workflow_1 = require("../project/workflow");
11
11
  const easCli_1 = require("../utils/easCli");
12
12
  const vcs_1 = require("../vcs");
13
13
  const repository_1 = require("./utils/repository");
14
+ async function easJsonExistsAsync(projectDir) {
15
+ return await fs_extra_1.default.pathExists(eas_json_1.EasJsonAccessor.formatEasJsonPath(projectDir));
16
+ }
17
+ exports.easJsonExistsAsync = easJsonExistsAsync;
14
18
  /**
15
19
  * Creates eas.json if it does not exist.
16
20
  *
@@ -19,7 +23,7 @@ const repository_1 = require("./utils/repository");
19
23
  * - true - if eas.json was created by the function
20
24
  */
21
25
  async function ensureProjectConfiguredAsync(configureParams) {
22
- if (await fs_extra_1.default.pathExists(eas_json_1.EasJsonAccessor.formatEasJsonPath(configureParams.projectDir))) {
26
+ if (await easJsonExistsAsync(configureParams.projectDir)) {
23
27
  return false;
24
28
  }
25
29
  await configureAsync(configureParams);
@@ -86,5 +90,5 @@ async function createEasJsonAsync(projectDir) {
86
90
  : EAS_JSON_MANAGED_DEFAULT;
87
91
  await fs_extra_1.default.writeFile(easJsonPath, `${JSON.stringify(easJson, null, 2)}\n`);
88
92
  await (0, vcs_1.getVcsClient)().trackFileAsync(easJsonPath);
89
- log_1.default.withTick(`Generated ${chalk_1.default.bold('eas.json')}`);
93
+ log_1.default.withTick(`Generated ${chalk_1.default.bold('eas.json')}. ${(0, log_1.learnMore)('https://docs.expo.dev/build-reference/eas-json/')}`);
90
94
  }
@@ -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.128';
9
+ const PLUGIN_PACKAGE_VERSION = '1.0.24';
10
10
  var LocalBuildMode;
11
11
  (function (LocalBuildMode) {
12
12
  /**
@@ -183,6 +183,14 @@ async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildP
183
183
  log_1.default.log(`${platform_1.appPlatformEmojis[appPlatform]} ${chalk_1.default.bold(`${platform_1.appPlatformDisplayNames[appPlatform]} build`)}`);
184
184
  }
185
185
  await (0, utils_2.validateBuildProfileConfigMatchesProjectConfigAsync)(buildCtx.exp, buildProfile, buildCtx.projectId, flags.nonInteractive);
186
+ if (buildProfile.profile.channel) {
187
+ await validateExpoUpdatesInstalledAsProjectDependencyAsync({
188
+ projectDir,
189
+ sdkVersion: buildCtx.exp.sdkVersion,
190
+ nonInteractive: flags.nonInteractive,
191
+ buildProfile,
192
+ });
193
+ }
186
194
  await (0, projectUtils_1.validateAppVersionRuntimePolicySupportAsync)(buildCtx.projectDir, buildCtx.exp);
187
195
  if ((easJsonCliConfig === null || easJsonCliConfig === void 0 ? void 0 : easJsonCliConfig.appVersionSource) === eas_json_1.AppVersionSource.REMOTE) {
188
196
  (0, remoteVersionSource_1.validateAppConfigForRemoteVersionSource)(buildCtx.exp, buildProfile.platform);
@@ -265,3 +273,24 @@ async function maybeDownloadAndRunSimulatorBuildsAsync(builds, flags) {
265
273
  }
266
274
  }
267
275
  }
276
+ async function validateExpoUpdatesInstalledAsProjectDependencyAsync({ projectDir, buildProfile, nonInteractive, sdkVersion, }) {
277
+ if ((0, projectUtils_1.isExpoUpdatesInstalledOrAvailable)(projectDir, sdkVersion)) {
278
+ return;
279
+ }
280
+ if ((0, projectUtils_1.isExpoUpdatesInstalledAsDevDependency)(projectDir)) {
281
+ log_1.default.warn(`The build profile "${buildProfile.profileName}" uses the channel "${buildProfile.profile.channel}", but you've added "expo-updates" as a dev dependency. To make channels work for your builds, move "expo-updates" from dev dependencies to the main dependencies in your project.`);
282
+ }
283
+ else if (nonInteractive) {
284
+ log_1.default.warn(`The build profile "${buildProfile.profileName}" has specified the channel "${buildProfile.profile.channel}", but the "expo-updates" package hasn't been installed. To use channels for your builds, install the "expo-updates" package by running "npx expo install expo-updates".`);
285
+ }
286
+ else {
287
+ log_1.default.warn(`The build profile "${buildProfile.profileName}" specifies the channel "${buildProfile.profile.channel}", but the "expo-updates" package is missing. To use channels in your builds, install the "expo-updates" package.`);
288
+ const installExpoUpdates = await (0, prompts_1.confirmAsync)({
289
+ message: `Would you like to install the "expo-updates" package?`,
290
+ });
291
+ if (installExpoUpdates) {
292
+ await (0, projectUtils_1.installExpoUpdatesAsync)(projectDir, { silent: false });
293
+ log_1.default.withTick('Installed expo-updates');
294
+ }
295
+ }
296
+ }