eas-cli 11.0.2 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -143,7 +143,7 @@ ALIASES
143
143
  $ eas login
144
144
  ```
145
145
 
146
- _See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/account/login.ts)_
146
+ _See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/account/login.ts)_
147
147
 
148
148
  ## `eas account:logout`
149
149
 
@@ -160,7 +160,7 @@ ALIASES
160
160
  $ eas logout
161
161
  ```
162
162
 
163
- _See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/account/logout.ts)_
163
+ _See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/account/logout.ts)_
164
164
 
165
165
  ## `eas account:view`
166
166
 
@@ -177,7 +177,7 @@ ALIASES
177
177
  $ eas whoami
178
178
  ```
179
179
 
180
- _See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/account/view.ts)_
180
+ _See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/account/view.ts)_
181
181
 
182
182
  ## `eas analytics [STATUS]`
183
183
 
@@ -191,7 +191,7 @@ DESCRIPTION
191
191
  display or change analytics settings
192
192
  ```
193
193
 
194
- _See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/analytics.ts)_
194
+ _See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/analytics.ts)_
195
195
 
196
196
  ## `eas autocomplete [SHELL]`
197
197
 
@@ -243,7 +243,7 @@ DESCRIPTION
243
243
  create a branch
244
244
  ```
245
245
 
246
- _See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/branch/create.ts)_
246
+ _See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/branch/create.ts)_
247
247
 
248
248
  ## `eas branch:delete [NAME]`
249
249
 
@@ -264,7 +264,7 @@ DESCRIPTION
264
264
  delete a branch
265
265
  ```
266
266
 
267
- _See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/branch/delete.ts)_
267
+ _See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/branch/delete.ts)_
268
268
 
269
269
  ## `eas branch:list`
270
270
 
@@ -284,7 +284,7 @@ DESCRIPTION
284
284
  list all branches
285
285
  ```
286
286
 
287
- _See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/branch/list.ts)_
287
+ _See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/branch/list.ts)_
288
288
 
289
289
  ## `eas branch:rename`
290
290
 
@@ -304,7 +304,7 @@ DESCRIPTION
304
304
  rename a branch
305
305
  ```
306
306
 
307
- _See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/branch/rename.ts)_
307
+ _See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/branch/rename.ts)_
308
308
 
309
309
  ## `eas branch:view [NAME]`
310
310
 
@@ -327,7 +327,7 @@ DESCRIPTION
327
327
  view a branch
328
328
  ```
329
329
 
330
- _See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/branch/view.ts)_
330
+ _See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/branch/view.ts)_
331
331
 
332
332
  ## `eas build`
333
333
 
@@ -364,7 +364,7 @@ DESCRIPTION
364
364
  start a build
365
365
  ```
366
366
 
367
- _See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/index.ts)_
367
+ _See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/index.ts)_
368
368
 
369
369
  ## `eas build:cancel [BUILD_ID]`
370
370
 
@@ -383,7 +383,7 @@ DESCRIPTION
383
383
  cancel a build
384
384
  ```
385
385
 
386
- _See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/cancel.ts)_
386
+ _See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/cancel.ts)_
387
387
 
388
388
  ## `eas build:configure`
389
389
 
@@ -400,7 +400,7 @@ DESCRIPTION
400
400
  configure the project to support EAS Build
401
401
  ```
402
402
 
403
- _See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/configure.ts)_
403
+ _See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/configure.ts)_
404
404
 
405
405
  ## `eas build:delete [BUILD_ID]`
406
406
 
@@ -419,7 +419,7 @@ DESCRIPTION
419
419
  delete a build
420
420
  ```
421
421
 
422
- _See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/delete.ts)_
422
+ _See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/delete.ts)_
423
423
 
424
424
  ## `eas build:inspect`
425
425
 
@@ -454,7 +454,7 @@ DESCRIPTION
454
454
  inspect the state of the project at specific build stages, useful for troubleshooting
455
455
  ```
456
456
 
457
- _See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/inspect.ts)_
457
+ _See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/inspect.ts)_
458
458
 
459
459
  ## `eas build:list`
460
460
 
@@ -504,7 +504,7 @@ DESCRIPTION
504
504
  list all builds for your project
505
505
  ```
506
506
 
507
- _See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/list.ts)_
507
+ _See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/list.ts)_
508
508
 
509
509
  ## `eas build:resign`
510
510
 
@@ -533,7 +533,7 @@ DESCRIPTION
533
533
  re-sign a build archive
534
534
  ```
535
535
 
536
- _See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/resign.ts)_
536
+ _See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/resign.ts)_
537
537
 
538
538
  ## `eas build:run`
539
539
 
@@ -559,7 +559,7 @@ DESCRIPTION
559
559
  run simulator/emulator builds from eas-cli
560
560
  ```
561
561
 
562
- _See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/run.ts)_
562
+ _See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/run.ts)_
563
563
 
564
564
  ## `eas build:submit`
565
565
 
@@ -609,7 +609,7 @@ DESCRIPTION
609
609
  get the latest version from EAS servers
610
610
  ```
611
611
 
612
- _See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/version/get.ts)_
612
+ _See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/version/get.ts)_
613
613
 
614
614
  ## `eas build:version:set`
615
615
 
@@ -628,7 +628,7 @@ DESCRIPTION
628
628
  update version of an app
629
629
  ```
630
630
 
631
- _See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/version/set.ts)_
631
+ _See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/version/set.ts)_
632
632
 
633
633
  ## `eas build:version:sync`
634
634
 
@@ -647,7 +647,7 @@ DESCRIPTION
647
647
  update a version in native code with a value stored on EAS servers
648
648
  ```
649
649
 
650
- _See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/version/sync.ts)_
650
+ _See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/version/sync.ts)_
651
651
 
652
652
  ## `eas build:view [BUILD_ID]`
653
653
 
@@ -664,7 +664,7 @@ DESCRIPTION
664
664
  view a build for your project
665
665
  ```
666
666
 
667
- _See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/build/view.ts)_
667
+ _See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/build/view.ts)_
668
668
 
669
669
  ## `eas channel:create [NAME]`
670
670
 
@@ -685,7 +685,7 @@ DESCRIPTION
685
685
  create a channel
686
686
  ```
687
687
 
688
- _See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/channel/create.ts)_
688
+ _See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/channel/create.ts)_
689
689
 
690
690
  ## `eas channel:edit [NAME]`
691
691
 
@@ -707,7 +707,7 @@ DESCRIPTION
707
707
  point a channel at a new branch
708
708
  ```
709
709
 
710
- _See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/channel/edit.ts)_
710
+ _See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/channel/edit.ts)_
711
711
 
712
712
  ## `eas channel:list`
713
713
 
@@ -727,7 +727,7 @@ DESCRIPTION
727
727
  list all channels
728
728
  ```
729
729
 
730
- _See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/channel/list.ts)_
730
+ _See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/channel/list.ts)_
731
731
 
732
732
  ## `eas channel:rollout [CHANNEL]`
733
733
 
@@ -760,7 +760,7 @@ DESCRIPTION
760
760
  Roll a new branch out on a channel incrementally.
761
761
  ```
762
762
 
763
- _See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/channel/rollout.ts)_
763
+ _See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/channel/rollout.ts)_
764
764
 
765
765
  ## `eas channel:view [NAME]`
766
766
 
@@ -783,7 +783,7 @@ DESCRIPTION
783
783
  view a channel
784
784
  ```
785
785
 
786
- _See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/channel/view.ts)_
786
+ _See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/channel/view.ts)_
787
787
 
788
788
  ## `eas config`
789
789
 
@@ -804,7 +804,7 @@ DESCRIPTION
804
804
  display project configuration (app.json + eas.json)
805
805
  ```
806
806
 
807
- _See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/config.ts)_
807
+ _See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/config.ts)_
808
808
 
809
809
  ## `eas credentials`
810
810
 
@@ -821,7 +821,7 @@ DESCRIPTION
821
821
  manage credentials
822
822
  ```
823
823
 
824
- _See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/credentials/index.ts)_
824
+ _See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/credentials/index.ts)_
825
825
 
826
826
  ## `eas credentials:configure-build`
827
827
 
@@ -839,7 +839,7 @@ DESCRIPTION
839
839
  Set up credentials for building your project.
840
840
  ```
841
841
 
842
- _See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/credentials/configure-build.ts)_
842
+ _See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/credentials/configure-build.ts)_
843
843
 
844
844
  ## `eas device:create`
845
845
 
@@ -853,7 +853,7 @@ DESCRIPTION
853
853
  register new Apple Devices to use for internal distribution
854
854
  ```
855
855
 
856
- _See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/device/create.ts)_
856
+ _See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/device/create.ts)_
857
857
 
858
858
  ## `eas device:delete`
859
859
 
@@ -873,7 +873,7 @@ DESCRIPTION
873
873
  remove a registered device from your account
874
874
  ```
875
875
 
876
- _See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/device/delete.ts)_
876
+ _See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/device/delete.ts)_
877
877
 
878
878
  ## `eas device:list`
879
879
 
@@ -894,7 +894,7 @@ DESCRIPTION
894
894
  list all registered devices for your account
895
895
  ```
896
896
 
897
- _See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/device/list.ts)_
897
+ _See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/device/list.ts)_
898
898
 
899
899
  ## `eas device:rename`
900
900
 
@@ -915,7 +915,7 @@ DESCRIPTION
915
915
  rename a registered device
916
916
  ```
917
917
 
918
- _See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/device/rename.ts)_
918
+ _See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/device/rename.ts)_
919
919
 
920
920
  ## `eas device:view [UDID]`
921
921
 
@@ -929,7 +929,7 @@ DESCRIPTION
929
929
  view a device for your project
930
930
  ```
931
931
 
932
- _See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/device/view.ts)_
932
+ _See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/device/view.ts)_
933
933
 
934
934
  ## `eas diagnostics`
935
935
 
@@ -943,7 +943,7 @@ DESCRIPTION
943
943
  display environment info
944
944
  ```
945
945
 
946
- _See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/diagnostics.ts)_
946
+ _See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/diagnostics.ts)_
947
947
 
948
948
  ## `eas help [COMMAND]`
949
949
 
@@ -1050,7 +1050,7 @@ DESCRIPTION
1050
1050
  validate the local store configuration
1051
1051
  ```
1052
1052
 
1053
- _See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/metadata/lint.ts)_
1053
+ _See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/metadata/lint.ts)_
1054
1054
 
1055
1055
  ## `eas metadata:pull`
1056
1056
 
@@ -1067,7 +1067,7 @@ DESCRIPTION
1067
1067
  generate the local store configuration from the app stores
1068
1068
  ```
1069
1069
 
1070
- _See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/metadata/pull.ts)_
1070
+ _See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/metadata/pull.ts)_
1071
1071
 
1072
1072
  ## `eas metadata:push`
1073
1073
 
@@ -1084,7 +1084,7 @@ DESCRIPTION
1084
1084
  sync the local store configuration to the app stores
1085
1085
  ```
1086
1086
 
1087
- _See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/metadata/push.ts)_
1087
+ _See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/metadata/push.ts)_
1088
1088
 
1089
1089
  ## `eas onboarding [TARGET_PROJECT_DIRECTORY]`
1090
1090
 
@@ -1114,7 +1114,7 @@ DESCRIPTION
1114
1114
  open the project page in a web browser
1115
1115
  ```
1116
1116
 
1117
- _See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/open.ts)_
1117
+ _See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/open.ts)_
1118
1118
 
1119
1119
  ## `eas project:info`
1120
1120
 
@@ -1128,7 +1128,7 @@ DESCRIPTION
1128
1128
  information about the current project
1129
1129
  ```
1130
1130
 
1131
- _See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/project/info.ts)_
1131
+ _See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/project/info.ts)_
1132
1132
 
1133
1133
  ## `eas project:init`
1134
1134
 
@@ -1150,7 +1150,7 @@ ALIASES
1150
1150
  $ eas init
1151
1151
  ```
1152
1152
 
1153
- _See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/project/init.ts)_
1153
+ _See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/project/init.ts)_
1154
1154
 
1155
1155
  ## `eas project:onboarding [TARGET_PROJECT_DIRECTORY]`
1156
1156
 
@@ -1168,7 +1168,7 @@ ALIASES
1168
1168
  $ eas onboarding
1169
1169
  ```
1170
1170
 
1171
- _See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/project/onboarding.ts)_
1171
+ _See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/project/onboarding.ts)_
1172
1172
 
1173
1173
  ## `eas secret:create`
1174
1174
 
@@ -1191,7 +1191,7 @@ DESCRIPTION
1191
1191
  create an environment secret on the current project or owner account
1192
1192
  ```
1193
1193
 
1194
- _See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/secret/create.ts)_
1194
+ _See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/secret/create.ts)_
1195
1195
 
1196
1196
  ## `eas secret:delete`
1197
1197
 
@@ -1209,7 +1209,7 @@ DESCRIPTION
1209
1209
  delete an environment secret by ID
1210
1210
  ```
1211
1211
 
1212
- _See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/secret/delete.ts)_
1212
+ _See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/secret/delete.ts)_
1213
1213
 
1214
1214
  ## `eas secret:list`
1215
1215
 
@@ -1223,7 +1223,7 @@ DESCRIPTION
1223
1223
  list environment secrets available for your current app
1224
1224
  ```
1225
1225
 
1226
- _See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/secret/list.ts)_
1226
+ _See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/secret/list.ts)_
1227
1227
 
1228
1228
  ## `eas secret:push`
1229
1229
 
@@ -1243,7 +1243,7 @@ DESCRIPTION
1243
1243
  read environment secrets from env file and store on the server
1244
1244
  ```
1245
1245
 
1246
- _See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/secret/push.ts)_
1246
+ _See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/secret/push.ts)_
1247
1247
 
1248
1248
  ## `eas submit`
1249
1249
 
@@ -1274,7 +1274,7 @@ ALIASES
1274
1274
  $ eas build:submit
1275
1275
  ```
1276
1276
 
1277
- _See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/submit.ts)_
1277
+ _See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/submit.ts)_
1278
1278
 
1279
1279
  ## `eas update`
1280
1280
 
@@ -1308,7 +1308,7 @@ DESCRIPTION
1308
1308
  publish an update group
1309
1309
  ```
1310
1310
 
1311
- _See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/update/index.ts)_
1311
+ _See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/update/index.ts)_
1312
1312
 
1313
1313
  ## `eas update:configure`
1314
1314
 
@@ -1326,7 +1326,7 @@ DESCRIPTION
1326
1326
  configure the project to support EAS Update
1327
1327
  ```
1328
1328
 
1329
- _See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/update/configure.ts)_
1329
+ _See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/update/configure.ts)_
1330
1330
 
1331
1331
  ## `eas update:delete GROUPID`
1332
1332
 
@@ -1347,7 +1347,7 @@ DESCRIPTION
1347
1347
  delete all the updates in an update group
1348
1348
  ```
1349
1349
 
1350
- _See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/update/delete.ts)_
1350
+ _See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/update/delete.ts)_
1351
1351
 
1352
1352
  ## `eas update:list`
1353
1353
 
@@ -1369,7 +1369,7 @@ DESCRIPTION
1369
1369
  view the recent updates
1370
1370
  ```
1371
1371
 
1372
- _See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/update/list.ts)_
1372
+ _See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/update/list.ts)_
1373
1373
 
1374
1374
  ## `eas update:republish`
1375
1375
 
@@ -1397,7 +1397,7 @@ DESCRIPTION
1397
1397
  roll back to an existing update
1398
1398
  ```
1399
1399
 
1400
- _See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/update/republish.ts)_
1400
+ _See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/update/republish.ts)_
1401
1401
 
1402
1402
  ## `eas update:roll-back-to-embedded`
1403
1403
 
@@ -1425,7 +1425,7 @@ DESCRIPTION
1425
1425
  roll back to the embedded update
1426
1426
  ```
1427
1427
 
1428
- _See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
1428
+ _See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
1429
1429
 
1430
1430
  ## `eas update:rollback`
1431
1431
 
@@ -1445,7 +1445,7 @@ DESCRIPTION
1445
1445
  roll back to an embedded update or an existing update
1446
1446
  ```
1447
1447
 
1448
- _See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/update/rollback.ts)_
1448
+ _See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/update/rollback.ts)_
1449
1449
 
1450
1450
  ## `eas update:view GROUPID`
1451
1451
 
@@ -1465,7 +1465,7 @@ DESCRIPTION
1465
1465
  update group details
1466
1466
  ```
1467
1467
 
1468
- _See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/update/view.ts)_
1468
+ _See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/update/view.ts)_
1469
1469
 
1470
1470
  ## `eas webhook:create`
1471
1471
 
@@ -1486,7 +1486,7 @@ DESCRIPTION
1486
1486
  create a webhook
1487
1487
  ```
1488
1488
 
1489
- _See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/webhook/create.ts)_
1489
+ _See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/webhook/create.ts)_
1490
1490
 
1491
1491
  ## `eas webhook:delete [ID]`
1492
1492
 
@@ -1506,7 +1506,7 @@ DESCRIPTION
1506
1506
  delete a webhook
1507
1507
  ```
1508
1508
 
1509
- _See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/webhook/delete.ts)_
1509
+ _See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1510
1510
 
1511
1511
  ## `eas webhook:list`
1512
1512
 
@@ -1524,7 +1524,7 @@ DESCRIPTION
1524
1524
  list webhooks
1525
1525
  ```
1526
1526
 
1527
- _See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/webhook/list.ts)_
1527
+ _See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/webhook/list.ts)_
1528
1528
 
1529
1529
  ## `eas webhook:update`
1530
1530
 
@@ -1546,7 +1546,7 @@ DESCRIPTION
1546
1546
  update a webhook
1547
1547
  ```
1548
1548
 
1549
- _See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/webhook/update.ts)_
1549
+ _See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/webhook/update.ts)_
1550
1550
 
1551
1551
  ## `eas webhook:view ID`
1552
1552
 
@@ -1563,7 +1563,7 @@ DESCRIPTION
1563
1563
  view a webhook
1564
1564
  ```
1565
1565
 
1566
- _See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v11.0.2/packages/eas-cli/src/commands/webhook/view.ts)_
1566
+ _See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v12.0.0/packages/eas-cli/src/commands/webhook/view.ts)_
1567
1567
 
1568
1568
  ## `eas whoami`
1569
1569
 
@@ -40,6 +40,7 @@ async function configureAsync({ projectDir, nonInteractive, vcsClient, }) {
40
40
  const EAS_JSON_DEFAULT = {
41
41
  cli: {
42
42
  version: `>= ${easCli_1.easCliVersion}`,
43
+ appVersionSource: eas_json_1.AppVersionSource.REMOTE,
43
44
  },
44
45
  build: {
45
46
  development: {
@@ -49,7 +50,9 @@ const EAS_JSON_DEFAULT = {
49
50
  preview: {
50
51
  distribution: 'internal',
51
52
  },
52
- production: {},
53
+ production: {
54
+ autoIncrement: true,
55
+ },
53
56
  },
54
57
  submit: {
55
58
  production: {},
@@ -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.131';
9
+ const PLUGIN_PACKAGE_VERSION = '1.0.135';
10
10
  var LocalBuildMode;
11
11
  (function (LocalBuildMode) {
12
12
  /**
@@ -83,7 +83,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, vcsClient, proje
83
83
  });
84
84
  const customBuildConfigMetadataByPlatform = {};
85
85
  for (const buildProfile of buildProfiles) {
86
- (0, remoteVersionSource_1.validateBuildProfileVersionSettings)(buildProfile, easJsonCliConfig);
86
+ await (0, remoteVersionSource_1.validateBuildProfileVersionSettingsAsync)(buildProfile, easJsonCliConfig, projectDir, flags);
87
87
  const maybeMetadata = await (0, customBuildConfig_1.validateCustomBuildConfigAsync)({
88
88
  projectDir,
89
89
  profile: buildProfile.profile,
@@ -265,6 +265,16 @@ async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildP
265
265
  }
266
266
  }
267
267
  await (0, projectUtils_1.validateAppVersionRuntimePolicySupportAsync)(buildCtx.projectDir, buildCtx.exp);
268
+ if (easJsonCliConfig?.appVersionSource === undefined &&
269
+ buildProfile.profile.autoIncrement !== 'version') {
270
+ if (buildProfile.profile.autoIncrement !== true) {
271
+ log_1.default.warn(`The field "cli.appVersionSource" is not set, but it will be required in the future. ${(0, log_1.learnMore)('https://docs.expo.dev/build-reference/app-versions/')}`);
272
+ }
273
+ else {
274
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
275
+ easJsonCliConfig = await (0, remoteVersionSource_1.ensureAppVersionSourceIsSetAsync)(easJsonAccessor, easJsonCliConfig, flags.nonInteractive);
276
+ }
277
+ }
268
278
  if (easJsonCliConfig?.appVersionSource === eas_json_1.AppVersionSource.REMOTE) {
269
279
  (0, remoteVersionSource_1.validateAppConfigForRemoteVersionSource)(buildCtx.exp, buildProfile.platform);
270
280
  }
@@ -1,3 +1,7 @@
1
+ import { ResourceClass } from '@expo/eas-json';
2
+ import { LoggerLevel } from '@expo/logger';
3
+ import { LocalBuildOptions } from './local';
4
+ import { RequestedPlatform } from '../platform';
1
5
  export declare enum BuildStatus {
2
6
  NEW = "new",
3
7
  IN_QUEUE = "in-queue",
@@ -13,3 +17,19 @@ export declare enum BuildDistributionType {
13
17
  /** @deprecated Use simulator flag instead */
14
18
  SIMULATOR = "simulator"
15
19
  }
20
+ export interface BuildFlags {
21
+ requestedPlatform: RequestedPlatform;
22
+ profile?: string;
23
+ nonInteractive: boolean;
24
+ wait: boolean;
25
+ clearCache: boolean;
26
+ json: boolean;
27
+ autoSubmit: boolean;
28
+ submitProfile?: string;
29
+ localBuildOptions: LocalBuildOptions;
30
+ resourceClass?: ResourceClass;
31
+ message?: string;
32
+ buildLoggerLevel?: LoggerLevel;
33
+ freezeCredentials: boolean;
34
+ repack: boolean;
35
+ }
@@ -3,6 +3,7 @@ var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const tslib_1 = require("tslib");
5
5
  const eas_build_job_1 = require("@expo/eas-build-job");
6
+ const eas_json_1 = require("@expo/eas-json");
6
7
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
7
8
  const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
8
9
  const path_1 = tslib_1.__importDefault(require("path"));
@@ -284,6 +285,7 @@ async function configureProjectFromBareDefaultExpoTemplateAsync({ app, vcsClient
284
285
  const easJson = {
285
286
  cli: {
286
287
  version: `>= ${easCli_1.easCliVersion}`,
288
+ appVersionSource: eas_json_1.AppVersionSource.REMOTE,
287
289
  },
288
290
  build: {
289
291
  development: {
@@ -304,6 +306,7 @@ async function configureProjectFromBareDefaultExpoTemplateAsync({ app, vcsClient
304
306
  },
305
307
  production: {
306
308
  channel: 'production',
309
+ autoIncrement: true,
307
310
  ...easBuildGitHubConfig,
308
311
  },
309
312
  },
@@ -635,6 +635,47 @@ exports.CapabilityMapping = [
635
635
  validateOptions: validateBooleanOptions,
636
636
  getOptions: getBooleanOptions,
637
637
  },
638
+ {
639
+ entitlement: 'com.apple.developer.journal.allow',
640
+ name: 'Journaling Suggestions',
641
+ capability: apple_utils_1.CapabilityType.JOURNALING_SUGGESTIONS,
642
+ validateOptions: createValidateStringArrayOptions(['suggestions']),
643
+ getOptions: getDefinedOptions,
644
+ },
645
+ {
646
+ entitlement: 'com.apple.developer.managed-app-distribution.install-ui',
647
+ name: 'Managed App Installation UI',
648
+ capability: apple_utils_1.CapabilityType.MANAGED_APP_INSTALLATION_UI,
649
+ validateOptions: createValidateStringArrayOptions(['managed-app']),
650
+ getOptions: getDefinedOptions,
651
+ },
652
+ {
653
+ entitlement: 'com.apple.developer.networking.slicing.appcategory',
654
+ name: '5G Network Slicing',
655
+ capability: apple_utils_1.CapabilityType.NETWORK_SLICING,
656
+ validateOptions: createValidateStringArrayOptions([
657
+ 'gaming-6014',
658
+ 'communication-9000',
659
+ 'streaming-9001',
660
+ ]),
661
+ getOptions: getDefinedOptions,
662
+ },
663
+ {
664
+ entitlement: 'com.apple.developer.networking.slicing.trafficcategory',
665
+ name: '5G Network Slicing',
666
+ capability: apple_utils_1.CapabilityType.NETWORK_SLICING,
667
+ validateOptions: createValidateStringArrayOptions([
668
+ 'defaultslice-1',
669
+ 'video-2',
670
+ 'background-3',
671
+ 'voice-4',
672
+ 'callsignaling-5',
673
+ 'responsivedata-6',
674
+ 'avstreaming-7',
675
+ 'responsiveav-8',
676
+ ]),
677
+ getOptions: getDefinedOptions,
678
+ },
638
679
  // VMNET
639
680
  // These don't appear to have entitlements, so it's unclear how we can automatically enable / disable them at this time.
640
681
  // TODO: Maybe add a warning about manually enabling features?
@@ -1,10 +1,17 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
2
  import { Platform } from '@expo/eas-build-job';
3
3
  import { EasJson, EasJsonAccessor } from '@expo/eas-json';
4
+ import { BuildFlags } from '../build/types';
4
5
  import { ProfileData } from '../utils/profiles';
6
+ export declare enum AppVersionSourceUpdateOption {
7
+ SET_TO_REMOTE = 0,
8
+ SET_TO_LOCAL = 1,
9
+ ABORT = 2
10
+ }
5
11
  export declare function ensureVersionSourceIsRemoteAsync(easJsonAccessor: EasJsonAccessor, { nonInteractive }: {
6
12
  nonInteractive: boolean;
7
13
  }): Promise<void>;
8
- export declare function validateBuildProfileVersionSettings(profileInfo: ProfileData<'build'>, cliConfig: EasJson['cli']): void;
14
+ export declare function validateBuildProfileVersionSettingsAsync(profileInfo: ProfileData<'build'>, cliConfig: EasJson['cli'], projectDir: string, flags: BuildFlags): Promise<void>;
9
15
  export declare function validateAppConfigForRemoteVersionSource(exp: ExpoConfig, platform: Platform): void;
10
16
  export declare function getBuildVersionName(platform: Platform): string;
17
+ export declare function ensureAppVersionSourceIsSetAsync(easJsonAccessor: EasJsonAccessor, easJsonCliConfig: EasJson['cli'] | undefined, nonInteractive: boolean): Promise<EasJson['cli'] | undefined>;
@@ -1,14 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBuildVersionName = exports.validateAppConfigForRemoteVersionSource = exports.validateBuildProfileVersionSettings = exports.ensureVersionSourceIsRemoteAsync = void 0;
3
+ exports.ensureAppVersionSourceIsSetAsync = exports.getBuildVersionName = exports.validateAppConfigForRemoteVersionSource = exports.validateBuildProfileVersionSettingsAsync = exports.ensureVersionSourceIsRemoteAsync = exports.AppVersionSourceUpdateOption = 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
+ const core_1 = require("@oclif/core");
7
8
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
8
- const log_1 = tslib_1.__importDefault(require("../log"));
9
+ const log_1 = tslib_1.__importStar(require("../log"));
9
10
  const prompts_1 = require("../prompts");
11
+ var AppVersionSourceUpdateOption;
12
+ (function (AppVersionSourceUpdateOption) {
13
+ AppVersionSourceUpdateOption[AppVersionSourceUpdateOption["SET_TO_REMOTE"] = 0] = "SET_TO_REMOTE";
14
+ AppVersionSourceUpdateOption[AppVersionSourceUpdateOption["SET_TO_LOCAL"] = 1] = "SET_TO_LOCAL";
15
+ AppVersionSourceUpdateOption[AppVersionSourceUpdateOption["ABORT"] = 2] = "ABORT";
16
+ })(AppVersionSourceUpdateOption || (exports.AppVersionSourceUpdateOption = AppVersionSourceUpdateOption = {}));
10
17
  async function ensureVersionSourceIsRemoteAsync(easJsonAccessor, { nonInteractive }) {
11
- const easJsonCliConfig = await eas_json_1.EasJsonUtils.getCliConfigAsync(easJsonAccessor);
18
+ let easJsonCliConfig = await eas_json_1.EasJsonUtils.getCliConfigAsync(easJsonAccessor);
19
+ if (easJsonCliConfig?.appVersionSource === undefined) {
20
+ easJsonCliConfig = await ensureAppVersionSourceIsSetAsync(easJsonAccessor, easJsonCliConfig ?? undefined, nonInteractive);
21
+ }
12
22
  if (easJsonCliConfig?.appVersionSource === eas_json_1.AppVersionSource.REMOTE) {
13
23
  return;
14
24
  }
@@ -32,7 +42,17 @@ async function ensureVersionSourceIsRemoteAsync(easJsonAccessor, { nonInteractiv
32
42
  log_1.default.withTick('Updated eas.json');
33
43
  }
34
44
  exports.ensureVersionSourceIsRemoteAsync = ensureVersionSourceIsRemoteAsync;
35
- function validateBuildProfileVersionSettings(profileInfo, cliConfig) {
45
+ async function validateBuildProfileVersionSettingsAsync(profileInfo, cliConfig, projectDir, flags) {
46
+ if (cliConfig?.appVersionSource === undefined &&
47
+ profileInfo.profile.autoIncrement !== 'version') {
48
+ if (profileInfo.profile.autoIncrement !== true) {
49
+ log_1.default.warn(`The field "cli.appVersionSource" is not set, but it will be required in the future. ${(0, log_1.learnMore)('https://docs.expo.dev/build-reference/app-versions/')}`);
50
+ }
51
+ else {
52
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
53
+ cliConfig = await ensureAppVersionSourceIsSetAsync(easJsonAccessor, cliConfig, flags.nonInteractive);
54
+ }
55
+ }
36
56
  if (cliConfig?.appVersionSource !== eas_json_1.AppVersionSource.REMOTE) {
37
57
  return;
38
58
  }
@@ -40,7 +60,7 @@ function validateBuildProfileVersionSettings(profileInfo, cliConfig) {
40
60
  throw new Error(`${chalk_1.default.bold('{"autoIncrement": "version"}')} is not supported when app version source is set to remote.`);
41
61
  }
42
62
  }
43
- exports.validateBuildProfileVersionSettings = validateBuildProfileVersionSettings;
63
+ exports.validateBuildProfileVersionSettingsAsync = validateBuildProfileVersionSettingsAsync;
44
64
  function validateAppConfigForRemoteVersionSource(exp, platform) {
45
65
  if (typeof exp.runtimeVersion === 'object' && exp.runtimeVersion?.policy === 'nativeVersion') {
46
66
  throw new Error(`${chalk_1.default.bold('nativeVersion')} policy for ${chalk_1.default.bold('runtimeVersion')} is currently not supported when version source is set to remote. Switch policy e.g. to ${chalk_1.default.bold('appVersion')} or define version explicitly.`);
@@ -62,3 +82,72 @@ function getBuildVersionName(platform) {
62
82
  }
63
83
  }
64
84
  exports.getBuildVersionName = getBuildVersionName;
85
+ async function ensureAppVersionSourceIsSetAsync(easJsonAccessor, easJsonCliConfig, nonInteractive) {
86
+ let selectOption, updateEasJson;
87
+ if (nonInteractive) {
88
+ log_1.default.warn(`The field "cli.appVersionSource" is not set, but it will be required in the future Proceeding with the default "local" value. ${(0, log_1.learnMore)('https://docs.expo.dev/build-reference/app-versions/')}`);
89
+ selectOption = AppVersionSourceUpdateOption.SET_TO_LOCAL;
90
+ updateEasJson = false;
91
+ }
92
+ else {
93
+ log_1.default.log('Since EAS CLI version `12.0.0` explicitly specifying app version source is required. Please select your app version source:');
94
+ log_1.default.log(`\t1) With the "local" app version source and "autoIncrement" option enabled, the build number/version code is sourced from local project files and incremented automatically if possible, by editing local project files. ${(0, log_1.learnMore)('https://docs.expo.dev/build-reference/app-versions/#local-version-source')}`);
95
+ log_1.default.log(`\t2) With the "remote" app version source and "autoIncrement" option enabled, the build number/version code is stored on EAS servers and updated every time you create a new build. Remote auto-incrementation won't edit the version in the local project files, but instead, the new version will be injected automatically during the build process. ${(0, log_1.learnMore)('https://docs.expo.dev/build-reference/app-versions/#remote-version-source')}`);
96
+ log_1.default.log(`Until now, this project has been using the "local" version source (which was the previous default). App version source can now be set for you automatically, or you can configure it manually by setting the "appVersionSource" value in your eas.json.`);
97
+ selectOption = await (0, prompts_1.selectAsync)(`What would you like to do?`, [
98
+ {
99
+ title: 'Update eas.json to use the default "remote" version source (recommended)',
100
+ value: AppVersionSourceUpdateOption.SET_TO_REMOTE,
101
+ },
102
+ {
103
+ title: 'Update eas.json to use "local" version source (old behavior)',
104
+ value: AppVersionSourceUpdateOption.SET_TO_LOCAL,
105
+ },
106
+ {
107
+ title: "Don't update eas.json, abort command and configure manually",
108
+ value: AppVersionSourceUpdateOption.ABORT,
109
+ },
110
+ ]);
111
+ updateEasJson = true;
112
+ }
113
+ if (selectOption === AppVersionSourceUpdateOption.SET_TO_LOCAL) {
114
+ if (updateEasJson) {
115
+ await easJsonAccessor.readRawJsonAsync();
116
+ easJsonAccessor.patch(easJsonRawObject => {
117
+ easJsonRawObject.cli = {
118
+ ...easJsonRawObject?.cli,
119
+ appVersionSource: eas_json_1.AppVersionSource.LOCAL,
120
+ };
121
+ return easJsonRawObject;
122
+ });
123
+ await easJsonAccessor.writeAsync();
124
+ }
125
+ if (easJsonCliConfig) {
126
+ easJsonCliConfig.appVersionSource = eas_json_1.AppVersionSource.LOCAL;
127
+ }
128
+ log_1.default.withTick('Updated eas.json');
129
+ }
130
+ else if (selectOption === AppVersionSourceUpdateOption.SET_TO_REMOTE) {
131
+ if (updateEasJson) {
132
+ await easJsonAccessor.readRawJsonAsync();
133
+ easJsonAccessor.patch(easJsonRawObject => {
134
+ easJsonRawObject.cli = {
135
+ ...easJsonRawObject?.cli,
136
+ appVersionSource: eas_json_1.AppVersionSource.REMOTE,
137
+ };
138
+ return easJsonRawObject;
139
+ });
140
+ await easJsonAccessor.writeAsync();
141
+ }
142
+ if (easJsonCliConfig) {
143
+ easJsonCliConfig.appVersionSource = eas_json_1.AppVersionSource.REMOTE;
144
+ }
145
+ log_1.default.withTick('Updated eas.json');
146
+ }
147
+ else {
148
+ log_1.default.warn(`You'll need to configure ${chalk_1.default.bold('appVersionSource')} manually. ${(0, log_1.learnMore)('https://docs.expo.dev/build-reference/app-versions/')}`);
149
+ core_1.Errors.error('Aborted.', { exit: 1 });
150
+ }
151
+ return easJsonCliConfig;
152
+ }
153
+ exports.ensureAppVersionSourceIsSetAsync = ensureAppVersionSourceIsSetAsync;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "11.0.2",
2
+ "version": "12.0.0",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "11.0.2",
4
+ "version": "12.0.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.7.1",
11
+ "@expo/apple-utils": "1.8.0",
12
12
  "@expo/code-signing-certificates": "0.0.5",
13
- "@expo/config": "9.0.3",
14
- "@expo/config-plugins": "8.0.8",
15
- "@expo/config-types": "51.0.2",
13
+ "@expo/config": "8.5.4",
14
+ "@expo/config-plugins": "7.8.4",
15
+ "@expo/config-types": "50.0.0",
16
16
  "@expo/eas-build-job": "1.0.133",
17
- "@expo/eas-json": "11.0.0",
18
- "@expo/json-file": "8.3.3",
17
+ "@expo/eas-json": "12.0.0",
18
+ "@expo/json-file": "8.2.37",
19
19
  "@expo/logger": "1.0.117",
20
20
  "@expo/multipart-body-parser": "1.1.0",
21
- "@expo/osascript": "2.1.3",
22
- "@expo/package-manager": "1.5.2",
23
- "@expo/pkcs12": "0.1.2",
24
- "@expo/plist": "0.1.3",
21
+ "@expo/osascript": "2.0.33",
22
+ "@expo/package-manager": "1.1.2",
23
+ "@expo/pkcs12": "0.0.8",
24
+ "@expo/plist": "0.0.20",
25
25
  "@expo/plugin-help": "5.1.23",
26
26
  "@expo/plugin-warn-if-update-available": "2.5.1",
27
- "@expo/prebuild-config": "7.0.8",
27
+ "@expo/prebuild-config": "6.7.3",
28
28
  "@expo/results": "1.0.0",
29
29
  "@expo/rudder-sdk-node": "1.1.1",
30
- "@expo/spawn-async": "1.7.2",
31
- "@expo/steps": "1.0.130",
30
+ "@expo/spawn-async": "1.7.0",
31
+ "@expo/steps": "1.0.134",
32
32
  "@expo/timeago.js": "1.0.0",
33
33
  "@oclif/core": "^1.26.2",
34
34
  "@oclif/plugin-autocomplete": "^2.3.10",
@@ -223,5 +223,5 @@
223
223
  "node": "20.11.0",
224
224
  "yarn": "1.22.21"
225
225
  },
226
- "gitHead": "b4a3f5b526d42f8ef70fedf81935cbefbee75dc9"
226
+ "gitHead": "50943f333ab40086f47b5bb711e73f18b4bf53c3"
227
227
  }