eas-cli 0.55.1 → 0.56.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 (47) hide show
  1. package/README.md +44 -44
  2. package/build/build/android/version.d.ts +5 -0
  3. package/build/build/android/version.js +16 -9
  4. package/build/build/build.js +7 -2
  5. package/build/build/context.d.ts +2 -3
  6. package/build/build/createContext.d.ts +3 -2
  7. package/build/build/createContext.js +2 -1
  8. package/build/build/ios/build.js +1 -16
  9. package/build/build/ios/syncProjectConfiguration.d.ts +3 -3
  10. package/build/build/ios/syncProjectConfiguration.js +2 -2
  11. package/build/build/ios/version.d.ts +10 -3
  12. package/build/build/ios/version.js +57 -28
  13. package/build/build/metadata.js +1 -1
  14. package/build/build/runBuildAndSubmit.js +7 -4
  15. package/build/commands/build/version/set.d.ts +10 -0
  16. package/build/commands/build/version/set.js +82 -0
  17. package/build/commands/build/version/sync.d.ts +12 -0
  18. package/build/commands/build/version/sync.js +124 -0
  19. package/build/commands/update/index.js +3 -1
  20. package/build/credentials/ios/types.d.ts +2 -0
  21. package/build/graphql/generated.d.ts +87 -2
  22. package/build/graphql/generated.js +1 -0
  23. package/build/graphql/mutations/AppVersionMutation.d.ts +11 -0
  24. package/build/graphql/mutations/AppVersionMutation.js +28 -0
  25. package/build/graphql/queries/AppVersionQuery.d.ts +4 -0
  26. package/build/graphql/queries/AppVersionQuery.js +37 -0
  27. package/build/platform.d.ts +1 -0
  28. package/build/platform.js +17 -1
  29. package/build/project/android/applicationId.js +2 -2
  30. package/build/project/android/versions.d.ts +3 -0
  31. package/build/project/android/versions.js +23 -0
  32. package/build/project/applicationIdentifier.d.ts +4 -0
  33. package/build/project/applicationIdentifier.js +37 -0
  34. package/build/project/ios/bundleIdentifier.js +2 -2
  35. package/build/project/ios/target.js +14 -1
  36. package/build/project/ios/versions.d.ts +3 -0
  37. package/build/project/ios/versions.js +17 -0
  38. package/build/project/publish.d.ts +1 -2
  39. package/build/project/publish.js +7 -11
  40. package/build/project/remoteVersionSource.d.ts +6 -0
  41. package/build/project/remoteVersionSource.js +52 -0
  42. package/build/submit/utils/files.d.ts +0 -6
  43. package/build/submit/utils/files.js +3 -16
  44. package/build/uploads.d.ts +8 -2
  45. package/build/uploads.js +19 -4
  46. package/oclif.manifest.json +1 -1
  47. package/package.json +8 -4
package/README.md CHANGED
@@ -100,7 +100,7 @@ ALIASES
100
100
  $ eas login
101
101
  ```
102
102
 
103
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/account/login.ts)_
103
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/account/login.ts)_
104
104
 
105
105
  ## `eas account:logout`
106
106
 
@@ -117,7 +117,7 @@ ALIASES
117
117
  $ eas logout
118
118
  ```
119
119
 
120
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/account/logout.ts)_
120
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/account/logout.ts)_
121
121
 
122
122
  ## `eas account:view`
123
123
 
@@ -134,7 +134,7 @@ ALIASES
134
134
  $ eas whoami
135
135
  ```
136
136
 
137
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/account/view.ts)_
137
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/account/view.ts)_
138
138
 
139
139
  ## `eas analytics [STATUS]`
140
140
 
@@ -148,7 +148,7 @@ DESCRIPTION
148
148
  display or change analytics settings
149
149
  ```
150
150
 
151
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/analytics.ts)_
151
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/analytics.ts)_
152
152
 
153
153
  ## `eas autocomplete [SHELL]`
154
154
 
@@ -197,7 +197,7 @@ DESCRIPTION
197
197
  create a branch
198
198
  ```
199
199
 
200
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/create.ts)_
200
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/branch/create.ts)_
201
201
 
202
202
  ## `eas branch:delete [NAME]`
203
203
 
@@ -217,7 +217,7 @@ DESCRIPTION
217
217
  delete a branch
218
218
  ```
219
219
 
220
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/delete.ts)_
220
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/branch/delete.ts)_
221
221
 
222
222
  ## `eas branch:list`
223
223
 
@@ -234,7 +234,7 @@ DESCRIPTION
234
234
  list all branches
235
235
  ```
236
236
 
237
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/list.ts)_
237
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/branch/list.ts)_
238
238
 
239
239
  ## `eas branch:rename`
240
240
 
@@ -253,7 +253,7 @@ DESCRIPTION
253
253
  rename a branch
254
254
  ```
255
255
 
256
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/rename.ts)_
256
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/branch/rename.ts)_
257
257
 
258
258
  ## `eas branch:view [NAME]`
259
259
 
@@ -273,7 +273,7 @@ DESCRIPTION
273
273
  view a branch
274
274
  ```
275
275
 
276
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/view.ts)_
276
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/branch/view.ts)_
277
277
 
278
278
  ## `eas build`
279
279
 
@@ -302,7 +302,7 @@ DESCRIPTION
302
302
  start a build
303
303
  ```
304
304
 
305
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/index.ts)_
305
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/build/index.ts)_
306
306
 
307
307
  ## `eas build:cancel [BUILD_ID]`
308
308
 
@@ -316,7 +316,7 @@ DESCRIPTION
316
316
  cancel a build
317
317
  ```
318
318
 
319
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/cancel.ts)_
319
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/build/cancel.ts)_
320
320
 
321
321
  ## `eas build:configure`
322
322
 
@@ -333,7 +333,7 @@ DESCRIPTION
333
333
  configure the project to support EAS Build
334
334
  ```
335
335
 
336
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/configure.ts)_
336
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/build/configure.ts)_
337
337
 
338
338
  ## `eas build:inspect`
339
339
 
@@ -368,7 +368,7 @@ DESCRIPTION
368
368
  inspect the state of the project at specific build stages, useful for troubleshooting
369
369
  ```
370
370
 
371
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/inspect.ts)_
371
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/build/inspect.ts)_
372
372
 
373
373
  ## `eas build:list`
374
374
 
@@ -401,7 +401,7 @@ DESCRIPTION
401
401
  list all builds for your project
402
402
  ```
403
403
 
404
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/list.ts)_
404
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/build/list.ts)_
405
405
 
406
406
  ## `eas build:submit`
407
407
 
@@ -446,7 +446,7 @@ DESCRIPTION
446
446
  view a build for your project
447
447
  ```
448
448
 
449
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/view.ts)_
449
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/build/view.ts)_
450
450
 
451
451
  ## `eas channel:create [NAME]`
452
452
 
@@ -466,7 +466,7 @@ DESCRIPTION
466
466
  create a channel
467
467
  ```
468
468
 
469
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/channel/create.ts)_
469
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/channel/create.ts)_
470
470
 
471
471
  ## `eas channel:edit [NAME]`
472
472
 
@@ -487,7 +487,7 @@ DESCRIPTION
487
487
  point a channel at a new branch
488
488
  ```
489
489
 
490
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/channel/edit.ts)_
490
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/channel/edit.ts)_
491
491
 
492
492
  ## `eas channel:list`
493
493
 
@@ -504,7 +504,7 @@ DESCRIPTION
504
504
  list all channels
505
505
  ```
506
506
 
507
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/channel/list.ts)_
507
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/channel/list.ts)_
508
508
 
509
509
  ## `eas channel:view [NAME]`
510
510
 
@@ -524,7 +524,7 @@ DESCRIPTION
524
524
  view a channel
525
525
  ```
526
526
 
527
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/channel/view.ts)_
527
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/channel/view.ts)_
528
528
 
529
529
  ## `eas config`
530
530
 
@@ -542,7 +542,7 @@ DESCRIPTION
542
542
  display project configuration (app.json + eas.json)
543
543
  ```
544
544
 
545
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/config.ts)_
545
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/config.ts)_
546
546
 
547
547
  ## `eas credentials`
548
548
 
@@ -556,7 +556,7 @@ DESCRIPTION
556
556
  manage credentials
557
557
  ```
558
558
 
559
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/credentials.ts)_
559
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/credentials.ts)_
560
560
 
561
561
  ## `eas device:create`
562
562
 
@@ -570,7 +570,7 @@ DESCRIPTION
570
570
  register new Apple Devices to use for internal distribution
571
571
  ```
572
572
 
573
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/device/create.ts)_
573
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/device/create.ts)_
574
574
 
575
575
  ## `eas device:delete`
576
576
 
@@ -588,7 +588,7 @@ DESCRIPTION
588
588
  remove a registered device from your account
589
589
  ```
590
590
 
591
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/device/delete.ts)_
591
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/device/delete.ts)_
592
592
 
593
593
  ## `eas device:list`
594
594
 
@@ -605,7 +605,7 @@ DESCRIPTION
605
605
  list all registered devices for your account
606
606
  ```
607
607
 
608
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/device/list.ts)_
608
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/device/list.ts)_
609
609
 
610
610
  ## `eas device:view [UDID]`
611
611
 
@@ -619,7 +619,7 @@ DESCRIPTION
619
619
  view a device for your project
620
620
  ```
621
621
 
622
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/device/view.ts)_
622
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/device/view.ts)_
623
623
 
624
624
  ## `eas diagnostics`
625
625
 
@@ -633,7 +633,7 @@ DESCRIPTION
633
633
  display environment info
634
634
  ```
635
635
 
636
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/diagnostics.ts)_
636
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/diagnostics.ts)_
637
637
 
638
638
  ## `eas help [COMMAND]`
639
639
 
@@ -715,7 +715,7 @@ DESCRIPTION
715
715
  generate the local store configuration from the app stores
716
716
  ```
717
717
 
718
- _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/metadata/pull.ts)_
718
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/metadata/pull.ts)_
719
719
 
720
720
  ## `eas metadata:push`
721
721
 
@@ -732,7 +732,7 @@ DESCRIPTION
732
732
  sync the local store configuration to the app stores
733
733
  ```
734
734
 
735
- _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/metadata/push.ts)_
735
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/metadata/push.ts)_
736
736
 
737
737
  ## `eas project:info`
738
738
 
@@ -746,7 +746,7 @@ DESCRIPTION
746
746
  information about the current project
747
747
  ```
748
748
 
749
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/project/info.ts)_
749
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/project/info.ts)_
750
750
 
751
751
  ## `eas project:init`
752
752
 
@@ -763,7 +763,7 @@ ALIASES
763
763
  $ eas init
764
764
  ```
765
765
 
766
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/project/init.ts)_
766
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/project/init.ts)_
767
767
 
768
768
  ## `eas secret:create`
769
769
 
@@ -783,7 +783,7 @@ DESCRIPTION
783
783
  create an environment secret on the current project or owner account
784
784
  ```
785
785
 
786
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/secret/create.ts)_
786
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/secret/create.ts)_
787
787
 
788
788
  ## `eas secret:delete`
789
789
 
@@ -800,7 +800,7 @@ DESCRIPTION
800
800
  delete an environment secret by ID
801
801
  ```
802
802
 
803
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/secret/delete.ts)_
803
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/secret/delete.ts)_
804
804
 
805
805
  ## `eas secret:list`
806
806
 
@@ -814,7 +814,7 @@ DESCRIPTION
814
814
  list environment secrets available for your current app
815
815
  ```
816
816
 
817
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/secret/list.ts)_
817
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/secret/list.ts)_
818
818
 
819
819
  ## `eas submit`
820
820
 
@@ -844,7 +844,7 @@ ALIASES
844
844
  $ eas build:submit
845
845
  ```
846
846
 
847
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/submit.ts)_
847
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/submit.ts)_
848
848
 
849
849
  ## `eas update`
850
850
 
@@ -874,7 +874,7 @@ DESCRIPTION
874
874
  publish an update group
875
875
  ```
876
876
 
877
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/index.ts)_
877
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/update/index.ts)_
878
878
 
879
879
  ## `eas update:configure`
880
880
 
@@ -891,7 +891,7 @@ DESCRIPTION
891
891
  configure the project to support EAS Update
892
892
  ```
893
893
 
894
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/configure.ts)_
894
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/update/configure.ts)_
895
895
 
896
896
  ## `eas update:delete GROUPID`
897
897
 
@@ -911,7 +911,7 @@ DESCRIPTION
911
911
  delete all the updates in an update group
912
912
  ```
913
913
 
914
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/delete.ts)_
914
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/update/delete.ts)_
915
915
 
916
916
  ## `eas update:list`
917
917
 
@@ -930,7 +930,7 @@ DESCRIPTION
930
930
  view the recent updates for a branch
931
931
  ```
932
932
 
933
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/list.ts)_
933
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/update/list.ts)_
934
934
 
935
935
  ## `eas update:view GROUPID`
936
936
 
@@ -950,7 +950,7 @@ DESCRIPTION
950
950
  update group details
951
951
  ```
952
952
 
953
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/view.ts)_
953
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/update/view.ts)_
954
954
 
955
955
  ## `eas webhook:create`
956
956
 
@@ -970,7 +970,7 @@ DESCRIPTION
970
970
  create a webhook
971
971
  ```
972
972
 
973
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/create.ts)_
973
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/webhook/create.ts)_
974
974
 
975
975
  ## `eas webhook:delete [ID]`
976
976
 
@@ -987,7 +987,7 @@ DESCRIPTION
987
987
  delete a webhook
988
988
  ```
989
989
 
990
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/delete.ts)_
990
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/webhook/delete.ts)_
991
991
 
992
992
  ## `eas webhook:list`
993
993
 
@@ -1004,7 +1004,7 @@ DESCRIPTION
1004
1004
  list webhooks
1005
1005
  ```
1006
1006
 
1007
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/list.ts)_
1007
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/webhook/list.ts)_
1008
1008
 
1009
1009
  ## `eas webhook:update`
1010
1010
 
@@ -1025,7 +1025,7 @@ DESCRIPTION
1025
1025
  update a webhook
1026
1026
  ```
1027
1027
 
1028
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/update.ts)_
1028
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/webhook/update.ts)_
1029
1029
 
1030
1030
  ## `eas webhook:view ID`
1031
1031
 
@@ -1042,7 +1042,7 @@ DESCRIPTION
1042
1042
  view a webhook
1043
1043
  ```
1044
1044
 
1045
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/view.ts)_
1045
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.56.0/packages/eas-cli/src/commands/webhook/view.ts)_
1046
1046
 
1047
1047
  ## `eas whoami`
1048
1048
 
@@ -20,3 +20,8 @@ export declare function maybeResolveVersionsAsync(projectDir: string, exp: ExpoC
20
20
  appVersion?: string;
21
21
  appBuildVersion?: string;
22
22
  }>;
23
+ export declare function updateNativeVersionsAsync({ projectDir, version, versionCode, }: {
24
+ projectDir: string;
25
+ version?: string;
26
+ versionCode?: number;
27
+ }): Promise<void>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.maybeResolveVersionsAsync = exports.bumpVersionInAppJsonAsync = exports.bumpVersionAsync = exports.BumpStrategy = void 0;
3
+ exports.updateNativeVersionsAsync = exports.maybeResolveVersionsAsync = exports.bumpVersionInAppJsonAsync = exports.bumpVersionAsync = exports.BumpStrategy = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const config_plugins_1 = require("@expo/config-plugins");
6
6
  const eas_build_job_1 = require("@expo/eas-build-job");
@@ -8,6 +8,7 @@ const chalk_1 = tslib_1.__importDefault(require("chalk"));
8
8
  const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
9
9
  const log_1 = tslib_1.__importDefault(require("../../log"));
10
10
  const gradleUtils_1 = require("../../project/android/gradleUtils");
11
+ const versions_1 = require("../../project/android/versions");
11
12
  const workflow_1 = require("../../project/workflow");
12
13
  const appJson_1 = require("../utils/appJson");
13
14
  const version_1 = require("../utils/version");
@@ -18,7 +19,7 @@ var BumpStrategy;
18
19
  BumpStrategy[BumpStrategy["NOOP"] = 2] = "NOOP";
19
20
  })(BumpStrategy = exports.BumpStrategy || (exports.BumpStrategy = {}));
20
21
  async function bumpVersionAsync({ bumpStrategy, projectDir, exp, }) {
21
- var _a, _b;
22
+ var _a, _b, _c;
22
23
  if (bumpStrategy === BumpStrategy.NOOP) {
23
24
  return;
24
25
  }
@@ -30,9 +31,10 @@ async function bumpVersionAsync({ bumpStrategy, projectDir, exp, }) {
30
31
  }
31
32
  await bumpVersionInAppJsonAsync({ bumpStrategy, projectDir, exp });
32
33
  log_1.default.log('Updated versions in app.json');
33
- await writeVersionsToBuildGradleAsync({
34
+ await updateNativeVersionsAsync({
34
35
  projectDir,
35
- exp,
36
+ version: exp.version,
37
+ versionCode: (_c = exp.android) === null || _c === void 0 ? void 0 : _c.versionCode,
36
38
  });
37
39
  log_1.default.log('Synchronized versions with build gradle');
38
40
  }
@@ -50,7 +52,7 @@ async function bumpVersionInAppJsonAsync({ bumpStrategy, projectDir, exp, }) {
50
52
  }
51
53
  else {
52
54
  const versionCode = config_plugins_1.AndroidConfig.Version.getVersionCode(exp);
53
- const bumpedVersionCode = versionCode + 1;
55
+ const bumpedVersionCode = (0, versions_1.getNextVersionCode)(versionCode);
54
56
  log_1.default.log(`Bumping ${chalk_1.default.bold('expo.android.versionCode')} from ${chalk_1.default.bold(versionCode)} to ${chalk_1.default.bold(bumpedVersionCode)}`);
55
57
  await (0, appJson_1.updateAppJsonConfigAsync)({ projectDir, exp }, config => {
56
58
  config.android = { ...config.android, versionCode: bumpedVersionCode };
@@ -84,16 +86,21 @@ async function maybeResolveVersionsAsync(projectDir, exp, buildProfile) {
84
86
  }
85
87
  }
86
88
  exports.maybeResolveVersionsAsync = maybeResolveVersionsAsync;
87
- async function writeVersionsToBuildGradleAsync({ projectDir, exp, }) {
89
+ async function updateNativeVersionsAsync({ projectDir, version, versionCode, }) {
88
90
  const buildGradle = await readBuildGradleAsync(projectDir);
89
91
  if (!buildGradle) {
90
92
  throw new Error('This project is missing a build.gradle file.');
91
93
  }
92
- let updatedBuildGradle = config_plugins_1.AndroidConfig.Version.setVersionName(exp, buildGradle);
93
- updatedBuildGradle = config_plugins_1.AndroidConfig.Version.setVersionCode(exp, updatedBuildGradle);
94
+ let updatedBuildGradle = buildGradle;
95
+ if (version !== undefined) {
96
+ updatedBuildGradle = updatedBuildGradle.replace(new RegExp(`versionName ".*"`), `versionName "${version}"`);
97
+ }
98
+ if (versionCode !== undefined) {
99
+ updatedBuildGradle = updatedBuildGradle.replace(new RegExp(`versionCode.*`), `versionCode ${versionCode}`);
100
+ }
94
101
  await writeBuildGradleAsync({ projectDir, buildGradle: updatedBuildGradle });
95
- return updatedBuildGradle;
96
102
  }
103
+ exports.updateNativeVersionsAsync = updateNativeVersionsAsync;
97
104
  async function readBuildGradleAsync(projectDir) {
98
105
  const buildGradlePath = config_plugins_1.AndroidConfig.Paths.getAppBuildGradleFilePath(projectDir);
99
106
  if (!(await fs_extra_1.default.pathExists(buildGradlePath))) {
@@ -109,7 +109,7 @@ async function uploadProjectAsync(ctx) {
109
109
  log_1.default.log(`Compressing project files and uploading to EAS Build. ${(0, log_1.learnMore)('https://expo.fyi/eas-build-archive')}`);
110
110
  const projectTarball = await (0, repository_1.makeProjectTarballAsync)();
111
111
  projectTarballPath = projectTarball.path;
112
- const { bucketKey } = await (0, uploads_1.uploadAsync)(generated_1.UploadSessionType.EasBuildProjectSources, projectTarball.path, (0, progress_1.createProgressTracker)({
112
+ const { bucketKey } = await (0, uploads_1.uploadFileAtPathToS3Async)(generated_1.UploadSessionType.EasBuildProjectSources, projectTarball.path, (0, progress_1.createProgressTracker)({
113
113
  total: projectTarball.size,
114
114
  message: ratio => `Uploading to EAS Build (${(0, files_1.formatBytes)(projectTarball.size * ratio)} / ${(0, files_1.formatBytes)(projectTarball.size)})`,
115
115
  completedMessage: (duration) => `Uploaded to EAS ${chalk_1.default.dim(duration)}`,
@@ -225,7 +225,7 @@ async function handleSingleBuildProgressAsync({ build, accountName }, { spinner
225
225
  log_1.default.log(`Sign up for EAS Production or Enterprise at ${chalk_1.default.underline(formatAccountSubscriptionsUrl(accountName))}`);
226
226
  }
227
227
  log_1.default.newLine();
228
- log_1.default.log('Waiting in queue');
228
+ log_1.default.log(`Waiting in ${priorityToQueueDisplayName[build.priority]}`);
229
229
  queueProgressBar.start(build.initialQueuePosition + 1, build.initialQueuePosition - build.queuePosition + 1, progressBarPayload);
230
230
  queueProgressBarStarted = true;
231
231
  }
@@ -254,6 +254,11 @@ async function handleSingleBuildProgressAsync({ build, accountName }, { spinner
254
254
  }
255
255
  return { refetch: true };
256
256
  }
257
+ const priorityToQueueDisplayName = {
258
+ [generated_1.BuildPriority.Normal]: 'queue',
259
+ [generated_1.BuildPriority.NormalPlus]: 'queue',
260
+ [generated_1.BuildPriority.High]: 'priority queue',
261
+ };
257
262
  const statusToDisplayName = {
258
263
  [generated_1.BuildStatus.New]: 'waiting to enter the queue (concurrency limit reached)',
259
264
  [generated_1.BuildStatus.InQueue]: 'in queue',
@@ -1,7 +1,6 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
2
  import { Platform, Workflow } from '@expo/eas-build-job';
3
- import { BuildProfile } from '@expo/eas-json';
4
- import type { XCBuildConfiguration } from 'xcode';
3
+ import { BuildProfile, EasJson } from '@expo/eas-json';
5
4
  import { TrackingContext } from '../analytics/common';
6
5
  import { CredentialsContext } from '../credentials/context';
7
6
  import { Target } from '../credentials/ios/types';
@@ -17,13 +16,13 @@ export interface AndroidBuildContext {
17
16
  }
18
17
  export interface IosBuildContext {
19
18
  bundleIdentifier: string;
20
- applicationTargetBuildSettings: XCBuildConfiguration['buildSettings'];
21
19
  applicationTarget: Target;
22
20
  targets: Target[];
23
21
  xcodeBuildContext: XcodeBuildContext;
24
22
  }
25
23
  export interface BuildContext<T extends Platform> {
26
24
  accountName: string;
25
+ easJsonCliConfig: EasJson['cli'];
27
26
  buildProfile: BuildProfile<T>;
28
27
  buildProfileName: string;
29
28
  resourceClass: BuildResourceClass;
@@ -1,11 +1,12 @@
1
1
  import { Platform } from '@expo/eas-build-job';
2
- import { BuildProfile } from '@expo/eas-json';
2
+ import { BuildProfile, EasJson } from '@expo/eas-json';
3
3
  import { BuildResourceClass } from '../graphql/generated';
4
4
  import { BuildContext } from './context';
5
5
  import { LocalBuildOptions } from './local';
6
- export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, clearCache, localBuildOptions, nonInteractive, platform, projectDir, resourceClass, }: {
6
+ export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, easJsonCliConfig, clearCache, localBuildOptions, nonInteractive, platform, projectDir, resourceClass, }: {
7
7
  buildProfileName: string;
8
8
  buildProfile: BuildProfile<T>;
9
+ easJsonCliConfig: EasJson['cli'];
9
10
  clearCache: boolean;
10
11
  localBuildOptions: LocalBuildOptions;
11
12
  nonInteractive: boolean;
@@ -15,7 +15,7 @@ const Account_1 = require("../user/Account");
15
15
  const actions_1 = require("../user/actions");
16
16
  const build_1 = require("./android/build");
17
17
  const build_2 = require("./ios/build");
18
- async function createBuildContextAsync({ buildProfileName, buildProfile, clearCache = false, localBuildOptions, nonInteractive = false, platform, projectDir, resourceClass, }) {
18
+ async function createBuildContextAsync({ buildProfileName, buildProfile, easJsonCliConfig, clearCache = false, localBuildOptions, nonInteractive = false, platform, projectDir, resourceClass, }) {
19
19
  var _a;
20
20
  const exp = (0, expoConfig_1.getExpoConfig)(projectDir, { env: buildProfile.env });
21
21
  const user = await (0, actions_1.ensureLoggedInAsync)();
@@ -50,6 +50,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, clearCa
50
50
  buildProfile,
51
51
  buildProfileName,
52
52
  resourceClass,
53
+ easJsonCliConfig,
53
54
  clearCache,
54
55
  credentialsCtx,
55
56
  exp,
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.prepareIosBuildAsync = exports.createIosContextAsync = void 0;
4
- const config_plugins_1 = require("@expo/config-plugins");
5
4
  const eas_build_job_1 = require("@expo/eas-build-job");
6
5
  const BuildMutation_1 = require("../../graphql/mutations/BuildMutation");
7
6
  const bundleIdentifier_1 = require("../../project/ios/bundleIdentifier");
@@ -33,11 +32,9 @@ async function createIosContextAsync(ctx) {
33
32
  env: buildProfile.env,
34
33
  });
35
34
  const applicationTarget = (0, target_1.findApplicationTarget)(targets);
36
- const applicationTargetBuildSettings = resolveBuildSettings(ctx, applicationTarget);
37
35
  return {
38
36
  bundleIdentifier: applicationTarget.bundleIdentifier,
39
37
  applicationTarget,
40
- applicationTargetBuildSettings,
41
38
  targets,
42
39
  xcodeBuildContext,
43
40
  };
@@ -54,7 +51,7 @@ async function prepareIosBuildAsync(ctx) {
54
51
  projectDir: ctx.projectDir,
55
52
  exp: ctx.exp,
56
53
  buildProfile: ctx.buildProfile,
57
- buildSettings: ctx.ios.applicationTargetBuildSettings,
54
+ targets: ctx.ios.targets,
58
55
  });
59
56
  },
60
57
  prepareJobAsync: async (ctx, jobData) => {
@@ -76,15 +73,3 @@ async function prepareIosBuildAsync(ctx) {
76
73
  });
77
74
  }
78
75
  exports.prepareIosBuildAsync = prepareIosBuildAsync;
79
- function resolveBuildSettings(ctx, applicationTarget) {
80
- var _a;
81
- if (ctx.workflow === eas_build_job_1.Workflow.MANAGED) {
82
- return {};
83
- }
84
- const project = config_plugins_1.IOSConfig.XcodeUtils.getPbxproj(ctx.projectDir);
85
- const xcBuildConfiguration = config_plugins_1.IOSConfig.Target.getXCBuildConfigurationFromPbxproj(project, {
86
- targetName: applicationTarget.targetName,
87
- buildConfiguration: applicationTarget.buildConfiguration,
88
- });
89
- return (_a = xcBuildConfiguration === null || xcBuildConfiguration === void 0 ? void 0 : xcBuildConfiguration.buildSettings) !== null && _a !== void 0 ? _a : {};
90
- }
@@ -1,10 +1,10 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
2
  import { Platform } from '@expo/eas-build-job';
3
3
  import { BuildProfile } from '@expo/eas-json';
4
- import type { XCBuildConfiguration } from 'xcode';
5
- export declare function syncProjectConfigurationAsync({ projectDir, exp, buildProfile, buildSettings, }: {
4
+ import { Target } from '../../credentials/ios/types';
5
+ export declare function syncProjectConfigurationAsync({ projectDir, exp, buildProfile, targets, }: {
6
6
  projectDir: string;
7
7
  exp: ExpoConfig;
8
8
  buildProfile: BuildProfile<Platform.IOS>;
9
- buildSettings: XCBuildConfiguration['buildSettings'];
9
+ targets: Target[];
10
10
  }): Promise<void>;
@@ -6,7 +6,7 @@ const projectUtils_1 = require("../../project/projectUtils");
6
6
  const workflow_1 = require("../../project/workflow");
7
7
  const UpdatesModule_1 = require("../../update/ios/UpdatesModule");
8
8
  const version_1 = require("./version");
9
- async function syncProjectConfigurationAsync({ projectDir, exp, buildProfile, buildSettings, }) {
9
+ async function syncProjectConfigurationAsync({ projectDir, exp, buildProfile, targets, }) {
10
10
  const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.IOS);
11
11
  const { autoIncrement } = buildProfile;
12
12
  const versionBumpStrategy = resolveVersionBumpStrategy(autoIncrement !== null && autoIncrement !== void 0 ? autoIncrement : false);
@@ -14,7 +14,7 @@ async function syncProjectConfigurationAsync({ projectDir, exp, buildProfile, bu
14
14
  if ((0, projectUtils_1.isExpoUpdatesInstalled)(projectDir)) {
15
15
  await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(projectDir, exp);
16
16
  }
17
- await (0, version_1.bumpVersionAsync)({ projectDir, exp, bumpStrategy: versionBumpStrategy, buildSettings });
17
+ await (0, version_1.bumpVersionAsync)({ projectDir, exp, bumpStrategy: versionBumpStrategy, targets });
18
18
  }
19
19
  else {
20
20
  await (0, version_1.bumpVersionInAppJsonAsync)({ projectDir, exp, bumpStrategy: versionBumpStrategy });