eas-cli 3.8.1 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +79 -54
  2. package/build/build/build.js +1 -1
  3. package/build/build/runBuildAndSubmit.js +1 -1
  4. package/build/commandUtils/context/DynamicProjectConfigContextField.js +1 -1
  5. package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +1 -1
  6. package/build/commands/build/index.js +1 -1
  7. package/build/commands/build/internal.js +3 -0
  8. package/build/commands/build/resign.js +1 -1
  9. package/build/commands/build/version/set.js +1 -1
  10. package/build/commands/build/version/sync.js +1 -1
  11. package/build/commands/channel/rollout.d.ts +0 -2
  12. package/build/commands/channel/rollout.js +44 -18
  13. package/build/commands/config.js +1 -1
  14. package/build/commands/metadata/lint.js +1 -1
  15. package/build/commands/metadata/pull.js +1 -1
  16. package/build/commands/metadata/push.js +1 -1
  17. package/build/commands/submit.js +1 -1
  18. package/build/commands/update/index.d.ts +0 -2
  19. package/build/commands/update/index.js +31 -136
  20. package/build/commands/update/republish.js +1 -1
  21. package/build/commands/update/roll-back-to-embedded.d.ts +22 -0
  22. package/build/commands/update/roll-back-to-embedded.js +253 -0
  23. package/build/credentials/ios/IosCredentialsProvider.js +1 -1
  24. package/build/credentials/manager/SelectBuildProfileFromEasJson.js +1 -1
  25. package/build/graphql/generated.d.ts +139 -22
  26. package/build/graphql/generated.js +0 -2
  27. package/build/graphql/types/Update.js +1 -0
  28. package/build/project/customBuildConfig.js +19 -4
  29. package/build/project/publish.d.ts +31 -0
  30. package/build/project/publish.js +147 -2
  31. package/build/update/configure.js +1 -1
  32. package/build/update/utils.d.ts +2 -0
  33. package/build/update/utils.js +30 -13
  34. package/build/utils/code-signing.d.ts +4 -3
  35. package/build/utils/code-signing.js +23 -5
  36. package/build/utils/expoCli.js +3 -2
  37. package/build/utils/expodash/areSetsEqual.d.ts +1 -0
  38. package/build/utils/expodash/areSetsEqual.js +6 -0
  39. package/oclif.manifest.json +1 -1
  40. package/package.json +4 -3
package/README.md CHANGED
@@ -79,6 +79,7 @@ eas --help COMMAND
79
79
  * [`eas channel:create [NAME]`](#eas-channelcreate-name)
80
80
  * [`eas channel:edit [NAME]`](#eas-channeledit-name)
81
81
  * [`eas channel:list`](#eas-channellist)
82
+ * [`eas channel:rollout [CHANNEL]`](#eas-channelrollout-channel)
82
83
  * [`eas channel:view [NAME]`](#eas-channelview-name)
83
84
  * [`eas config`](#eas-config)
84
85
  * [`eas credentials`](#eas-credentials)
@@ -130,7 +131,7 @@ ALIASES
130
131
  $ eas login
131
132
  ```
132
133
 
133
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/account/login.ts)_
134
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/account/login.ts)_
134
135
 
135
136
  ## `eas account:logout`
136
137
 
@@ -147,7 +148,7 @@ ALIASES
147
148
  $ eas logout
148
149
  ```
149
150
 
150
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/account/logout.ts)_
151
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/account/logout.ts)_
151
152
 
152
153
  ## `eas account:view`
153
154
 
@@ -164,7 +165,7 @@ ALIASES
164
165
  $ eas whoami
165
166
  ```
166
167
 
167
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/account/view.ts)_
168
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/account/view.ts)_
168
169
 
169
170
  ## `eas analytics [STATUS]`
170
171
 
@@ -178,7 +179,7 @@ DESCRIPTION
178
179
  display or change analytics settings
179
180
  ```
180
181
 
181
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/analytics.ts)_
182
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/analytics.ts)_
182
183
 
183
184
  ## `eas autocomplete [SHELL]`
184
185
 
@@ -228,7 +229,7 @@ DESCRIPTION
228
229
  create a branch
229
230
  ```
230
231
 
231
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/branch/create.ts)_
232
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/branch/create.ts)_
232
233
 
233
234
  ## `eas branch:delete [NAME]`
234
235
 
@@ -249,7 +250,7 @@ DESCRIPTION
249
250
  delete a branch
250
251
  ```
251
252
 
252
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/branch/delete.ts)_
253
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/branch/delete.ts)_
253
254
 
254
255
  ## `eas branch:list`
255
256
 
@@ -269,7 +270,7 @@ DESCRIPTION
269
270
  list all branches
270
271
  ```
271
272
 
272
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/branch/list.ts)_
273
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/branch/list.ts)_
273
274
 
274
275
  ## `eas branch:rename`
275
276
 
@@ -289,7 +290,7 @@ DESCRIPTION
289
290
  rename a branch
290
291
  ```
291
292
 
292
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/branch/rename.ts)_
293
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/branch/rename.ts)_
293
294
 
294
295
  ## `eas branch:view [NAME]`
295
296
 
@@ -312,7 +313,7 @@ DESCRIPTION
312
313
  view a branch
313
314
  ```
314
315
 
315
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/branch/view.ts)_
316
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/branch/view.ts)_
316
317
 
317
318
  ## `eas build`
318
319
 
@@ -342,7 +343,7 @@ DESCRIPTION
342
343
  start a build
343
344
  ```
344
345
 
345
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/index.ts)_
346
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/index.ts)_
346
347
 
347
348
  ## `eas build:cancel [BUILD_ID]`
348
349
 
@@ -359,7 +360,7 @@ DESCRIPTION
359
360
  cancel a build
360
361
  ```
361
362
 
362
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/cancel.ts)_
363
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/cancel.ts)_
363
364
 
364
365
  ## `eas build:configure`
365
366
 
@@ -376,7 +377,7 @@ DESCRIPTION
376
377
  configure the project to support EAS Build
377
378
  ```
378
379
 
379
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/configure.ts)_
380
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/configure.ts)_
380
381
 
381
382
  ## `eas build:inspect`
382
383
 
@@ -411,7 +412,7 @@ DESCRIPTION
411
412
  inspect the state of the project at specific build stages, useful for troubleshooting
412
413
  ```
413
414
 
414
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/inspect.ts)_
415
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/inspect.ts)_
415
416
 
416
417
  ## `eas build:list`
417
418
 
@@ -448,7 +449,7 @@ DESCRIPTION
448
449
  list all builds for your project
449
450
  ```
450
451
 
451
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/list.ts)_
452
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/list.ts)_
452
453
 
453
454
  ## `eas build:resign`
454
455
 
@@ -474,7 +475,7 @@ DESCRIPTION
474
475
  re-sign a build archive
475
476
  ```
476
477
 
477
- _See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/resign.ts)_
478
+ _See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/resign.ts)_
478
479
 
479
480
  ## `eas build:run`
480
481
 
@@ -498,7 +499,7 @@ DESCRIPTION
498
499
  run simulator/emulator builds from eas-cli
499
500
  ```
500
501
 
501
- _See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/run.ts)_
502
+ _See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/run.ts)_
502
503
 
503
504
  ## `eas build:submit`
504
505
 
@@ -545,7 +546,7 @@ DESCRIPTION
545
546
  Update version of an app.
546
547
  ```
547
548
 
548
- _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/version/set.ts)_
549
+ _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/version/set.ts)_
549
550
 
550
551
  ## `eas build:version:sync`
551
552
 
@@ -564,7 +565,7 @@ DESCRIPTION
564
565
  Update a version in native code with a value stored on EAS servers
565
566
  ```
566
567
 
567
- _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/version/sync.ts)_
568
+ _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/version/sync.ts)_
568
569
 
569
570
  ## `eas build:view [BUILD_ID]`
570
571
 
@@ -581,7 +582,7 @@ DESCRIPTION
581
582
  view a build for your project
582
583
  ```
583
584
 
584
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/build/view.ts)_
585
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/build/view.ts)_
585
586
 
586
587
  ## `eas channel:create [NAME]`
587
588
 
@@ -602,7 +603,7 @@ DESCRIPTION
602
603
  create a channel
603
604
  ```
604
605
 
605
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/channel/create.ts)_
606
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/channel/create.ts)_
606
607
 
607
608
  ## `eas channel:edit [NAME]`
608
609
 
@@ -624,7 +625,7 @@ DESCRIPTION
624
625
  point a channel at a new branch
625
626
  ```
626
627
 
627
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/channel/edit.ts)_
628
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/channel/edit.ts)_
628
629
 
629
630
  ## `eas channel:list`
630
631
 
@@ -644,7 +645,31 @@ DESCRIPTION
644
645
  list all channels
645
646
  ```
646
647
 
647
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/channel/list.ts)_
648
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/channel/list.ts)_
649
+
650
+ ## `eas channel:rollout [CHANNEL]`
651
+
652
+ Roll a new branch out on a channel incrementally.
653
+
654
+ ```
655
+ USAGE
656
+ $ eas channel:rollout [CHANNEL] [--branch <value>] [--percent <value>] [--end] [--json --non-interactive]
657
+
658
+ ARGUMENTS
659
+ CHANNEL channel on which the rollout should be done
660
+
661
+ FLAGS
662
+ --branch=<value> branch to rollout
663
+ --end end the rollout
664
+ --json Enable JSON output, non-JSON messages will be printed to stderr.
665
+ --non-interactive Run the command in non-interactive mode.
666
+ --percent=<value> percent of users to send to the new branch
667
+
668
+ DESCRIPTION
669
+ Roll a new branch out on a channel incrementally.
670
+ ```
671
+
672
+ _See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/channel/rollout.ts)_
648
673
 
649
674
  ## `eas channel:view [NAME]`
650
675
 
@@ -667,7 +692,7 @@ DESCRIPTION
667
692
  view a channel
668
693
  ```
669
694
 
670
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/channel/view.ts)_
695
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/channel/view.ts)_
671
696
 
672
697
  ## `eas config`
673
698
 
@@ -688,7 +713,7 @@ DESCRIPTION
688
713
  display project configuration (app.json + eas.json)
689
714
  ```
690
715
 
691
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/config.ts)_
716
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/config.ts)_
692
717
 
693
718
  ## `eas credentials`
694
719
 
@@ -705,7 +730,7 @@ DESCRIPTION
705
730
  manage credentials
706
731
  ```
707
732
 
708
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/credentials.ts)_
733
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/credentials.ts)_
709
734
 
710
735
  ## `eas device:create`
711
736
 
@@ -719,7 +744,7 @@ DESCRIPTION
719
744
  register new Apple Devices to use for internal distribution
720
745
  ```
721
746
 
722
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/device/create.ts)_
747
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/device/create.ts)_
723
748
 
724
749
  ## `eas device:delete`
725
750
 
@@ -739,7 +764,7 @@ DESCRIPTION
739
764
  remove a registered device from your account
740
765
  ```
741
766
 
742
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/device/delete.ts)_
767
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/device/delete.ts)_
743
768
 
744
769
  ## `eas device:list`
745
770
 
@@ -760,7 +785,7 @@ DESCRIPTION
760
785
  list all registered devices for your account
761
786
  ```
762
787
 
763
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/device/list.ts)_
788
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/device/list.ts)_
764
789
 
765
790
  ## `eas device:view [UDID]`
766
791
 
@@ -774,7 +799,7 @@ DESCRIPTION
774
799
  view a device for your project
775
800
  ```
776
801
 
777
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/device/view.ts)_
802
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/device/view.ts)_
778
803
 
779
804
  ## `eas diagnostics`
780
805
 
@@ -788,7 +813,7 @@ DESCRIPTION
788
813
  display environment info
789
814
  ```
790
815
 
791
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/diagnostics.ts)_
816
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/diagnostics.ts)_
792
817
 
793
818
  ## `eas help [COMMAND]`
794
819
 
@@ -876,7 +901,7 @@ DESCRIPTION
876
901
  validate the local store configuration
877
902
  ```
878
903
 
879
- _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/metadata/lint.ts)_
904
+ _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/metadata/lint.ts)_
880
905
 
881
906
  ## `eas metadata:pull`
882
907
 
@@ -893,7 +918,7 @@ DESCRIPTION
893
918
  generate the local store configuration from the app stores
894
919
  ```
895
920
 
896
- _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/metadata/pull.ts)_
921
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/metadata/pull.ts)_
897
922
 
898
923
  ## `eas metadata:push`
899
924
 
@@ -910,7 +935,7 @@ DESCRIPTION
910
935
  sync the local store configuration to the app stores
911
936
  ```
912
937
 
913
- _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/metadata/push.ts)_
938
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/metadata/push.ts)_
914
939
 
915
940
  ## `eas open`
916
941
 
@@ -924,7 +949,7 @@ DESCRIPTION
924
949
  open the project page in a web browser
925
950
  ```
926
951
 
927
- _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/open.ts)_
952
+ _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/open.ts)_
928
953
 
929
954
  ## `eas project:info`
930
955
 
@@ -938,7 +963,7 @@ DESCRIPTION
938
963
  information about the current project
939
964
  ```
940
965
 
941
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/project/info.ts)_
966
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/project/info.ts)_
942
967
 
943
968
  ## `eas project:init`
944
969
 
@@ -960,7 +985,7 @@ ALIASES
960
985
  $ eas init
961
986
  ```
962
987
 
963
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/project/init.ts)_
988
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/project/init.ts)_
964
989
 
965
990
  ## `eas secret:create`
966
991
 
@@ -983,7 +1008,7 @@ DESCRIPTION
983
1008
  create an environment secret on the current project or owner account
984
1009
  ```
985
1010
 
986
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/secret/create.ts)_
1011
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/secret/create.ts)_
987
1012
 
988
1013
  ## `eas secret:delete`
989
1014
 
@@ -1001,7 +1026,7 @@ DESCRIPTION
1001
1026
  delete an environment secret by ID
1002
1027
  ```
1003
1028
 
1004
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/secret/delete.ts)_
1029
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/secret/delete.ts)_
1005
1030
 
1006
1031
  ## `eas secret:list`
1007
1032
 
@@ -1015,7 +1040,7 @@ DESCRIPTION
1015
1040
  list environment secrets available for your current app
1016
1041
  ```
1017
1042
 
1018
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/secret/list.ts)_
1043
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/secret/list.ts)_
1019
1044
 
1020
1045
  ## `eas secret:push`
1021
1046
 
@@ -1035,7 +1060,7 @@ DESCRIPTION
1035
1060
  read environment secrets from env file and store on the server
1036
1061
  ```
1037
1062
 
1038
- _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/secret/push.ts)_
1063
+ _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/secret/push.ts)_
1039
1064
 
1040
1065
  ## `eas submit`
1041
1066
 
@@ -1065,7 +1090,7 @@ ALIASES
1065
1090
  $ eas build:submit
1066
1091
  ```
1067
1092
 
1068
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/submit.ts)_
1093
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/submit.ts)_
1069
1094
 
1070
1095
  ## `eas update`
1071
1096
 
@@ -1097,7 +1122,7 @@ DESCRIPTION
1097
1122
  publish an update group
1098
1123
  ```
1099
1124
 
1100
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/update/index.ts)_
1125
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/update/index.ts)_
1101
1126
 
1102
1127
  ## `eas update:configure`
1103
1128
 
@@ -1115,7 +1140,7 @@ DESCRIPTION
1115
1140
  configure the project to support EAS Update
1116
1141
  ```
1117
1142
 
1118
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/update/configure.ts)_
1143
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/update/configure.ts)_
1119
1144
 
1120
1145
  ## `eas update:delete GROUPID`
1121
1146
 
@@ -1136,7 +1161,7 @@ DESCRIPTION
1136
1161
  delete all the updates in an update group
1137
1162
  ```
1138
1163
 
1139
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/update/delete.ts)_
1164
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/update/delete.ts)_
1140
1165
 
1141
1166
  ## `eas update:list`
1142
1167
 
@@ -1158,11 +1183,11 @@ DESCRIPTION
1158
1183
  view the recent updates
1159
1184
  ```
1160
1185
 
1161
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/update/list.ts)_
1186
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/update/list.ts)_
1162
1187
 
1163
1188
  ## `eas update:republish`
1164
1189
 
1165
- rollback to an existing update
1190
+ roll back to an existing update
1166
1191
 
1167
1192
  ```
1168
1193
  USAGE
@@ -1179,10 +1204,10 @@ FLAGS
1179
1204
  --non-interactive Run the command in non-interactive mode.
1180
1205
 
1181
1206
  DESCRIPTION
1182
- rollback to an existing update
1207
+ roll back to an existing update
1183
1208
  ```
1184
1209
 
1185
- _See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/update/republish.ts)_
1210
+ _See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/update/republish.ts)_
1186
1211
 
1187
1212
  ## `eas update:view GROUPID`
1188
1213
 
@@ -1202,7 +1227,7 @@ DESCRIPTION
1202
1227
  update group details
1203
1228
  ```
1204
1229
 
1205
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/update/view.ts)_
1230
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/update/view.ts)_
1206
1231
 
1207
1232
  ## `eas webhook:create`
1208
1233
 
@@ -1223,7 +1248,7 @@ DESCRIPTION
1223
1248
  create a webhook
1224
1249
  ```
1225
1250
 
1226
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/webhook/create.ts)_
1251
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/webhook/create.ts)_
1227
1252
 
1228
1253
  ## `eas webhook:delete [ID]`
1229
1254
 
@@ -1243,7 +1268,7 @@ DESCRIPTION
1243
1268
  delete a webhook
1244
1269
  ```
1245
1270
 
1246
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/webhook/delete.ts)_
1271
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1247
1272
 
1248
1273
  ## `eas webhook:list`
1249
1274
 
@@ -1261,7 +1286,7 @@ DESCRIPTION
1261
1286
  list webhooks
1262
1287
  ```
1263
1288
 
1264
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/webhook/list.ts)_
1289
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/webhook/list.ts)_
1265
1290
 
1266
1291
  ## `eas webhook:update`
1267
1292
 
@@ -1283,7 +1308,7 @@ DESCRIPTION
1283
1308
  update a webhook
1284
1309
  ```
1285
1310
 
1286
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/webhook/update.ts)_
1311
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/webhook/update.ts)_
1287
1312
 
1288
1313
  ## `eas webhook:view ID`
1289
1314
 
@@ -1300,7 +1325,7 @@ DESCRIPTION
1300
1325
  view a webhook
1301
1326
  ```
1302
1327
 
1303
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.8.1/packages/eas-cli/src/commands/webhook/view.ts)_
1328
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.9.0/packages/eas-cli/src/commands/webhook/view.ts)_
1304
1329
 
1305
1330
  ## `eas whoami`
1306
1331
 
@@ -397,7 +397,7 @@ function formatAccountSubscriptionsUrl(accountName) {
397
397
  return new URL(`/accounts/${accountName}/settings/subscriptions`, (0, api_1.getExpoWebsiteBaseUrl)()).toString();
398
398
  }
399
399
  async function updateIosBuildProfilesToUseM1WorkersAsync(projectDir) {
400
- const easJsonAccessor = new eas_json_1.EasJsonAccessor(projectDir);
400
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
401
401
  await easJsonAccessor.readRawJsonAsync();
402
402
  const profileNames = await eas_json_1.EasJsonUtils.getBuildProfileNamesAsync(easJsonAccessor);
403
403
  easJsonAccessor.patch(easJsonRawObject => {
@@ -47,7 +47,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
47
47
  projectDir,
48
48
  nonInteractive: flags.nonInteractive,
49
49
  });
50
- const easJsonAccessor = new eas_json_1.EasJsonAccessor(projectDir);
50
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
51
51
  const easJsonCliConfig = (_a = (await eas_json_1.EasJsonUtils.getCliConfigAsync(easJsonAccessor))) !== null && _a !== void 0 ? _a : {};
52
52
  const platforms = (0, platform_1.toPlatforms)(flags.requestedPlatform);
53
53
  const buildProfiles = await (0, profiles_1.getProfilesAsync)({
@@ -8,8 +8,8 @@ const findProjectDirAndVerifyProjectSetupAsync_1 = require("./contextUtils/findP
8
8
  const getProjectIdAsync_1 = require("./contextUtils/getProjectIdAsync");
9
9
  class DynamicProjectConfigContextField extends ContextField_1.default {
10
10
  async getValueAsync({ nonInteractive, sessionManager, }) {
11
+ const projectDir = await (0, findProjectDirAndVerifyProjectSetupAsync_1.findProjectDirAndVerifyProjectSetupAsync)();
11
12
  return async (options) => {
12
- const projectDir = await (0, findProjectDirAndVerifyProjectSetupAsync_1.findProjectDirAndVerifyProjectSetupAsync)();
13
13
  const expBefore = (0, expoConfig_1.getExpoConfig)(projectDir, options);
14
14
  const projectId = await (0, getProjectIdAsync_1.getProjectIdAsync)(sessionManager, expBefore, {
15
15
  nonInteractive,
@@ -14,7 +14,7 @@ const easCli_1 = require("../../../utils/easCli");
14
14
  const vcs_1 = require("../../../vcs");
15
15
  const git_1 = tslib_1.__importDefault(require("../../../vcs/clients/git"));
16
16
  async function applyCliConfigAsync(projectDir) {
17
- const easJsonAccessor = new eas_json_1.EasJsonAccessor(projectDir);
17
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
18
18
  const config = await eas_json_1.EasJsonUtils.getCliConfigAsync(easJsonAccessor);
19
19
  if ((config === null || config === void 0 ? void 0 : config.version) && !semver_1.default.satisfies(easCli_1.easCliVersion, config.version)) {
20
20
  throw new Error(`You are on eas-cli@${easCli_1.easCliVersion} which does not satisfy the CLI version constraint in eas.json (${config.version})`);
@@ -188,7 +188,7 @@ async function handleDeprecatedEasJsonAsync(projectDir, nonInteractive) {
188
188
  if (!(await fs_extra_1.default.pathExists(eas_json_1.EasJsonAccessor.formatEasJsonPath(projectDir)))) {
189
189
  return;
190
190
  }
191
- const easJsonAccessor = new eas_json_1.EasJsonAccessor(projectDir);
191
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
192
192
  const profileNames = await eas_json_1.EasJsonUtils.getBuildProfileNamesAsync(easJsonAccessor);
193
193
  const platformAndProfileNames = profileNames.flatMap(profileName => [
194
194
  [eas_build_job_1.Platform.ANDROID, profileName],
@@ -8,6 +8,8 @@ const local_1 = require("../../build/local");
8
8
  const runBuildAndSubmit_1 = require("../../build/runBuildAndSubmit");
9
9
  const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
10
10
  const json_1 = require("../../utils/json");
11
+ const vcs_1 = require("../../vcs");
12
+ const gitNoCommit_1 = tslib_1.__importDefault(require("../../vcs/clients/gitNoCommit"));
11
13
  /**
12
14
  * This command will be run on the EAS Build workers, when building
13
15
  * directly from git. This command resolves credentials and other
@@ -22,6 +24,7 @@ class BuildInternal extends EasCommand_1.default {
22
24
  const { loggedIn: { actor, graphqlClient }, getDynamicProjectConfigAsync, projectDir, analytics, } = await this.getContextAsync(BuildInternal, {
23
25
  nonInteractive: true,
24
26
  });
27
+ (0, vcs_1.setVcsClient)(new gitNoCommit_1.default());
25
28
  await (0, _1.handleDeprecatedEasJsonAsync)(projectDir, flags.nonInteractive);
26
29
  await (0, runBuildAndSubmit_1.runBuildAndSubmitAsync)(graphqlClient, analytics, projectDir, {
27
30
  requestedPlatform: flags.platform,
@@ -49,7 +49,7 @@ class BuildResign extends EasCommand_1.default {
49
49
  }
50
50
  await (0, _1.handleDeprecatedEasJsonAsync)(projectDir, flags.nonInteractive);
51
51
  await (0, statuspageService_1.maybeWarnAboutEasOutagesAsync)(graphqlClient, [generated_1.StatuspageServiceName.EasBuild]);
52
- const easJsonAccessor = new eas_json_1.EasJsonAccessor(projectDir);
52
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
53
53
  const easJsonCliConfig = (_c = (await eas_json_1.EasJsonUtils.getCliConfigAsync(easJsonAccessor))) !== null && _c !== void 0 ? _c : {};
54
54
  const buildProfile = await eas_json_1.EasJsonUtils.getBuildProfileAsync(easJsonAccessor, platform, (_d = flags.profile) !== null && _d !== void 0 ? _d : 'production');
55
55
  const { exp, projectId } = await getDynamicProjectConfigAsync({ env: buildProfile.env });
@@ -27,7 +27,7 @@ class BuildVersionSetView extends EasCommand_1.default {
27
27
  nonInteractive: false,
28
28
  });
29
29
  const platform = await (0, platform_1.selectPlatformAsync)(flags.platform);
30
- const easJsonAccessor = new eas_json_1.EasJsonAccessor(projectDir);
30
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
31
31
  await (0, remoteVersionSource_1.ensureVersionSourceIsRemoteAsync)(easJsonAccessor);
32
32
  const profile = await eas_json_1.EasJsonUtils.getBuildProfileAsync(easJsonAccessor, platform, (_b = flags.profile) !== null && _b !== void 0 ? _b : undefined);
33
33
  const { exp, projectId } = await getDynamicProjectConfigAsync({ env: profile.env });
@@ -30,7 +30,7 @@ class BuildVersionSyncView extends EasCommand_1.default {
30
30
  nonInteractive: true,
31
31
  });
32
32
  const requestedPlatform = await (0, platform_1.selectRequestedPlatformAsync)(flags.platform);
33
- const easJsonAccessor = new eas_json_1.EasJsonAccessor(projectDir);
33
+ const easJsonAccessor = eas_json_1.EasJsonAccessor.fromProjectPath(projectDir);
34
34
  await (0, remoteVersionSource_1.ensureVersionSourceIsRemoteAsync)(easJsonAccessor);
35
35
  const platforms = (0, platform_1.toPlatforms)(requestedPlatform);
36
36
  const buildProfiles = await (0, profiles_1.getProfilesAsync)({
@@ -1,10 +1,8 @@
1
1
  import EasCommand from '../../commandUtils/EasCommand';
2
2
  export default class ChannelRollout extends EasCommand {
3
- static hidden: boolean;
4
3
  static description: string;
5
4
  static args: {
6
5
  name: string;
7
- required: boolean;
8
6
  description: string;
9
7
  }[];
10
8
  static flags: {