eas-cli 1.0.0 → 1.1.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 +50 -47
- package/build/build/android/build.js +1 -1
- package/build/build/build.js +4 -4
- package/build/build/utils/printBuildInfo.js +2 -2
- package/build/build/utils/repository.js +4 -4
- package/build/commands/branch/create.js +1 -1
- package/build/commands/branch/delete.js +1 -1
- package/build/commands/branch/rename.js +2 -2
- package/build/commands/channel/create.js +1 -1
- package/build/commands/channel/delete.js +1 -1
- package/build/commands/channel/edit.js +3 -3
- package/build/commands/channel/rollout.js +3 -3
- package/build/commands/channel/view.js +1 -1
- package/build/commands/credentials.d.ts +3 -0
- package/build/commands/credentials.js +6 -1
- package/build/commands/project/init.js +3 -1
- package/build/commands/secret/list.js +1 -1
- package/build/commands/update/index.js +4 -4
- package/build/commands/update/list.js +1 -1
- package/build/credentials/android/actions/RemoveKeystore.js +1 -1
- package/build/credentials/errors.js +1 -1
- package/build/credentials/ios/actions/DistributionCertificateUtils.js +2 -2
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +1 -1
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +2 -2
- package/build/credentials/ios/actions/SetUpProvisioningProfile.js +1 -1
- package/build/credentials/ios/actions/SetUpSubmissionCredentials.js +1 -1
- package/build/credentials/ios/appstore/contractMessages.js +1 -1
- package/build/credentials/ios/appstore/ensureAppExists.js +3 -3
- package/build/credentials/ios/appstore/pushKey.js +2 -2
- package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.js +1 -1
- package/build/credentials/manager/SelectPlatform.d.ts +2 -0
- package/build/credentials/manager/SelectPlatform.js +7 -12
- package/build/credentials/utils/promptForCredentials.js +1 -1
- package/build/devices/manager.js +1 -1
- package/build/graphql/client.js +1 -1
- package/build/metadata/errors.js +2 -2
- package/build/project/metroConfig.js +1 -1
- package/build/project/projectUtils.d.ts +16 -2
- package/build/project/projectUtils.js +39 -22
- package/build/submit/utils/errors.js +9 -9
- package/build/update/utils.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -5
package/README.md
CHANGED
|
@@ -102,7 +102,7 @@ ALIASES
|
|
|
102
102
|
$ eas login
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
105
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
106
106
|
|
|
107
107
|
## `eas account:logout`
|
|
108
108
|
|
|
@@ -119,7 +119,7 @@ ALIASES
|
|
|
119
119
|
$ eas logout
|
|
120
120
|
```
|
|
121
121
|
|
|
122
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
122
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
123
123
|
|
|
124
124
|
## `eas account:view`
|
|
125
125
|
|
|
@@ -136,7 +136,7 @@ ALIASES
|
|
|
136
136
|
$ eas whoami
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
139
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
140
140
|
|
|
141
141
|
## `eas analytics [STATUS]`
|
|
142
142
|
|
|
@@ -150,7 +150,7 @@ DESCRIPTION
|
|
|
150
150
|
display or change analytics settings
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
153
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
154
154
|
|
|
155
155
|
## `eas autocomplete [SHELL]`
|
|
156
156
|
|
|
@@ -199,7 +199,7 @@ DESCRIPTION
|
|
|
199
199
|
create a branch
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
202
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
203
203
|
|
|
204
204
|
## `eas branch:delete [NAME]`
|
|
205
205
|
|
|
@@ -219,7 +219,7 @@ DESCRIPTION
|
|
|
219
219
|
delete a branch
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
222
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
223
223
|
|
|
224
224
|
## `eas branch:list`
|
|
225
225
|
|
|
@@ -240,7 +240,7 @@ DESCRIPTION
|
|
|
240
240
|
list all branches
|
|
241
241
|
```
|
|
242
242
|
|
|
243
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
243
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
244
244
|
|
|
245
245
|
## `eas branch:rename`
|
|
246
246
|
|
|
@@ -259,7 +259,7 @@ DESCRIPTION
|
|
|
259
259
|
rename a branch
|
|
260
260
|
```
|
|
261
261
|
|
|
262
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
262
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
263
263
|
|
|
264
264
|
## `eas branch:view [NAME]`
|
|
265
265
|
|
|
@@ -283,7 +283,7 @@ DESCRIPTION
|
|
|
283
283
|
view a branch
|
|
284
284
|
```
|
|
285
285
|
|
|
286
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
286
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
287
287
|
|
|
288
288
|
## `eas build`
|
|
289
289
|
|
|
@@ -313,7 +313,7 @@ DESCRIPTION
|
|
|
313
313
|
start a build
|
|
314
314
|
```
|
|
315
315
|
|
|
316
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
316
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
317
317
|
|
|
318
318
|
## `eas build:cancel [BUILD_ID]`
|
|
319
319
|
|
|
@@ -327,7 +327,7 @@ DESCRIPTION
|
|
|
327
327
|
cancel a build
|
|
328
328
|
```
|
|
329
329
|
|
|
330
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
330
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
331
331
|
|
|
332
332
|
## `eas build:configure`
|
|
333
333
|
|
|
@@ -344,7 +344,7 @@ DESCRIPTION
|
|
|
344
344
|
configure the project to support EAS Build
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
347
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
348
348
|
|
|
349
349
|
## `eas build:inspect`
|
|
350
350
|
|
|
@@ -379,7 +379,7 @@ DESCRIPTION
|
|
|
379
379
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
382
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
383
383
|
|
|
384
384
|
## `eas build:list`
|
|
385
385
|
|
|
@@ -412,7 +412,7 @@ DESCRIPTION
|
|
|
412
412
|
list all builds for your project
|
|
413
413
|
```
|
|
414
414
|
|
|
415
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
415
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
416
416
|
|
|
417
417
|
## `eas build:submit`
|
|
418
418
|
|
|
@@ -459,7 +459,7 @@ DESCRIPTION
|
|
|
459
459
|
Update version of an app.
|
|
460
460
|
```
|
|
461
461
|
|
|
462
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
462
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
463
463
|
|
|
464
464
|
## `eas build:version:sync`
|
|
465
465
|
|
|
@@ -478,7 +478,7 @@ DESCRIPTION
|
|
|
478
478
|
Update a version in native code with a value stored on EAS servers
|
|
479
479
|
```
|
|
480
480
|
|
|
481
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
481
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
482
482
|
|
|
483
483
|
## `eas build:view [BUILD_ID]`
|
|
484
484
|
|
|
@@ -495,7 +495,7 @@ DESCRIPTION
|
|
|
495
495
|
view a build for your project
|
|
496
496
|
```
|
|
497
497
|
|
|
498
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
498
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
499
499
|
|
|
500
500
|
## `eas channel:create [NAME]`
|
|
501
501
|
|
|
@@ -515,7 +515,7 @@ DESCRIPTION
|
|
|
515
515
|
create a channel
|
|
516
516
|
```
|
|
517
517
|
|
|
518
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
518
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
519
519
|
|
|
520
520
|
## `eas channel:edit [NAME]`
|
|
521
521
|
|
|
@@ -536,7 +536,7 @@ DESCRIPTION
|
|
|
536
536
|
point a channel at a new branch
|
|
537
537
|
```
|
|
538
538
|
|
|
539
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
539
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
540
540
|
|
|
541
541
|
## `eas channel:list`
|
|
542
542
|
|
|
@@ -553,7 +553,7 @@ DESCRIPTION
|
|
|
553
553
|
list all channels
|
|
554
554
|
```
|
|
555
555
|
|
|
556
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
556
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
557
557
|
|
|
558
558
|
## `eas channel:view [NAME]`
|
|
559
559
|
|
|
@@ -573,7 +573,7 @@ DESCRIPTION
|
|
|
573
573
|
view a channel
|
|
574
574
|
```
|
|
575
575
|
|
|
576
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
576
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
577
577
|
|
|
578
578
|
## `eas config`
|
|
579
579
|
|
|
@@ -591,7 +591,7 @@ DESCRIPTION
|
|
|
591
591
|
display project configuration (app.json + eas.json)
|
|
592
592
|
```
|
|
593
593
|
|
|
594
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
594
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/config.ts)_
|
|
595
595
|
|
|
596
596
|
## `eas credentials`
|
|
597
597
|
|
|
@@ -599,13 +599,16 @@ manage credentials
|
|
|
599
599
|
|
|
600
600
|
```
|
|
601
601
|
USAGE
|
|
602
|
-
$ eas credentials
|
|
602
|
+
$ eas credentials [-p android|ios]
|
|
603
|
+
|
|
604
|
+
FLAGS
|
|
605
|
+
-p, --platform=(android|ios)
|
|
603
606
|
|
|
604
607
|
DESCRIPTION
|
|
605
608
|
manage credentials
|
|
606
609
|
```
|
|
607
610
|
|
|
608
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
611
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
609
612
|
|
|
610
613
|
## `eas device:create`
|
|
611
614
|
|
|
@@ -619,7 +622,7 @@ DESCRIPTION
|
|
|
619
622
|
register new Apple Devices to use for internal distribution
|
|
620
623
|
```
|
|
621
624
|
|
|
622
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
625
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
623
626
|
|
|
624
627
|
## `eas device:delete`
|
|
625
628
|
|
|
@@ -637,7 +640,7 @@ DESCRIPTION
|
|
|
637
640
|
remove a registered device from your account
|
|
638
641
|
```
|
|
639
642
|
|
|
640
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
643
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
641
644
|
|
|
642
645
|
## `eas device:list`
|
|
643
646
|
|
|
@@ -654,7 +657,7 @@ DESCRIPTION
|
|
|
654
657
|
list all registered devices for your account
|
|
655
658
|
```
|
|
656
659
|
|
|
657
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
660
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
658
661
|
|
|
659
662
|
## `eas device:view [UDID]`
|
|
660
663
|
|
|
@@ -668,7 +671,7 @@ DESCRIPTION
|
|
|
668
671
|
view a device for your project
|
|
669
672
|
```
|
|
670
673
|
|
|
671
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
674
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
672
675
|
|
|
673
676
|
## `eas diagnostics`
|
|
674
677
|
|
|
@@ -682,7 +685,7 @@ DESCRIPTION
|
|
|
682
685
|
display environment info
|
|
683
686
|
```
|
|
684
687
|
|
|
685
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
688
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
686
689
|
|
|
687
690
|
## `eas help [COMMAND]`
|
|
688
691
|
|
|
@@ -764,7 +767,7 @@ DESCRIPTION
|
|
|
764
767
|
generate the local store configuration from the app stores
|
|
765
768
|
```
|
|
766
769
|
|
|
767
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
770
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
768
771
|
|
|
769
772
|
## `eas metadata:push`
|
|
770
773
|
|
|
@@ -781,7 +784,7 @@ DESCRIPTION
|
|
|
781
784
|
sync the local store configuration to the app stores
|
|
782
785
|
```
|
|
783
786
|
|
|
784
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
787
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
785
788
|
|
|
786
789
|
## `eas project:info`
|
|
787
790
|
|
|
@@ -795,7 +798,7 @@ DESCRIPTION
|
|
|
795
798
|
information about the current project
|
|
796
799
|
```
|
|
797
800
|
|
|
798
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
801
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
799
802
|
|
|
800
803
|
## `eas project:init`
|
|
801
804
|
|
|
@@ -812,7 +815,7 @@ ALIASES
|
|
|
812
815
|
$ eas init
|
|
813
816
|
```
|
|
814
817
|
|
|
815
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
818
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
816
819
|
|
|
817
820
|
## `eas secret:create`
|
|
818
821
|
|
|
@@ -832,7 +835,7 @@ DESCRIPTION
|
|
|
832
835
|
create an environment secret on the current project or owner account
|
|
833
836
|
```
|
|
834
837
|
|
|
835
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
838
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
836
839
|
|
|
837
840
|
## `eas secret:delete`
|
|
838
841
|
|
|
@@ -849,7 +852,7 @@ DESCRIPTION
|
|
|
849
852
|
delete an environment secret by ID
|
|
850
853
|
```
|
|
851
854
|
|
|
852
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
855
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
853
856
|
|
|
854
857
|
## `eas secret:list`
|
|
855
858
|
|
|
@@ -863,7 +866,7 @@ DESCRIPTION
|
|
|
863
866
|
list environment secrets available for your current app
|
|
864
867
|
```
|
|
865
868
|
|
|
866
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
869
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
867
870
|
|
|
868
871
|
## `eas submit`
|
|
869
872
|
|
|
@@ -893,7 +896,7 @@ ALIASES
|
|
|
893
896
|
$ eas build:submit
|
|
894
897
|
```
|
|
895
898
|
|
|
896
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
899
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/submit.ts)_
|
|
897
900
|
|
|
898
901
|
## `eas update`
|
|
899
902
|
|
|
@@ -923,7 +926,7 @@ DESCRIPTION
|
|
|
923
926
|
publish an update group
|
|
924
927
|
```
|
|
925
928
|
|
|
926
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
929
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
927
930
|
|
|
928
931
|
## `eas update:configure`
|
|
929
932
|
|
|
@@ -940,7 +943,7 @@ DESCRIPTION
|
|
|
940
943
|
configure the project to support EAS Update
|
|
941
944
|
```
|
|
942
945
|
|
|
943
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
946
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
944
947
|
|
|
945
948
|
## `eas update:delete GROUPID`
|
|
946
949
|
|
|
@@ -960,7 +963,7 @@ DESCRIPTION
|
|
|
960
963
|
delete all the updates in an update group
|
|
961
964
|
```
|
|
962
965
|
|
|
963
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
966
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
964
967
|
|
|
965
968
|
## `eas update:list`
|
|
966
969
|
|
|
@@ -979,7 +982,7 @@ DESCRIPTION
|
|
|
979
982
|
view the recent updates for a branch
|
|
980
983
|
```
|
|
981
984
|
|
|
982
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
985
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
983
986
|
|
|
984
987
|
## `eas update:view GROUPID`
|
|
985
988
|
|
|
@@ -999,7 +1002,7 @@ DESCRIPTION
|
|
|
999
1002
|
update group details
|
|
1000
1003
|
```
|
|
1001
1004
|
|
|
1002
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
1005
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1003
1006
|
|
|
1004
1007
|
## `eas webhook:create`
|
|
1005
1008
|
|
|
@@ -1019,7 +1022,7 @@ DESCRIPTION
|
|
|
1019
1022
|
create a webhook
|
|
1020
1023
|
```
|
|
1021
1024
|
|
|
1022
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
1025
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1023
1026
|
|
|
1024
1027
|
## `eas webhook:delete [ID]`
|
|
1025
1028
|
|
|
@@ -1036,7 +1039,7 @@ DESCRIPTION
|
|
|
1036
1039
|
delete a webhook
|
|
1037
1040
|
```
|
|
1038
1041
|
|
|
1039
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
1042
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1040
1043
|
|
|
1041
1044
|
## `eas webhook:list`
|
|
1042
1045
|
|
|
@@ -1053,7 +1056,7 @@ DESCRIPTION
|
|
|
1053
1056
|
list webhooks
|
|
1054
1057
|
```
|
|
1055
1058
|
|
|
1056
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
1059
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1057
1060
|
|
|
1058
1061
|
## `eas webhook:update`
|
|
1059
1062
|
|
|
@@ -1074,7 +1077,7 @@ DESCRIPTION
|
|
|
1074
1077
|
update a webhook
|
|
1075
1078
|
```
|
|
1076
1079
|
|
|
1077
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
1080
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1078
1081
|
|
|
1079
1082
|
## `eas webhook:view ID`
|
|
1080
1083
|
|
|
@@ -1091,7 +1094,7 @@ DESCRIPTION
|
|
|
1091
1094
|
view a webhook
|
|
1092
1095
|
```
|
|
1093
1096
|
|
|
1094
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v1.
|
|
1097
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v1.1.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1095
1098
|
|
|
1096
1099
|
## `eas whoami`
|
|
1097
1100
|
|
|
@@ -31,7 +31,7 @@ This means that it will most likely produce an AAB and you will not be able to i
|
|
|
31
31
|
log_1.default.newLine();
|
|
32
32
|
const confirmed = await (0, prompts_1.toggleConfirmAsync)({ message: 'Would you like to proceed?' });
|
|
33
33
|
if (!confirmed) {
|
|
34
|
-
log_1.default.error('
|
|
34
|
+
log_1.default.error('Update eas.json and come back again.');
|
|
35
35
|
process.exit(1);
|
|
36
36
|
}
|
|
37
37
|
}
|
package/build/build/build.js
CHANGED
|
@@ -81,15 +81,15 @@ exports.prepareBuildRequestForPlatformAsync = prepareBuildRequestForPlatformAsyn
|
|
|
81
81
|
function handleBuildRequestError(error, platform) {
|
|
82
82
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
83
83
|
if (((_c = (_b = (_a = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.extensions) === null || _c === void 0 ? void 0 : _c.errorCode) === 'TURTLE_DEPRECATED_JOB_FORMAT') {
|
|
84
|
-
log_1.default.error('EAS Build API has changed
|
|
84
|
+
log_1.default.error('EAS Build API has changed. Upgrade to the latest eas-cli version.');
|
|
85
85
|
throw new Error('Build request failed.');
|
|
86
86
|
}
|
|
87
87
|
else if (((_f = (_e = (_d = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.errorCode) === 'EAS_BUILD_DOWN_FOR_MAINTENANCE') {
|
|
88
|
-
log_1.default.error('EAS Build is down for maintenance
|
|
88
|
+
log_1.default.error('EAS Build is down for maintenance. Try again later. Check https://status.expo.dev/ for updates.');
|
|
89
89
|
throw new Error('Build request failed.');
|
|
90
90
|
}
|
|
91
91
|
else if (((_j = (_h = (_g = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.extensions) === null || _j === void 0 ? void 0 : _j.errorCode) === 'EAS_BUILD_FREE_TIER_DISABLED') {
|
|
92
|
-
log_1.default.error('EAS Build free tier is temporarily disabled
|
|
92
|
+
log_1.default.error('EAS Build free tier is temporarily disabled. Try again later. Check https://status.expo.dev/ for updates.');
|
|
93
93
|
throw new Error('Build request failed.');
|
|
94
94
|
}
|
|
95
95
|
else if (((_m = (_l = (_k = error === null || error === void 0 ? void 0 : error.graphQLErrors) === null || _k === void 0 ? void 0 : _k[0]) === null || _l === void 0 ? void 0 : _l.extensions) === null || _m === void 0 ? void 0 : _m.errorCode) === 'EAS_BUILD_TOO_MANY_PENDING_BUILDS') {
|
|
@@ -97,7 +97,7 @@ function handleBuildRequestError(error, platform) {
|
|
|
97
97
|
throw new Error('Build request failed.');
|
|
98
98
|
}
|
|
99
99
|
else if (error === null || error === void 0 ? void 0 : error.graphQLErrors) {
|
|
100
|
-
log_1.default.error('Build request failed. Make sure you are using the latest eas-cli version. If the problem persists,
|
|
100
|
+
log_1.default.error('Build request failed. Make sure you are using the latest eas-cli version. If the problem persists, report the issue.');
|
|
101
101
|
}
|
|
102
102
|
throw error;
|
|
103
103
|
}
|
|
@@ -71,7 +71,7 @@ function printDeprecationWarnings(deprecationInfo) {
|
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
73
|
if (deprecationInfo.type === generated_1.EasBuildDeprecationInfoType.Internal) {
|
|
74
|
-
log_1.default.warn('This command is using API that soon will be deprecated
|
|
74
|
+
log_1.default.warn('This command is using API that soon will be deprecated. Upgrade EAS CLI.');
|
|
75
75
|
log_1.default.warn("Changes won't affect your project config.");
|
|
76
76
|
log_1.default.warn(deprecationInfo.message);
|
|
77
77
|
}
|
|
@@ -80,7 +80,7 @@ function printDeprecationWarnings(deprecationInfo) {
|
|
|
80
80
|
log_1.default.warn(deprecationInfo.message);
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
83
|
-
log_1.default.warn('An unexpected warning was encountered.
|
|
83
|
+
log_1.default.warn('An unexpected warning was encountered. Report it as a bug:');
|
|
84
84
|
log_1.default.warn(deprecationInfo);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -25,7 +25,7 @@ async function maybeBailOnRepoStatusAsync() {
|
|
|
25
25
|
message: `Would you like to proceed?`,
|
|
26
26
|
});
|
|
27
27
|
if (!answer) {
|
|
28
|
-
throw new Error('
|
|
28
|
+
throw new Error('Commit all changes. Aborting...');
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
exports.maybeBailOnRepoStatusAsync = maybeBailOnRepoStatusAsync;
|
|
@@ -35,9 +35,9 @@ async function ensureRepoIsCleanAsync(nonInteractive = false) {
|
|
|
35
35
|
}
|
|
36
36
|
log_1.default.addNewLineIfNone();
|
|
37
37
|
log_1.default.warn(`${chalk_1.default.bold('Warning!')} Your repository working tree is dirty.`);
|
|
38
|
-
log_1.default.log(`This operation needs to be run on a clean working tree
|
|
38
|
+
log_1.default.log(`This operation needs to be run on a clean working tree. ${chalk_1.default.bold('Commit all your changes before proceeding')}.`);
|
|
39
39
|
if (nonInteractive) {
|
|
40
|
-
throw new Error('
|
|
40
|
+
throw new Error('Commit all changes. Aborting...');
|
|
41
41
|
}
|
|
42
42
|
const answer = await (0, prompts_1.confirmAsync)({
|
|
43
43
|
message: `Commit changes to git?`,
|
|
@@ -46,7 +46,7 @@ async function ensureRepoIsCleanAsync(nonInteractive = false) {
|
|
|
46
46
|
await commitPromptAsync({ commitAllFiles: true });
|
|
47
47
|
}
|
|
48
48
|
else {
|
|
49
|
-
throw new Error('
|
|
49
|
+
throw new Error('Commit all changes. Aborting...');
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
exports.ensureRepoIsCleanAsync = ensureRepoIsCleanAsync;
|
|
@@ -54,7 +54,7 @@ class BranchCreate extends EasCommand_1.default {
|
|
|
54
54
|
({ name } = await (0, prompts_1.promptAsync)({
|
|
55
55
|
type: 'text',
|
|
56
56
|
name: 'name',
|
|
57
|
-
message: '
|
|
57
|
+
message: 'Provide a branch name:',
|
|
58
58
|
initial: (await (0, vcs_1.getVcsClient)().getBranchNameAsync()) ||
|
|
59
59
|
`branch-${Math.random().toString(36).substr(2, 4)}`,
|
|
60
60
|
validate: value => (value ? true : validationMessage),
|
|
@@ -67,7 +67,7 @@ class BranchDelete extends EasCommand_1.default {
|
|
|
67
67
|
({ name } = await (0, prompts_1.promptAsync)({
|
|
68
68
|
type: 'text',
|
|
69
69
|
name: 'name',
|
|
70
|
-
message: '
|
|
70
|
+
message: 'Provide the name of the branch to delete:',
|
|
71
71
|
validate: value => (value ? true : validationMessage),
|
|
72
72
|
}));
|
|
73
73
|
}
|
|
@@ -50,7 +50,7 @@ class BranchRename extends EasCommand_1.default {
|
|
|
50
50
|
({ currentName } = await (0, prompts_1.promptAsync)({
|
|
51
51
|
type: 'text',
|
|
52
52
|
name: 'currentName',
|
|
53
|
-
message:
|
|
53
|
+
message: "Provide the name of the branch you'd like to rename:",
|
|
54
54
|
validate: value => (value ? true : validationMessage),
|
|
55
55
|
}));
|
|
56
56
|
}
|
|
@@ -62,7 +62,7 @@ class BranchRename extends EasCommand_1.default {
|
|
|
62
62
|
({ newName } = await (0, prompts_1.promptAsync)({
|
|
63
63
|
type: 'text',
|
|
64
64
|
name: 'newName',
|
|
65
|
-
message: `
|
|
65
|
+
message: `Rename ${currentName}`,
|
|
66
66
|
validate: value => (value ? true : validationMessage),
|
|
67
67
|
}));
|
|
68
68
|
}
|
|
@@ -57,7 +57,7 @@ class ChannelCreate extends EasCommand_1.default {
|
|
|
57
57
|
({ name: channelName } = await (0, prompts_1.promptAsync)({
|
|
58
58
|
type: 'text',
|
|
59
59
|
name: 'name',
|
|
60
|
-
message: '
|
|
60
|
+
message: 'Provide a channel name:',
|
|
61
61
|
validate: value => (value ? true : validationMessage),
|
|
62
62
|
}));
|
|
63
63
|
}
|
|
@@ -35,7 +35,7 @@ class ChannelDelete extends EasCommand_1.default {
|
|
|
35
35
|
name = (await (0, prompts_1.promptAsync)({
|
|
36
36
|
type: 'text',
|
|
37
37
|
name: 'name',
|
|
38
|
-
message: '
|
|
38
|
+
message: 'Provide the name of the channel to delete:',
|
|
39
39
|
validate: (value) => (value ? true : 'Channel name may not be empty.'),
|
|
40
40
|
})).name;
|
|
41
41
|
}
|
|
@@ -74,7 +74,7 @@ class ChannelEdit extends EasCommand_1.default {
|
|
|
74
74
|
const channelName = (_a = args.name) !== null && _a !== void 0 ? _a : (await promptForChannelAsync());
|
|
75
75
|
const existingChannel = await getChannelByNameForAppAsync({ appId: projectId, channelName });
|
|
76
76
|
if (existingChannel.updateBranches.length > 1) {
|
|
77
|
-
throw new Error('There is a rollout in progress.
|
|
77
|
+
throw new Error('There is a rollout in progress. Manage it with "channel:rollout" instead.');
|
|
78
78
|
}
|
|
79
79
|
const branchName = (_b = flags.branch) !== null && _b !== void 0 ? _b : (await promptForBranchAsync());
|
|
80
80
|
const branch = await BranchQuery_1.BranchQuery.getBranchByNameAsync({
|
|
@@ -82,7 +82,7 @@ class ChannelEdit extends EasCommand_1.default {
|
|
|
82
82
|
name: branchName,
|
|
83
83
|
});
|
|
84
84
|
if (!branch) {
|
|
85
|
-
throw new Error(`Could not find a branch named "${branchName}".
|
|
85
|
+
throw new Error(`Could not find a branch named "${branchName}". Check what branches exist on this project with ${chalk_1.default.bold('eas branch:list')}.`);
|
|
86
86
|
}
|
|
87
87
|
const channel = await updateChannelBranchMappingAsync({
|
|
88
88
|
channelId: existingChannel.id,
|
|
@@ -125,7 +125,7 @@ async function promptForChannelAsync() {
|
|
|
125
125
|
const { name } = await (0, prompts_1.promptAsync)({
|
|
126
126
|
type: 'text',
|
|
127
127
|
name: 'name',
|
|
128
|
-
message: '
|
|
128
|
+
message: 'Provide the name of the channel to edit:',
|
|
129
129
|
validate: value => (value ? true : 'The channel name may not be empty.'),
|
|
130
130
|
});
|
|
131
131
|
return name;
|
|
@@ -48,7 +48,7 @@ async function startRolloutAsync({ channelName, branchName, percent, jsonFlag, p
|
|
|
48
48
|
name: branchName,
|
|
49
49
|
});
|
|
50
50
|
if (!branch) {
|
|
51
|
-
throw new Error(`Could not find a branch named "${branchName}".
|
|
51
|
+
throw new Error(`Could not find a branch named "${branchName}". Check which branches exist on this project with ${chalk_1.default.bold('eas branch:list')}.`);
|
|
52
52
|
}
|
|
53
53
|
const oldBranchId = currentBranchMapping.data[0].branchId;
|
|
54
54
|
if (branch.id === oldBranchId) {
|
|
@@ -114,7 +114,7 @@ async function endRolloutAsync({ channelName, branchName, jsonFlag, projectId, c
|
|
|
114
114
|
name: branchName,
|
|
115
115
|
});
|
|
116
116
|
if (!branch) {
|
|
117
|
-
throw new Error(`Could not find a branch named "${branchName}".
|
|
117
|
+
throw new Error(`Could not find a branch named "${branchName}". Check which branches exist on this project with ${chalk_1.default.bold('eas branch:list')}.`);
|
|
118
118
|
}
|
|
119
119
|
switch (branch.id) {
|
|
120
120
|
case newBranch.id:
|
|
@@ -176,7 +176,7 @@ class ChannelRollout extends EasCommand_1.default {
|
|
|
176
176
|
channelName: channelName,
|
|
177
177
|
});
|
|
178
178
|
if (!channel) {
|
|
179
|
-
throw new Error(`Could not find a channel named "${channelName}".
|
|
179
|
+
throw new Error(`Could not find a channel named "${channelName}". Check which channels exist on this project with ${chalk_1.default.bold('eas channel:list')}.`);
|
|
180
180
|
}
|
|
181
181
|
const { branchMapping: currentBranchMapping, isRollout } = (0, view_1.getBranchMapping)(channel.branchMapping);
|
|
182
182
|
if (currentBranchMapping.data.length === 0) {
|
|
@@ -119,7 +119,7 @@ class ChannelView extends EasCommand_1.default {
|
|
|
119
119
|
({ name: channelName } = await (0, prompts_1.promptAsync)({
|
|
120
120
|
type: 'text',
|
|
121
121
|
name: 'name',
|
|
122
|
-
message: '
|
|
122
|
+
message: 'Provide a channel name:',
|
|
123
123
|
validate: value => (value ? true : validationMessage),
|
|
124
124
|
}));
|
|
125
125
|
}
|