eas-cli 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -102
- package/build/analytics/AnalyticsManager.js +2 -1
- package/build/build/android/build.js +2 -1
- package/build/build/android/graphql.js +2 -0
- package/build/build/android/prepareJob.js +15 -6
- package/build/build/graphql.d.ts +1 -1
- package/build/build/graphql.js +8 -1
- package/build/build/ios/credentials.js +2 -1
- package/build/build/ios/graphql.js +3 -1
- package/build/build/ios/prepareJob.js +29 -19
- package/build/build/metadata.js +1 -0
- package/build/build/queries.js +19 -9
- package/build/build/runBuildAndSubmit.js +2 -0
- package/build/build/utils/printBuildInfo.d.ts +1 -1
- package/build/build/utils/printBuildInfo.js +43 -11
- package/build/build/utils/url.d.ts +1 -1
- package/build/build/utils/url.js +2 -2
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +7 -1
- package/build/commands/build/index.js +6 -0
- package/build/commands/update/index.js +21 -4
- package/build/graphql/generated.d.ts +37 -45
- package/build/graphql/generated.js +3 -0
- package/build/log.d.ts +2 -1
- package/build/log.js +2 -2
- package/build/project/android/gradleUtils.js +1 -1
- package/build/project/customBuildConfig.d.ts +4 -0
- package/build/project/customBuildConfig.js +22 -0
- package/build/project/publish.d.ts +22 -0
- package/build/project/publish.js +51 -6
- package/build/submit/ArchiveSource.js +21 -12
- package/oclif.manifest.json +1 -1
- package/package.json +6 -5
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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
504
502
|
|
|
505
503
|
## `eas build:submit`
|
|
506
504
|
|
|
@@ -547,7 +545,7 @@ DESCRIPTION
|
|
|
547
545
|
Update version of an app.
|
|
548
546
|
```
|
|
549
547
|
|
|
550
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
548
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
551
549
|
|
|
552
550
|
## `eas build:version:sync`
|
|
553
551
|
|
|
@@ -566,7 +564,7 @@ DESCRIPTION
|
|
|
566
564
|
Update a version in native code with a value stored on EAS servers
|
|
567
565
|
```
|
|
568
566
|
|
|
569
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
567
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
570
568
|
|
|
571
569
|
## `eas build:view [BUILD_ID]`
|
|
572
570
|
|
|
@@ -583,7 +581,7 @@ DESCRIPTION
|
|
|
583
581
|
view a build for your project
|
|
584
582
|
```
|
|
585
583
|
|
|
586
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
584
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
587
585
|
|
|
588
586
|
## `eas channel:create [NAME]`
|
|
589
587
|
|
|
@@ -604,7 +602,7 @@ DESCRIPTION
|
|
|
604
602
|
create a channel
|
|
605
603
|
```
|
|
606
604
|
|
|
607
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
605
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
608
606
|
|
|
609
607
|
## `eas channel:edit [NAME]`
|
|
610
608
|
|
|
@@ -626,7 +624,7 @@ DESCRIPTION
|
|
|
626
624
|
point a channel at a new branch
|
|
627
625
|
```
|
|
628
626
|
|
|
629
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
627
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
630
628
|
|
|
631
629
|
## `eas channel:list`
|
|
632
630
|
|
|
@@ -646,7 +644,7 @@ DESCRIPTION
|
|
|
646
644
|
list all channels
|
|
647
645
|
```
|
|
648
646
|
|
|
649
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
647
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
650
648
|
|
|
651
649
|
## `eas channel:view [NAME]`
|
|
652
650
|
|
|
@@ -669,7 +667,7 @@ DESCRIPTION
|
|
|
669
667
|
view a channel
|
|
670
668
|
```
|
|
671
669
|
|
|
672
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
670
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
673
671
|
|
|
674
672
|
## `eas config`
|
|
675
673
|
|
|
@@ -690,7 +688,7 @@ DESCRIPTION
|
|
|
690
688
|
display project configuration (app.json + eas.json)
|
|
691
689
|
```
|
|
692
690
|
|
|
693
|
-
_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.7.0/packages/eas-cli/src/commands/config.ts)_
|
|
694
692
|
|
|
695
693
|
## `eas credentials`
|
|
696
694
|
|
|
@@ -707,7 +705,7 @@ DESCRIPTION
|
|
|
707
705
|
manage credentials
|
|
708
706
|
```
|
|
709
707
|
|
|
710
|
-
_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.7.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
711
709
|
|
|
712
710
|
## `eas device:create`
|
|
713
711
|
|
|
@@ -721,7 +719,7 @@ DESCRIPTION
|
|
|
721
719
|
register new Apple Devices to use for internal distribution
|
|
722
720
|
```
|
|
723
721
|
|
|
724
|
-
_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.7.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
725
723
|
|
|
726
724
|
## `eas device:delete`
|
|
727
725
|
|
|
@@ -741,7 +739,7 @@ DESCRIPTION
|
|
|
741
739
|
remove a registered device from your account
|
|
742
740
|
```
|
|
743
741
|
|
|
744
|
-
_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.7.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
745
743
|
|
|
746
744
|
## `eas device:list`
|
|
747
745
|
|
|
@@ -762,7 +760,7 @@ DESCRIPTION
|
|
|
762
760
|
list all registered devices for your account
|
|
763
761
|
```
|
|
764
762
|
|
|
765
|
-
_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.7.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
766
764
|
|
|
767
765
|
## `eas device:view [UDID]`
|
|
768
766
|
|
|
@@ -776,7 +774,7 @@ DESCRIPTION
|
|
|
776
774
|
view a device for your project
|
|
777
775
|
```
|
|
778
776
|
|
|
779
|
-
_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.7.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
780
778
|
|
|
781
779
|
## `eas diagnostics`
|
|
782
780
|
|
|
@@ -790,7 +788,7 @@ DESCRIPTION
|
|
|
790
788
|
display environment info
|
|
791
789
|
```
|
|
792
790
|
|
|
793
|
-
_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.7.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
794
792
|
|
|
795
793
|
## `eas help [COMMAND]`
|
|
796
794
|
|
|
@@ -878,7 +876,7 @@ DESCRIPTION
|
|
|
878
876
|
validate the local store configuration
|
|
879
877
|
```
|
|
880
878
|
|
|
881
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
879
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
882
880
|
|
|
883
881
|
## `eas metadata:pull`
|
|
884
882
|
|
|
@@ -895,7 +893,7 @@ DESCRIPTION
|
|
|
895
893
|
generate the local store configuration from the app stores
|
|
896
894
|
```
|
|
897
895
|
|
|
898
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
896
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
899
897
|
|
|
900
898
|
## `eas metadata:push`
|
|
901
899
|
|
|
@@ -912,7 +910,7 @@ DESCRIPTION
|
|
|
912
910
|
sync the local store configuration to the app stores
|
|
913
911
|
```
|
|
914
912
|
|
|
915
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
913
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
916
914
|
|
|
917
915
|
## `eas open`
|
|
918
916
|
|
|
@@ -926,7 +924,7 @@ DESCRIPTION
|
|
|
926
924
|
open the project page in a web browser
|
|
927
925
|
```
|
|
928
926
|
|
|
929
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
927
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/open.ts)_
|
|
930
928
|
|
|
931
929
|
## `eas project:info`
|
|
932
930
|
|
|
@@ -940,7 +938,7 @@ DESCRIPTION
|
|
|
940
938
|
information about the current project
|
|
941
939
|
```
|
|
942
940
|
|
|
943
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
941
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
944
942
|
|
|
945
943
|
## `eas project:init`
|
|
946
944
|
|
|
@@ -962,55 +960,7 @@ ALIASES
|
|
|
962
960
|
$ eas init
|
|
963
961
|
```
|
|
964
962
|
|
|
965
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
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.6.0/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.6.0/packages/eas-cli/src/commands/run/run.ts)_
|
|
963
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
1014
964
|
|
|
1015
965
|
## `eas secret:create`
|
|
1016
966
|
|
|
@@ -1033,7 +983,7 @@ DESCRIPTION
|
|
|
1033
983
|
create an environment secret on the current project or owner account
|
|
1034
984
|
```
|
|
1035
985
|
|
|
1036
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
986
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1037
987
|
|
|
1038
988
|
## `eas secret:delete`
|
|
1039
989
|
|
|
@@ -1051,7 +1001,7 @@ DESCRIPTION
|
|
|
1051
1001
|
delete an environment secret by ID
|
|
1052
1002
|
```
|
|
1053
1003
|
|
|
1054
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1004
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1055
1005
|
|
|
1056
1006
|
## `eas secret:list`
|
|
1057
1007
|
|
|
@@ -1065,7 +1015,7 @@ DESCRIPTION
|
|
|
1065
1015
|
list environment secrets available for your current app
|
|
1066
1016
|
```
|
|
1067
1017
|
|
|
1068
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1018
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1069
1019
|
|
|
1070
1020
|
## `eas secret:push`
|
|
1071
1021
|
|
|
@@ -1085,7 +1035,7 @@ DESCRIPTION
|
|
|
1085
1035
|
read environment secrets from env file and store on the server
|
|
1086
1036
|
```
|
|
1087
1037
|
|
|
1088
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1038
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1089
1039
|
|
|
1090
1040
|
## `eas submit`
|
|
1091
1041
|
|
|
@@ -1115,7 +1065,7 @@ ALIASES
|
|
|
1115
1065
|
$ eas build:submit
|
|
1116
1066
|
```
|
|
1117
1067
|
|
|
1118
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1068
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1119
1069
|
|
|
1120
1070
|
## `eas update`
|
|
1121
1071
|
|
|
@@ -1147,7 +1097,7 @@ DESCRIPTION
|
|
|
1147
1097
|
publish an update group
|
|
1148
1098
|
```
|
|
1149
1099
|
|
|
1150
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1100
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1151
1101
|
|
|
1152
1102
|
## `eas update:configure`
|
|
1153
1103
|
|
|
@@ -1165,7 +1115,7 @@ DESCRIPTION
|
|
|
1165
1115
|
configure the project to support EAS Update
|
|
1166
1116
|
```
|
|
1167
1117
|
|
|
1168
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1118
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1169
1119
|
|
|
1170
1120
|
## `eas update:delete GROUPID`
|
|
1171
1121
|
|
|
@@ -1186,7 +1136,7 @@ DESCRIPTION
|
|
|
1186
1136
|
delete all the updates in an update group
|
|
1187
1137
|
```
|
|
1188
1138
|
|
|
1189
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1139
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1190
1140
|
|
|
1191
1141
|
## `eas update:list`
|
|
1192
1142
|
|
|
@@ -1208,7 +1158,7 @@ DESCRIPTION
|
|
|
1208
1158
|
view the recent updates
|
|
1209
1159
|
```
|
|
1210
1160
|
|
|
1211
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1161
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1212
1162
|
|
|
1213
1163
|
## `eas update:republish`
|
|
1214
1164
|
|
|
@@ -1232,7 +1182,7 @@ DESCRIPTION
|
|
|
1232
1182
|
rollback to an existing update
|
|
1233
1183
|
```
|
|
1234
1184
|
|
|
1235
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1185
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1236
1186
|
|
|
1237
1187
|
## `eas update:view GROUPID`
|
|
1238
1188
|
|
|
@@ -1252,7 +1202,7 @@ DESCRIPTION
|
|
|
1252
1202
|
update group details
|
|
1253
1203
|
```
|
|
1254
1204
|
|
|
1255
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1205
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1256
1206
|
|
|
1257
1207
|
## `eas webhook:create`
|
|
1258
1208
|
|
|
@@ -1273,7 +1223,7 @@ DESCRIPTION
|
|
|
1273
1223
|
create a webhook
|
|
1274
1224
|
```
|
|
1275
1225
|
|
|
1276
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1226
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1277
1227
|
|
|
1278
1228
|
## `eas webhook:delete [ID]`
|
|
1279
1229
|
|
|
@@ -1293,7 +1243,7 @@ DESCRIPTION
|
|
|
1293
1243
|
delete a webhook
|
|
1294
1244
|
```
|
|
1295
1245
|
|
|
1296
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1246
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1297
1247
|
|
|
1298
1248
|
## `eas webhook:list`
|
|
1299
1249
|
|
|
@@ -1311,7 +1261,7 @@ DESCRIPTION
|
|
|
1311
1261
|
list webhooks
|
|
1312
1262
|
```
|
|
1313
1263
|
|
|
1314
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1264
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1315
1265
|
|
|
1316
1266
|
## `eas webhook:update`
|
|
1317
1267
|
|
|
@@ -1333,7 +1283,7 @@ DESCRIPTION
|
|
|
1333
1283
|
update a webhook
|
|
1334
1284
|
```
|
|
1335
1285
|
|
|
1336
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1286
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1337
1287
|
|
|
1338
1288
|
## `eas webhook:view ID`
|
|
1339
1289
|
|
|
@@ -1350,7 +1300,7 @@ DESCRIPTION
|
|
|
1350
1300
|
view a webhook
|
|
1351
1301
|
```
|
|
1352
1302
|
|
|
1353
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1303
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.7.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1354
1304
|
|
|
1355
1305
|
## `eas whoami`
|
|
1356
1306
|
|
|
@@ -105,7 +105,8 @@ async function createAnalyticsAsync() {
|
|
|
105
105
|
if (process.env.DISABLE_EAS_ANALYTICS) {
|
|
106
106
|
await UserSettings_1.default.setAsync(USER_SETTINGS_KEY_ANALYTICS_ENABLED, false);
|
|
107
107
|
}
|
|
108
|
-
const analyticsEnabled =
|
|
108
|
+
const analyticsEnabled = !process.env.https_proxy && // disable analytics if running behind proxy
|
|
109
|
+
(await UserSettings_1.default.getAsync(USER_SETTINGS_KEY_ANALYTICS_ENABLED, true));
|
|
109
110
|
if (!analyticsEnabled) {
|
|
110
111
|
return new NoOpAnalytics();
|
|
111
112
|
}
|
|
@@ -88,7 +88,8 @@ async function prepareAndroidBuildAsync(ctx) {
|
|
|
88
88
|
}
|
|
89
89
|
exports.prepareAndroidBuildAsync = prepareAndroidBuildAsync;
|
|
90
90
|
function shouldProvideCredentials(ctx) {
|
|
91
|
-
|
|
91
|
+
const isCustomBuild = ctx.buildProfile.config !== undefined;
|
|
92
|
+
return !ctx.buildProfile.withoutCredentials && !isCustomBuild;
|
|
92
93
|
}
|
|
93
94
|
async function ensureAndroidCredentialsAsync(ctx) {
|
|
94
95
|
if (!shouldProvideCredentials(ctx)) {
|
|
@@ -24,6 +24,8 @@ function transformJob(job) {
|
|
|
24
24
|
buildType: job.buildType && transformBuildType(job.buildType),
|
|
25
25
|
developmentClient: job.developmentClient,
|
|
26
26
|
experimental: job.experimental,
|
|
27
|
+
mode: (0, graphql_1.transformBuildMode)(job.mode),
|
|
28
|
+
customBuildConfig: job.customBuildConfig,
|
|
27
29
|
};
|
|
28
30
|
}
|
|
29
31
|
exports.transformJob = transformJob;
|
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
7
|
const slash_1 = tslib_1.__importDefault(require("slash"));
|
|
8
|
+
const customBuildConfig_1 = require("../../project/customBuildConfig");
|
|
8
9
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
9
10
|
const vcs_1 = require("../../vcs");
|
|
10
11
|
const cacheDefaults = {
|
|
@@ -30,10 +31,13 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
30
31
|
},
|
|
31
32
|
}
|
|
32
33
|
: {};
|
|
33
|
-
let buildType =
|
|
34
|
-
if (!buildType && !buildProfile.gradleCommand &&
|
|
34
|
+
let buildType = buildProfile.buildType;
|
|
35
|
+
if (!buildType && !buildProfile.gradleCommand && buildProfile.distribution === 'internal') {
|
|
35
36
|
buildType = eas_build_job_1.Android.BuildType.APK;
|
|
36
37
|
}
|
|
38
|
+
const maybeCustomBuildConfigPath = buildProfile.config
|
|
39
|
+
? (0, customBuildConfig_1.getCustomBuildConfigPath)(buildProfile.config)
|
|
40
|
+
: undefined;
|
|
37
41
|
const job = {
|
|
38
42
|
type: ctx.workflow,
|
|
39
43
|
platform: eas_build_job_1.Platform.ANDROID,
|
|
@@ -55,8 +59,8 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
55
59
|
secrets: {
|
|
56
60
|
...buildCredentials,
|
|
57
61
|
},
|
|
58
|
-
releaseChannel:
|
|
59
|
-
updates: { channel:
|
|
62
|
+
releaseChannel: buildProfile.releaseChannel,
|
|
63
|
+
updates: { channel: buildProfile.channel },
|
|
60
64
|
developmentClient: buildProfile.developmentClient,
|
|
61
65
|
gradleCommand: buildProfile.gradleCommand,
|
|
62
66
|
applicationArchivePath: (_a = buildProfile.applicationArchivePath) !== null && _a !== void 0 ? _a : buildProfile.artifactPath,
|
|
@@ -69,10 +73,15 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
69
73
|
},
|
|
70
74
|
}),
|
|
71
75
|
experimental: {
|
|
72
|
-
prebuildCommand:
|
|
76
|
+
prebuildCommand: buildProfile.prebuildCommand,
|
|
73
77
|
},
|
|
74
|
-
mode: eas_build_job_1.BuildMode.BUILD,
|
|
78
|
+
mode: buildProfile.config ? eas_build_job_1.BuildMode.CUSTOM : eas_build_job_1.BuildMode.BUILD,
|
|
75
79
|
triggeredBy: eas_build_job_1.BuildTrigger.EAS_CLI,
|
|
80
|
+
...(maybeCustomBuildConfigPath && {
|
|
81
|
+
customBuildConfig: {
|
|
82
|
+
path: maybeCustomBuildConfigPath,
|
|
83
|
+
},
|
|
84
|
+
}),
|
|
76
85
|
};
|
|
77
86
|
return (0, eas_build_job_1.sanitizeJob)(job);
|
|
78
87
|
}
|
package/build/build/graphql.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export declare function transformProjectArchive(archiveSource: ArchiveSource): P
|
|
|
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
|
-
export declare function transformBuildMode(buildMode:
|
|
7
|
+
export declare function transformBuildMode(buildMode: string): BuildMode;
|
|
8
8
|
export declare function transformBuildTrigger(buildTrigger: BuildTrigger): GraphQLBuildTrigger;
|
package/build/build/graphql.js
CHANGED
|
@@ -76,13 +76,20 @@ function transformIosEnterpriseProvisioning(enterpriseProvisioning) {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
exports.transformIosEnterpriseProvisioning = transformIosEnterpriseProvisioning;
|
|
79
|
+
// TODO: check what in metadata
|
|
79
80
|
function transformBuildMode(buildMode) {
|
|
80
81
|
if (buildMode === 'build') {
|
|
81
82
|
return generated_1.BuildMode.Build;
|
|
82
83
|
}
|
|
83
|
-
else {
|
|
84
|
+
else if (buildMode === 'resign') {
|
|
84
85
|
return generated_1.BuildMode.Resign;
|
|
85
86
|
}
|
|
87
|
+
else if (buildMode === 'custom') {
|
|
88
|
+
return generated_1.BuildMode.Custom;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
throw new Error(`Unsupported build mode: ${buildMode}`);
|
|
92
|
+
}
|
|
86
93
|
}
|
|
87
94
|
exports.transformBuildMode = transformBuildMode;
|
|
88
95
|
function transformBuildTrigger(buildTrigger) {
|
|
@@ -41,5 +41,6 @@ async function ensureIosCredentialsForBuildResignAsync(credentialsCtx, targets,
|
|
|
41
41
|
}
|
|
42
42
|
exports.ensureIosCredentialsForBuildResignAsync = ensureIosCredentialsForBuildResignAsync;
|
|
43
43
|
function shouldProvideCredentials(buildCtx) {
|
|
44
|
-
|
|
44
|
+
const isCustomBuild = buildCtx.buildProfile.config !== undefined;
|
|
45
|
+
return !buildCtx.buildProfile.simulator && !isCustomBuild;
|
|
45
46
|
}
|
|
@@ -13,7 +13,7 @@ function transformJob(job) {
|
|
|
13
13
|
projectRootDirectory: (0, nullthrows_1.default)(job.projectRootDirectory),
|
|
14
14
|
releaseChannel: job.releaseChannel,
|
|
15
15
|
updates: job.updates,
|
|
16
|
-
secrets: transformIosSecrets(job.secrets),
|
|
16
|
+
secrets: job.secrets ? transformIosSecrets(job.secrets) : undefined,
|
|
17
17
|
builderEnvironment: job.builderEnvironment,
|
|
18
18
|
cache: job.cache,
|
|
19
19
|
version: ((_a = job.version) === null || _a === void 0 ? void 0 : _a.buildNumber) ? { buildNumber: job.version.buildNumber } : undefined,
|
|
@@ -25,6 +25,8 @@ function transformJob(job) {
|
|
|
25
25
|
developmentClient: job.developmentClient,
|
|
26
26
|
simulator: job.simulator,
|
|
27
27
|
experimental: job.experimental,
|
|
28
|
+
mode: (0, graphql_1.transformBuildMode)(job.mode),
|
|
29
|
+
customBuildConfig: job.customBuildConfig,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
exports.transformJob = transformJob;
|