eas-cli 7.3.0 → 7.5.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
@@ -136,7 +136,7 @@ ALIASES
136
136
  $ eas login
137
137
  ```
138
138
 
139
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/account/login.ts)_
139
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/account/login.ts)_
140
140
 
141
141
  ## `eas account:logout`
142
142
 
@@ -153,7 +153,7 @@ ALIASES
153
153
  $ eas logout
154
154
  ```
155
155
 
156
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/account/logout.ts)_
156
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/account/logout.ts)_
157
157
 
158
158
  ## `eas account:view`
159
159
 
@@ -170,7 +170,7 @@ ALIASES
170
170
  $ eas whoami
171
171
  ```
172
172
 
173
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/account/view.ts)_
173
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/account/view.ts)_
174
174
 
175
175
  ## `eas analytics [STATUS]`
176
176
 
@@ -184,7 +184,7 @@ DESCRIPTION
184
184
  display or change analytics settings
185
185
  ```
186
186
 
187
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/analytics.ts)_
187
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/analytics.ts)_
188
188
 
189
189
  ## `eas autocomplete [SHELL]`
190
190
 
@@ -236,7 +236,7 @@ DESCRIPTION
236
236
  create a branch
237
237
  ```
238
238
 
239
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/branch/create.ts)_
239
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/branch/create.ts)_
240
240
 
241
241
  ## `eas branch:delete [NAME]`
242
242
 
@@ -257,7 +257,7 @@ DESCRIPTION
257
257
  delete a branch
258
258
  ```
259
259
 
260
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/branch/delete.ts)_
260
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/branch/delete.ts)_
261
261
 
262
262
  ## `eas branch:list`
263
263
 
@@ -277,7 +277,7 @@ DESCRIPTION
277
277
  list all branches
278
278
  ```
279
279
 
280
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/branch/list.ts)_
280
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/branch/list.ts)_
281
281
 
282
282
  ## `eas branch:rename`
283
283
 
@@ -297,7 +297,7 @@ DESCRIPTION
297
297
  rename a branch
298
298
  ```
299
299
 
300
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/branch/rename.ts)_
300
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/branch/rename.ts)_
301
301
 
302
302
  ## `eas branch:view [NAME]`
303
303
 
@@ -320,7 +320,7 @@ DESCRIPTION
320
320
  view a branch
321
321
  ```
322
322
 
323
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/branch/view.ts)_
323
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/branch/view.ts)_
324
324
 
325
325
  ## `eas build`
326
326
 
@@ -350,7 +350,7 @@ DESCRIPTION
350
350
  start a build
351
351
  ```
352
352
 
353
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/index.ts)_
353
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/index.ts)_
354
354
 
355
355
  ## `eas build:cancel [BUILD_ID]`
356
356
 
@@ -369,7 +369,7 @@ DESCRIPTION
369
369
  cancel a build
370
370
  ```
371
371
 
372
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/cancel.ts)_
372
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/cancel.ts)_
373
373
 
374
374
  ## `eas build:configure`
375
375
 
@@ -386,7 +386,7 @@ DESCRIPTION
386
386
  configure the project to support EAS Build
387
387
  ```
388
388
 
389
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/configure.ts)_
389
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/configure.ts)_
390
390
 
391
391
  ## `eas build:delete [BUILD_ID]`
392
392
 
@@ -405,7 +405,7 @@ DESCRIPTION
405
405
  delete a build
406
406
  ```
407
407
 
408
- _See code: [src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/delete.ts)_
408
+ _See code: [src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/delete.ts)_
409
409
 
410
410
  ## `eas build:inspect`
411
411
 
@@ -440,7 +440,7 @@ DESCRIPTION
440
440
  inspect the state of the project at specific build stages, useful for troubleshooting
441
441
  ```
442
442
 
443
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/inspect.ts)_
443
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/inspect.ts)_
444
444
 
445
445
  ## `eas build:list`
446
446
 
@@ -481,7 +481,7 @@ DESCRIPTION
481
481
  list all builds for your project
482
482
  ```
483
483
 
484
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/list.ts)_
484
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/list.ts)_
485
485
 
486
486
  ## `eas build:resign`
487
487
 
@@ -507,7 +507,7 @@ DESCRIPTION
507
507
  re-sign a build archive
508
508
  ```
509
509
 
510
- _See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/resign.ts)_
510
+ _See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/resign.ts)_
511
511
 
512
512
  ## `eas build:run`
513
513
 
@@ -533,7 +533,7 @@ DESCRIPTION
533
533
  run simulator/emulator builds from eas-cli
534
534
  ```
535
535
 
536
- _See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/run.ts)_
536
+ _See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/run.ts)_
537
537
 
538
538
  ## `eas build:submit`
539
539
 
@@ -582,7 +582,7 @@ DESCRIPTION
582
582
  get the latest version from EAS servers
583
583
  ```
584
584
 
585
- _See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/version/get.ts)_
585
+ _See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/version/get.ts)_
586
586
 
587
587
  ## `eas build:version:set`
588
588
 
@@ -601,7 +601,7 @@ DESCRIPTION
601
601
  update version of an app
602
602
  ```
603
603
 
604
- _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/version/set.ts)_
604
+ _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/version/set.ts)_
605
605
 
606
606
  ## `eas build:version:sync`
607
607
 
@@ -620,7 +620,7 @@ DESCRIPTION
620
620
  update a version in native code with a value stored on EAS servers
621
621
  ```
622
622
 
623
- _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/version/sync.ts)_
623
+ _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/version/sync.ts)_
624
624
 
625
625
  ## `eas build:view [BUILD_ID]`
626
626
 
@@ -637,7 +637,7 @@ DESCRIPTION
637
637
  view a build for your project
638
638
  ```
639
639
 
640
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/build/view.ts)_
640
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/build/view.ts)_
641
641
 
642
642
  ## `eas channel:create [NAME]`
643
643
 
@@ -658,7 +658,7 @@ DESCRIPTION
658
658
  create a channel
659
659
  ```
660
660
 
661
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/channel/create.ts)_
661
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/channel/create.ts)_
662
662
 
663
663
  ## `eas channel:edit [NAME]`
664
664
 
@@ -680,7 +680,7 @@ DESCRIPTION
680
680
  point a channel at a new branch
681
681
  ```
682
682
 
683
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/channel/edit.ts)_
683
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/channel/edit.ts)_
684
684
 
685
685
  ## `eas channel:list`
686
686
 
@@ -700,7 +700,7 @@ DESCRIPTION
700
700
  list all channels
701
701
  ```
702
702
 
703
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/channel/list.ts)_
703
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/channel/list.ts)_
704
704
 
705
705
  ## `eas channel:rollout [CHANNEL]`
706
706
 
@@ -732,7 +732,7 @@ DESCRIPTION
732
732
  Roll a new branch out on a channel incrementally.
733
733
  ```
734
734
 
735
- _See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/channel/rollout.ts)_
735
+ _See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/channel/rollout.ts)_
736
736
 
737
737
  ## `eas channel:view [NAME]`
738
738
 
@@ -755,7 +755,7 @@ DESCRIPTION
755
755
  view a channel
756
756
  ```
757
757
 
758
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/channel/view.ts)_
758
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/channel/view.ts)_
759
759
 
760
760
  ## `eas config`
761
761
 
@@ -776,7 +776,7 @@ DESCRIPTION
776
776
  display project configuration (app.json + eas.json)
777
777
  ```
778
778
 
779
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/config.ts)_
779
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/config.ts)_
780
780
 
781
781
  ## `eas credentials`
782
782
 
@@ -793,7 +793,7 @@ DESCRIPTION
793
793
  manage credentials
794
794
  ```
795
795
 
796
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/credentials.ts)_
796
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/credentials.ts)_
797
797
 
798
798
  ## `eas device:create`
799
799
 
@@ -807,7 +807,7 @@ DESCRIPTION
807
807
  register new Apple Devices to use for internal distribution
808
808
  ```
809
809
 
810
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/device/create.ts)_
810
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/device/create.ts)_
811
811
 
812
812
  ## `eas device:delete`
813
813
 
@@ -827,7 +827,7 @@ DESCRIPTION
827
827
  remove a registered device from your account
828
828
  ```
829
829
 
830
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/device/delete.ts)_
830
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/device/delete.ts)_
831
831
 
832
832
  ## `eas device:list`
833
833
 
@@ -848,7 +848,7 @@ DESCRIPTION
848
848
  list all registered devices for your account
849
849
  ```
850
850
 
851
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/device/list.ts)_
851
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/device/list.ts)_
852
852
 
853
853
  ## `eas device:rename`
854
854
 
@@ -869,7 +869,7 @@ DESCRIPTION
869
869
  rename a registered device
870
870
  ```
871
871
 
872
- _See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/device/rename.ts)_
872
+ _See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/device/rename.ts)_
873
873
 
874
874
  ## `eas device:view [UDID]`
875
875
 
@@ -883,7 +883,7 @@ DESCRIPTION
883
883
  view a device for your project
884
884
  ```
885
885
 
886
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/device/view.ts)_
886
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/device/view.ts)_
887
887
 
888
888
  ## `eas diagnostics`
889
889
 
@@ -897,7 +897,7 @@ DESCRIPTION
897
897
  display environment info
898
898
  ```
899
899
 
900
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/diagnostics.ts)_
900
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/diagnostics.ts)_
901
901
 
902
902
  ## `eas help [COMMAND]`
903
903
 
@@ -985,7 +985,7 @@ DESCRIPTION
985
985
  validate the local store configuration
986
986
  ```
987
987
 
988
- _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/metadata/lint.ts)_
988
+ _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/metadata/lint.ts)_
989
989
 
990
990
  ## `eas metadata:pull`
991
991
 
@@ -1002,7 +1002,7 @@ DESCRIPTION
1002
1002
  generate the local store configuration from the app stores
1003
1003
  ```
1004
1004
 
1005
- _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/metadata/pull.ts)_
1005
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/metadata/pull.ts)_
1006
1006
 
1007
1007
  ## `eas metadata:push`
1008
1008
 
@@ -1019,7 +1019,7 @@ DESCRIPTION
1019
1019
  sync the local store configuration to the app stores
1020
1020
  ```
1021
1021
 
1022
- _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/metadata/push.ts)_
1022
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/metadata/push.ts)_
1023
1023
 
1024
1024
  ## `eas open`
1025
1025
 
@@ -1033,7 +1033,7 @@ DESCRIPTION
1033
1033
  open the project page in a web browser
1034
1034
  ```
1035
1035
 
1036
- _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/open.ts)_
1036
+ _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/open.ts)_
1037
1037
 
1038
1038
  ## `eas project:info`
1039
1039
 
@@ -1047,7 +1047,7 @@ DESCRIPTION
1047
1047
  information about the current project
1048
1048
  ```
1049
1049
 
1050
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/project/info.ts)_
1050
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/project/info.ts)_
1051
1051
 
1052
1052
  ## `eas project:init`
1053
1053
 
@@ -1069,7 +1069,7 @@ ALIASES
1069
1069
  $ eas init
1070
1070
  ```
1071
1071
 
1072
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/project/init.ts)_
1072
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/project/init.ts)_
1073
1073
 
1074
1074
  ## `eas secret:create`
1075
1075
 
@@ -1092,7 +1092,7 @@ DESCRIPTION
1092
1092
  create an environment secret on the current project or owner account
1093
1093
  ```
1094
1094
 
1095
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/secret/create.ts)_
1095
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/secret/create.ts)_
1096
1096
 
1097
1097
  ## `eas secret:delete`
1098
1098
 
@@ -1110,7 +1110,7 @@ DESCRIPTION
1110
1110
  delete an environment secret by ID
1111
1111
  ```
1112
1112
 
1113
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/secret/delete.ts)_
1113
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/secret/delete.ts)_
1114
1114
 
1115
1115
  ## `eas secret:list`
1116
1116
 
@@ -1124,7 +1124,7 @@ DESCRIPTION
1124
1124
  list environment secrets available for your current app
1125
1125
  ```
1126
1126
 
1127
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/secret/list.ts)_
1127
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/secret/list.ts)_
1128
1128
 
1129
1129
  ## `eas secret:push`
1130
1130
 
@@ -1144,7 +1144,7 @@ DESCRIPTION
1144
1144
  read environment secrets from env file and store on the server
1145
1145
  ```
1146
1146
 
1147
- _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/secret/push.ts)_
1147
+ _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/secret/push.ts)_
1148
1148
 
1149
1149
  ## `eas submit`
1150
1150
 
@@ -1174,7 +1174,7 @@ ALIASES
1174
1174
  $ eas build:submit
1175
1175
  ```
1176
1176
 
1177
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/submit.ts)_
1177
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/submit.ts)_
1178
1178
 
1179
1179
  ## `eas update`
1180
1180
 
@@ -1207,7 +1207,7 @@ DESCRIPTION
1207
1207
  publish an update group
1208
1208
  ```
1209
1209
 
1210
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/update/index.ts)_
1210
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/update/index.ts)_
1211
1211
 
1212
1212
  ## `eas update:configure`
1213
1213
 
@@ -1225,7 +1225,7 @@ DESCRIPTION
1225
1225
  configure the project to support EAS Update
1226
1226
  ```
1227
1227
 
1228
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/update/configure.ts)_
1228
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/update/configure.ts)_
1229
1229
 
1230
1230
  ## `eas update:delete GROUPID`
1231
1231
 
@@ -1246,7 +1246,7 @@ DESCRIPTION
1246
1246
  delete all the updates in an update group
1247
1247
  ```
1248
1248
 
1249
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/update/delete.ts)_
1249
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/update/delete.ts)_
1250
1250
 
1251
1251
  ## `eas update:list`
1252
1252
 
@@ -1268,7 +1268,7 @@ DESCRIPTION
1268
1268
  view the recent updates
1269
1269
  ```
1270
1270
 
1271
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/update/list.ts)_
1271
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/update/list.ts)_
1272
1272
 
1273
1273
  ## `eas update:republish`
1274
1274
 
@@ -1295,7 +1295,7 @@ DESCRIPTION
1295
1295
  roll back to an existing update
1296
1296
  ```
1297
1297
 
1298
- _See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/update/republish.ts)_
1298
+ _See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/update/republish.ts)_
1299
1299
 
1300
1300
  ## `eas update:roll-back-to-embedded`
1301
1301
 
@@ -1322,7 +1322,7 @@ DESCRIPTION
1322
1322
  roll back to the embedded update
1323
1323
  ```
1324
1324
 
1325
- _See code: [src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/update/roll-back-to-embedded.ts)_
1325
+ _See code: [src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/update/roll-back-to-embedded.ts)_
1326
1326
 
1327
1327
  ## `eas update:rollback`
1328
1328
 
@@ -1341,7 +1341,7 @@ DESCRIPTION
1341
1341
  roll back to an embedded update or an existing update
1342
1342
  ```
1343
1343
 
1344
- _See code: [src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/update/rollback.ts)_
1344
+ _See code: [src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/update/rollback.ts)_
1345
1345
 
1346
1346
  ## `eas update:view GROUPID`
1347
1347
 
@@ -1361,7 +1361,7 @@ DESCRIPTION
1361
1361
  update group details
1362
1362
  ```
1363
1363
 
1364
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/update/view.ts)_
1364
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/update/view.ts)_
1365
1365
 
1366
1366
  ## `eas webhook:create`
1367
1367
 
@@ -1382,7 +1382,7 @@ DESCRIPTION
1382
1382
  create a webhook
1383
1383
  ```
1384
1384
 
1385
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/webhook/create.ts)_
1385
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/webhook/create.ts)_
1386
1386
 
1387
1387
  ## `eas webhook:delete [ID]`
1388
1388
 
@@ -1402,7 +1402,7 @@ DESCRIPTION
1402
1402
  delete a webhook
1403
1403
  ```
1404
1404
 
1405
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/webhook/delete.ts)_
1405
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/webhook/delete.ts)_
1406
1406
 
1407
1407
  ## `eas webhook:list`
1408
1408
 
@@ -1420,7 +1420,7 @@ DESCRIPTION
1420
1420
  list webhooks
1421
1421
  ```
1422
1422
 
1423
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/webhook/list.ts)_
1423
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/webhook/list.ts)_
1424
1424
 
1425
1425
  ## `eas webhook:update`
1426
1426
 
@@ -1442,7 +1442,7 @@ DESCRIPTION
1442
1442
  update a webhook
1443
1443
  ```
1444
1444
 
1445
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/webhook/update.ts)_
1445
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/webhook/update.ts)_
1446
1446
 
1447
1447
  ## `eas webhook:view ID`
1448
1448
 
@@ -1459,7 +1459,7 @@ DESCRIPTION
1459
1459
  view a webhook
1460
1460
  ```
1461
1461
 
1462
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v7.3.0/src/commands/webhook/view.ts)_
1462
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v7.5.0/src/commands/webhook/view.ts)_
1463
1463
 
1464
1464
  ## `eas whoami`
1465
1465
 
@@ -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 = '1.0.71';
9
+ const PLUGIN_PACKAGE_VERSION = '1.0.83';
10
10
  var LocalBuildMode;
11
11
  (function (LocalBuildMode) {
12
12
  /**
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.truncateGitCommitMessage = exports.getReactNativeVersionAsync = exports.collectMetadataAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const config_plugins_1 = require("@expo/config-plugins");
6
5
  const eas_build_job_1 = require("@expo/eas-build-job");
7
6
  const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
8
7
  const resolve_from_1 = tslib_1.__importDefault(require("resolve-from"));
@@ -12,6 +11,7 @@ const local_1 = require("./local");
12
11
  const types_1 = require("./types");
13
12
  const log_1 = tslib_1.__importDefault(require("../log"));
14
13
  const projectUtils_1 = require("../project/projectUtils");
14
+ const resolveRuntimeVersionAsync_1 = require("../project/resolveRuntimeVersionAsync");
15
15
  const UpdatesModule_1 = require("../update/android/UpdatesModule");
16
16
  const UpdatesModule_2 = require("../update/ios/UpdatesModule");
17
17
  const easCli_1 = require("../utils/easCli");
@@ -26,7 +26,7 @@ async function collectMetadataAsync(ctx) {
26
26
  workflow: ctx.workflow,
27
27
  credentialsSource: ctx.buildProfile.credentialsSource,
28
28
  sdkVersion: ctx.exp.sdkVersion,
29
- runtimeVersion: (_b = (await config_plugins_1.Updates.getRuntimeVersionNullableAsync(ctx.projectDir, ctx.exp, ctx.platform))) !== null && _b !== void 0 ? _b : undefined,
29
+ runtimeVersion: (_b = (await (0, resolveRuntimeVersionAsync_1.resolveRuntimeVersionAsync)(ctx))) !== null && _b !== void 0 ? _b : undefined,
30
30
  reactNativeVersion: await getReactNativeVersionAsync(ctx.projectDir),
31
31
  ...channelOrReleaseChannel,
32
32
  distribution,
@@ -12,6 +12,7 @@ const build_2 = require("./build");
12
12
  const configure_1 = require("./configure");
13
13
  const createContext_1 = require("./createContext");
14
14
  const build_3 = require("./ios/build");
15
+ const local_1 = require("./local");
15
16
  const devClient_1 = require("./utils/devClient");
16
17
  const printBuildInfo_1 = require("./utils/printBuildInfo");
17
18
  const repository_1 = require("./utils/repository");
@@ -102,12 +103,18 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, vcsClient, proje
102
103
  }
103
104
  buildCtxByPlatform[platform] = buildCtx;
104
105
  }
105
- if (flags.localBuildOptions.localBuildMode) {
106
+ if (flags.localBuildOptions.localBuildMode === local_1.LocalBuildMode.LOCAL_BUILD_PLUGIN) {
106
107
  return;
107
108
  }
108
- log_1.default.newLine();
109
- (0, printBuildInfo_1.printLogsUrls)(startedBuilds.map(startedBuild => startedBuild.build));
110
- log_1.default.newLine();
109
+ if (flags.localBuildOptions.localBuildMode === local_1.LocalBuildMode.INTERNAL) {
110
+ const startedBuild = await BuildQuery_1.BuildQuery.byIdAsync(graphqlClient, (0, nullthrows_1.default)(process.env.EAS_BUILD_ID, 'EAS_BUILD_ID is not defined'));
111
+ startedBuilds.push({ build: startedBuild, buildProfile: buildProfiles[0] });
112
+ }
113
+ if (!flags.localBuildOptions.localBuildMode) {
114
+ log_1.default.newLine();
115
+ (0, printBuildInfo_1.printLogsUrls)(startedBuilds.map(startedBuild => startedBuild.build));
116
+ log_1.default.newLine();
117
+ }
111
118
  const submissions = [];
112
119
  if (flags.autoSubmit) {
113
120
  const submitProfiles = await (0, profiles_1.getProfilesAsync)({
@@ -131,9 +138,14 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, vcsClient, proje
131
138
  startedBuild.build = await BuildQuery_1.BuildQuery.withSubmissionsByIdAsync(graphqlClient, startedBuild.build.id);
132
139
  submissions.push(submission);
133
140
  }
134
- log_1.default.newLine();
135
- (0, urls_1.printSubmissionDetailsUrls)(submissions);
136
- log_1.default.newLine();
141
+ if (!flags.localBuildOptions.localBuildMode) {
142
+ log_1.default.newLine();
143
+ (0, urls_1.printSubmissionDetailsUrls)(submissions);
144
+ log_1.default.newLine();
145
+ }
146
+ }
147
+ if (flags.localBuildOptions.localBuildMode) {
148
+ return;
137
149
  }
138
150
  if (!flags.wait) {
139
151
  if (flags.json) {
@@ -10,6 +10,8 @@ export default class BuildInternal extends EasCommand {
10
10
  static flags: {
11
11
  platform: import("@oclif/core/lib/interfaces").OptionFlag<string>;
12
12
  profile: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
13
+ 'auto-submit': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
14
+ 'auto-submit-with-profile': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
13
15
  };
14
16
  static contextDefinition: {
15
17
  vcsClient: import("../../commandUtils/context/VcsClientContextField").default;
@@ -18,6 +18,7 @@ const gitNoCommit_1 = tslib_1.__importDefault(require("../../vcs/clients/gitNoCo
18
18
  */
19
19
  class BuildInternal extends EasCommand_1.default {
20
20
  async runAsync() {
21
+ var _b;
21
22
  const { flags } = await this.parse(_a);
22
23
  // This command is always run with implicit --non-interactive and --json options
23
24
  (0, json_1.enableJsonOutput)();
@@ -33,10 +34,11 @@ class BuildInternal extends EasCommand_1.default {
33
34
  wait: false,
34
35
  clearCache: false,
35
36
  json: true,
36
- autoSubmit: false,
37
+ autoSubmit: flags['auto-submit'] || flags['auto-submit-with-profile'] !== undefined,
37
38
  localBuildOptions: {
38
39
  localBuildMode: local_1.LocalBuildMode.INTERNAL,
39
40
  },
41
+ submitProfile: (_b = flags['auto-submit-with-profile']) !== null && _b !== void 0 ? _b : flags.profile,
40
42
  }, actor, getDynamicPrivateProjectConfigAsync);
41
43
  }
42
44
  }
@@ -53,6 +55,16 @@ BuildInternal.flags = {
53
55
  description: 'Name of the build profile from eas.json. Defaults to "production" if defined in eas.json.',
54
56
  helpValue: 'PROFILE_NAME',
55
57
  }),
58
+ 'auto-submit': core_1.Flags.boolean({
59
+ default: false,
60
+ description: 'Submit on build complete using the submit profile with the same name as the build profile',
61
+ exclusive: ['auto-submit-with-profile'],
62
+ }),
63
+ 'auto-submit-with-profile': core_1.Flags.string({
64
+ description: 'Submit on build complete using the submit profile with provided name',
65
+ helpValue: 'PROFILE_NAME',
66
+ exclusive: ['auto-submit'],
67
+ }),
56
68
  };
57
69
  BuildInternal.contextDefinition = {
58
70
  ..._a.ContextOptions.LoggedIn,
@@ -19,6 +19,7 @@ export declare function isUsingEASUpdate(exp: ExpoConfig, projectId: string): bo
19
19
  export declare function validateAppVersionRuntimePolicySupportAsync(projectDir: string, exp: ExpoConfig): Promise<void>;
20
20
  export declare function enforceRollBackToEmbeddedUpdateSupportAsync(projectDir: string): Promise<void>;
21
21
  export declare function isClassicUpdatesSupportedAsync(projectDir: string): Promise<boolean>;
22
+ export declare function isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync(projectDir: string): Promise<boolean>;
22
23
  export declare function installExpoUpdatesAsync(projectDir: string, options?: {
23
24
  silent: boolean;
24
25
  }): Promise<void>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getDisplayNameForProjectIdAsync = exports.getOwnerAccountForProjectIdAsync = exports.installExpoUpdatesAsync = exports.isClassicUpdatesSupportedAsync = exports.enforceRollBackToEmbeddedUpdateSupportAsync = exports.validateAppVersionRuntimePolicySupportAsync = exports.isUsingEASUpdate = exports.isExpoUpdatesInstalledOrAvailable = exports.isExpoUpdatesInstalledAsDevDependency = exports.isExpoUpdatesInstalled = exports.getProjectConfigDescription = exports.toAppPrivacy = exports.getUsername = void 0;
3
+ exports.getDisplayNameForProjectIdAsync = exports.getOwnerAccountForProjectIdAsync = exports.installExpoUpdatesAsync = exports.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync = exports.isClassicUpdatesSupportedAsync = exports.enforceRollBackToEmbeddedUpdateSupportAsync = exports.validateAppVersionRuntimePolicySupportAsync = exports.isUsingEASUpdate = exports.isExpoUpdatesInstalledOrAvailable = exports.isExpoUpdatesInstalledAsDevDependency = exports.isExpoUpdatesInstalled = exports.getProjectConfigDescription = exports.toAppPrivacy = exports.getUsername = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const config_1 = require("@expo/config");
6
6
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
@@ -100,7 +100,9 @@ async function validateAppVersionRuntimePolicySupportAsync(projectDir, exp) {
100
100
  return;
101
101
  }
102
102
  const expoUpdatesPackageVersion = await getExpoUpdatesPackageVersionIfInstalledAsync(projectDir);
103
- if (expoUpdatesPackageVersion !== null && semver_1.default.gte(expoUpdatesPackageVersion, '0.14.4')) {
103
+ if (expoUpdatesPackageVersion !== null &&
104
+ (semver_1.default.gte(expoUpdatesPackageVersion, '0.14.4') ||
105
+ expoUpdatesPackageVersion.includes('canary'))) {
104
106
  return;
105
107
  }
106
108
  log_1.default.warn(`You need to be on SDK 46 or higher, and use expo-updates >= 0.14.4 to use appVersion runtime policy.`);
@@ -108,7 +110,9 @@ async function validateAppVersionRuntimePolicySupportAsync(projectDir, exp) {
108
110
  exports.validateAppVersionRuntimePolicySupportAsync = validateAppVersionRuntimePolicySupportAsync;
109
111
  async function enforceRollBackToEmbeddedUpdateSupportAsync(projectDir) {
110
112
  const expoUpdatesPackageVersion = await getExpoUpdatesPackageVersionIfInstalledAsync(projectDir);
111
- if (expoUpdatesPackageVersion !== null && semver_1.default.gte(expoUpdatesPackageVersion, '0.19.0')) {
113
+ if (expoUpdatesPackageVersion !== null &&
114
+ (semver_1.default.gte(expoUpdatesPackageVersion, '0.19.0') ||
115
+ expoUpdatesPackageVersion.includes('canary'))) {
112
116
  return;
113
117
  }
114
118
  throw new Error(`The expo-updates package must have a version >= 0.19.0 to use roll back to embedded, which corresponds to Expo SDK 50 or greater. ${(0, log_1.learnMore)('https://docs.expo.dev/workflow/upgrading-expo-sdk-walkthrough/')}`);
@@ -119,9 +123,24 @@ async function isClassicUpdatesSupportedAsync(projectDir) {
119
123
  if (expoUpdatesPackageVersion === null) {
120
124
  return false;
121
125
  }
126
+ if (expoUpdatesPackageVersion.includes('canary')) {
127
+ return false;
128
+ }
122
129
  return semver_1.default.lt(expoUpdatesPackageVersion, '0.19.0');
123
130
  }
124
131
  exports.isClassicUpdatesSupportedAsync = isClassicUpdatesSupportedAsync;
132
+ async function isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync(projectDir) {
133
+ const expoUpdatesPackageVersion = await getExpoUpdatesPackageVersionIfInstalledAsync(projectDir);
134
+ if (expoUpdatesPackageVersion === null) {
135
+ return false;
136
+ }
137
+ if (expoUpdatesPackageVersion.includes('canary')) {
138
+ return true;
139
+ }
140
+ // TODO(wschurman): add semver check once we know the SDK51 version of expo-updates that supports this
141
+ return false;
142
+ }
143
+ exports.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync = isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync;
125
144
  async function installExpoUpdatesAsync(projectDir, options) {
126
145
  log_1.default.log(chalk_1.default.gray `> npx expo install expo-updates`);
127
146
  try {
@@ -14,6 +14,7 @@ const mime_1 = tslib_1.__importDefault(require("mime"));
14
14
  const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
15
15
  const path_1 = tslib_1.__importDefault(require("path"));
16
16
  const promise_limit_1 = tslib_1.__importDefault(require("promise-limit"));
17
+ const projectUtils_1 = require("./projectUtils");
17
18
  const workflow_1 = require("./workflow");
18
19
  const queries_1 = require("../branch/queries");
19
20
  const utils_1 = require("../branch/utils");
@@ -483,23 +484,30 @@ async function getRuntimeVersionForPlatformAsync({ exp, platform, projectDir, vc
483
484
  if (platform === 'web') {
484
485
  return 'UNVERSIONED';
485
486
  }
486
- const runtimeVersion = (_b = (_a = exp[platform]) === null || _a === void 0 ? void 0 : _a.runtimeVersion) !== null && _b !== void 0 ? _b : exp.runtimeVersion;
487
- if (typeof runtimeVersion === 'object') {
488
- const policy = runtimeVersion.policy;
489
- if (policy === 'fingerprintExperimental') {
490
- // log to inform the user that the fingerprint has been calculated
491
- log_1.default.warn(`Calculating native fingerprint for platform ${platform} using current state of the "${platform}" directory. ` +
492
- `If the fingerprint differs from the build's fingerint, ensure the state of your project is consistent ` +
493
- `(repository is clean, ios and android native directories are in the same state as the build if applicable).`);
494
- const fingerprintRawString = await (0, expoUpdatesCli_1.expoUpdatesCommandAsync)(projectDir, [
495
- 'fingerprint:generate',
487
+ if (await (0, projectUtils_1.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync)(projectDir)) {
488
+ try {
489
+ const resolvedRuntimeVersionJSONResult = await (0, expoUpdatesCli_1.expoUpdatesCommandAsync)(projectDir, [
490
+ 'runtimeversion:resolve',
496
491
  '--platform',
497
492
  platform,
498
493
  ]);
499
- const fingerprintObject = JSON.parse(fingerprintRawString);
500
- const hash = (0, nullthrows_1.default)(fingerprintObject.hash, 'invalid response from expo-update CLI for fingerprint generation');
501
- return hash;
494
+ const runtimeVersionResult = JSON.parse(resolvedRuntimeVersionJSONResult);
495
+ if (runtimeVersionResult.fingerprintSources) {
496
+ log_1.default.debug(`Resolved fingeprint runtime version for platform "${platform}". Sources:`);
497
+ log_1.default.debug(runtimeVersionResult.fingerprintSources);
498
+ }
499
+ return (0, nullthrows_1.default)(runtimeVersionResult.runtimeVersion, `Unable to determine runtime version for ${platform_1.requestedPlatformDisplayNames[platform]}. ${(0, log_1.learnMore)('https://docs.expo.dev/eas-update/runtime-versions/')}`);
502
500
  }
501
+ catch (e) {
502
+ // if it's a known set of errors thrown by the CLI it means that we need to default back to the
503
+ // previous behavior, otherwise we throw the error since something is wrong
504
+ if (!(e instanceof expoUpdatesCli_1.ExpoUpdatesCLIModuleNotFoundError)) {
505
+ throw e;
506
+ }
507
+ }
508
+ }
509
+ const runtimeVersion = (_b = (_a = exp[platform]) === null || _a === void 0 ? void 0 : _a.runtimeVersion) !== null && _b !== void 0 ? _b : exp.runtimeVersion;
510
+ if (typeof runtimeVersion === 'object') {
503
511
  const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, platform, vcsClient);
504
512
  if (workflow !== eas_build_job_1.Workflow.MANAGED) {
505
513
  throw new Error(`You're currently using the bare workflow, where runtime version policies are not supported. You must set your runtime version manually. For example, define your runtime version as "1.0.0", not {"policy": "appVersion"} in your app config. ${(0, log_1.learnMore)('https://docs.expo.dev/eas-update/runtime-versions')}`);
@@ -0,0 +1,6 @@
1
+ import { ExpoConfig } from '@expo/config';
2
+ export declare function resolveRuntimeVersionAsync({ exp, platform, projectDir, }: {
3
+ exp: ExpoConfig;
4
+ platform: 'ios' | 'android';
5
+ projectDir: string;
6
+ }): Promise<string | null>;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveRuntimeVersionAsync = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const config_plugins_1 = require("@expo/config-plugins");
6
+ const projectUtils_1 = require("./projectUtils");
7
+ const log_1 = tslib_1.__importDefault(require("../log"));
8
+ const expoUpdatesCli_1 = require("../utils/expoUpdatesCli");
9
+ async function resolveRuntimeVersionAsync({ exp, platform, projectDir, }) {
10
+ var _a;
11
+ if (!(await (0, projectUtils_1.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync)(projectDir))) {
12
+ // fall back to the previous behavior (using the @expo/config-plugins eas-cli dependency rather
13
+ // than the versioned @expo/config-plugins dependency in the project)
14
+ return await config_plugins_1.Updates.getRuntimeVersionNullableAsync(projectDir, exp, platform);
15
+ }
16
+ try {
17
+ const resolvedRuntimeVersionJSONResult = await (0, expoUpdatesCli_1.expoUpdatesCommandAsync)(projectDir, [
18
+ 'runtimeversion:resolve',
19
+ '--platform',
20
+ platform,
21
+ ]);
22
+ const runtimeVersionResult = JSON.parse(resolvedRuntimeVersionJSONResult);
23
+ if (runtimeVersionResult.fingerprintSources) {
24
+ log_1.default.debug(`Resolved fingeprint runtime version for platform "${platform}". Sources:`);
25
+ log_1.default.debug(runtimeVersionResult.fingerprintSources);
26
+ }
27
+ return (_a = runtimeVersionResult.runtimeVersion) !== null && _a !== void 0 ? _a : null;
28
+ }
29
+ catch (e) {
30
+ // if expo-updates is not installed, there's no need for a runtime version in the build
31
+ if (e instanceof expoUpdatesCli_1.ExpoUpdatesCLIModuleNotFoundError) {
32
+ return null;
33
+ }
34
+ throw e;
35
+ }
36
+ }
37
+ exports.resolveRuntimeVersionAsync = resolveRuntimeVersionAsync;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateRollout = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const config_plugins_1 = require("@expo/config-plugins");
6
5
  const assert_1 = tslib_1.__importDefault(require("assert"));
7
6
  const SelectRuntime_1 = require("./SelectRuntime");
8
7
  const SelectBranch_1 = require("../../branch/actions/SelectBranch");
@@ -13,6 +12,7 @@ const BranchQuery_1 = require("../../graphql/queries/BranchQuery");
13
12
  const ChannelQuery_1 = require("../../graphql/queries/ChannelQuery");
14
13
  const UpdateQuery_1 = require("../../graphql/queries/UpdateQuery");
15
14
  const log_1 = tslib_1.__importDefault(require("../../log"));
15
+ const resolveRuntimeVersionAsync_1 = require("../../project/resolveRuntimeVersionAsync");
16
16
  const prompts_1 = require("../../prompts");
17
17
  const filter_1 = require("../../utils/expodash/filter");
18
18
  const branch_mapping_2 = require("../branch-mapping");
@@ -183,7 +183,7 @@ class CreateRollout {
183
183
  }
184
184
  async selectRuntimeVersionFromProjectConfigAsync(ctx) {
185
185
  const platforms = ['ios', 'android'];
186
- const runtimes = (await Promise.all(platforms.map(platform => config_plugins_1.Updates.getRuntimeVersionAsync(ctx.app.projectDir, ctx.app.exp, platform)))).filter(filter_1.truthy);
186
+ const runtimes = (await Promise.all(platforms.map(platform => (0, resolveRuntimeVersionAsync_1.resolveRuntimeVersionAsync)({ projectDir: ctx.app.projectDir, exp: ctx.app.exp, platform })))).filter(filter_1.truthy);
187
187
  const dedupedRuntimes = [...new Set(runtimes)];
188
188
  if (dedupedRuntimes.length === 0) {
189
189
  throw new Error(`Your project config doesn't specify a runtime. Ensure your project is configured correctly for EAS Update by running \`eas update:configure\``);
@@ -3,12 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.readChannelSafelyAsync = exports.readReleaseChannelSafelyAsync = exports.syncUpdatesConfigurationAsync = void 0;
4
4
  const config_plugins_1 = require("@expo/config-plugins");
5
5
  const platform_1 = require("../../platform");
6
+ const projectUtils_1 = require("../../project/projectUtils");
7
+ const expoUpdatesCli_1 = require("../../utils/expoUpdatesCli");
6
8
  const utils_1 = require("../utils");
7
9
  /**
8
10
  * Synchronize updates configuration to native files. This needs to do essentially the same thing as `withUpdates`
9
11
  */
10
12
  async function syncUpdatesConfigurationAsync(projectDir, exp) {
11
13
  (0, utils_1.ensureValidVersions)(exp, platform_1.RequestedPlatform.Android);
14
+ if (await (0, projectUtils_1.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync)(projectDir)) {
15
+ await (0, expoUpdatesCli_1.expoUpdatesCommandAsync)(projectDir, [
16
+ 'configuration:syncnative',
17
+ '--platform',
18
+ 'android',
19
+ ]);
20
+ return;
21
+ }
12
22
  // sync AndroidManifest.xml
13
23
  const androidManifestPath = await config_plugins_1.AndroidConfig.Paths.getAndroidManifestAsync(projectDir);
14
24
  const androidManifest = await getAndroidManifestAsync(projectDir);
@@ -19,6 +29,7 @@ async function syncUpdatesConfigurationAsync(projectDir, exp) {
19
29
  const stringsResourceXML = await config_plugins_1.AndroidConfig.Resources.readResourcesXMLAsync({
20
30
  path: stringsJSONPath,
21
31
  });
32
+ // TODO(wschurman): this dependency needs to be updated for fingerprint
22
33
  const updatedStringsResourceXML = await config_plugins_1.AndroidConfig.Updates.applyRuntimeVersionFromConfigForProjectRootAsync(projectDir, exp, stringsResourceXML);
23
34
  await config_plugins_1.XML.writeXMLAsync({ path: stringsJSONPath, xml: updatedStringsResourceXML });
24
35
  }
@@ -160,7 +160,7 @@ function logEasUpdatesAutoConfig({ modifyConfig, exp, }) {
160
160
  function warnEASUpdatesManualConfig({ modifyConfig, workflows, }) {
161
161
  log_1.default.addNewLineIfNone();
162
162
  log_1.default.warn(`It looks like you are using a dynamic configuration! ${(0, log_1.learnMore)('https://docs.expo.dev/workflow/configuration/#dynamic-configuration-with-appconfigjs)')}`);
163
- log_1.default.warn(`Finish configuring EAS Update by adding the following to the project app.config.js:\n${(0, log_1.learnMore)('https://expo.fyi/eas-update-config')}\n`);
163
+ log_1.default.warn(`Add the following EAS Update key-values to the project app.config.js:\n${(0, log_1.learnMore)('https://expo.fyi/eas-update-config')}\n`);
164
164
  log_1.default.log(chalk_1.default.bold(JSON.stringify(replaceUndefinedObjectValues(modifyConfig, '<remove this key>'), null, 2)));
165
165
  log_1.default.addNewLineIfNone();
166
166
  if (workflows.android === eas_build_job_1.Workflow.GENERIC || workflows.ios === eas_build_job_1.Workflow.GENERIC) {
@@ -3,11 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.readChannelSafelyAsync = exports.readReleaseChannelSafelyAsync = exports.syncUpdatesConfigurationAsync = void 0;
4
4
  const config_plugins_1 = require("@expo/config-plugins");
5
5
  const platform_1 = require("../../platform");
6
+ const projectUtils_1 = require("../../project/projectUtils");
7
+ const expoUpdatesCli_1 = require("../../utils/expoUpdatesCli");
6
8
  const plist_1 = require("../../utils/plist");
7
9
  const utils_1 = require("../utils");
8
10
  async function syncUpdatesConfigurationAsync(vcsClient, projectDir, exp) {
9
11
  (0, utils_1.ensureValidVersions)(exp, platform_1.RequestedPlatform.Ios);
12
+ if (await (0, projectUtils_1.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync)(projectDir)) {
13
+ await (0, expoUpdatesCli_1.expoUpdatesCommandAsync)(projectDir, ['configuration:syncnative', '--platform', 'ios']);
14
+ return;
15
+ }
10
16
  const expoPlist = await readExpoPlistAsync(projectDir);
17
+ // TODO(wschurman): this dependency needs to be updated for fingerprint
11
18
  const updatedExpoPlist = await config_plugins_1.IOSConfig.Updates.setUpdatesConfigAsync(projectDir, exp, expoPlist);
12
19
  await writeExpoPlistAsync(vcsClient, projectDir, updatedExpoPlist);
13
20
  }
@@ -1 +1,5 @@
1
+ export declare class ExpoUpdatesCLIModuleNotFoundError extends Error {
2
+ }
3
+ export declare class ExpoUpdatesCLIInvalidCommandError extends Error {
4
+ }
1
5
  export declare function expoUpdatesCommandAsync(projectDir: string, args: string[]): Promise<string>;
@@ -1,11 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.expoUpdatesCommandAsync = void 0;
3
+ exports.expoUpdatesCommandAsync = exports.ExpoUpdatesCLIInvalidCommandError = exports.ExpoUpdatesCLIModuleNotFoundError = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
6
- const chalk_1 = tslib_1.__importDefault(require("chalk"));
7
6
  const resolve_from_1 = tslib_1.__importStar(require("resolve-from"));
8
- const log_1 = tslib_1.__importStar(require("../log"));
7
+ const log_1 = require("../log");
8
+ class ExpoUpdatesCLIModuleNotFoundError extends Error {
9
+ }
10
+ exports.ExpoUpdatesCLIModuleNotFoundError = ExpoUpdatesCLIModuleNotFoundError;
11
+ class ExpoUpdatesCLIInvalidCommandError extends Error {
12
+ }
13
+ exports.ExpoUpdatesCLIInvalidCommandError = ExpoUpdatesCLIInvalidCommandError;
9
14
  async function expoUpdatesCommandAsync(projectDir, args) {
10
15
  var _a;
11
16
  let expoUpdatesCli;
@@ -15,23 +20,18 @@ async function expoUpdatesCommandAsync(projectDir, args) {
15
20
  }
16
21
  catch (e) {
17
22
  if (e.code === 'MODULE_NOT_FOUND') {
18
- throw new Error(`The \`expo-updates\` package was not found. Follow the installation directions at ${(0, log_1.link)('https://docs.expo.dev/bare/installing-expo-modules/')}`);
23
+ throw new ExpoUpdatesCLIModuleNotFoundError(`The \`expo-updates\` package was not found. Follow the installation directions at ${(0, log_1.link)('https://docs.expo.dev/bare/installing-expo-modules/')}`);
19
24
  }
20
25
  throw e;
21
26
  }
22
- const spawnPromise = (0, spawn_async_1.default)(expoUpdatesCli, args, {
23
- stdio: ['inherit', 'pipe', 'pipe'], // inherit stdin so user can install a missing expo-cli from inside this command
24
- });
25
- const { child: { stderr }, } = spawnPromise;
26
- if (!stderr) {
27
- throw new Error('Failed to spawn expo-updates cli');
27
+ try {
28
+ return (await (0, spawn_async_1.default)(expoUpdatesCli, args)).stdout;
28
29
  }
29
- stderr.on('data', data => {
30
- for (const line of data.toString().trim().split('\n')) {
31
- log_1.default.warn(`${chalk_1.default.gray('[expo-cli]')} ${line}`);
30
+ catch (e) {
31
+ if (e.stderr && typeof e.stderr === 'string' && e.stderr.includes('Invalid command')) {
32
+ throw new ExpoUpdatesCLIInvalidCommandError(`The command specified by ${args} was not valid in the \`expo-updates\` CLI.`);
32
33
  }
33
- });
34
- const result = await spawnPromise;
35
- return result.stdout;
34
+ throw e;
35
+ }
36
36
  }
37
37
  exports.expoUpdatesCommandAsync = expoUpdatesCommandAsync;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.3.0",
2
+ "version": "7.5.0",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
@@ -884,6 +884,25 @@
884
884
  "description": "Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.",
885
885
  "helpValue": "PROFILE_NAME",
886
886
  "multiple": false
887
+ },
888
+ "auto-submit": {
889
+ "name": "auto-submit",
890
+ "type": "boolean",
891
+ "description": "Submit on build complete using the submit profile with the same name as the build profile",
892
+ "allowNo": false,
893
+ "exclusive": [
894
+ "auto-submit-with-profile"
895
+ ]
896
+ },
897
+ "auto-submit-with-profile": {
898
+ "name": "auto-submit-with-profile",
899
+ "type": "option",
900
+ "description": "Submit on build complete using the submit profile with provided name",
901
+ "helpValue": "PROFILE_NAME",
902
+ "multiple": false,
903
+ "exclusive": [
904
+ "auto-submit"
905
+ ]
887
906
  }
888
907
  },
889
908
  "args": {},
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "7.3.0",
4
+ "version": "7.5.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
8
8
  },
9
9
  "bugs": "https://github.com/expo/eas-cli/issues",
10
10
  "dependencies": {
11
- "@expo/apple-utils": "1.4.0",
11
+ "@expo/apple-utils": "1.5.0",
12
12
  "@expo/code-signing-certificates": "0.0.5",
13
13
  "@expo/config": "8.5.4",
14
14
  "@expo/config-plugins": "7.8.4",
15
15
  "@expo/config-types": "50.0.0",
16
- "@expo/eas-build-job": "1.0.71",
17
- "@expo/eas-json": "7.3.0",
16
+ "@expo/eas-build-job": "1.0.83",
17
+ "@expo/eas-json": "7.5.0",
18
18
  "@expo/json-file": "8.2.37",
19
19
  "@expo/multipart-body-parser": "1.1.0",
20
20
  "@expo/osascript": "2.0.33",
@@ -27,7 +27,7 @@
27
27
  "@expo/results": "1.0.0",
28
28
  "@expo/rudder-sdk-node": "1.1.1",
29
29
  "@expo/spawn-async": "1.7.0",
30
- "@expo/steps": "1.0.70",
30
+ "@expo/steps": "1.0.83",
31
31
  "@expo/timeago.js": "1.0.0",
32
32
  "@oclif/core": "^1.26.2",
33
33
  "@oclif/plugin-autocomplete": "^2.3.10",
@@ -222,5 +222,5 @@
222
222
  "node": "20.11.0",
223
223
  "yarn": "1.22.21"
224
224
  },
225
- "gitHead": "a074ce0cffabae81f5a313df393ba2d80086e4f9"
225
+ "gitHead": "b6acbf05d855a73395d47041f62f9a7ea269a2bf"
226
226
  }