eas-cli 3.2.1 → 3.3.1
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 +61 -104
- package/build/build/runBuildAndSubmit.d.ts +2 -2
- package/build/build/runBuildAndSubmit.js +40 -16
- package/build/build/types.d.ts +0 -9
- package/build/build/types.js +1 -11
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +2 -0
- package/build/commands/build/index.d.ts +2 -2
- package/build/commands/build/index.js +6 -10
- package/build/commands/project/init.js +1 -1
- package/build/graphql/generated.d.ts +401 -25
- package/build/graphql/generated.js +25 -3
- package/build/project/projectUtils.js +2 -0
- package/build/user/User.js +2 -0
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -97,8 +97,6 @@ eas --help COMMAND
|
|
|
97
97
|
* [`eas open`](#eas-open)
|
|
98
98
|
* [`eas project:info`](#eas-projectinfo)
|
|
99
99
|
* [`eas project:init`](#eas-projectinit)
|
|
100
|
-
* [`eas run`](#eas-run)
|
|
101
|
-
* [`eas run:run`](#eas-runrun)
|
|
102
100
|
* [`eas secret:create`](#eas-secretcreate)
|
|
103
101
|
* [`eas secret:delete`](#eas-secretdelete)
|
|
104
102
|
* [`eas secret:list`](#eas-secretlist)
|
|
@@ -132,7 +130,7 @@ ALIASES
|
|
|
132
130
|
$ eas login
|
|
133
131
|
```
|
|
134
132
|
|
|
135
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
133
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/account/login.ts)_
|
|
136
134
|
|
|
137
135
|
## `eas account:logout`
|
|
138
136
|
|
|
@@ -149,7 +147,7 @@ ALIASES
|
|
|
149
147
|
$ eas logout
|
|
150
148
|
```
|
|
151
149
|
|
|
152
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
150
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/account/logout.ts)_
|
|
153
151
|
|
|
154
152
|
## `eas account:view`
|
|
155
153
|
|
|
@@ -166,7 +164,7 @@ ALIASES
|
|
|
166
164
|
$ eas whoami
|
|
167
165
|
```
|
|
168
166
|
|
|
169
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
167
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/account/view.ts)_
|
|
170
168
|
|
|
171
169
|
## `eas analytics [STATUS]`
|
|
172
170
|
|
|
@@ -180,7 +178,7 @@ DESCRIPTION
|
|
|
180
178
|
display or change analytics settings
|
|
181
179
|
```
|
|
182
180
|
|
|
183
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
181
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/analytics.ts)_
|
|
184
182
|
|
|
185
183
|
## `eas autocomplete [SHELL]`
|
|
186
184
|
|
|
@@ -230,7 +228,7 @@ DESCRIPTION
|
|
|
230
228
|
create a branch
|
|
231
229
|
```
|
|
232
230
|
|
|
233
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
231
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/branch/create.ts)_
|
|
234
232
|
|
|
235
233
|
## `eas branch:delete [NAME]`
|
|
236
234
|
|
|
@@ -251,7 +249,7 @@ DESCRIPTION
|
|
|
251
249
|
delete a branch
|
|
252
250
|
```
|
|
253
251
|
|
|
254
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
252
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
255
253
|
|
|
256
254
|
## `eas branch:list`
|
|
257
255
|
|
|
@@ -271,7 +269,7 @@ DESCRIPTION
|
|
|
271
269
|
list all branches
|
|
272
270
|
```
|
|
273
271
|
|
|
274
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
272
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/branch/list.ts)_
|
|
275
273
|
|
|
276
274
|
## `eas branch:rename`
|
|
277
275
|
|
|
@@ -291,7 +289,7 @@ DESCRIPTION
|
|
|
291
289
|
rename a branch
|
|
292
290
|
```
|
|
293
291
|
|
|
294
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
292
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
295
293
|
|
|
296
294
|
## `eas branch:view [NAME]`
|
|
297
295
|
|
|
@@ -314,7 +312,7 @@ DESCRIPTION
|
|
|
314
312
|
view a branch
|
|
315
313
|
```
|
|
316
314
|
|
|
317
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
315
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/branch/view.ts)_
|
|
318
316
|
|
|
319
317
|
## `eas build`
|
|
320
318
|
|
|
@@ -344,7 +342,7 @@ DESCRIPTION
|
|
|
344
342
|
start a build
|
|
345
343
|
```
|
|
346
344
|
|
|
347
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
345
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/index.ts)_
|
|
348
346
|
|
|
349
347
|
## `eas build:cancel [BUILD_ID]`
|
|
350
348
|
|
|
@@ -361,7 +359,7 @@ DESCRIPTION
|
|
|
361
359
|
cancel a build
|
|
362
360
|
```
|
|
363
361
|
|
|
364
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
362
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
365
363
|
|
|
366
364
|
## `eas build:configure`
|
|
367
365
|
|
|
@@ -378,7 +376,7 @@ DESCRIPTION
|
|
|
378
376
|
configure the project to support EAS Build
|
|
379
377
|
```
|
|
380
378
|
|
|
381
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
379
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/configure.ts)_
|
|
382
380
|
|
|
383
381
|
## `eas build:inspect`
|
|
384
382
|
|
|
@@ -413,7 +411,7 @@ DESCRIPTION
|
|
|
413
411
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
414
412
|
```
|
|
415
413
|
|
|
416
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
414
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
417
415
|
|
|
418
416
|
## `eas build:list`
|
|
419
417
|
|
|
@@ -450,7 +448,7 @@ DESCRIPTION
|
|
|
450
448
|
list all builds for your project
|
|
451
449
|
```
|
|
452
450
|
|
|
453
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
451
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/list.ts)_
|
|
454
452
|
|
|
455
453
|
## `eas build:resign`
|
|
456
454
|
|
|
@@ -476,7 +474,7 @@ DESCRIPTION
|
|
|
476
474
|
re-sign a build archive
|
|
477
475
|
```
|
|
478
476
|
|
|
479
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
477
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/resign.ts)_
|
|
480
478
|
|
|
481
479
|
## `eas build:run`
|
|
482
480
|
|
|
@@ -500,7 +498,7 @@ DESCRIPTION
|
|
|
500
498
|
run simulator/emulator builds from eas-cli
|
|
501
499
|
```
|
|
502
500
|
|
|
503
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
501
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/run.ts)_
|
|
504
502
|
|
|
505
503
|
## `eas build:submit`
|
|
506
504
|
|
|
@@ -530,6 +528,8 @@ ALIASES
|
|
|
530
528
|
$ eas build:submit
|
|
531
529
|
```
|
|
532
530
|
|
|
531
|
+
_See code: [src/commands/build/submit.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/submit.ts)_
|
|
532
|
+
|
|
533
533
|
## `eas build:version:set`
|
|
534
534
|
|
|
535
535
|
Update version of an app.
|
|
@@ -547,7 +547,7 @@ DESCRIPTION
|
|
|
547
547
|
Update version of an app.
|
|
548
548
|
```
|
|
549
549
|
|
|
550
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
550
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
551
551
|
|
|
552
552
|
## `eas build:version:sync`
|
|
553
553
|
|
|
@@ -566,7 +566,7 @@ DESCRIPTION
|
|
|
566
566
|
Update a version in native code with a value stored on EAS servers
|
|
567
567
|
```
|
|
568
568
|
|
|
569
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
569
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
570
570
|
|
|
571
571
|
## `eas build:view [BUILD_ID]`
|
|
572
572
|
|
|
@@ -583,7 +583,7 @@ DESCRIPTION
|
|
|
583
583
|
view a build for your project
|
|
584
584
|
```
|
|
585
585
|
|
|
586
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
586
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/build/view.ts)_
|
|
587
587
|
|
|
588
588
|
## `eas channel:create [NAME]`
|
|
589
589
|
|
|
@@ -604,7 +604,7 @@ DESCRIPTION
|
|
|
604
604
|
create a channel
|
|
605
605
|
```
|
|
606
606
|
|
|
607
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
607
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/channel/create.ts)_
|
|
608
608
|
|
|
609
609
|
## `eas channel:edit [NAME]`
|
|
610
610
|
|
|
@@ -626,7 +626,7 @@ DESCRIPTION
|
|
|
626
626
|
point a channel at a new branch
|
|
627
627
|
```
|
|
628
628
|
|
|
629
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
629
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
630
630
|
|
|
631
631
|
## `eas channel:list`
|
|
632
632
|
|
|
@@ -646,7 +646,7 @@ DESCRIPTION
|
|
|
646
646
|
list all channels
|
|
647
647
|
```
|
|
648
648
|
|
|
649
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
649
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/channel/list.ts)_
|
|
650
650
|
|
|
651
651
|
## `eas channel:view [NAME]`
|
|
652
652
|
|
|
@@ -669,7 +669,7 @@ DESCRIPTION
|
|
|
669
669
|
view a channel
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
672
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/channel/view.ts)_
|
|
673
673
|
|
|
674
674
|
## `eas config`
|
|
675
675
|
|
|
@@ -688,7 +688,7 @@ DESCRIPTION
|
|
|
688
688
|
display project configuration (app.json + eas.json)
|
|
689
689
|
```
|
|
690
690
|
|
|
691
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
691
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/config.ts)_
|
|
692
692
|
|
|
693
693
|
## `eas credentials`
|
|
694
694
|
|
|
@@ -705,7 +705,7 @@ DESCRIPTION
|
|
|
705
705
|
manage credentials
|
|
706
706
|
```
|
|
707
707
|
|
|
708
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
708
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/credentials.ts)_
|
|
709
709
|
|
|
710
710
|
## `eas device:create`
|
|
711
711
|
|
|
@@ -719,7 +719,7 @@ DESCRIPTION
|
|
|
719
719
|
register new Apple Devices to use for internal distribution
|
|
720
720
|
```
|
|
721
721
|
|
|
722
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
722
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/device/create.ts)_
|
|
723
723
|
|
|
724
724
|
## `eas device:delete`
|
|
725
725
|
|
|
@@ -739,7 +739,7 @@ DESCRIPTION
|
|
|
739
739
|
remove a registered device from your account
|
|
740
740
|
```
|
|
741
741
|
|
|
742
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
742
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/device/delete.ts)_
|
|
743
743
|
|
|
744
744
|
## `eas device:list`
|
|
745
745
|
|
|
@@ -760,7 +760,7 @@ DESCRIPTION
|
|
|
760
760
|
list all registered devices for your account
|
|
761
761
|
```
|
|
762
762
|
|
|
763
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
763
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/device/list.ts)_
|
|
764
764
|
|
|
765
765
|
## `eas device:view [UDID]`
|
|
766
766
|
|
|
@@ -774,7 +774,7 @@ DESCRIPTION
|
|
|
774
774
|
view a device for your project
|
|
775
775
|
```
|
|
776
776
|
|
|
777
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
777
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/device/view.ts)_
|
|
778
778
|
|
|
779
779
|
## `eas diagnostics`
|
|
780
780
|
|
|
@@ -788,7 +788,7 @@ DESCRIPTION
|
|
|
788
788
|
display environment info
|
|
789
789
|
```
|
|
790
790
|
|
|
791
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
791
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
792
792
|
|
|
793
793
|
## `eas help [COMMAND]`
|
|
794
794
|
|
|
@@ -845,6 +845,8 @@ ALIASES
|
|
|
845
845
|
$ eas login
|
|
846
846
|
```
|
|
847
847
|
|
|
848
|
+
_See code: [src/commands/login.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/login.ts)_
|
|
849
|
+
|
|
848
850
|
## `eas logout`
|
|
849
851
|
|
|
850
852
|
log out
|
|
@@ -860,6 +862,8 @@ ALIASES
|
|
|
860
862
|
$ eas logout
|
|
861
863
|
```
|
|
862
864
|
|
|
865
|
+
_See code: [src/commands/logout.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/logout.ts)_
|
|
866
|
+
|
|
863
867
|
## `eas metadata:lint`
|
|
864
868
|
|
|
865
869
|
validate the local store configuration
|
|
@@ -876,7 +880,7 @@ DESCRIPTION
|
|
|
876
880
|
validate the local store configuration
|
|
877
881
|
```
|
|
878
882
|
|
|
879
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
883
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
880
884
|
|
|
881
885
|
## `eas metadata:pull`
|
|
882
886
|
|
|
@@ -893,7 +897,7 @@ DESCRIPTION
|
|
|
893
897
|
generate the local store configuration from the app stores
|
|
894
898
|
```
|
|
895
899
|
|
|
896
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
900
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
897
901
|
|
|
898
902
|
## `eas metadata:push`
|
|
899
903
|
|
|
@@ -910,7 +914,7 @@ DESCRIPTION
|
|
|
910
914
|
sync the local store configuration to the app stores
|
|
911
915
|
```
|
|
912
916
|
|
|
913
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
917
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
914
918
|
|
|
915
919
|
## `eas open`
|
|
916
920
|
|
|
@@ -924,7 +928,7 @@ DESCRIPTION
|
|
|
924
928
|
open the project page in a web browser
|
|
925
929
|
```
|
|
926
930
|
|
|
927
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
931
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/open.ts)_
|
|
928
932
|
|
|
929
933
|
## `eas project:info`
|
|
930
934
|
|
|
@@ -938,7 +942,7 @@ DESCRIPTION
|
|
|
938
942
|
information about the current project
|
|
939
943
|
```
|
|
940
944
|
|
|
941
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
945
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/project/info.ts)_
|
|
942
946
|
|
|
943
947
|
## `eas project:init`
|
|
944
948
|
|
|
@@ -960,55 +964,7 @@ ALIASES
|
|
|
960
964
|
$ eas init
|
|
961
965
|
```
|
|
962
966
|
|
|
963
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
964
|
-
|
|
965
|
-
## `eas run`
|
|
966
|
-
|
|
967
|
-
run simulator build
|
|
968
|
-
|
|
969
|
-
```
|
|
970
|
-
USAGE
|
|
971
|
-
$ eas run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios|all] [--offset
|
|
972
|
-
<value>] [--limit <value>]
|
|
973
|
-
|
|
974
|
-
FLAGS
|
|
975
|
-
-p, --platform=(android|ios|all)
|
|
976
|
-
--id=<value> ID of the simulator build to run
|
|
977
|
-
--latest Run the latest simulator build for specified platform
|
|
978
|
-
--limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
|
|
979
|
-
--offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
|
|
980
|
-
--path=<value> Path to the simulator build file file
|
|
981
|
-
--url=<value> Simulator build archive url
|
|
982
|
-
|
|
983
|
-
DESCRIPTION
|
|
984
|
-
run simulator build
|
|
985
|
-
```
|
|
986
|
-
|
|
987
|
-
_See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v3.2.1/packages/eas-cli/src/commands/run/index.ts)_
|
|
988
|
-
|
|
989
|
-
## `eas run:run`
|
|
990
|
-
|
|
991
|
-
run simulator build
|
|
992
|
-
|
|
993
|
-
```
|
|
994
|
-
USAGE
|
|
995
|
-
$ eas run:run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios|all] [--offset
|
|
996
|
-
<value>] [--limit <value>]
|
|
997
|
-
|
|
998
|
-
FLAGS
|
|
999
|
-
-p, --platform=(android|ios|all)
|
|
1000
|
-
--id=<value> ID of the simulator build to run
|
|
1001
|
-
--latest Run the latest simulator build for specified platform
|
|
1002
|
-
--limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
|
|
1003
|
-
--offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
|
|
1004
|
-
--path=<value> Path to the simulator build file file
|
|
1005
|
-
--url=<value> Simulator build archive url
|
|
1006
|
-
|
|
1007
|
-
DESCRIPTION
|
|
1008
|
-
run simulator build
|
|
1009
|
-
```
|
|
1010
|
-
|
|
1011
|
-
_See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v3.2.1/packages/eas-cli/src/commands/run/run.ts)_
|
|
967
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/project/init.ts)_
|
|
1012
968
|
|
|
1013
969
|
## `eas secret:create`
|
|
1014
970
|
|
|
@@ -1031,7 +987,7 @@ DESCRIPTION
|
|
|
1031
987
|
create an environment secret on the current project or owner account
|
|
1032
988
|
```
|
|
1033
989
|
|
|
1034
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
990
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1035
991
|
|
|
1036
992
|
## `eas secret:delete`
|
|
1037
993
|
|
|
@@ -1049,7 +1005,7 @@ DESCRIPTION
|
|
|
1049
1005
|
delete an environment secret by ID
|
|
1050
1006
|
```
|
|
1051
1007
|
|
|
1052
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1008
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1053
1009
|
|
|
1054
1010
|
## `eas secret:list`
|
|
1055
1011
|
|
|
@@ -1063,7 +1019,7 @@ DESCRIPTION
|
|
|
1063
1019
|
list environment secrets available for your current app
|
|
1064
1020
|
```
|
|
1065
1021
|
|
|
1066
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1022
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1067
1023
|
|
|
1068
1024
|
## `eas secret:push`
|
|
1069
1025
|
|
|
@@ -1083,7 +1039,7 @@ DESCRIPTION
|
|
|
1083
1039
|
read environment secrets from env file and store on the server
|
|
1084
1040
|
```
|
|
1085
1041
|
|
|
1086
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1042
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1087
1043
|
|
|
1088
1044
|
## `eas submit`
|
|
1089
1045
|
|
|
@@ -1113,7 +1069,7 @@ ALIASES
|
|
|
1113
1069
|
$ eas build:submit
|
|
1114
1070
|
```
|
|
1115
1071
|
|
|
1116
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1072
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/submit.ts)_
|
|
1117
1073
|
|
|
1118
1074
|
## `eas update`
|
|
1119
1075
|
|
|
@@ -1145,7 +1101,7 @@ DESCRIPTION
|
|
|
1145
1101
|
publish an update group
|
|
1146
1102
|
```
|
|
1147
1103
|
|
|
1148
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1104
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/update/index.ts)_
|
|
1149
1105
|
|
|
1150
1106
|
## `eas update:configure`
|
|
1151
1107
|
|
|
@@ -1163,7 +1119,7 @@ DESCRIPTION
|
|
|
1163
1119
|
configure the project to support EAS Update
|
|
1164
1120
|
```
|
|
1165
1121
|
|
|
1166
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1122
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1167
1123
|
|
|
1168
1124
|
## `eas update:delete GROUPID`
|
|
1169
1125
|
|
|
@@ -1184,7 +1140,7 @@ DESCRIPTION
|
|
|
1184
1140
|
delete all the updates in an update group
|
|
1185
1141
|
```
|
|
1186
1142
|
|
|
1187
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1143
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1188
1144
|
|
|
1189
1145
|
## `eas update:list`
|
|
1190
1146
|
|
|
@@ -1206,7 +1162,7 @@ DESCRIPTION
|
|
|
1206
1162
|
view the recent updates
|
|
1207
1163
|
```
|
|
1208
1164
|
|
|
1209
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1165
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/update/list.ts)_
|
|
1210
1166
|
|
|
1211
1167
|
## `eas update:republish`
|
|
1212
1168
|
|
|
@@ -1230,7 +1186,7 @@ DESCRIPTION
|
|
|
1230
1186
|
rollback to an existing update
|
|
1231
1187
|
```
|
|
1232
1188
|
|
|
1233
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1189
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1234
1190
|
|
|
1235
1191
|
## `eas update:view GROUPID`
|
|
1236
1192
|
|
|
@@ -1250,7 +1206,7 @@ DESCRIPTION
|
|
|
1250
1206
|
update group details
|
|
1251
1207
|
```
|
|
1252
1208
|
|
|
1253
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1209
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/update/view.ts)_
|
|
1254
1210
|
|
|
1255
1211
|
## `eas webhook:create`
|
|
1256
1212
|
|
|
@@ -1271,7 +1227,7 @@ DESCRIPTION
|
|
|
1271
1227
|
create a webhook
|
|
1272
1228
|
```
|
|
1273
1229
|
|
|
1274
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1230
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1275
1231
|
|
|
1276
1232
|
## `eas webhook:delete [ID]`
|
|
1277
1233
|
|
|
@@ -1291,7 +1247,7 @@ DESCRIPTION
|
|
|
1291
1247
|
delete a webhook
|
|
1292
1248
|
```
|
|
1293
1249
|
|
|
1294
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1250
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1295
1251
|
|
|
1296
1252
|
## `eas webhook:list`
|
|
1297
1253
|
|
|
@@ -1299,17 +1255,16 @@ list webhooks
|
|
|
1299
1255
|
|
|
1300
1256
|
```
|
|
1301
1257
|
USAGE
|
|
1302
|
-
$ eas webhook:list [--event BUILD|SUBMIT]
|
|
1258
|
+
$ eas webhook:list [--event BUILD|SUBMIT]
|
|
1303
1259
|
|
|
1304
1260
|
FLAGS
|
|
1305
1261
|
--event=(BUILD|SUBMIT) Event type that triggers the webhook
|
|
1306
|
-
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
1307
1262
|
|
|
1308
1263
|
DESCRIPTION
|
|
1309
1264
|
list webhooks
|
|
1310
1265
|
```
|
|
1311
1266
|
|
|
1312
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1267
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1313
1268
|
|
|
1314
1269
|
## `eas webhook:update`
|
|
1315
1270
|
|
|
@@ -1331,7 +1286,7 @@ DESCRIPTION
|
|
|
1331
1286
|
update a webhook
|
|
1332
1287
|
```
|
|
1333
1288
|
|
|
1334
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1289
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1335
1290
|
|
|
1336
1291
|
## `eas webhook:view ID`
|
|
1337
1292
|
|
|
@@ -1348,7 +1303,7 @@ DESCRIPTION
|
|
|
1348
1303
|
view a webhook
|
|
1349
1304
|
```
|
|
1350
1305
|
|
|
1351
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1306
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1352
1307
|
|
|
1353
1308
|
## `eas whoami`
|
|
1354
1309
|
|
|
@@ -1364,4 +1319,6 @@ DESCRIPTION
|
|
|
1364
1319
|
ALIASES
|
|
1365
1320
|
$ eas whoami
|
|
1366
1321
|
```
|
|
1322
|
+
|
|
1323
|
+
_See code: [src/commands/whoami.ts](https://github.com/expo/eas-cli/blob/v3.3.1/packages/eas-cli/src/commands/whoami.ts)_
|
|
1367
1324
|
<!-- commandsstop -->
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ResourceClass } from '@expo/eas-json';
|
|
1
2
|
import { Analytics } from '../analytics/AnalyticsManager';
|
|
2
3
|
import { DynamicConfigContextFn } from '../commandUtils/context/DynamicProjectConfigContextField';
|
|
3
4
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
4
5
|
import { RequestedPlatform } from '../platform';
|
|
5
6
|
import { Actor } from '../user/User';
|
|
6
7
|
import { LocalBuildOptions } from './local';
|
|
7
|
-
import { UserInputResourceClass } from './types';
|
|
8
8
|
export interface BuildFlags {
|
|
9
9
|
requestedPlatform: RequestedPlatform;
|
|
10
10
|
profile?: string;
|
|
@@ -15,7 +15,7 @@ export interface BuildFlags {
|
|
|
15
15
|
autoSubmit: boolean;
|
|
16
16
|
submitProfile?: string;
|
|
17
17
|
localBuildOptions: LocalBuildOptions;
|
|
18
|
-
|
|
18
|
+
resourceClass?: ResourceClass;
|
|
19
19
|
message?: string;
|
|
20
20
|
}
|
|
21
21
|
export declare function runBuildAndSubmitAsync(graphqlClient: ExpoGraphqlClient, analytics: Analytics, projectDir: string, flags: BuildFlags, actor: Actor, getDynamicProjectConfigAsync: DynamicConfigContextFn): Promise<void>;
|
|
@@ -33,31 +33,55 @@ const build_2 = require("./build");
|
|
|
33
33
|
const configure_1 = require("./configure");
|
|
34
34
|
const createContext_1 = require("./createContext");
|
|
35
35
|
const build_3 = require("./ios/build");
|
|
36
|
-
const types_1 = require("./types");
|
|
37
36
|
const devClient_1 = require("./utils/devClient");
|
|
38
37
|
const printBuildInfo_1 = require("./utils/printBuildInfo");
|
|
39
38
|
const repository_1 = require("./utils/repository");
|
|
40
39
|
let metroConfigValidated = false;
|
|
41
40
|
let sdkVersionChecked = false;
|
|
42
|
-
const
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
41
|
+
const iosResourceClassToBuildResourceClassMapping = {
|
|
42
|
+
[eas_json_1.ResourceClass.DEFAULT]: generated_1.BuildResourceClass.IosDefault,
|
|
43
|
+
[eas_json_1.ResourceClass.LARGE]: generated_1.BuildResourceClass.IosLarge,
|
|
44
|
+
[eas_json_1.ResourceClass.M1_EXPERIMENTAL]: generated_1.BuildResourceClass.IosM1Large,
|
|
45
|
+
[eas_json_1.ResourceClass.M1_MEDIUM]: generated_1.BuildResourceClass.IosM1Medium,
|
|
46
|
+
[eas_json_1.ResourceClass.M1_LARGE]: generated_1.BuildResourceClass.IosM1Large,
|
|
47
|
+
[eas_json_1.ResourceClass.INTEL_MEDIUM]: generated_1.BuildResourceClass.IosIntelMedium,
|
|
48
|
+
[eas_json_1.ResourceClass.MEDIUM]: generated_1.BuildResourceClass.IosMedium,
|
|
46
49
|
};
|
|
47
|
-
const
|
|
48
|
-
[
|
|
49
|
-
[
|
|
50
|
+
const androidResourceClassToBuildResourceClassMapping = {
|
|
51
|
+
[eas_json_1.ResourceClass.DEFAULT]: generated_1.BuildResourceClass.AndroidDefault,
|
|
52
|
+
[eas_json_1.ResourceClass.LARGE]: generated_1.BuildResourceClass.AndroidLarge,
|
|
53
|
+
[eas_json_1.ResourceClass.MEDIUM]: generated_1.BuildResourceClass.AndroidMedium,
|
|
50
54
|
};
|
|
51
|
-
function
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
function resolveBuildResourceClass(profile, resourceClassFlag) {
|
|
56
|
+
var _a;
|
|
57
|
+
if (profile.platform !== eas_build_job_1.Platform.IOS &&
|
|
58
|
+
resourceClassFlag &&
|
|
59
|
+
[
|
|
60
|
+
eas_json_1.ResourceClass.M1_EXPERIMENTAL,
|
|
61
|
+
eas_json_1.ResourceClass.M1_MEDIUM,
|
|
62
|
+
eas_json_1.ResourceClass.M1_LARGE,
|
|
63
|
+
eas_json_1.ResourceClass.INTEL_MEDIUM,
|
|
64
|
+
].includes(resourceClassFlag)) {
|
|
65
|
+
throw new Error(`Resource class ${resourceClassFlag} is only available for iOS builds`);
|
|
66
|
+
}
|
|
67
|
+
const profileResourceClass = profile.profile.resourceClass;
|
|
68
|
+
if (profileResourceClass && resourceClassFlag && resourceClassFlag !== profileResourceClass) {
|
|
69
|
+
log_1.default.warn(`Build profile specifies the "${profileResourceClass}" resource class but you passed "${resourceClassFlag}" to --resource-class.\nUsing the "${resourceClassFlag}" as the override.`);
|
|
70
|
+
}
|
|
71
|
+
const resourceClass = (_a = resourceClassFlag !== null && resourceClassFlag !== void 0 ? resourceClassFlag : profileResourceClass) !== null && _a !== void 0 ? _a : eas_json_1.ResourceClass.DEFAULT;
|
|
72
|
+
if (profile.platform === eas_build_job_1.Platform.IOS && resourceClass === eas_json_1.ResourceClass.M1_EXPERIMENTAL) {
|
|
73
|
+
log_1.default.warn(`Resource class ${chalk_1.default.bold('m1-experimental')} is deprecated.`);
|
|
54
74
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
75
|
+
if (profile.platform === eas_build_job_1.Platform.IOS &&
|
|
76
|
+
[eas_json_1.ResourceClass.LARGE, eas_json_1.ResourceClass.M1_LARGE].includes(resourceClass)) {
|
|
77
|
+
log_1.default.warn(`Large resource classes are not available for iOS builds yet. Your build will use the medium resource class.`);
|
|
78
|
+
}
|
|
79
|
+
return profile.platform === eas_build_job_1.Platform.ANDROID
|
|
80
|
+
? androidResourceClassToBuildResourceClassMapping[resourceClass]
|
|
81
|
+
: iosResourceClassToBuildResourceClassMapping[resourceClass];
|
|
58
82
|
}
|
|
59
83
|
async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flags, actor, getDynamicProjectConfigAsync) {
|
|
60
|
-
var _a, _b
|
|
84
|
+
var _a, _b;
|
|
61
85
|
await (0, vcs_1.getVcsClient)().ensureRepoExistsAsync();
|
|
62
86
|
await (0, repository_1.ensureRepoIsCleanAsync)(flags.nonInteractive);
|
|
63
87
|
await (0, configure_1.ensureProjectConfiguredAsync)({
|
|
@@ -89,7 +113,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
89
113
|
flags,
|
|
90
114
|
moreBuilds: platforms.length > 1,
|
|
91
115
|
buildProfile,
|
|
92
|
-
resourceClass:
|
|
116
|
+
resourceClass: resolveBuildResourceClass(buildProfile, flags.resourceClass),
|
|
93
117
|
easJsonCliConfig,
|
|
94
118
|
actor,
|
|
95
119
|
graphqlClient,
|