eas-cli 7.8.4 → 8.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
@@ -128,7 +128,10 @@ log in with your Expo account
128
128
 
129
129
  ```
130
130
  USAGE
131
- $ eas account:login
131
+ $ eas account:login [-s]
132
+
133
+ FLAGS
134
+ -s, --sso Login with SSO
132
135
 
133
136
  DESCRIPTION
134
137
  log in with your Expo account
@@ -137,7 +140,7 @@ ALIASES
137
140
  $ eas login
138
141
  ```
139
142
 
140
- _See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/account/login.ts)_
143
+ _See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/account/login.ts)_
141
144
 
142
145
  ## `eas account:logout`
143
146
 
@@ -154,7 +157,7 @@ ALIASES
154
157
  $ eas logout
155
158
  ```
156
159
 
157
- _See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/account/logout.ts)_
160
+ _See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/account/logout.ts)_
158
161
 
159
162
  ## `eas account:view`
160
163
 
@@ -171,7 +174,7 @@ ALIASES
171
174
  $ eas whoami
172
175
  ```
173
176
 
174
- _See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/account/view.ts)_
177
+ _See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/account/view.ts)_
175
178
 
176
179
  ## `eas analytics [STATUS]`
177
180
 
@@ -185,7 +188,7 @@ DESCRIPTION
185
188
  display or change analytics settings
186
189
  ```
187
190
 
188
- _See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/analytics.ts)_
191
+ _See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/analytics.ts)_
189
192
 
190
193
  ## `eas autocomplete [SHELL]`
191
194
 
@@ -237,7 +240,7 @@ DESCRIPTION
237
240
  create a branch
238
241
  ```
239
242
 
240
- _See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/branch/create.ts)_
243
+ _See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/branch/create.ts)_
241
244
 
242
245
  ## `eas branch:delete [NAME]`
243
246
 
@@ -258,7 +261,7 @@ DESCRIPTION
258
261
  delete a branch
259
262
  ```
260
263
 
261
- _See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/branch/delete.ts)_
264
+ _See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/branch/delete.ts)_
262
265
 
263
266
  ## `eas branch:list`
264
267
 
@@ -278,7 +281,7 @@ DESCRIPTION
278
281
  list all branches
279
282
  ```
280
283
 
281
- _See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/branch/list.ts)_
284
+ _See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/branch/list.ts)_
282
285
 
283
286
  ## `eas branch:rename`
284
287
 
@@ -298,7 +301,7 @@ DESCRIPTION
298
301
  rename a branch
299
302
  ```
300
303
 
301
- _See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/branch/rename.ts)_
304
+ _See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/branch/rename.ts)_
302
305
 
303
306
  ## `eas branch:view [NAME]`
304
307
 
@@ -321,7 +324,7 @@ DESCRIPTION
321
324
  view a branch
322
325
  ```
323
326
 
324
- _See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/branch/view.ts)_
327
+ _See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/branch/view.ts)_
325
328
 
326
329
  ## `eas build`
327
330
 
@@ -356,7 +359,7 @@ DESCRIPTION
356
359
  start a build
357
360
  ```
358
361
 
359
- _See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/index.ts)_
362
+ _See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/index.ts)_
360
363
 
361
364
  ## `eas build:cancel [BUILD_ID]`
362
365
 
@@ -375,7 +378,7 @@ DESCRIPTION
375
378
  cancel a build
376
379
  ```
377
380
 
378
- _See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/cancel.ts)_
381
+ _See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/cancel.ts)_
379
382
 
380
383
  ## `eas build:configure`
381
384
 
@@ -392,7 +395,7 @@ DESCRIPTION
392
395
  configure the project to support EAS Build
393
396
  ```
394
397
 
395
- _See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/configure.ts)_
398
+ _See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/configure.ts)_
396
399
 
397
400
  ## `eas build:delete [BUILD_ID]`
398
401
 
@@ -411,7 +414,7 @@ DESCRIPTION
411
414
  delete a build
412
415
  ```
413
416
 
414
- _See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/delete.ts)_
417
+ _See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/delete.ts)_
415
418
 
416
419
  ## `eas build:inspect`
417
420
 
@@ -446,7 +449,7 @@ DESCRIPTION
446
449
  inspect the state of the project at specific build stages, useful for troubleshooting
447
450
  ```
448
451
 
449
- _See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/inspect.ts)_
452
+ _See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/inspect.ts)_
450
453
 
451
454
  ## `eas build:list`
452
455
 
@@ -487,7 +490,7 @@ DESCRIPTION
487
490
  list all builds for your project
488
491
  ```
489
492
 
490
- _See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/list.ts)_
493
+ _See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/list.ts)_
491
494
 
492
495
  ## `eas build:resign`
493
496
 
@@ -513,7 +516,7 @@ DESCRIPTION
513
516
  re-sign a build archive
514
517
  ```
515
518
 
516
- _See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/resign.ts)_
519
+ _See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/resign.ts)_
517
520
 
518
521
  ## `eas build:run`
519
522
 
@@ -539,7 +542,7 @@ DESCRIPTION
539
542
  run simulator/emulator builds from eas-cli
540
543
  ```
541
544
 
542
- _See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/run.ts)_
545
+ _See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/run.ts)_
543
546
 
544
547
  ## `eas build:submit`
545
548
 
@@ -589,7 +592,7 @@ DESCRIPTION
589
592
  get the latest version from EAS servers
590
593
  ```
591
594
 
592
- _See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/version/get.ts)_
595
+ _See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/version/get.ts)_
593
596
 
594
597
  ## `eas build:version:set`
595
598
 
@@ -608,7 +611,7 @@ DESCRIPTION
608
611
  update version of an app
609
612
  ```
610
613
 
611
- _See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/version/set.ts)_
614
+ _See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/version/set.ts)_
612
615
 
613
616
  ## `eas build:version:sync`
614
617
 
@@ -627,7 +630,7 @@ DESCRIPTION
627
630
  update a version in native code with a value stored on EAS servers
628
631
  ```
629
632
 
630
- _See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/version/sync.ts)_
633
+ _See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/version/sync.ts)_
631
634
 
632
635
  ## `eas build:view [BUILD_ID]`
633
636
 
@@ -644,7 +647,7 @@ DESCRIPTION
644
647
  view a build for your project
645
648
  ```
646
649
 
647
- _See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/build/view.ts)_
650
+ _See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/build/view.ts)_
648
651
 
649
652
  ## `eas channel:create [NAME]`
650
653
 
@@ -665,7 +668,7 @@ DESCRIPTION
665
668
  create a channel
666
669
  ```
667
670
 
668
- _See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/channel/create.ts)_
671
+ _See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/channel/create.ts)_
669
672
 
670
673
  ## `eas channel:edit [NAME]`
671
674
 
@@ -687,7 +690,7 @@ DESCRIPTION
687
690
  point a channel at a new branch
688
691
  ```
689
692
 
690
- _See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/channel/edit.ts)_
693
+ _See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/channel/edit.ts)_
691
694
 
692
695
  ## `eas channel:list`
693
696
 
@@ -707,7 +710,7 @@ DESCRIPTION
707
710
  list all channels
708
711
  ```
709
712
 
710
- _See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/channel/list.ts)_
713
+ _See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/channel/list.ts)_
711
714
 
712
715
  ## `eas channel:rollout [CHANNEL]`
713
716
 
@@ -739,7 +742,7 @@ DESCRIPTION
739
742
  Roll a new branch out on a channel incrementally.
740
743
  ```
741
744
 
742
- _See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/channel/rollout.ts)_
745
+ _See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/channel/rollout.ts)_
743
746
 
744
747
  ## `eas channel:view [NAME]`
745
748
 
@@ -762,7 +765,7 @@ DESCRIPTION
762
765
  view a channel
763
766
  ```
764
767
 
765
- _See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/channel/view.ts)_
768
+ _See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/channel/view.ts)_
766
769
 
767
770
  ## `eas config`
768
771
 
@@ -783,7 +786,7 @@ DESCRIPTION
783
786
  display project configuration (app.json + eas.json)
784
787
  ```
785
788
 
786
- _See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/config.ts)_
789
+ _See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/config.ts)_
787
790
 
788
791
  ## `eas credentials`
789
792
 
@@ -800,7 +803,7 @@ DESCRIPTION
800
803
  manage credentials
801
804
  ```
802
805
 
803
- _See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/credentials/index.ts)_
806
+ _See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/credentials/index.ts)_
804
807
 
805
808
  ## `eas credentials:configure-build`
806
809
 
@@ -818,7 +821,7 @@ DESCRIPTION
818
821
  Set up credentials for building your project.
819
822
  ```
820
823
 
821
- _See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/credentials/configure-build.ts)_
824
+ _See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/credentials/configure-build.ts)_
822
825
 
823
826
  ## `eas device:create`
824
827
 
@@ -832,7 +835,7 @@ DESCRIPTION
832
835
  register new Apple Devices to use for internal distribution
833
836
  ```
834
837
 
835
- _See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/device/create.ts)_
838
+ _See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/device/create.ts)_
836
839
 
837
840
  ## `eas device:delete`
838
841
 
@@ -852,7 +855,7 @@ DESCRIPTION
852
855
  remove a registered device from your account
853
856
  ```
854
857
 
855
- _See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/device/delete.ts)_
858
+ _See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/device/delete.ts)_
856
859
 
857
860
  ## `eas device:list`
858
861
 
@@ -873,7 +876,7 @@ DESCRIPTION
873
876
  list all registered devices for your account
874
877
  ```
875
878
 
876
- _See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/device/list.ts)_
879
+ _See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/device/list.ts)_
877
880
 
878
881
  ## `eas device:rename`
879
882
 
@@ -894,7 +897,7 @@ DESCRIPTION
894
897
  rename a registered device
895
898
  ```
896
899
 
897
- _See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/device/rename.ts)_
900
+ _See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/device/rename.ts)_
898
901
 
899
902
  ## `eas device:view [UDID]`
900
903
 
@@ -908,7 +911,7 @@ DESCRIPTION
908
911
  view a device for your project
909
912
  ```
910
913
 
911
- _See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/device/view.ts)_
914
+ _See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/device/view.ts)_
912
915
 
913
916
  ## `eas diagnostics`
914
917
 
@@ -922,7 +925,7 @@ DESCRIPTION
922
925
  display environment info
923
926
  ```
924
927
 
925
- _See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/diagnostics.ts)_
928
+ _See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/diagnostics.ts)_
926
929
 
927
930
  ## `eas help [COMMAND]`
928
931
 
@@ -970,7 +973,10 @@ log in with your Expo account
970
973
 
971
974
  ```
972
975
  USAGE
973
- $ eas login
976
+ $ eas login [-s]
977
+
978
+ FLAGS
979
+ -s, --sso Login with SSO
974
980
 
975
981
  DESCRIPTION
976
982
  log in with your Expo account
@@ -1010,7 +1016,7 @@ DESCRIPTION
1010
1016
  validate the local store configuration
1011
1017
  ```
1012
1018
 
1013
- _See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/metadata/lint.ts)_
1019
+ _See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/metadata/lint.ts)_
1014
1020
 
1015
1021
  ## `eas metadata:pull`
1016
1022
 
@@ -1027,7 +1033,7 @@ DESCRIPTION
1027
1033
  generate the local store configuration from the app stores
1028
1034
  ```
1029
1035
 
1030
- _See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/metadata/pull.ts)_
1036
+ _See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/metadata/pull.ts)_
1031
1037
 
1032
1038
  ## `eas metadata:push`
1033
1039
 
@@ -1044,7 +1050,7 @@ DESCRIPTION
1044
1050
  sync the local store configuration to the app stores
1045
1051
  ```
1046
1052
 
1047
- _See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/metadata/push.ts)_
1053
+ _See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/metadata/push.ts)_
1048
1054
 
1049
1055
  ## `eas open`
1050
1056
 
@@ -1058,7 +1064,7 @@ DESCRIPTION
1058
1064
  open the project page in a web browser
1059
1065
  ```
1060
1066
 
1061
- _See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/open.ts)_
1067
+ _See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/open.ts)_
1062
1068
 
1063
1069
  ## `eas project:info`
1064
1070
 
@@ -1072,7 +1078,7 @@ DESCRIPTION
1072
1078
  information about the current project
1073
1079
  ```
1074
1080
 
1075
- _See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/project/info.ts)_
1081
+ _See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/project/info.ts)_
1076
1082
 
1077
1083
  ## `eas project:init`
1078
1084
 
@@ -1094,7 +1100,7 @@ ALIASES
1094
1100
  $ eas init
1095
1101
  ```
1096
1102
 
1097
- _See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/project/init.ts)_
1103
+ _See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/project/init.ts)_
1098
1104
 
1099
1105
  ## `eas secret:create`
1100
1106
 
@@ -1117,7 +1123,7 @@ DESCRIPTION
1117
1123
  create an environment secret on the current project or owner account
1118
1124
  ```
1119
1125
 
1120
- _See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/secret/create.ts)_
1126
+ _See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/secret/create.ts)_
1121
1127
 
1122
1128
  ## `eas secret:delete`
1123
1129
 
@@ -1135,7 +1141,7 @@ DESCRIPTION
1135
1141
  delete an environment secret by ID
1136
1142
  ```
1137
1143
 
1138
- _See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/secret/delete.ts)_
1144
+ _See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/secret/delete.ts)_
1139
1145
 
1140
1146
  ## `eas secret:list`
1141
1147
 
@@ -1149,7 +1155,7 @@ DESCRIPTION
1149
1155
  list environment secrets available for your current app
1150
1156
  ```
1151
1157
 
1152
- _See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/secret/list.ts)_
1158
+ _See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/secret/list.ts)_
1153
1159
 
1154
1160
  ## `eas secret:push`
1155
1161
 
@@ -1169,7 +1175,7 @@ DESCRIPTION
1169
1175
  read environment secrets from env file and store on the server
1170
1176
  ```
1171
1177
 
1172
- _See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/secret/push.ts)_
1178
+ _See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/secret/push.ts)_
1173
1179
 
1174
1180
  ## `eas submit`
1175
1181
 
@@ -1200,7 +1206,7 @@ ALIASES
1200
1206
  $ eas build:submit
1201
1207
  ```
1202
1208
 
1203
- _See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/submit.ts)_
1209
+ _See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/submit.ts)_
1204
1210
 
1205
1211
  ## `eas update`
1206
1212
 
@@ -1233,7 +1239,7 @@ DESCRIPTION
1233
1239
  publish an update group
1234
1240
  ```
1235
1241
 
1236
- _See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/update/index.ts)_
1242
+ _See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/update/index.ts)_
1237
1243
 
1238
1244
  ## `eas update:configure`
1239
1245
 
@@ -1251,7 +1257,7 @@ DESCRIPTION
1251
1257
  configure the project to support EAS Update
1252
1258
  ```
1253
1259
 
1254
- _See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/update/configure.ts)_
1260
+ _See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/update/configure.ts)_
1255
1261
 
1256
1262
  ## `eas update:delete GROUPID`
1257
1263
 
@@ -1272,7 +1278,7 @@ DESCRIPTION
1272
1278
  delete all the updates in an update group
1273
1279
  ```
1274
1280
 
1275
- _See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/update/delete.ts)_
1281
+ _See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/update/delete.ts)_
1276
1282
 
1277
1283
  ## `eas update:list`
1278
1284
 
@@ -1294,7 +1300,7 @@ DESCRIPTION
1294
1300
  view the recent updates
1295
1301
  ```
1296
1302
 
1297
- _See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/update/list.ts)_
1303
+ _See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/update/list.ts)_
1298
1304
 
1299
1305
  ## `eas update:republish`
1300
1306
 
@@ -1321,7 +1327,7 @@ DESCRIPTION
1321
1327
  roll back to an existing update
1322
1328
  ```
1323
1329
 
1324
- _See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/update/republish.ts)_
1330
+ _See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/update/republish.ts)_
1325
1331
 
1326
1332
  ## `eas update:roll-back-to-embedded`
1327
1333
 
@@ -1348,7 +1354,7 @@ DESCRIPTION
1348
1354
  roll back to the embedded update
1349
1355
  ```
1350
1356
 
1351
- _See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
1357
+ _See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
1352
1358
 
1353
1359
  ## `eas update:rollback`
1354
1360
 
@@ -1367,7 +1373,7 @@ DESCRIPTION
1367
1373
  roll back to an embedded update or an existing update
1368
1374
  ```
1369
1375
 
1370
- _See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/update/rollback.ts)_
1376
+ _See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/update/rollback.ts)_
1371
1377
 
1372
1378
  ## `eas update:view GROUPID`
1373
1379
 
@@ -1387,7 +1393,7 @@ DESCRIPTION
1387
1393
  update group details
1388
1394
  ```
1389
1395
 
1390
- _See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/update/view.ts)_
1396
+ _See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/update/view.ts)_
1391
1397
 
1392
1398
  ## `eas webhook:create`
1393
1399
 
@@ -1408,7 +1414,7 @@ DESCRIPTION
1408
1414
  create a webhook
1409
1415
  ```
1410
1416
 
1411
- _See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/webhook/create.ts)_
1417
+ _See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/webhook/create.ts)_
1412
1418
 
1413
1419
  ## `eas webhook:delete [ID]`
1414
1420
 
@@ -1428,7 +1434,7 @@ DESCRIPTION
1428
1434
  delete a webhook
1429
1435
  ```
1430
1436
 
1431
- _See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/webhook/delete.ts)_
1437
+ _See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1432
1438
 
1433
1439
  ## `eas webhook:list`
1434
1440
 
@@ -1446,7 +1452,7 @@ DESCRIPTION
1446
1452
  list webhooks
1447
1453
  ```
1448
1454
 
1449
- _See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/webhook/list.ts)_
1455
+ _See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/webhook/list.ts)_
1450
1456
 
1451
1457
  ## `eas webhook:update`
1452
1458
 
@@ -1468,7 +1474,7 @@ DESCRIPTION
1468
1474
  update a webhook
1469
1475
  ```
1470
1476
 
1471
- _See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/webhook/update.ts)_
1477
+ _See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/webhook/update.ts)_
1472
1478
 
1473
1479
  ## `eas webhook:view ID`
1474
1480
 
@@ -1485,7 +1491,7 @@ DESCRIPTION
1485
1491
  view a webhook
1486
1492
  ```
1487
1493
 
1488
- _See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v7.8.4/packages/eas-cli/src/commands/webhook/view.ts)_
1494
+ _See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v8.0.0/packages/eas-cli/src/commands/webhook/view.ts)_
1489
1495
 
1490
1496
  ## `eas whoami`
1491
1497
 
@@ -18,7 +18,7 @@ async function syncProjectConfigurationAsync({ projectDir, exp, localAutoIncreme
18
18
  if (workflow === eas_build_job_1.Workflow.GENERIC) {
19
19
  await cleanUpOldEasBuildGradleScriptAsync(projectDir);
20
20
  if ((0, projectUtils_1.isExpoUpdatesInstalled)(projectDir)) {
21
- await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(projectDir, exp);
21
+ await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(projectDir, exp, workflow);
22
22
  }
23
23
  await (0, version_1.bumpVersionAsync)({ projectDir, exp, bumpStrategy: versionBumpStrategy });
24
24
  }
@@ -11,7 +11,7 @@ async function syncProjectConfigurationAsync({ projectDir, exp, targets, localAu
11
11
  const versionBumpStrategy = resolveVersionBumpStrategy(localAutoIncrement !== null && localAutoIncrement !== void 0 ? localAutoIncrement : false);
12
12
  if (workflow === eas_build_job_1.Workflow.GENERIC) {
13
13
  if ((0, projectUtils_1.isExpoUpdatesInstalled)(projectDir)) {
14
- await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(vcsClient, projectDir, exp);
14
+ await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(vcsClient, projectDir, exp, workflow);
15
15
  }
16
16
  await (0, version_1.bumpVersionAsync)({ projectDir, exp, bumpStrategy: versionBumpStrategy, targets });
17
17
  }
@@ -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.101';
9
+ const PLUGIN_PACKAGE_VERSION = '1.0.102';
10
10
  var LocalBuildMode;
11
11
  (function (LocalBuildMode) {
12
12
  /**
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const core_1 = require("@oclif/core");
5
5
  const core_2 = require("@urql/core");
6
+ const chalk_1 = tslib_1.__importDefault(require("chalk"));
6
7
  const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
7
8
  const AnalyticsContextField_1 = tslib_1.__importDefault(require("./context/AnalyticsContextField"));
8
9
  const DynamicProjectConfigContextField_1 = require("./context/DynamicProjectConfigContextField");
@@ -78,7 +79,7 @@ class EasCommand extends core_1.Command {
78
79
  : '';
79
80
  const defaultMsg = `${messageLine}${requestIdLine}`;
80
81
  if (((_b = graphQLError.extensions) === null || _b === void 0 ? void 0 : _b.errorCode) === 'UNAUTHORIZED_ERROR') {
81
- return `You don't have the required permissions to perform this operation.\n\n${defaultMsg}`;
82
+ return `${chalk_1.default.bold(`You don't have the required permissions to perform this operation.`)}\n\nThis can sometimes happen if you are logged in as incorrect user.\nRun ${chalk_1.default.bold('eas whoami')} to check the username you are logged in as.\nRun ${chalk_1.default.bold('eas login')} to change the account.\n\nOriginal error message: ${defaultMsg}`;
82
83
  }
83
84
  return defaultMsg;
84
85
  }).join('\n');
@@ -22,7 +22,6 @@ AccountLogin.flags = {
22
22
  description: 'Login with SSO',
23
23
  char: 's',
24
24
  default: false,
25
- hidden: true,
26
25
  }),
27
26
  };
28
27
  AccountLogin.contextDefinition = {
@@ -47,13 +47,13 @@ class BuildConfigure extends EasCommand_1.default {
47
47
  if ([platform_1.RequestedPlatform.Android, platform_1.RequestedPlatform.All].includes(platform)) {
48
48
  const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.ANDROID, vcsClient);
49
49
  if (workflow === eas_build_job_1.Workflow.GENERIC) {
50
- await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(projectDir, exp);
50
+ await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(projectDir, exp, workflow);
51
51
  }
52
52
  }
53
53
  if ([platform_1.RequestedPlatform.Ios, platform_1.RequestedPlatform.All].includes(platform)) {
54
54
  const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.IOS, vcsClient);
55
55
  if (workflow === eas_build_job_1.Workflow.GENERIC) {
56
- await (0, UpdatesModule_2.syncUpdatesConfigurationAsync)(vcsClient, projectDir, exp);
56
+ await (0, UpdatesModule_2.syncUpdatesConfigurationAsync)(vcsClient, projectDir, exp, workflow);
57
57
  }
58
58
  }
59
59
  }
@@ -24,6 +24,7 @@ export default class ChannelRollout extends EasCommand {
24
24
  };
25
25
  static contextDefinition: {
26
26
  loggedIn: import("../../commandUtils/context/LoggedInContextField").default;
27
+ vcsClient: import("../../commandUtils/context/VcsClientContextField").default;
27
28
  privateProjectConfig: import("../../commandUtils/context/PrivateProjectConfigContextField").PrivateProjectConfigContextField;
28
29
  };
29
30
  runAsync(): Promise<void>;
@@ -21,7 +21,7 @@ class ChannelRollout extends EasCommand_1.default {
21
21
  async runAsync() {
22
22
  const { args, flags } = await this.parse(_a);
23
23
  const argsAndFlags = this.sanitizeArgsAndFlags({ ...flags, ...args });
24
- const { privateProjectConfig: { exp, projectId, projectDir }, loggedIn: { graphqlClient }, } = await this.getContextAsync(_a, {
24
+ const { privateProjectConfig: { exp, projectId, projectDir }, vcsClient, loggedIn: { graphqlClient }, } = await this.getContextAsync(_a, {
25
25
  nonInteractive: argsAndFlags.nonInteractive,
26
26
  });
27
27
  if (argsAndFlags.json) {
@@ -32,6 +32,7 @@ class ChannelRollout extends EasCommand_1.default {
32
32
  nonInteractive: argsAndFlags.nonInteractive,
33
33
  graphqlClient,
34
34
  app,
35
+ vcsClient,
35
36
  };
36
37
  if (argsAndFlags.nonInteractive) {
37
38
  await new NonInteractiveRollout_1.NonInteractiveRollout(argsAndFlags).runAsync(ctx);
@@ -138,6 +139,7 @@ ChannelRollout.flags = {
138
139
  };
139
140
  ChannelRollout.contextDefinition = {
140
141
  ..._a.ContextOptions.ProjectConfig,
142
+ ..._a.ContextOptions.Vcs,
141
143
  ..._a.ContextOptions.LoggedIn,
142
144
  };
143
145
  exports.default = ChannelRollout;
@@ -2,13 +2,13 @@
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const tslib_1 = require("tslib");
5
+ const eas_build_job_1 = require("@expo/eas-build-job");
5
6
  const core_1 = require("@oclif/core");
6
7
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
7
8
  const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
8
9
  const queries_1 = require("../../branch/queries");
9
10
  const repository_1 = require("../../build/utils/repository");
10
11
  const url_1 = require("../../build/utils/url");
11
- const queries_2 = require("../../channel/queries");
12
12
  const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
13
13
  const flags_1 = require("../../commandUtils/flags");
14
14
  const pagination_1 = require("../../commandUtils/pagination");
@@ -19,6 +19,7 @@ const log_1 = tslib_1.__importStar(require("../../log"));
19
19
  const ora_1 = require("../../ora");
20
20
  const projectUtils_1 = require("../../project/projectUtils");
21
21
  const publish_1 = require("../../project/publish");
22
+ const workflow_1 = require("../../project/workflow");
22
23
  const configure_1 = require("../../update/configure");
23
24
  const utils_1 = require("../../update/utils");
24
25
  const code_signing_1 = require("../../utils/code-signing");
@@ -173,25 +174,21 @@ class UpdatePublish extends EasCommand_1.default {
173
174
  assetSpinner.fail('Failed to upload');
174
175
  throw e;
175
176
  }
177
+ const workflows = await (0, workflow_1.resolveWorkflowPerPlatformAsync)(projectDir, vcsClient);
176
178
  const runtimeVersions = await (0, publish_1.getRuntimeVersionObjectAsync)({
177
179
  exp,
178
180
  platforms: realizedPlatforms,
179
181
  projectDir,
180
- vcsClient,
182
+ workflows: {
183
+ ...workflows,
184
+ web: eas_build_job_1.Workflow.UNKNOWN,
185
+ },
181
186
  });
182
187
  const runtimeToPlatformMapping = (0, publish_1.getRuntimeToPlatformMappingFromRuntimeVersions)(runtimeVersions);
183
- const { branchId, createdBranch } = await (0, queries_1.ensureBranchExistsAsync)(graphqlClient, {
188
+ const { branchId } = await (0, queries_1.ensureBranchExistsAsync)(graphqlClient, {
184
189
  appId: projectId,
185
190
  branchName,
186
191
  });
187
- if (createdBranch) {
188
- await (0, queries_2.ensureChannelExistsAsync)(graphqlClient, {
189
- appId: projectId,
190
- branchId,
191
- channelName: branchName,
192
- });
193
- log_1.default.withTick(`Channel: ${chalk_1.default.bold(branchName)} pointed at branch: ${chalk_1.default.bold(branchName)}`);
194
- }
195
192
  const gitCommitHash = await vcsClient.getCommitHashAsync();
196
193
  const isGitWorkingTreeDirty = await vcsClient.hasUncommittedChangesAsync();
197
194
  // Sort the updates into different groups based on their platform specific runtime versions
@@ -2,12 +2,11 @@
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const tslib_1 = require("tslib");
5
+ const eas_build_job_1 = require("@expo/eas-build-job");
5
6
  const core_1 = require("@oclif/core");
6
- const chalk_1 = tslib_1.__importDefault(require("chalk"));
7
7
  const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
8
8
  const queries_1 = require("../../branch/queries");
9
9
  const url_1 = require("../../build/utils/url");
10
- const queries_2 = require("../../channel/queries");
11
10
  const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
12
11
  const flags_1 = require("../../commandUtils/flags");
13
12
  const pagination_1 = require("../../commandUtils/pagination");
@@ -18,6 +17,7 @@ const log_1 = tslib_1.__importStar(require("../../log"));
18
17
  const ora_1 = require("../../ora");
19
18
  const projectUtils_1 = require("../../project/projectUtils");
20
19
  const publish_1 = require("../../project/publish");
20
+ const workflow_1 = require("../../project/workflow");
21
21
  const configure_1 = require("../../update/configure");
22
22
  const utils_1 = require("../../update/utils");
23
23
  const code_signing_1 = require("../../utils/code-signing");
@@ -67,25 +67,21 @@ class UpdateRollBackToEmbedded extends EasCommand_1.default {
67
67
  jsonFlag,
68
68
  });
69
69
  const realizedPlatforms = platformFlag === 'all' ? publish_1.defaultPublishPlatforms : [platformFlag];
70
- const { branchId, createdBranch } = await (0, queries_1.ensureBranchExistsAsync)(graphqlClient, {
70
+ const { branchId } = await (0, queries_1.ensureBranchExistsAsync)(graphqlClient, {
71
71
  appId: projectId,
72
72
  branchName,
73
73
  });
74
- if (createdBranch) {
75
- await (0, queries_2.ensureChannelExistsAsync)(graphqlClient, {
76
- appId: projectId,
77
- branchId,
78
- channelName: branchName,
79
- });
80
- }
81
- log_1.default.withTick(`Channel: ${chalk_1.default.bold(branchName)} pointed at branch: ${chalk_1.default.bold(branchName)}`);
82
74
  const gitCommitHash = await vcsClient.getCommitHashAsync();
83
75
  const isGitWorkingTreeDirty = await vcsClient.hasUncommittedChangesAsync();
76
+ const workflows = await (0, workflow_1.resolveWorkflowPerPlatformAsync)(projectDir, vcsClient);
84
77
  const runtimeVersions = await (0, publish_1.getRuntimeVersionObjectAsync)({
85
78
  exp,
86
79
  platforms: realizedPlatforms,
87
80
  projectDir,
88
- vcsClient,
81
+ workflows: {
82
+ ...workflows,
83
+ web: eas_build_job_1.Workflow.UNKNOWN,
84
+ },
89
85
  });
90
86
  let newUpdates;
91
87
  const publishSpinner = (0, ora_1.ora)('Publishing...').start();
@@ -9,6 +9,7 @@ const SetUpPushKey_1 = require("./actions/SetUpPushKey");
9
9
  const provisioningProfile_1 = require("./utils/provisioningProfile");
10
10
  const log_1 = tslib_1.__importDefault(require("../../log"));
11
11
  const target_1 = require("../../project/ios/target");
12
+ const projectUtils_1 = require("../../project/projectUtils");
12
13
  const prompts_1 = require("../../prompts");
13
14
  const credentialsJsonReader = tslib_1.__importStar(require("../credentialsJson/read"));
14
15
  const utils_1 = require("../credentialsJson/utils");
@@ -53,7 +54,7 @@ class IosCredentialsProvider {
53
54
  }).runAsync(this.ctx);
54
55
  }
55
56
  async getPushKeyAsync(ctx, targets) {
56
- var _a;
57
+ var _a, _b;
57
58
  if (ctx.nonInteractive) {
58
59
  return null;
59
60
  }
@@ -73,6 +74,10 @@ class IosCredentialsProvider {
73
74
  if (((_a = ctx.easJsonCliConfig) === null || _a === void 0 ? void 0 : _a.promptToConfigurePushNotifications) === false) {
74
75
  return null;
75
76
  }
77
+ else if (((_b = ctx.easJsonCliConfig) === null || _b === void 0 ? void 0 : _b.promptToConfigurePushNotifications) === undefined &&
78
+ !(await (0, projectUtils_1.isExpoNotificationsInstalled)(ctx.projectDir))) {
79
+ return null;
80
+ }
76
81
  const setupOption = await (0, prompts_1.selectAsync)(`Would you like to set up Push Notifications for your project?`, [
77
82
  { title: 'Yes', value: PushNotificationSetupOption.YES },
78
83
  { title: 'No', value: PushNotificationSetupOption.NO },
@@ -1,5 +1,6 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
3
+ import { Client } from '../vcs/vcs';
3
4
  export type EASUpdateContext = {
4
5
  graphqlClient: ExpoGraphqlClient;
5
6
  nonInteractive: boolean;
@@ -8,6 +9,7 @@ export type EASUpdateContext = {
8
9
  projectId: string;
9
10
  projectDir: string;
10
11
  };
12
+ vcsClient: Client;
11
13
  };
12
14
  export interface EASUpdateAction<T = any> {
13
15
  runAsync(ctx: EASUpdateContext): Promise<T>;
@@ -13,6 +13,7 @@ export declare const toAppPrivacy: (privacy: ExpoConfig['privacy']) => AppPrivac
13
13
  */
14
14
  export declare function getProjectConfigDescription(projectDir: string): string;
15
15
  export declare function isExpoUpdatesInstalled(projectDir: string): boolean;
16
+ export declare function isExpoNotificationsInstalled(projectDir: string): boolean;
16
17
  export declare function isExpoUpdatesInstalledAsDevDependency(projectDir: string): boolean;
17
18
  export declare function isExpoUpdatesInstalledOrAvailable(projectDir: string, sdkVersion?: string): boolean;
18
19
  export declare function isUsingEASUpdate(exp: ExpoConfig, projectId: string): boolean;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ exports.getDisplayNameForProjectIdAsync = exports.getOwnerAccountForProjectIdAsync = exports.installExpoUpdatesAsync = exports.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync = exports.isClassicUpdatesSupportedAsync = exports.enforceRollBackToEmbeddedUpdateSupportAsync = exports.validateAppVersionRuntimePolicySupportAsync = exports.isUsingEASUpdate = exports.isExpoUpdatesInstalledOrAvailable = exports.isExpoUpdatesInstalledAsDevDependency = exports.isExpoNotificationsInstalled = 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"));
@@ -68,6 +68,11 @@ function isExpoUpdatesInstalled(projectDir) {
68
68
  return !!(packageJson.dependencies && 'expo-updates' in packageJson.dependencies);
69
69
  }
70
70
  exports.isExpoUpdatesInstalled = isExpoUpdatesInstalled;
71
+ function isExpoNotificationsInstalled(projectDir) {
72
+ const packageJson = (0, config_1.getPackageJson)(projectDir);
73
+ return !!(packageJson.dependencies && 'expo-notifications' in packageJson.dependencies);
74
+ }
75
+ exports.isExpoNotificationsInstalled = isExpoNotificationsInstalled;
71
76
  function isExpoUpdatesInstalledAsDevDependency(projectDir) {
72
77
  const packageJson = (0, config_1.getPackageJson)(projectDir);
73
78
  return !!(packageJson.devDependencies && 'expo-updates' in packageJson.devDependencies);
@@ -137,8 +142,8 @@ async function isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync(pro
137
142
  if (expoUpdatesPackageVersion.includes('canary')) {
138
143
  return true;
139
144
  }
140
- // TODO(wschurman): add semver check once we know the SDK51 version of expo-updates that supports this
141
- return false;
145
+ // Anything SDK 51 or greater uses the expo-updates CLI
146
+ return semver_1.default.gte(expoUpdatesPackageVersion, '0.25.4');
142
147
  }
143
148
  exports.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync = isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync;
144
149
  async function installExpoUpdatesAsync(projectDir, options) {
@@ -1,5 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  import { ExpoConfig, Platform } from '@expo/config';
3
+ import { Workflow } from '@expo/eas-build-job';
3
4
  import Joi from 'joi';
4
5
  import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
5
6
  import { PaginatedQueryOptions } from '../commandUtils/pagination';
@@ -136,11 +137,11 @@ export declare function getUpdateMessageForCommandAsync(vcsClient: Client, { upd
136
137
  export declare const defaultPublishPlatforms: Platform[];
137
138
  export declare function getRequestedPlatform(platform: ExpoCLIExportPlatformFlag): RequestedPlatform | null;
138
139
  /** Get runtime versions grouped by platform. Runtime version is always `null` on web where the platform is always backwards compatible. */
139
- export declare function getRuntimeVersionObjectAsync({ exp, platforms, projectDir, vcsClient, }: {
140
+ export declare function getRuntimeVersionObjectAsync({ exp, platforms, workflows, projectDir, }: {
140
141
  exp: ExpoConfig;
141
142
  platforms: Platform[];
143
+ workflows: Record<Platform, Workflow>;
142
144
  projectDir: string;
143
- vcsClient: Client;
144
145
  }): Promise<{
145
146
  platform: string;
146
147
  runtimeVersion: string;
@@ -15,7 +15,6 @@ 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
17
  const projectUtils_1 = require("./projectUtils");
18
- const workflow_1 = require("./workflow");
19
18
  const queries_1 = require("../branch/queries");
20
19
  const utils_1 = require("../branch/utils");
21
20
  const generated_1 = require("../graphql/generated");
@@ -465,21 +464,21 @@ function getRequestedPlatform(platform) {
465
464
  }
466
465
  exports.getRequestedPlatform = getRequestedPlatform;
467
466
  /** Get runtime versions grouped by platform. Runtime version is always `null` on web where the platform is always backwards compatible. */
468
- async function getRuntimeVersionObjectAsync({ exp, platforms, projectDir, vcsClient, }) {
467
+ async function getRuntimeVersionObjectAsync({ exp, platforms, workflows, projectDir, }) {
469
468
  return await Promise.all(platforms.map(async (platform) => {
470
469
  return {
471
470
  platform,
472
471
  runtimeVersion: await getRuntimeVersionForPlatformAsync({
473
472
  exp,
474
473
  platform,
474
+ workflow: workflows[platform],
475
475
  projectDir,
476
- vcsClient,
477
476
  }),
478
477
  };
479
478
  }));
480
479
  }
481
480
  exports.getRuntimeVersionObjectAsync = getRuntimeVersionObjectAsync;
482
- async function getRuntimeVersionForPlatformAsync({ exp, platform, projectDir, vcsClient, }) {
481
+ async function getRuntimeVersionForPlatformAsync({ exp, platform, workflow, projectDir, }) {
483
482
  var _a, _b;
484
483
  if (platform === 'web') {
485
484
  return 'UNVERSIONED';
@@ -492,6 +491,8 @@ async function getRuntimeVersionForPlatformAsync({ exp, platform, projectDir, vc
492
491
  'runtimeversion:resolve',
493
492
  '--platform',
494
493
  platform,
494
+ '--workflow',
495
+ workflow,
495
496
  ...extraArgs,
496
497
  ]);
497
498
  const runtimeVersionResult = JSON.parse(resolvedRuntimeVersionJSONResult);
@@ -509,7 +510,6 @@ async function getRuntimeVersionForPlatformAsync({ exp, platform, projectDir, vc
509
510
  }
510
511
  const runtimeVersion = (_b = (_a = exp[platform]) === null || _a === void 0 ? void 0 : _a.runtimeVersion) !== null && _b !== void 0 ? _b : exp.runtimeVersion;
511
512
  if (typeof runtimeVersion === 'object') {
512
- const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, platform, vcsClient);
513
513
  if (workflow !== eas_build_job_1.Workflow.MANAGED) {
514
514
  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')}`);
515
515
  }
@@ -1,6 +1,8 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
- export declare function resolveRuntimeVersionAsync({ exp, platform, projectDir, }: {
2
+ import { Workflow } from '@expo/eas-build-job';
3
+ export declare function resolveRuntimeVersionAsync({ exp, platform, workflow, projectDir, }: {
3
4
  exp: ExpoConfig;
4
5
  platform: 'ios' | 'android';
6
+ workflow: Workflow;
5
7
  projectDir: string;
6
8
  }): Promise<string | null>;
@@ -6,7 +6,7 @@ const config_plugins_1 = require("@expo/config-plugins");
6
6
  const projectUtils_1 = require("./projectUtils");
7
7
  const log_1 = tslib_1.__importDefault(require("../log"));
8
8
  const expoUpdatesCli_1 = require("../utils/expoUpdatesCli");
9
- async function resolveRuntimeVersionAsync({ exp, platform, projectDir, }) {
9
+ async function resolveRuntimeVersionAsync({ exp, platform, workflow, projectDir, }) {
10
10
  var _a;
11
11
  if (!(await (0, projectUtils_1.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync)(projectDir))) {
12
12
  // fall back to the previous behavior (using the @expo/config-plugins eas-cli dependency rather
@@ -20,6 +20,8 @@ async function resolveRuntimeVersionAsync({ exp, platform, projectDir, }) {
20
20
  'runtimeversion:resolve',
21
21
  '--platform',
22
22
  platform,
23
+ '--workflow',
24
+ workflow,
23
25
  ...extraArgs,
24
26
  ]);
25
27
  const runtimeVersionResult = JSON.parse(resolvedRuntimeVersionJSONResult);
@@ -13,6 +13,7 @@ const ChannelQuery_1 = require("../../graphql/queries/ChannelQuery");
13
13
  const UpdateQuery_1 = require("../../graphql/queries/UpdateQuery");
14
14
  const log_1 = tslib_1.__importDefault(require("../../log"));
15
15
  const resolveRuntimeVersionAsync_1 = require("../../project/resolveRuntimeVersionAsync");
16
+ const workflow_1 = require("../../project/workflow");
16
17
  const prompts_1 = require("../../prompts");
17
18
  const filter_1 = require("../../utils/expodash/filter");
18
19
  const branch_mapping_2 = require("../branch-mapping");
@@ -183,7 +184,13 @@ class CreateRollout {
183
184
  }
184
185
  async selectRuntimeVersionFromProjectConfigAsync(ctx) {
185
186
  const platforms = ['ios', 'android'];
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
+ const workflows = await (0, workflow_1.resolveWorkflowPerPlatformAsync)(ctx.app.projectDir, ctx.vcsClient);
188
+ const runtimes = (await Promise.all(platforms.map(platform => (0, resolveRuntimeVersionAsync_1.resolveRuntimeVersionAsync)({
189
+ projectDir: ctx.app.projectDir,
190
+ exp: ctx.app.exp,
191
+ platform,
192
+ workflow: workflows[platform],
193
+ })))).filter(filter_1.truthy);
187
194
  const dedupedRuntimes = [...new Set(runtimes)];
188
195
  if (dedupedRuntimes.length === 0) {
189
196
  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\``);
@@ -1,7 +1,8 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
+ import { Workflow } from '@expo/eas-build-job';
2
3
  /**
3
4
  * Synchronize updates configuration to native files. This needs to do essentially the same thing as `withUpdates`
4
5
  */
5
- export declare function syncUpdatesConfigurationAsync(projectDir: string, exp: ExpoConfig): Promise<void>;
6
+ export declare function syncUpdatesConfigurationAsync(projectDir: string, exp: ExpoConfig, workflow: Workflow): Promise<void>;
6
7
  export declare function readReleaseChannelSafelyAsync(projectDir: string): Promise<string | null>;
7
8
  export declare function readChannelSafelyAsync(projectDir: string): Promise<string | null>;
@@ -9,13 +9,15 @@ const utils_1 = require("../utils");
9
9
  /**
10
10
  * Synchronize updates configuration to native files. This needs to do essentially the same thing as `withUpdates`
11
11
  */
12
- async function syncUpdatesConfigurationAsync(projectDir, exp) {
12
+ async function syncUpdatesConfigurationAsync(projectDir, exp, workflow) {
13
13
  (0, utils_1.ensureValidVersions)(exp, platform_1.RequestedPlatform.Android);
14
14
  if (await (0, projectUtils_1.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync)(projectDir)) {
15
15
  await (0, expoUpdatesCli_1.expoUpdatesCommandAsync)(projectDir, [
16
16
  'configuration:syncnative',
17
17
  '--platform',
18
18
  'android',
19
+ '--workflow',
20
+ workflow,
19
21
  ]);
20
22
  return;
21
23
  }
@@ -173,11 +173,11 @@ function warnEASUpdatesManualConfig({ modifyConfig, workflows, }) {
173
173
  */
174
174
  async function ensureEASUpdateIsConfiguredNativelyAsync(vcsClient, { exp, projectDir, platform, workflows, }) {
175
175
  if (['all', 'android'].includes(platform) && workflows.android === eas_build_job_1.Workflow.GENERIC) {
176
- await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(projectDir, exp);
176
+ await (0, UpdatesModule_1.syncUpdatesConfigurationAsync)(projectDir, exp, workflows.android);
177
177
  log_1.default.withTick(`Configured ${chalk_1.default.bold('AndroidManifest.xml')} for EAS Update`);
178
178
  }
179
179
  if (['all', 'ios'].includes(platform) && workflows.ios === eas_build_job_1.Workflow.GENERIC) {
180
- await (0, UpdatesModule_2.syncUpdatesConfigurationAsync)(vcsClient, projectDir, exp);
180
+ await (0, UpdatesModule_2.syncUpdatesConfigurationAsync)(vcsClient, projectDir, exp, workflows.ios);
181
181
  log_1.default.withTick(`Configured ${chalk_1.default.bold('Expo.plist')} for EAS Update`);
182
182
  }
183
183
  }
@@ -1,5 +1,6 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
+ import { Workflow } from '@expo/eas-build-job';
2
3
  import { Client } from '../../vcs/vcs';
3
- export declare function syncUpdatesConfigurationAsync(vcsClient: Client, projectDir: string, exp: ExpoConfig): Promise<void>;
4
+ export declare function syncUpdatesConfigurationAsync(vcsClient: Client, projectDir: string, exp: ExpoConfig, workflow: Workflow): Promise<void>;
4
5
  export declare function readReleaseChannelSafelyAsync(projectDir: string): Promise<string | null>;
5
6
  export declare function readChannelSafelyAsync(projectDir: string): Promise<string | null>;
@@ -7,10 +7,16 @@ const projectUtils_1 = require("../../project/projectUtils");
7
7
  const expoUpdatesCli_1 = require("../../utils/expoUpdatesCli");
8
8
  const plist_1 = require("../../utils/plist");
9
9
  const utils_1 = require("../utils");
10
- async function syncUpdatesConfigurationAsync(vcsClient, projectDir, exp) {
10
+ async function syncUpdatesConfigurationAsync(vcsClient, projectDir, exp, workflow) {
11
11
  (0, utils_1.ensureValidVersions)(exp, platform_1.RequestedPlatform.Ios);
12
12
  if (await (0, projectUtils_1.isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAsync)(projectDir)) {
13
- await (0, expoUpdatesCli_1.expoUpdatesCommandAsync)(projectDir, ['configuration:syncnative', '--platform', 'ios']);
13
+ await (0, expoUpdatesCli_1.expoUpdatesCommandAsync)(projectDir, [
14
+ 'configuration:syncnative',
15
+ '--platform',
16
+ 'ios',
17
+ '--workflow',
18
+ workflow,
19
+ ]);
14
20
  return;
15
21
  }
16
22
  const expoPlist = await readExpoPlistAsync(projectDir);
@@ -114,7 +114,7 @@ class SessionManager {
114
114
  await this.ssoLoginAsync();
115
115
  return;
116
116
  }
117
- log_1.default.log(`Log in to EAS with email or username (exit and run ${chalk_1.default.bold('eas login')} for other options)`);
117
+ log_1.default.log(`Log in to EAS with email or username (exit and run ${chalk_1.default.bold('eas login --help')} to see other login options)`);
118
118
  const { username, password } = await (0, prompts_1.promptAsync)([
119
119
  {
120
120
  type: 'text',
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.8.4",
2
+ "version": "8.0.0",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
@@ -229,7 +229,6 @@
229
229
  "type": "boolean",
230
230
  "char": "s",
231
231
  "description": "Login with SSO",
232
- "hidden": true,
233
232
  "allowNo": false
234
233
  }
235
234
  },
@@ -1495,7 +1494,8 @@
1495
1494
  },
1496
1495
  "contextDefinition": {
1497
1496
  "loggedIn": {},
1498
- "privateProjectConfig": {}
1497
+ "privateProjectConfig": {},
1498
+ "vcsClient": {}
1499
1499
  }
1500
1500
  },
1501
1501
  "channel:view": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "7.8.4",
4
+ "version": "8.0.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
@@ -13,8 +13,8 @@
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.95",
17
- "@expo/eas-json": "7.8.4",
16
+ "@expo/eas-build-job": "1.0.102",
17
+ "@expo/eas-json": "8.0.0",
18
18
  "@expo/json-file": "8.2.37",
19
19
  "@expo/logger": "1.0.57",
20
20
  "@expo/multipart-body-parser": "1.1.0",
@@ -28,7 +28,7 @@
28
28
  "@expo/results": "1.0.0",
29
29
  "@expo/rudder-sdk-node": "1.1.1",
30
30
  "@expo/spawn-async": "1.7.0",
31
- "@expo/steps": "1.0.95",
31
+ "@expo/steps": "1.0.102",
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": "2e43d4bba0ff9499d5bd36c4f8819f6b96fc5b20"
226
+ "gitHead": "b2580d0cc20e218a7ac94f6b07ccd2259213eab9"
227
227
  }