eas-cli 3.4.1 → 3.5.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 +102 -52
- package/build/build/android/graphql.js +1 -0
- package/build/build/build.js +7 -0
- package/build/build/createContext.d.ts +3 -4
- package/build/build/createContext.js +3 -1
- package/build/build/graphql.d.ts +3 -2
- package/build/build/graphql.js +11 -1
- package/build/build/ios/graphql.js +1 -0
- package/build/build/metadata.d.ts +1 -0
- package/build/build/metadata.js +5 -4
- package/build/build/runBuildAndSubmit.js +2 -45
- package/build/build/utils/resourceClass.d.ts +5 -0
- package/build/build/utils/resourceClass.js +67 -0
- package/build/channel/utils.js +2 -1
- package/build/commandUtils/context/DynamicProjectConfigContextField.d.ts +1 -1
- package/build/commands/update/index.js +1 -1
- package/build/credentials/ios/IosCredentialsProvider.js +13 -4
- package/build/credentials/ios/utils/provisioningProfile.d.ts +1 -0
- package/build/credentials/ios/utils/provisioningProfile.js +6 -1
- package/build/graphql/generated.d.ts +175 -14
- package/build/graphql/generated.js +7 -6
- package/build/graphql/mutations/BuildMutation.d.ts +4 -0
- package/build/graphql/mutations/BuildMutation.js +17 -0
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -97,6 +97,8 @@ 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)
|
|
100
102
|
* [`eas secret:create`](#eas-secretcreate)
|
|
101
103
|
* [`eas secret:delete`](#eas-secretdelete)
|
|
102
104
|
* [`eas secret:list`](#eas-secretlist)
|
|
@@ -130,7 +132,7 @@ ALIASES
|
|
|
130
132
|
$ eas login
|
|
131
133
|
```
|
|
132
134
|
|
|
133
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
135
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/account/login.ts)_
|
|
134
136
|
|
|
135
137
|
## `eas account:logout`
|
|
136
138
|
|
|
@@ -147,7 +149,7 @@ ALIASES
|
|
|
147
149
|
$ eas logout
|
|
148
150
|
```
|
|
149
151
|
|
|
150
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
152
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/account/logout.ts)_
|
|
151
153
|
|
|
152
154
|
## `eas account:view`
|
|
153
155
|
|
|
@@ -164,7 +166,7 @@ ALIASES
|
|
|
164
166
|
$ eas whoami
|
|
165
167
|
```
|
|
166
168
|
|
|
167
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
169
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/account/view.ts)_
|
|
168
170
|
|
|
169
171
|
## `eas analytics [STATUS]`
|
|
170
172
|
|
|
@@ -178,7 +180,7 @@ DESCRIPTION
|
|
|
178
180
|
display or change analytics settings
|
|
179
181
|
```
|
|
180
182
|
|
|
181
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
183
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/analytics.ts)_
|
|
182
184
|
|
|
183
185
|
## `eas autocomplete [SHELL]`
|
|
184
186
|
|
|
@@ -228,7 +230,7 @@ DESCRIPTION
|
|
|
228
230
|
create a branch
|
|
229
231
|
```
|
|
230
232
|
|
|
231
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
233
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/branch/create.ts)_
|
|
232
234
|
|
|
233
235
|
## `eas branch:delete [NAME]`
|
|
234
236
|
|
|
@@ -249,7 +251,7 @@ DESCRIPTION
|
|
|
249
251
|
delete a branch
|
|
250
252
|
```
|
|
251
253
|
|
|
252
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
254
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
253
255
|
|
|
254
256
|
## `eas branch:list`
|
|
255
257
|
|
|
@@ -269,7 +271,7 @@ DESCRIPTION
|
|
|
269
271
|
list all branches
|
|
270
272
|
```
|
|
271
273
|
|
|
272
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
274
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/branch/list.ts)_
|
|
273
275
|
|
|
274
276
|
## `eas branch:rename`
|
|
275
277
|
|
|
@@ -289,7 +291,7 @@ DESCRIPTION
|
|
|
289
291
|
rename a branch
|
|
290
292
|
```
|
|
291
293
|
|
|
292
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
294
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
293
295
|
|
|
294
296
|
## `eas branch:view [NAME]`
|
|
295
297
|
|
|
@@ -312,7 +314,7 @@ DESCRIPTION
|
|
|
312
314
|
view a branch
|
|
313
315
|
```
|
|
314
316
|
|
|
315
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
317
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/branch/view.ts)_
|
|
316
318
|
|
|
317
319
|
## `eas build`
|
|
318
320
|
|
|
@@ -342,7 +344,7 @@ DESCRIPTION
|
|
|
342
344
|
start a build
|
|
343
345
|
```
|
|
344
346
|
|
|
345
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
347
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/build/index.ts)_
|
|
346
348
|
|
|
347
349
|
## `eas build:cancel [BUILD_ID]`
|
|
348
350
|
|
|
@@ -359,7 +361,7 @@ DESCRIPTION
|
|
|
359
361
|
cancel a build
|
|
360
362
|
```
|
|
361
363
|
|
|
362
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
364
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
363
365
|
|
|
364
366
|
## `eas build:configure`
|
|
365
367
|
|
|
@@ -376,7 +378,7 @@ DESCRIPTION
|
|
|
376
378
|
configure the project to support EAS Build
|
|
377
379
|
```
|
|
378
380
|
|
|
379
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
381
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/build/configure.ts)_
|
|
380
382
|
|
|
381
383
|
## `eas build:inspect`
|
|
382
384
|
|
|
@@ -411,7 +413,7 @@ DESCRIPTION
|
|
|
411
413
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
412
414
|
```
|
|
413
415
|
|
|
414
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
416
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
415
417
|
|
|
416
418
|
## `eas build:list`
|
|
417
419
|
|
|
@@ -448,7 +450,7 @@ DESCRIPTION
|
|
|
448
450
|
list all builds for your project
|
|
449
451
|
```
|
|
450
452
|
|
|
451
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
453
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/build/list.ts)_
|
|
452
454
|
|
|
453
455
|
## `eas build:resign`
|
|
454
456
|
|
|
@@ -474,7 +476,7 @@ DESCRIPTION
|
|
|
474
476
|
re-sign a build archive
|
|
475
477
|
```
|
|
476
478
|
|
|
477
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
479
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/build/resign.ts)_
|
|
478
480
|
|
|
479
481
|
## `eas build:run`
|
|
480
482
|
|
|
@@ -498,7 +500,7 @@ DESCRIPTION
|
|
|
498
500
|
run simulator/emulator builds from eas-cli
|
|
499
501
|
```
|
|
500
502
|
|
|
501
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
503
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/build/run.ts)_
|
|
502
504
|
|
|
503
505
|
## `eas build:submit`
|
|
504
506
|
|
|
@@ -545,7 +547,7 @@ DESCRIPTION
|
|
|
545
547
|
Update version of an app.
|
|
546
548
|
```
|
|
547
549
|
|
|
548
|
-
_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.5.1/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
549
551
|
|
|
550
552
|
## `eas build:version:sync`
|
|
551
553
|
|
|
@@ -564,7 +566,7 @@ DESCRIPTION
|
|
|
564
566
|
Update a version in native code with a value stored on EAS servers
|
|
565
567
|
```
|
|
566
568
|
|
|
567
|
-
_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.5.1/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
568
570
|
|
|
569
571
|
## `eas build:view [BUILD_ID]`
|
|
570
572
|
|
|
@@ -581,7 +583,7 @@ DESCRIPTION
|
|
|
581
583
|
view a build for your project
|
|
582
584
|
```
|
|
583
585
|
|
|
584
|
-
_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.5.1/packages/eas-cli/src/commands/build/view.ts)_
|
|
585
587
|
|
|
586
588
|
## `eas channel:create [NAME]`
|
|
587
589
|
|
|
@@ -602,7 +604,7 @@ DESCRIPTION
|
|
|
602
604
|
create a channel
|
|
603
605
|
```
|
|
604
606
|
|
|
605
|
-
_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.5.1/packages/eas-cli/src/commands/channel/create.ts)_
|
|
606
608
|
|
|
607
609
|
## `eas channel:edit [NAME]`
|
|
608
610
|
|
|
@@ -624,7 +626,7 @@ DESCRIPTION
|
|
|
624
626
|
point a channel at a new branch
|
|
625
627
|
```
|
|
626
628
|
|
|
627
|
-
_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.5.1/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
628
630
|
|
|
629
631
|
## `eas channel:list`
|
|
630
632
|
|
|
@@ -644,7 +646,7 @@ DESCRIPTION
|
|
|
644
646
|
list all channels
|
|
645
647
|
```
|
|
646
648
|
|
|
647
|
-
_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.5.1/packages/eas-cli/src/commands/channel/list.ts)_
|
|
648
650
|
|
|
649
651
|
## `eas channel:view [NAME]`
|
|
650
652
|
|
|
@@ -667,7 +669,7 @@ DESCRIPTION
|
|
|
667
669
|
view a channel
|
|
668
670
|
```
|
|
669
671
|
|
|
670
|
-
_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.5.1/packages/eas-cli/src/commands/channel/view.ts)_
|
|
671
673
|
|
|
672
674
|
## `eas config`
|
|
673
675
|
|
|
@@ -688,7 +690,7 @@ DESCRIPTION
|
|
|
688
690
|
display project configuration (app.json + eas.json)
|
|
689
691
|
```
|
|
690
692
|
|
|
691
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
693
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/config.ts)_
|
|
692
694
|
|
|
693
695
|
## `eas credentials`
|
|
694
696
|
|
|
@@ -705,7 +707,7 @@ DESCRIPTION
|
|
|
705
707
|
manage credentials
|
|
706
708
|
```
|
|
707
709
|
|
|
708
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
710
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/credentials.ts)_
|
|
709
711
|
|
|
710
712
|
## `eas device:create`
|
|
711
713
|
|
|
@@ -719,7 +721,7 @@ DESCRIPTION
|
|
|
719
721
|
register new Apple Devices to use for internal distribution
|
|
720
722
|
```
|
|
721
723
|
|
|
722
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
724
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/device/create.ts)_
|
|
723
725
|
|
|
724
726
|
## `eas device:delete`
|
|
725
727
|
|
|
@@ -739,7 +741,7 @@ DESCRIPTION
|
|
|
739
741
|
remove a registered device from your account
|
|
740
742
|
```
|
|
741
743
|
|
|
742
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
744
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/device/delete.ts)_
|
|
743
745
|
|
|
744
746
|
## `eas device:list`
|
|
745
747
|
|
|
@@ -760,7 +762,7 @@ DESCRIPTION
|
|
|
760
762
|
list all registered devices for your account
|
|
761
763
|
```
|
|
762
764
|
|
|
763
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
765
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/device/list.ts)_
|
|
764
766
|
|
|
765
767
|
## `eas device:view [UDID]`
|
|
766
768
|
|
|
@@ -774,7 +776,7 @@ DESCRIPTION
|
|
|
774
776
|
view a device for your project
|
|
775
777
|
```
|
|
776
778
|
|
|
777
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
779
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/device/view.ts)_
|
|
778
780
|
|
|
779
781
|
## `eas diagnostics`
|
|
780
782
|
|
|
@@ -788,7 +790,7 @@ DESCRIPTION
|
|
|
788
790
|
display environment info
|
|
789
791
|
```
|
|
790
792
|
|
|
791
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
793
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
792
794
|
|
|
793
795
|
## `eas help [COMMAND]`
|
|
794
796
|
|
|
@@ -876,7 +878,7 @@ DESCRIPTION
|
|
|
876
878
|
validate the local store configuration
|
|
877
879
|
```
|
|
878
880
|
|
|
879
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
881
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
880
882
|
|
|
881
883
|
## `eas metadata:pull`
|
|
882
884
|
|
|
@@ -893,7 +895,7 @@ DESCRIPTION
|
|
|
893
895
|
generate the local store configuration from the app stores
|
|
894
896
|
```
|
|
895
897
|
|
|
896
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
898
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
897
899
|
|
|
898
900
|
## `eas metadata:push`
|
|
899
901
|
|
|
@@ -910,7 +912,7 @@ DESCRIPTION
|
|
|
910
912
|
sync the local store configuration to the app stores
|
|
911
913
|
```
|
|
912
914
|
|
|
913
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
915
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
914
916
|
|
|
915
917
|
## `eas open`
|
|
916
918
|
|
|
@@ -924,7 +926,7 @@ DESCRIPTION
|
|
|
924
926
|
open the project page in a web browser
|
|
925
927
|
```
|
|
926
928
|
|
|
927
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
929
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/open.ts)_
|
|
928
930
|
|
|
929
931
|
## `eas project:info`
|
|
930
932
|
|
|
@@ -938,7 +940,7 @@ DESCRIPTION
|
|
|
938
940
|
information about the current project
|
|
939
941
|
```
|
|
940
942
|
|
|
941
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
943
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/project/info.ts)_
|
|
942
944
|
|
|
943
945
|
## `eas project:init`
|
|
944
946
|
|
|
@@ -960,7 +962,55 @@ ALIASES
|
|
|
960
962
|
$ eas init
|
|
961
963
|
```
|
|
962
964
|
|
|
963
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
965
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/project/init.ts)_
|
|
966
|
+
|
|
967
|
+
## `eas run`
|
|
968
|
+
|
|
969
|
+
run simulator build
|
|
970
|
+
|
|
971
|
+
```
|
|
972
|
+
USAGE
|
|
973
|
+
$ eas run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios|all] [--offset
|
|
974
|
+
<value>] [--limit <value>]
|
|
975
|
+
|
|
976
|
+
FLAGS
|
|
977
|
+
-p, --platform=(android|ios|all)
|
|
978
|
+
--id=<value> ID of the simulator build to run
|
|
979
|
+
--latest Run the latest simulator build for specified platform
|
|
980
|
+
--limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
|
|
981
|
+
--offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
|
|
982
|
+
--path=<value> Path to the simulator build file file
|
|
983
|
+
--url=<value> Simulator build archive url
|
|
984
|
+
|
|
985
|
+
DESCRIPTION
|
|
986
|
+
run simulator build
|
|
987
|
+
```
|
|
988
|
+
|
|
989
|
+
_See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/run/index.ts)_
|
|
990
|
+
|
|
991
|
+
## `eas run:run`
|
|
992
|
+
|
|
993
|
+
run simulator build
|
|
994
|
+
|
|
995
|
+
```
|
|
996
|
+
USAGE
|
|
997
|
+
$ eas run:run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios|all] [--offset
|
|
998
|
+
<value>] [--limit <value>]
|
|
999
|
+
|
|
1000
|
+
FLAGS
|
|
1001
|
+
-p, --platform=(android|ios|all)
|
|
1002
|
+
--id=<value> ID of the simulator build to run
|
|
1003
|
+
--latest Run the latest simulator build for specified platform
|
|
1004
|
+
--limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
|
|
1005
|
+
--offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
|
|
1006
|
+
--path=<value> Path to the simulator build file file
|
|
1007
|
+
--url=<value> Simulator build archive url
|
|
1008
|
+
|
|
1009
|
+
DESCRIPTION
|
|
1010
|
+
run simulator build
|
|
1011
|
+
```
|
|
1012
|
+
|
|
1013
|
+
_See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/run/run.ts)_
|
|
964
1014
|
|
|
965
1015
|
## `eas secret:create`
|
|
966
1016
|
|
|
@@ -983,7 +1033,7 @@ DESCRIPTION
|
|
|
983
1033
|
create an environment secret on the current project or owner account
|
|
984
1034
|
```
|
|
985
1035
|
|
|
986
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1036
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/secret/create.ts)_
|
|
987
1037
|
|
|
988
1038
|
## `eas secret:delete`
|
|
989
1039
|
|
|
@@ -1001,7 +1051,7 @@ DESCRIPTION
|
|
|
1001
1051
|
delete an environment secret by ID
|
|
1002
1052
|
```
|
|
1003
1053
|
|
|
1004
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1054
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1005
1055
|
|
|
1006
1056
|
## `eas secret:list`
|
|
1007
1057
|
|
|
@@ -1015,7 +1065,7 @@ DESCRIPTION
|
|
|
1015
1065
|
list environment secrets available for your current app
|
|
1016
1066
|
```
|
|
1017
1067
|
|
|
1018
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1068
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1019
1069
|
|
|
1020
1070
|
## `eas secret:push`
|
|
1021
1071
|
|
|
@@ -1035,7 +1085,7 @@ DESCRIPTION
|
|
|
1035
1085
|
read environment secrets from env file and store on the server
|
|
1036
1086
|
```
|
|
1037
1087
|
|
|
1038
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1088
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1039
1089
|
|
|
1040
1090
|
## `eas submit`
|
|
1041
1091
|
|
|
@@ -1065,7 +1115,7 @@ ALIASES
|
|
|
1065
1115
|
$ eas build:submit
|
|
1066
1116
|
```
|
|
1067
1117
|
|
|
1068
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1118
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/submit.ts)_
|
|
1069
1119
|
|
|
1070
1120
|
## `eas update`
|
|
1071
1121
|
|
|
@@ -1097,7 +1147,7 @@ DESCRIPTION
|
|
|
1097
1147
|
publish an update group
|
|
1098
1148
|
```
|
|
1099
1149
|
|
|
1100
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1150
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/update/index.ts)_
|
|
1101
1151
|
|
|
1102
1152
|
## `eas update:configure`
|
|
1103
1153
|
|
|
@@ -1115,7 +1165,7 @@ DESCRIPTION
|
|
|
1115
1165
|
configure the project to support EAS Update
|
|
1116
1166
|
```
|
|
1117
1167
|
|
|
1118
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1168
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1119
1169
|
|
|
1120
1170
|
## `eas update:delete GROUPID`
|
|
1121
1171
|
|
|
@@ -1136,7 +1186,7 @@ DESCRIPTION
|
|
|
1136
1186
|
delete all the updates in an update group
|
|
1137
1187
|
```
|
|
1138
1188
|
|
|
1139
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1189
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1140
1190
|
|
|
1141
1191
|
## `eas update:list`
|
|
1142
1192
|
|
|
@@ -1158,7 +1208,7 @@ DESCRIPTION
|
|
|
1158
1208
|
view the recent updates
|
|
1159
1209
|
```
|
|
1160
1210
|
|
|
1161
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1211
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/update/list.ts)_
|
|
1162
1212
|
|
|
1163
1213
|
## `eas update:republish`
|
|
1164
1214
|
|
|
@@ -1182,7 +1232,7 @@ DESCRIPTION
|
|
|
1182
1232
|
rollback to an existing update
|
|
1183
1233
|
```
|
|
1184
1234
|
|
|
1185
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1235
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1186
1236
|
|
|
1187
1237
|
## `eas update:view GROUPID`
|
|
1188
1238
|
|
|
@@ -1202,7 +1252,7 @@ DESCRIPTION
|
|
|
1202
1252
|
update group details
|
|
1203
1253
|
```
|
|
1204
1254
|
|
|
1205
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1255
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/update/view.ts)_
|
|
1206
1256
|
|
|
1207
1257
|
## `eas webhook:create`
|
|
1208
1258
|
|
|
@@ -1223,7 +1273,7 @@ DESCRIPTION
|
|
|
1223
1273
|
create a webhook
|
|
1224
1274
|
```
|
|
1225
1275
|
|
|
1226
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1276
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1227
1277
|
|
|
1228
1278
|
## `eas webhook:delete [ID]`
|
|
1229
1279
|
|
|
@@ -1243,7 +1293,7 @@ DESCRIPTION
|
|
|
1243
1293
|
delete a webhook
|
|
1244
1294
|
```
|
|
1245
1295
|
|
|
1246
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1296
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1247
1297
|
|
|
1248
1298
|
## `eas webhook:list`
|
|
1249
1299
|
|
|
@@ -1261,7 +1311,7 @@ DESCRIPTION
|
|
|
1261
1311
|
list webhooks
|
|
1262
1312
|
```
|
|
1263
1313
|
|
|
1264
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1314
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1265
1315
|
|
|
1266
1316
|
## `eas webhook:update`
|
|
1267
1317
|
|
|
@@ -1283,7 +1333,7 @@ DESCRIPTION
|
|
|
1283
1333
|
update a webhook
|
|
1284
1334
|
```
|
|
1285
1335
|
|
|
1286
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1336
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1287
1337
|
|
|
1288
1338
|
## `eas webhook:view ID`
|
|
1289
1339
|
|
|
@@ -1300,7 +1350,7 @@ DESCRIPTION
|
|
|
1300
1350
|
view a webhook
|
|
1301
1351
|
```
|
|
1302
1352
|
|
|
1303
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1353
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.5.1/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1304
1354
|
|
|
1305
1355
|
## `eas whoami`
|
|
1306
1356
|
|
|
@@ -8,6 +8,7 @@ function transformJob(job) {
|
|
|
8
8
|
var _a;
|
|
9
9
|
return {
|
|
10
10
|
type: (0, graphql_1.transformWorkflow)(job.type),
|
|
11
|
+
triggeredBy: (0, graphql_1.transformBuildTrigger)(job.triggeredBy),
|
|
11
12
|
projectArchive: (0, graphql_1.transformProjectArchive)(job.projectArchive),
|
|
12
13
|
projectRootDirectory: job.projectRootDirectory,
|
|
13
14
|
releaseChannel: job.releaseChannel,
|
package/build/build/build.js
CHANGED
|
@@ -13,6 +13,7 @@ const AnalyticsManager_1 = require("../analytics/AnalyticsManager");
|
|
|
13
13
|
const common_1 = require("../analytics/common");
|
|
14
14
|
const api_1 = require("../api");
|
|
15
15
|
const generated_1 = require("../graphql/generated");
|
|
16
|
+
const BuildMutation_1 = require("../graphql/mutations/BuildMutation");
|
|
16
17
|
const BuildQuery_1 = require("../graphql/queries/BuildQuery");
|
|
17
18
|
const log_1 = tslib_1.__importStar(require("../log"));
|
|
18
19
|
const ora_1 = require("../ora");
|
|
@@ -24,6 +25,7 @@ const json_1 = require("../utils/json");
|
|
|
24
25
|
const progress_1 = require("../utils/progress");
|
|
25
26
|
const promise_1 = require("../utils/promise");
|
|
26
27
|
const vcs_1 = require("../vcs");
|
|
28
|
+
const graphql_1 = require("./graphql");
|
|
27
29
|
const local_1 = require("./local");
|
|
28
30
|
const metadata_1 = require("./metadata");
|
|
29
31
|
const printBuildInfo_1 = require("./utils/printBuildInfo");
|
|
@@ -83,6 +85,10 @@ async function prepareBuildRequestForPlatformAsync(builder) {
|
|
|
83
85
|
return undefined;
|
|
84
86
|
}
|
|
85
87
|
else if (ctx.localBuildOptions.localBuildMode === local_1.LocalBuildMode.INTERNAL) {
|
|
88
|
+
await BuildMutation_1.BuildMutation.updateBuildMetadataAsync(ctx.graphqlClient, {
|
|
89
|
+
buildId: (0, nullthrows_1.default)(process.env.EAS_BUILD_ID),
|
|
90
|
+
metadata: (0, graphql_1.transformMetadata)(metadata),
|
|
91
|
+
});
|
|
86
92
|
(0, json_1.printJsonOnlyOutput)({ job, metadata });
|
|
87
93
|
return undefined;
|
|
88
94
|
}
|
|
@@ -105,6 +111,7 @@ const SERVER_SIDE_DEFINED_ERRORS = [
|
|
|
105
111
|
'EAS_BUILD_FREE_TIER_DISABLED',
|
|
106
112
|
'EAS_BUILD_FREE_TIER_DISABLED_IOS',
|
|
107
113
|
'EAS_BUILD_FREE_TIER_DISABLED_ANDROID',
|
|
114
|
+
'VALIDATION_ERROR',
|
|
108
115
|
];
|
|
109
116
|
function handleBuildRequestError(error, platform) {
|
|
110
117
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Platform } from '@expo/eas-build-job';
|
|
2
|
-
import { BuildProfile, EasJson } from '@expo/eas-json';
|
|
2
|
+
import { BuildProfile, EasJson, ResourceClass } from '@expo/eas-json';
|
|
3
3
|
import { Analytics } from '../analytics/AnalyticsManager';
|
|
4
4
|
import { DynamicConfigContextFn } from '../commandUtils/context/DynamicProjectConfigContextField';
|
|
5
5
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
6
|
-
import { BuildResourceClass } from '../graphql/generated';
|
|
7
6
|
import { Actor } from '../user/User';
|
|
8
7
|
import { BuildContext } from './context';
|
|
9
8
|
import { LocalBuildOptions } from './local';
|
|
10
|
-
export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, easJsonCliConfig, clearCache, localBuildOptions, nonInteractive, noWait, platform, projectDir,
|
|
9
|
+
export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, easJsonCliConfig, clearCache, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, }: {
|
|
11
10
|
buildProfileName: string;
|
|
12
11
|
buildProfile: BuildProfile<T>;
|
|
13
12
|
easJsonCliConfig: EasJson['cli'];
|
|
@@ -17,7 +16,7 @@ export declare function createBuildContextAsync<T extends Platform>({ buildProfi
|
|
|
17
16
|
noWait: boolean;
|
|
18
17
|
platform: T;
|
|
19
18
|
projectDir: string;
|
|
20
|
-
|
|
19
|
+
resourceClassFlag?: ResourceClass;
|
|
21
20
|
message?: string;
|
|
22
21
|
actor: Actor;
|
|
23
22
|
graphqlClient: ExpoGraphqlClient;
|
|
@@ -13,7 +13,8 @@ const projectUtils_1 = require("../project/projectUtils");
|
|
|
13
13
|
const workflow_1 = require("../project/workflow");
|
|
14
14
|
const build_1 = require("./android/build");
|
|
15
15
|
const build_2 = require("./ios/build");
|
|
16
|
-
|
|
16
|
+
const resourceClass_1 = require("./utils/resourceClass");
|
|
17
|
+
async function createBuildContextAsync({ buildProfileName, buildProfile, easJsonCliConfig, clearCache = false, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, }) {
|
|
17
18
|
const { exp, projectId } = await getDynamicProjectConfigAsync({ env: buildProfile.env });
|
|
18
19
|
const projectName = exp.slug;
|
|
19
20
|
const account = await (0, projectUtils_1.getOwnerAccountForProjectIdAsync)(graphqlClient, projectId);
|
|
@@ -47,6 +48,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, easJson
|
|
|
47
48
|
run_from_ci: runFromCI,
|
|
48
49
|
};
|
|
49
50
|
analytics.logEvent(AnalyticsManager_1.BuildEvent.BUILD_COMMAND, analyticsEventProperties);
|
|
51
|
+
const resourceClass = await (0, resourceClass_1.resolveBuildResourceClassAsync)(buildProfile, platform, projectDir, exp, resourceClassFlag);
|
|
50
52
|
const commonContext = {
|
|
51
53
|
accountName: account.name,
|
|
52
54
|
buildProfile,
|
package/build/build/graphql.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ArchiveSource, Metadata, Workflow } from '@expo/eas-build-job';
|
|
2
|
-
import { BuildIosEnterpriseProvisioning, BuildMetadataInput, BuildMode, BuildWorkflow, ProjectArchiveSourceInput } from '../graphql/generated';
|
|
1
|
+
import { ArchiveSource, BuildTrigger, Metadata, Workflow } from '@expo/eas-build-job';
|
|
2
|
+
import { BuildIosEnterpriseProvisioning, BuildMetadataInput, BuildMode, BuildWorkflow, BuildTrigger as GraphQLBuildTrigger, ProjectArchiveSourceInput } from '../graphql/generated';
|
|
3
3
|
export declare function transformProjectArchive(archiveSource: ArchiveSource): ProjectArchiveSourceInput;
|
|
4
4
|
export declare function transformMetadata(metadata: Metadata): BuildMetadataInput;
|
|
5
5
|
export declare function transformWorkflow(workflow: Workflow): BuildWorkflow;
|
|
6
6
|
export declare function transformIosEnterpriseProvisioning(enterpriseProvisioning: Metadata['iosEnterpriseProvisioning']): BuildIosEnterpriseProvisioning;
|
|
7
7
|
export declare function transformBuildMode(buildMode: Metadata['buildMode']): BuildMode;
|
|
8
|
+
export declare function transformBuildTrigger(buildTrigger: BuildTrigger): GraphQLBuildTrigger;
|
package/build/build/graphql.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transformBuildMode = exports.transformIosEnterpriseProvisioning = exports.transformWorkflow = exports.transformMetadata = exports.transformProjectArchive = void 0;
|
|
3
|
+
exports.transformBuildTrigger = exports.transformBuildMode = exports.transformIosEnterpriseProvisioning = exports.transformWorkflow = exports.transformMetadata = exports.transformProjectArchive = void 0;
|
|
4
4
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
5
5
|
const generated_1 = require("../graphql/generated");
|
|
6
6
|
function transformProjectArchive(archiveSource) {
|
|
@@ -85,3 +85,13 @@ function transformBuildMode(buildMode) {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
exports.transformBuildMode = transformBuildMode;
|
|
88
|
+
function transformBuildTrigger(buildTrigger) {
|
|
89
|
+
if (buildTrigger === eas_build_job_1.BuildTrigger.EAS_CLI) {
|
|
90
|
+
return generated_1.BuildTrigger.EasCli;
|
|
91
|
+
}
|
|
92
|
+
else if (buildTrigger === eas_build_job_1.BuildTrigger.GIT_BASED_INTEGRATION) {
|
|
93
|
+
return generated_1.BuildTrigger.GitBasedIntegration;
|
|
94
|
+
}
|
|
95
|
+
throw new Error('Unknown build trigger');
|
|
96
|
+
}
|
|
97
|
+
exports.transformBuildTrigger = transformBuildTrigger;
|
|
@@ -8,6 +8,7 @@ function transformJob(job) {
|
|
|
8
8
|
var _a;
|
|
9
9
|
return {
|
|
10
10
|
type: (0, graphql_1.transformWorkflow)(job.type),
|
|
11
|
+
triggeredBy: (0, graphql_1.transformBuildTrigger)(job.triggeredBy),
|
|
11
12
|
projectArchive: (0, graphql_1.transformProjectArchive)(job.projectArchive),
|
|
12
13
|
projectRootDirectory: (0, nullthrows_1.default)(job.projectRootDirectory),
|
|
13
14
|
releaseChannel: job.releaseChannel,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Metadata, Platform } from '@expo/eas-build-job';
|
|
2
2
|
import { BuildContext } from './context';
|
|
3
3
|
export declare function collectMetadataAsync<T extends Platform>(ctx: BuildContext<T>): Promise<Metadata>;
|
|
4
|
+
export declare function getReactNativeVersionAsync(projectDir: string): Promise<string | undefined>;
|
|
4
5
|
export declare function truncateGitCommitMessage(msg: string | undefined, maxLength?: number): string | undefined;
|