eas-cli 0.58.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -44
- package/build/build/android/version.js +6 -6
- package/build/build/build.d.ts +1 -2
- package/build/build/build.js +2 -7
- package/build/build/ios/version.js +6 -6
- package/build/build/local.js +1 -1
- package/build/build/runBuildAndSubmit.js +5 -1
- package/build/commands/metadata/pull.js +2 -2
- package/build/graphql/generated.d.ts +45 -4
- package/build/metadata/config.d.ts +19 -0
- package/build/metadata/config.js +45 -1
- package/build/metadata/download.js +6 -5
- package/build/metadata/upload.js +18 -21
- package/build/ora.js +1 -1
- package/build/project/projectUtils.d.ts +4 -0
- package/build/project/projectUtils.js +20 -11
- package/build/project/publish.js +8 -2
- package/build/submit/utils/wait.js +1 -7
- package/build/uploads.d.ts +1 -1
- package/build/uploads.js +64 -25
- package/build/vcs/clients/git.js +6 -2
- package/oclif.manifest.json +1 -1
- package/package.json +33 -28
package/README.md
CHANGED
|
@@ -49,6 +49,8 @@ eas --help COMMAND
|
|
|
49
49
|
* [`eas build:inspect`](#eas-buildinspect)
|
|
50
50
|
* [`eas build:list`](#eas-buildlist)
|
|
51
51
|
* [`eas build:submit`](#eas-buildsubmit)
|
|
52
|
+
* [`eas build:version:set`](#eas-buildversionset)
|
|
53
|
+
* [`eas build:version:sync`](#eas-buildversionsync)
|
|
52
54
|
* [`eas build:view [BUILD_ID]`](#eas-buildview-build_id)
|
|
53
55
|
* [`eas channel:create [NAME]`](#eas-channelcreate-name)
|
|
54
56
|
* [`eas channel:edit [NAME]`](#eas-channeledit-name)
|
|
@@ -100,7 +102,7 @@ ALIASES
|
|
|
100
102
|
$ eas login
|
|
101
103
|
```
|
|
102
104
|
|
|
103
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/
|
|
105
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
104
106
|
|
|
105
107
|
## `eas account:logout`
|
|
106
108
|
|
|
@@ -117,7 +119,7 @@ ALIASES
|
|
|
117
119
|
$ eas logout
|
|
118
120
|
```
|
|
119
121
|
|
|
120
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/
|
|
122
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
121
123
|
|
|
122
124
|
## `eas account:view`
|
|
123
125
|
|
|
@@ -134,7 +136,7 @@ ALIASES
|
|
|
134
136
|
$ eas whoami
|
|
135
137
|
```
|
|
136
138
|
|
|
137
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/
|
|
139
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
138
140
|
|
|
139
141
|
## `eas analytics [STATUS]`
|
|
140
142
|
|
|
@@ -148,7 +150,7 @@ DESCRIPTION
|
|
|
148
150
|
display or change analytics settings
|
|
149
151
|
```
|
|
150
152
|
|
|
151
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/
|
|
153
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
152
154
|
|
|
153
155
|
## `eas autocomplete [SHELL]`
|
|
154
156
|
|
|
@@ -197,7 +199,7 @@ DESCRIPTION
|
|
|
197
199
|
create a branch
|
|
198
200
|
```
|
|
199
201
|
|
|
200
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/
|
|
202
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
201
203
|
|
|
202
204
|
## `eas branch:delete [NAME]`
|
|
203
205
|
|
|
@@ -217,7 +219,7 @@ DESCRIPTION
|
|
|
217
219
|
delete a branch
|
|
218
220
|
```
|
|
219
221
|
|
|
220
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
222
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
221
223
|
|
|
222
224
|
## `eas branch:list`
|
|
223
225
|
|
|
@@ -238,7 +240,7 @@ DESCRIPTION
|
|
|
238
240
|
list all branches
|
|
239
241
|
```
|
|
240
242
|
|
|
241
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/
|
|
243
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
242
244
|
|
|
243
245
|
## `eas branch:rename`
|
|
244
246
|
|
|
@@ -257,7 +259,7 @@ DESCRIPTION
|
|
|
257
259
|
rename a branch
|
|
258
260
|
```
|
|
259
261
|
|
|
260
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/
|
|
262
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
261
263
|
|
|
262
264
|
## `eas branch:view [NAME]`
|
|
263
265
|
|
|
@@ -281,7 +283,7 @@ DESCRIPTION
|
|
|
281
283
|
view a branch
|
|
282
284
|
```
|
|
283
285
|
|
|
284
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/
|
|
286
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
285
287
|
|
|
286
288
|
## `eas build`
|
|
287
289
|
|
|
@@ -311,7 +313,7 @@ DESCRIPTION
|
|
|
311
313
|
start a build
|
|
312
314
|
```
|
|
313
315
|
|
|
314
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/
|
|
316
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
315
317
|
|
|
316
318
|
## `eas build:cancel [BUILD_ID]`
|
|
317
319
|
|
|
@@ -325,7 +327,7 @@ DESCRIPTION
|
|
|
325
327
|
cancel a build
|
|
326
328
|
```
|
|
327
329
|
|
|
328
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/
|
|
330
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
329
331
|
|
|
330
332
|
## `eas build:configure`
|
|
331
333
|
|
|
@@ -342,7 +344,7 @@ DESCRIPTION
|
|
|
342
344
|
configure the project to support EAS Build
|
|
343
345
|
```
|
|
344
346
|
|
|
345
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/
|
|
347
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
346
348
|
|
|
347
349
|
## `eas build:inspect`
|
|
348
350
|
|
|
@@ -377,7 +379,7 @@ DESCRIPTION
|
|
|
377
379
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
378
380
|
```
|
|
379
381
|
|
|
380
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/
|
|
382
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
381
383
|
|
|
382
384
|
## `eas build:list`
|
|
383
385
|
|
|
@@ -410,7 +412,7 @@ DESCRIPTION
|
|
|
410
412
|
list all builds for your project
|
|
411
413
|
```
|
|
412
414
|
|
|
413
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/
|
|
415
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
414
416
|
|
|
415
417
|
## `eas build:submit`
|
|
416
418
|
|
|
@@ -440,6 +442,44 @@ ALIASES
|
|
|
440
442
|
$ eas build:submit
|
|
441
443
|
```
|
|
442
444
|
|
|
445
|
+
## `eas build:version:set`
|
|
446
|
+
|
|
447
|
+
Update version of an app.
|
|
448
|
+
|
|
449
|
+
```
|
|
450
|
+
USAGE
|
|
451
|
+
$ eas build:version:set [-p android|ios] [--profile <value>]
|
|
452
|
+
|
|
453
|
+
FLAGS
|
|
454
|
+
-p, --platform=(android|ios)
|
|
455
|
+
--profile=PROFILE_NAME Name of the build profile from eas.json. Defaults to "production" if defined in
|
|
456
|
+
eas.json.
|
|
457
|
+
|
|
458
|
+
DESCRIPTION
|
|
459
|
+
Update version of an app.
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
463
|
+
|
|
464
|
+
## `eas build:version:sync`
|
|
465
|
+
|
|
466
|
+
Update a version in native code with a value stored on EAS servers
|
|
467
|
+
|
|
468
|
+
```
|
|
469
|
+
USAGE
|
|
470
|
+
$ eas build:version:sync [-p android|ios|all] [--profile <value>]
|
|
471
|
+
|
|
472
|
+
FLAGS
|
|
473
|
+
-p, --platform=(android|ios|all)
|
|
474
|
+
--profile=PROFILE_NAME Name of the build profile from eas.json. Defaults to "production" if defined in
|
|
475
|
+
eas.json.
|
|
476
|
+
|
|
477
|
+
DESCRIPTION
|
|
478
|
+
Update a version in native code with a value stored on EAS servers
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
482
|
+
|
|
443
483
|
## `eas build:view [BUILD_ID]`
|
|
444
484
|
|
|
445
485
|
view a build for your project
|
|
@@ -455,7 +495,7 @@ DESCRIPTION
|
|
|
455
495
|
view a build for your project
|
|
456
496
|
```
|
|
457
497
|
|
|
458
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/
|
|
498
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
459
499
|
|
|
460
500
|
## `eas channel:create [NAME]`
|
|
461
501
|
|
|
@@ -475,7 +515,7 @@ DESCRIPTION
|
|
|
475
515
|
create a channel
|
|
476
516
|
```
|
|
477
517
|
|
|
478
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/
|
|
518
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
479
519
|
|
|
480
520
|
## `eas channel:edit [NAME]`
|
|
481
521
|
|
|
@@ -496,7 +536,7 @@ DESCRIPTION
|
|
|
496
536
|
point a channel at a new branch
|
|
497
537
|
```
|
|
498
538
|
|
|
499
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/
|
|
539
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
500
540
|
|
|
501
541
|
## `eas channel:list`
|
|
502
542
|
|
|
@@ -513,7 +553,7 @@ DESCRIPTION
|
|
|
513
553
|
list all channels
|
|
514
554
|
```
|
|
515
555
|
|
|
516
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/
|
|
556
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
517
557
|
|
|
518
558
|
## `eas channel:view [NAME]`
|
|
519
559
|
|
|
@@ -533,7 +573,7 @@ DESCRIPTION
|
|
|
533
573
|
view a channel
|
|
534
574
|
```
|
|
535
575
|
|
|
536
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/
|
|
576
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
537
577
|
|
|
538
578
|
## `eas config`
|
|
539
579
|
|
|
@@ -551,7 +591,7 @@ DESCRIPTION
|
|
|
551
591
|
display project configuration (app.json + eas.json)
|
|
552
592
|
```
|
|
553
593
|
|
|
554
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/
|
|
594
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/config.ts)_
|
|
555
595
|
|
|
556
596
|
## `eas credentials`
|
|
557
597
|
|
|
@@ -565,7 +605,7 @@ DESCRIPTION
|
|
|
565
605
|
manage credentials
|
|
566
606
|
```
|
|
567
607
|
|
|
568
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/
|
|
608
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
569
609
|
|
|
570
610
|
## `eas device:create`
|
|
571
611
|
|
|
@@ -579,7 +619,7 @@ DESCRIPTION
|
|
|
579
619
|
register new Apple Devices to use for internal distribution
|
|
580
620
|
```
|
|
581
621
|
|
|
582
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/
|
|
622
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
583
623
|
|
|
584
624
|
## `eas device:delete`
|
|
585
625
|
|
|
@@ -597,7 +637,7 @@ DESCRIPTION
|
|
|
597
637
|
remove a registered device from your account
|
|
598
638
|
```
|
|
599
639
|
|
|
600
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
640
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
601
641
|
|
|
602
642
|
## `eas device:list`
|
|
603
643
|
|
|
@@ -614,7 +654,7 @@ DESCRIPTION
|
|
|
614
654
|
list all registered devices for your account
|
|
615
655
|
```
|
|
616
656
|
|
|
617
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/
|
|
657
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
618
658
|
|
|
619
659
|
## `eas device:view [UDID]`
|
|
620
660
|
|
|
@@ -628,7 +668,7 @@ DESCRIPTION
|
|
|
628
668
|
view a device for your project
|
|
629
669
|
```
|
|
630
670
|
|
|
631
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/
|
|
671
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
632
672
|
|
|
633
673
|
## `eas diagnostics`
|
|
634
674
|
|
|
@@ -642,7 +682,7 @@ DESCRIPTION
|
|
|
642
682
|
display environment info
|
|
643
683
|
```
|
|
644
684
|
|
|
645
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/
|
|
685
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
646
686
|
|
|
647
687
|
## `eas help [COMMAND]`
|
|
648
688
|
|
|
@@ -724,7 +764,7 @@ DESCRIPTION
|
|
|
724
764
|
generate the local store configuration from the app stores
|
|
725
765
|
```
|
|
726
766
|
|
|
727
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/
|
|
767
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
728
768
|
|
|
729
769
|
## `eas metadata:push`
|
|
730
770
|
|
|
@@ -741,7 +781,7 @@ DESCRIPTION
|
|
|
741
781
|
sync the local store configuration to the app stores
|
|
742
782
|
```
|
|
743
783
|
|
|
744
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/
|
|
784
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
745
785
|
|
|
746
786
|
## `eas project:info`
|
|
747
787
|
|
|
@@ -755,7 +795,7 @@ DESCRIPTION
|
|
|
755
795
|
information about the current project
|
|
756
796
|
```
|
|
757
797
|
|
|
758
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/
|
|
798
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
759
799
|
|
|
760
800
|
## `eas project:init`
|
|
761
801
|
|
|
@@ -772,7 +812,7 @@ ALIASES
|
|
|
772
812
|
$ eas init
|
|
773
813
|
```
|
|
774
814
|
|
|
775
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/
|
|
815
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
776
816
|
|
|
777
817
|
## `eas secret:create`
|
|
778
818
|
|
|
@@ -792,7 +832,7 @@ DESCRIPTION
|
|
|
792
832
|
create an environment secret on the current project or owner account
|
|
793
833
|
```
|
|
794
834
|
|
|
795
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/
|
|
835
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
796
836
|
|
|
797
837
|
## `eas secret:delete`
|
|
798
838
|
|
|
@@ -809,7 +849,7 @@ DESCRIPTION
|
|
|
809
849
|
delete an environment secret by ID
|
|
810
850
|
```
|
|
811
851
|
|
|
812
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
852
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
813
853
|
|
|
814
854
|
## `eas secret:list`
|
|
815
855
|
|
|
@@ -823,7 +863,7 @@ DESCRIPTION
|
|
|
823
863
|
list environment secrets available for your current app
|
|
824
864
|
```
|
|
825
865
|
|
|
826
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/
|
|
866
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
827
867
|
|
|
828
868
|
## `eas submit`
|
|
829
869
|
|
|
@@ -853,7 +893,7 @@ ALIASES
|
|
|
853
893
|
$ eas build:submit
|
|
854
894
|
```
|
|
855
895
|
|
|
856
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/
|
|
896
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/submit.ts)_
|
|
857
897
|
|
|
858
898
|
## `eas update`
|
|
859
899
|
|
|
@@ -883,7 +923,7 @@ DESCRIPTION
|
|
|
883
923
|
publish an update group
|
|
884
924
|
```
|
|
885
925
|
|
|
886
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/
|
|
926
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
887
927
|
|
|
888
928
|
## `eas update:configure`
|
|
889
929
|
|
|
@@ -900,7 +940,7 @@ DESCRIPTION
|
|
|
900
940
|
configure the project to support EAS Update
|
|
901
941
|
```
|
|
902
942
|
|
|
903
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/
|
|
943
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
904
944
|
|
|
905
945
|
## `eas update:delete GROUPID`
|
|
906
946
|
|
|
@@ -920,7 +960,7 @@ DESCRIPTION
|
|
|
920
960
|
delete all the updates in an update group
|
|
921
961
|
```
|
|
922
962
|
|
|
923
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
963
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
924
964
|
|
|
925
965
|
## `eas update:list`
|
|
926
966
|
|
|
@@ -939,7 +979,7 @@ DESCRIPTION
|
|
|
939
979
|
view the recent updates for a branch
|
|
940
980
|
```
|
|
941
981
|
|
|
942
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/
|
|
982
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
943
983
|
|
|
944
984
|
## `eas update:view GROUPID`
|
|
945
985
|
|
|
@@ -959,7 +999,7 @@ DESCRIPTION
|
|
|
959
999
|
update group details
|
|
960
1000
|
```
|
|
961
1001
|
|
|
962
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/
|
|
1002
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
963
1003
|
|
|
964
1004
|
## `eas webhook:create`
|
|
965
1005
|
|
|
@@ -979,7 +1019,7 @@ DESCRIPTION
|
|
|
979
1019
|
create a webhook
|
|
980
1020
|
```
|
|
981
1021
|
|
|
982
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/
|
|
1022
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
983
1023
|
|
|
984
1024
|
## `eas webhook:delete [ID]`
|
|
985
1025
|
|
|
@@ -996,7 +1036,7 @@ DESCRIPTION
|
|
|
996
1036
|
delete a webhook
|
|
997
1037
|
```
|
|
998
1038
|
|
|
999
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1039
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1000
1040
|
|
|
1001
1041
|
## `eas webhook:list`
|
|
1002
1042
|
|
|
@@ -1013,7 +1053,7 @@ DESCRIPTION
|
|
|
1013
1053
|
list webhooks
|
|
1014
1054
|
```
|
|
1015
1055
|
|
|
1016
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1056
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1017
1057
|
|
|
1018
1058
|
## `eas webhook:update`
|
|
1019
1059
|
|
|
@@ -1034,7 +1074,7 @@ DESCRIPTION
|
|
|
1034
1074
|
update a webhook
|
|
1035
1075
|
```
|
|
1036
1076
|
|
|
1037
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/
|
|
1077
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1038
1078
|
|
|
1039
1079
|
## `eas webhook:view ID`
|
|
1040
1080
|
|
|
@@ -1051,7 +1091,7 @@ DESCRIPTION
|
|
|
1051
1091
|
view a webhook
|
|
1052
1092
|
```
|
|
1053
1093
|
|
|
1054
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/
|
|
1094
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v1.0.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1055
1095
|
|
|
1056
1096
|
## `eas whoami`
|
|
1057
1097
|
|
|
@@ -142,7 +142,7 @@ async function resolveRemoteVersionCodeAsync({ projectDir, projectId, exp, appli
|
|
|
142
142
|
return currentBuildVersion;
|
|
143
143
|
}
|
|
144
144
|
else if (!buildProfile.autoIncrement && !(remoteVersions === null || remoteVersions === void 0 ? void 0 : remoteVersions.buildVersion)) {
|
|
145
|
-
const spinner = (0, ora_1.ora)(`Initializing
|
|
145
|
+
const spinner = (0, ora_1.ora)(`Initializing versionCode with ${chalk_1.default.bold(currentBuildVersion)}.`).start();
|
|
146
146
|
try {
|
|
147
147
|
await AppVersionMutation_1.AppVersionMutation.createAppVersionAsync({
|
|
148
148
|
appId: projectId,
|
|
@@ -152,17 +152,17 @@ async function resolveRemoteVersionCodeAsync({ projectDir, projectId, exp, appli
|
|
|
152
152
|
buildVersion: currentBuildVersion,
|
|
153
153
|
runtimeVersion: (_c = config_plugins_1.Updates.getRuntimeVersionNullable(exp, eas_build_job_1.Platform.ANDROID)) !== null && _c !== void 0 ? _c : undefined,
|
|
154
154
|
});
|
|
155
|
-
spinner.succeed(`Initialized
|
|
155
|
+
spinner.succeed(`Initialized versionCode with ${chalk_1.default.bold(currentBuildVersion)}.`);
|
|
156
156
|
}
|
|
157
157
|
catch (err) {
|
|
158
|
-
spinner.fail(`Failed to initialize
|
|
158
|
+
spinner.fail(`Failed to initialize versionCode with ${chalk_1.default.bold(currentBuildVersion)}.`);
|
|
159
159
|
throw err;
|
|
160
160
|
}
|
|
161
161
|
return currentBuildVersion;
|
|
162
162
|
}
|
|
163
163
|
else {
|
|
164
164
|
const nextBuildVersion = (0, versions_1.getNextVersionCode)(currentBuildVersion);
|
|
165
|
-
const spinner = (0, ora_1.ora)(`Incrementing
|
|
165
|
+
const spinner = (0, ora_1.ora)(`Incrementing versionCode from ${chalk_1.default.bold(currentBuildVersion)} to ${chalk_1.default.bold(nextBuildVersion)}.`).start();
|
|
166
166
|
try {
|
|
167
167
|
await AppVersionMutation_1.AppVersionMutation.createAppVersionAsync({
|
|
168
168
|
appId: projectId,
|
|
@@ -172,10 +172,10 @@ async function resolveRemoteVersionCodeAsync({ projectDir, projectId, exp, appli
|
|
|
172
172
|
buildVersion: String(nextBuildVersion),
|
|
173
173
|
runtimeVersion: (_f = config_plugins_1.Updates.getRuntimeVersionNullable(exp, eas_build_job_1.Platform.ANDROID)) !== null && _f !== void 0 ? _f : undefined,
|
|
174
174
|
});
|
|
175
|
-
spinner.succeed(`Incremented
|
|
175
|
+
spinner.succeed(`Incremented versionCode from ${chalk_1.default.bold(currentBuildVersion)} to ${chalk_1.default.bold(nextBuildVersion)}.`);
|
|
176
176
|
}
|
|
177
177
|
catch (err) {
|
|
178
|
-
spinner.fail(`Failed to increment
|
|
178
|
+
spinner.fail(`Failed to increment versionCode from ${chalk_1.default.bold(currentBuildVersion)} to ${chalk_1.default.bold(nextBuildVersion)}.`);
|
|
179
179
|
throw err;
|
|
180
180
|
}
|
|
181
181
|
return String(nextBuildVersion);
|
package/build/build/build.d.ts
CHANGED
|
@@ -24,8 +24,7 @@ declare type MaybeBuildFragment = BuildFragment | null;
|
|
|
24
24
|
export declare function waitForBuildEndAsync({ buildIds, accountName }: {
|
|
25
25
|
buildIds: string[];
|
|
26
26
|
accountName: string;
|
|
27
|
-
}, {
|
|
28
|
-
timeoutSec?: number | undefined;
|
|
27
|
+
}, { intervalSec }?: {
|
|
29
28
|
intervalSec?: number | undefined;
|
|
30
29
|
}): Promise<MaybeBuildFragment[]>;
|
|
31
30
|
export {};
|
package/build/build/build.js
CHANGED
|
@@ -144,9 +144,7 @@ async function sendBuildRequestAsync(builder, job, metadata, buildParams) {
|
|
|
144
144
|
trackingCtx: ctx.trackingCtx,
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
async function waitForBuildEndAsync({ buildIds, accountName }, {
|
|
148
|
-
// 2 hours (max build time limit) + 10 minutes (possible queue time)
|
|
149
|
-
timeoutSec = 2 * 60 * 60 + 10 * 60, intervalSec = 10, } = {}) {
|
|
147
|
+
async function waitForBuildEndAsync({ buildIds, accountName }, { intervalSec = 10 } = {}) {
|
|
150
148
|
let spinner;
|
|
151
149
|
let originalSpinnerText;
|
|
152
150
|
if (buildIds.length === 1) {
|
|
@@ -158,8 +156,7 @@ timeoutSec = 2 * 60 * 60 + 10 * 60, intervalSec = 10, } = {}) {
|
|
|
158
156
|
originalSpinnerText = 'Waiting for builds to complete. You can press Ctrl+C to exit.';
|
|
159
157
|
spinner = (0, ora_1.ora)('Waiting for builds to complete. You can press Ctrl+C to exit.').start();
|
|
160
158
|
}
|
|
161
|
-
|
|
162
|
-
while (new Date().getTime() <= endTime) {
|
|
159
|
+
while (true) {
|
|
163
160
|
const builds = await getBuildsSafelyAsync(buildIds);
|
|
164
161
|
const { refetch } = builds.length === 1
|
|
165
162
|
? await handleSingleBuildProgressAsync({ build: builds[0], accountName }, { spinner })
|
|
@@ -169,8 +166,6 @@ timeoutSec = 2 * 60 * 60 + 10 * 60, intervalSec = 10, } = {}) {
|
|
|
169
166
|
}
|
|
170
167
|
await (0, promise_1.sleepAsync)(intervalSec * 1000);
|
|
171
168
|
}
|
|
172
|
-
spinner.fail('Timed out');
|
|
173
|
-
throw new Error('Timeout reached! It is taking longer than expected to finish the build, aborting...');
|
|
174
169
|
}
|
|
175
170
|
exports.waitForBuildEndAsync = waitForBuildEndAsync;
|
|
176
171
|
async function getBuildsSafelyAsync(buildIds) {
|
|
@@ -217,7 +217,7 @@ async function resolveRemoteBuildNumberAsync({ projectDir, projectId, exp, appli
|
|
|
217
217
|
return currentBuildVersion;
|
|
218
218
|
}
|
|
219
219
|
else if (!buildProfile.autoIncrement && !(remoteVersions === null || remoteVersions === void 0 ? void 0 : remoteVersions.buildVersion)) {
|
|
220
|
-
const spinner = (0, ora_1.ora)(`Initializing
|
|
220
|
+
const spinner = (0, ora_1.ora)(`Initializing buildNumber with ${chalk_1.default.bold(currentBuildVersion)}.`).start();
|
|
221
221
|
try {
|
|
222
222
|
await AppVersionMutation_1.AppVersionMutation.createAppVersionAsync({
|
|
223
223
|
appId: projectId,
|
|
@@ -227,17 +227,17 @@ async function resolveRemoteBuildNumberAsync({ projectDir, projectId, exp, appli
|
|
|
227
227
|
buildVersion: currentBuildVersion,
|
|
228
228
|
runtimeVersion: (_c = config_plugins_1.Updates.getRuntimeVersionNullable(exp, eas_build_job_1.Platform.IOS)) !== null && _c !== void 0 ? _c : undefined,
|
|
229
229
|
});
|
|
230
|
-
spinner.succeed(`Initialized
|
|
230
|
+
spinner.succeed(`Initialized buildNumber with ${chalk_1.default.bold(currentBuildVersion)}.`);
|
|
231
231
|
}
|
|
232
232
|
catch (err) {
|
|
233
|
-
spinner.fail(`Failed to initialize
|
|
233
|
+
spinner.fail(`Failed to initialize buildNumber with ${chalk_1.default.bold(currentBuildVersion)}.`);
|
|
234
234
|
throw err;
|
|
235
235
|
}
|
|
236
236
|
return currentBuildVersion;
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
239
239
|
const nextBuildVersion = (0, versions_1.getNextBuildNumber)(currentBuildVersion);
|
|
240
|
-
const spinner = (0, ora_1.ora)(`Incrementing buildNumber ${currentBuildVersion}
|
|
240
|
+
const spinner = (0, ora_1.ora)(`Incrementing buildNumber from ${chalk_1.default.bold(currentBuildVersion)} to ${chalk_1.default.bold(nextBuildVersion)}.`).start();
|
|
241
241
|
try {
|
|
242
242
|
await AppVersionMutation_1.AppVersionMutation.createAppVersionAsync({
|
|
243
243
|
appId: projectId,
|
|
@@ -247,10 +247,10 @@ async function resolveRemoteBuildNumberAsync({ projectDir, projectId, exp, appli
|
|
|
247
247
|
buildVersion: nextBuildVersion,
|
|
248
248
|
runtimeVersion: (_d = config_plugins_1.Updates.getRuntimeVersionNullable(exp, eas_build_job_1.Platform.IOS)) !== null && _d !== void 0 ? _d : undefined,
|
|
249
249
|
});
|
|
250
|
-
spinner.succeed(`Incremented buildNumber ${currentBuildVersion}
|
|
250
|
+
spinner.succeed(`Incremented buildNumber from ${chalk_1.default.bold(currentBuildVersion)} to ${chalk_1.default.bold(nextBuildVersion)}.`);
|
|
251
251
|
}
|
|
252
252
|
catch (err) {
|
|
253
|
-
spinner.fail(`Failed to increment buildNumber ${currentBuildVersion}
|
|
253
|
+
spinner.fail(`Failed to increment buildNumber from ${chalk_1.default.bold(currentBuildVersion)} to ${chalk_1.default.bold(nextBuildVersion)}.`);
|
|
254
254
|
throw err;
|
|
255
255
|
}
|
|
256
256
|
return nextBuildVersion;
|
package/build/build/local.js
CHANGED
|
@@ -6,7 +6,7 @@ const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
|
|
|
6
6
|
const semver_1 = tslib_1.__importDefault(require("semver"));
|
|
7
7
|
const ora_1 = require("../ora");
|
|
8
8
|
const PLUGIN_PACKAGE_NAME = 'eas-cli-local-build-plugin';
|
|
9
|
-
const PLUGIN_PACKAGE_VERSION = '0.0.
|
|
9
|
+
const PLUGIN_PACKAGE_VERSION = '0.0.99';
|
|
10
10
|
async function runLocalBuildAsync(job, metadata, options) {
|
|
11
11
|
var _a;
|
|
12
12
|
const { command, args } = await getCommandAndArgsAsync(job, metadata);
|
|
@@ -13,6 +13,7 @@ const log_1 = tslib_1.__importDefault(require("../log"));
|
|
|
13
13
|
const platform_1 = require("../platform");
|
|
14
14
|
const expoSdk_1 = require("../project/expoSdk");
|
|
15
15
|
const metroConfig_1 = require("../project/metroConfig");
|
|
16
|
+
const projectUtils_1 = require("../project/projectUtils");
|
|
16
17
|
const remoteVersionSource_1 = require("../project/remoteVersionSource");
|
|
17
18
|
const context_1 = require("../submit/context");
|
|
18
19
|
const submit_1 = require("../submit/submit");
|
|
@@ -165,7 +166,10 @@ async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildP
|
|
|
165
166
|
const appPlatform = (0, AppPlatform_1.toAppPlatform)(buildProfile.platform);
|
|
166
167
|
log_1.default.log(`${platform_1.appPlatformEmojis[appPlatform]} ${chalk_1.default.bold(`${platform_1.appPlatformDisplayNames[appPlatform]} build`)}`);
|
|
167
168
|
}
|
|
168
|
-
(0,
|
|
169
|
+
await (0, projectUtils_1.validateAppVersionRuntimePolicySupportAsync)(buildCtx.projectDir, buildCtx.exp);
|
|
170
|
+
if ((easJsonCliConfig === null || easJsonCliConfig === void 0 ? void 0 : easJsonCliConfig.appVersionSource) === eas_json_1.AppVersionSource.REMOTE) {
|
|
171
|
+
(0, remoteVersionSource_1.validateAppConfigForRemoteVersionSource)(buildCtx.exp, buildProfile.platform);
|
|
172
|
+
}
|
|
169
173
|
if (buildCtx.workflow === eas_build_job_1.Workflow.MANAGED) {
|
|
170
174
|
if (!sdkVersionChecked) {
|
|
171
175
|
await (0, expoSdk_1.checkExpoSdkIsSupportedAsync)(buildCtx);
|
|
@@ -38,11 +38,11 @@ class MetadataPull extends EasCommand_1.default {
|
|
|
38
38
|
const filePath = await (0, download_1.downloadMetadataAsync)(metadataCtx);
|
|
39
39
|
const relativePath = path_1.default.relative(process.cwd(), filePath);
|
|
40
40
|
log_1.default.addNewLineIfNone();
|
|
41
|
-
log_1.default.log(`🎉 Your store
|
|
41
|
+
log_1.default.log(`🎉 Your store config is ready.
|
|
42
42
|
|
|
43
43
|
- Update the ${chalk_1.default.bold(relativePath)} file to prepare the app information.
|
|
44
44
|
- Run ${chalk_1.default.bold('eas submit')} or manually upload a new app version to the app stores.
|
|
45
|
-
- Once the app is uploaded, run ${chalk_1.default.bold('eas metadata:push')} to sync the store
|
|
45
|
+
- Once the app is uploaded, run ${chalk_1.default.bold('eas metadata:push')} to sync the store config.
|
|
46
46
|
- ${(0, log_1.learnMore)('https://docs.expo.dev/eas-metadata/introduction/')}`);
|
|
47
47
|
}
|
|
48
48
|
catch (error) {
|