eas-cli 3.9.3 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -53
- package/build/build/android/prepareJob.js +1 -1
- package/build/build/ios/prepareJob.js +1 -1
- package/build/build/utils/resourceClass.js +9 -5
- package/build/commands/device/delete.js +5 -2
- package/build/commands/device/rename.d.ts +24 -0
- package/build/commands/device/rename.js +127 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.d.ts +2 -1
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.js +22 -0
- package/build/devices/actions/create/inputMethod.js +1 -1
- package/build/graphql/generated.d.ts +133 -22
- package/build/graphql/generated.js +7 -2
- package/build/ora.js +3 -1
- package/build/project/publish.js +1 -1
- package/build/utils/profiles.d.ts +5 -0
- package/build/utils/profiles.js +12 -4
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -86,6 +86,7 @@ eas --help COMMAND
|
|
|
86
86
|
* [`eas device:create`](#eas-devicecreate)
|
|
87
87
|
* [`eas device:delete`](#eas-devicedelete)
|
|
88
88
|
* [`eas device:list`](#eas-devicelist)
|
|
89
|
+
* [`eas device:rename`](#eas-devicerename)
|
|
89
90
|
* [`eas device:view [UDID]`](#eas-deviceview-udid)
|
|
90
91
|
* [`eas diagnostics`](#eas-diagnostics)
|
|
91
92
|
* [`eas help [COMMAND]`](#eas-help-command)
|
|
@@ -131,7 +132,7 @@ ALIASES
|
|
|
131
132
|
$ eas login
|
|
132
133
|
```
|
|
133
134
|
|
|
134
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
135
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/account/login.ts)_
|
|
135
136
|
|
|
136
137
|
## `eas account:logout`
|
|
137
138
|
|
|
@@ -148,7 +149,7 @@ ALIASES
|
|
|
148
149
|
$ eas logout
|
|
149
150
|
```
|
|
150
151
|
|
|
151
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
152
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/account/logout.ts)_
|
|
152
153
|
|
|
153
154
|
## `eas account:view`
|
|
154
155
|
|
|
@@ -165,7 +166,7 @@ ALIASES
|
|
|
165
166
|
$ eas whoami
|
|
166
167
|
```
|
|
167
168
|
|
|
168
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
169
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/account/view.ts)_
|
|
169
170
|
|
|
170
171
|
## `eas analytics [STATUS]`
|
|
171
172
|
|
|
@@ -179,7 +180,7 @@ DESCRIPTION
|
|
|
179
180
|
display or change analytics settings
|
|
180
181
|
```
|
|
181
182
|
|
|
182
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
183
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/analytics.ts)_
|
|
183
184
|
|
|
184
185
|
## `eas autocomplete [SHELL]`
|
|
185
186
|
|
|
@@ -229,7 +230,7 @@ DESCRIPTION
|
|
|
229
230
|
create a branch
|
|
230
231
|
```
|
|
231
232
|
|
|
232
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
233
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/branch/create.ts)_
|
|
233
234
|
|
|
234
235
|
## `eas branch:delete [NAME]`
|
|
235
236
|
|
|
@@ -250,7 +251,7 @@ DESCRIPTION
|
|
|
250
251
|
delete a branch
|
|
251
252
|
```
|
|
252
253
|
|
|
253
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
254
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
254
255
|
|
|
255
256
|
## `eas branch:list`
|
|
256
257
|
|
|
@@ -270,7 +271,7 @@ DESCRIPTION
|
|
|
270
271
|
list all branches
|
|
271
272
|
```
|
|
272
273
|
|
|
273
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
274
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/branch/list.ts)_
|
|
274
275
|
|
|
275
276
|
## `eas branch:rename`
|
|
276
277
|
|
|
@@ -290,7 +291,7 @@ DESCRIPTION
|
|
|
290
291
|
rename a branch
|
|
291
292
|
```
|
|
292
293
|
|
|
293
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
294
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
294
295
|
|
|
295
296
|
## `eas branch:view [NAME]`
|
|
296
297
|
|
|
@@ -313,7 +314,7 @@ DESCRIPTION
|
|
|
313
314
|
view a branch
|
|
314
315
|
```
|
|
315
316
|
|
|
316
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
317
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/branch/view.ts)_
|
|
317
318
|
|
|
318
319
|
## `eas build`
|
|
319
320
|
|
|
@@ -343,7 +344,7 @@ DESCRIPTION
|
|
|
343
344
|
start a build
|
|
344
345
|
```
|
|
345
346
|
|
|
346
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
347
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/index.ts)_
|
|
347
348
|
|
|
348
349
|
## `eas build:cancel [BUILD_ID]`
|
|
349
350
|
|
|
@@ -360,7 +361,7 @@ DESCRIPTION
|
|
|
360
361
|
cancel a build
|
|
361
362
|
```
|
|
362
363
|
|
|
363
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
364
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
364
365
|
|
|
365
366
|
## `eas build:configure`
|
|
366
367
|
|
|
@@ -377,7 +378,7 @@ DESCRIPTION
|
|
|
377
378
|
configure the project to support EAS Build
|
|
378
379
|
```
|
|
379
380
|
|
|
380
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
381
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/configure.ts)_
|
|
381
382
|
|
|
382
383
|
## `eas build:inspect`
|
|
383
384
|
|
|
@@ -412,7 +413,7 @@ DESCRIPTION
|
|
|
412
413
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
413
414
|
```
|
|
414
415
|
|
|
415
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
416
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
416
417
|
|
|
417
418
|
## `eas build:list`
|
|
418
419
|
|
|
@@ -449,7 +450,7 @@ DESCRIPTION
|
|
|
449
450
|
list all builds for your project
|
|
450
451
|
```
|
|
451
452
|
|
|
452
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
453
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/list.ts)_
|
|
453
454
|
|
|
454
455
|
## `eas build:resign`
|
|
455
456
|
|
|
@@ -475,7 +476,7 @@ DESCRIPTION
|
|
|
475
476
|
re-sign a build archive
|
|
476
477
|
```
|
|
477
478
|
|
|
478
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
479
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/resign.ts)_
|
|
479
480
|
|
|
480
481
|
## `eas build:run`
|
|
481
482
|
|
|
@@ -499,7 +500,7 @@ DESCRIPTION
|
|
|
499
500
|
run simulator/emulator builds from eas-cli
|
|
500
501
|
```
|
|
501
502
|
|
|
502
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
503
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/run.ts)_
|
|
503
504
|
|
|
504
505
|
## `eas build:submit`
|
|
505
506
|
|
|
@@ -546,7 +547,7 @@ DESCRIPTION
|
|
|
546
547
|
Update version of an app.
|
|
547
548
|
```
|
|
548
549
|
|
|
549
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
550
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
550
551
|
|
|
551
552
|
## `eas build:version:sync`
|
|
552
553
|
|
|
@@ -565,7 +566,7 @@ DESCRIPTION
|
|
|
565
566
|
Update a version in native code with a value stored on EAS servers
|
|
566
567
|
```
|
|
567
568
|
|
|
568
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
569
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
569
570
|
|
|
570
571
|
## `eas build:view [BUILD_ID]`
|
|
571
572
|
|
|
@@ -582,7 +583,7 @@ DESCRIPTION
|
|
|
582
583
|
view a build for your project
|
|
583
584
|
```
|
|
584
585
|
|
|
585
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
586
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/build/view.ts)_
|
|
586
587
|
|
|
587
588
|
## `eas channel:create [NAME]`
|
|
588
589
|
|
|
@@ -603,7 +604,7 @@ DESCRIPTION
|
|
|
603
604
|
create a channel
|
|
604
605
|
```
|
|
605
606
|
|
|
606
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
607
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/channel/create.ts)_
|
|
607
608
|
|
|
608
609
|
## `eas channel:edit [NAME]`
|
|
609
610
|
|
|
@@ -625,7 +626,7 @@ DESCRIPTION
|
|
|
625
626
|
point a channel at a new branch
|
|
626
627
|
```
|
|
627
628
|
|
|
628
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
629
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
629
630
|
|
|
630
631
|
## `eas channel:list`
|
|
631
632
|
|
|
@@ -645,7 +646,7 @@ DESCRIPTION
|
|
|
645
646
|
list all channels
|
|
646
647
|
```
|
|
647
648
|
|
|
648
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
649
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/channel/list.ts)_
|
|
649
650
|
|
|
650
651
|
## `eas channel:rollout [CHANNEL]`
|
|
651
652
|
|
|
@@ -669,7 +670,7 @@ DESCRIPTION
|
|
|
669
670
|
Roll a new branch out on a channel incrementally.
|
|
670
671
|
```
|
|
671
672
|
|
|
672
|
-
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
673
|
+
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
673
674
|
|
|
674
675
|
## `eas channel:view [NAME]`
|
|
675
676
|
|
|
@@ -692,7 +693,7 @@ DESCRIPTION
|
|
|
692
693
|
view a channel
|
|
693
694
|
```
|
|
694
695
|
|
|
695
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
696
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/channel/view.ts)_
|
|
696
697
|
|
|
697
698
|
## `eas config`
|
|
698
699
|
|
|
@@ -713,7 +714,7 @@ DESCRIPTION
|
|
|
713
714
|
display project configuration (app.json + eas.json)
|
|
714
715
|
```
|
|
715
716
|
|
|
716
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
717
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/config.ts)_
|
|
717
718
|
|
|
718
719
|
## `eas credentials`
|
|
719
720
|
|
|
@@ -730,7 +731,7 @@ DESCRIPTION
|
|
|
730
731
|
manage credentials
|
|
731
732
|
```
|
|
732
733
|
|
|
733
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
734
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/credentials.ts)_
|
|
734
735
|
|
|
735
736
|
## `eas device:create`
|
|
736
737
|
|
|
@@ -744,7 +745,7 @@ DESCRIPTION
|
|
|
744
745
|
register new Apple Devices to use for internal distribution
|
|
745
746
|
```
|
|
746
747
|
|
|
747
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
748
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/device/create.ts)_
|
|
748
749
|
|
|
749
750
|
## `eas device:delete`
|
|
750
751
|
|
|
@@ -764,7 +765,7 @@ DESCRIPTION
|
|
|
764
765
|
remove a registered device from your account
|
|
765
766
|
```
|
|
766
767
|
|
|
767
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
768
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/device/delete.ts)_
|
|
768
769
|
|
|
769
770
|
## `eas device:list`
|
|
770
771
|
|
|
@@ -785,7 +786,28 @@ DESCRIPTION
|
|
|
785
786
|
list all registered devices for your account
|
|
786
787
|
```
|
|
787
788
|
|
|
788
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
789
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/device/list.ts)_
|
|
790
|
+
|
|
791
|
+
## `eas device:rename`
|
|
792
|
+
|
|
793
|
+
rename a registered device
|
|
794
|
+
|
|
795
|
+
```
|
|
796
|
+
USAGE
|
|
797
|
+
$ eas device:rename [--apple-team-id <value>] [--udid <value>] [--name <value>] [--json --non-interactive]
|
|
798
|
+
|
|
799
|
+
FLAGS
|
|
800
|
+
--apple-team-id=<value> The Apple team ID on which to find the device
|
|
801
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
802
|
+
--name=<value> The new name for the device
|
|
803
|
+
--non-interactive Run the command in non-interactive mode.
|
|
804
|
+
--udid=<value> The Apple device ID to rename
|
|
805
|
+
|
|
806
|
+
DESCRIPTION
|
|
807
|
+
rename a registered device
|
|
808
|
+
```
|
|
809
|
+
|
|
810
|
+
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/device/rename.ts)_
|
|
789
811
|
|
|
790
812
|
## `eas device:view [UDID]`
|
|
791
813
|
|
|
@@ -799,7 +821,7 @@ DESCRIPTION
|
|
|
799
821
|
view a device for your project
|
|
800
822
|
```
|
|
801
823
|
|
|
802
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
824
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/device/view.ts)_
|
|
803
825
|
|
|
804
826
|
## `eas diagnostics`
|
|
805
827
|
|
|
@@ -813,7 +835,7 @@ DESCRIPTION
|
|
|
813
835
|
display environment info
|
|
814
836
|
```
|
|
815
837
|
|
|
816
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
838
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
817
839
|
|
|
818
840
|
## `eas help [COMMAND]`
|
|
819
841
|
|
|
@@ -901,7 +923,7 @@ DESCRIPTION
|
|
|
901
923
|
validate the local store configuration
|
|
902
924
|
```
|
|
903
925
|
|
|
904
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
926
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
905
927
|
|
|
906
928
|
## `eas metadata:pull`
|
|
907
929
|
|
|
@@ -918,7 +940,7 @@ DESCRIPTION
|
|
|
918
940
|
generate the local store configuration from the app stores
|
|
919
941
|
```
|
|
920
942
|
|
|
921
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
943
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
922
944
|
|
|
923
945
|
## `eas metadata:push`
|
|
924
946
|
|
|
@@ -935,7 +957,7 @@ DESCRIPTION
|
|
|
935
957
|
sync the local store configuration to the app stores
|
|
936
958
|
```
|
|
937
959
|
|
|
938
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
960
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
939
961
|
|
|
940
962
|
## `eas open`
|
|
941
963
|
|
|
@@ -949,7 +971,7 @@ DESCRIPTION
|
|
|
949
971
|
open the project page in a web browser
|
|
950
972
|
```
|
|
951
973
|
|
|
952
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
974
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/open.ts)_
|
|
953
975
|
|
|
954
976
|
## `eas project:info`
|
|
955
977
|
|
|
@@ -963,7 +985,7 @@ DESCRIPTION
|
|
|
963
985
|
information about the current project
|
|
964
986
|
```
|
|
965
987
|
|
|
966
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
988
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/project/info.ts)_
|
|
967
989
|
|
|
968
990
|
## `eas project:init`
|
|
969
991
|
|
|
@@ -985,7 +1007,7 @@ ALIASES
|
|
|
985
1007
|
$ eas init
|
|
986
1008
|
```
|
|
987
1009
|
|
|
988
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1010
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/project/init.ts)_
|
|
989
1011
|
|
|
990
1012
|
## `eas secret:create`
|
|
991
1013
|
|
|
@@ -1008,7 +1030,7 @@ DESCRIPTION
|
|
|
1008
1030
|
create an environment secret on the current project or owner account
|
|
1009
1031
|
```
|
|
1010
1032
|
|
|
1011
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1033
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1012
1034
|
|
|
1013
1035
|
## `eas secret:delete`
|
|
1014
1036
|
|
|
@@ -1026,7 +1048,7 @@ DESCRIPTION
|
|
|
1026
1048
|
delete an environment secret by ID
|
|
1027
1049
|
```
|
|
1028
1050
|
|
|
1029
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1051
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1030
1052
|
|
|
1031
1053
|
## `eas secret:list`
|
|
1032
1054
|
|
|
@@ -1040,7 +1062,7 @@ DESCRIPTION
|
|
|
1040
1062
|
list environment secrets available for your current app
|
|
1041
1063
|
```
|
|
1042
1064
|
|
|
1043
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1065
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1044
1066
|
|
|
1045
1067
|
## `eas secret:push`
|
|
1046
1068
|
|
|
@@ -1060,7 +1082,7 @@ DESCRIPTION
|
|
|
1060
1082
|
read environment secrets from env file and store on the server
|
|
1061
1083
|
```
|
|
1062
1084
|
|
|
1063
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1085
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1064
1086
|
|
|
1065
1087
|
## `eas submit`
|
|
1066
1088
|
|
|
@@ -1090,7 +1112,7 @@ ALIASES
|
|
|
1090
1112
|
$ eas build:submit
|
|
1091
1113
|
```
|
|
1092
1114
|
|
|
1093
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1115
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/submit.ts)_
|
|
1094
1116
|
|
|
1095
1117
|
## `eas update`
|
|
1096
1118
|
|
|
@@ -1122,7 +1144,7 @@ DESCRIPTION
|
|
|
1122
1144
|
publish an update group
|
|
1123
1145
|
```
|
|
1124
1146
|
|
|
1125
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1147
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/update/index.ts)_
|
|
1126
1148
|
|
|
1127
1149
|
## `eas update:configure`
|
|
1128
1150
|
|
|
@@ -1140,7 +1162,7 @@ DESCRIPTION
|
|
|
1140
1162
|
configure the project to support EAS Update
|
|
1141
1163
|
```
|
|
1142
1164
|
|
|
1143
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1165
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1144
1166
|
|
|
1145
1167
|
## `eas update:delete GROUPID`
|
|
1146
1168
|
|
|
@@ -1161,7 +1183,7 @@ DESCRIPTION
|
|
|
1161
1183
|
delete all the updates in an update group
|
|
1162
1184
|
```
|
|
1163
1185
|
|
|
1164
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1186
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1165
1187
|
|
|
1166
1188
|
## `eas update:list`
|
|
1167
1189
|
|
|
@@ -1183,7 +1205,7 @@ DESCRIPTION
|
|
|
1183
1205
|
view the recent updates
|
|
1184
1206
|
```
|
|
1185
1207
|
|
|
1186
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1208
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/update/list.ts)_
|
|
1187
1209
|
|
|
1188
1210
|
## `eas update:republish`
|
|
1189
1211
|
|
|
@@ -1207,7 +1229,7 @@ DESCRIPTION
|
|
|
1207
1229
|
roll back to an existing update
|
|
1208
1230
|
```
|
|
1209
1231
|
|
|
1210
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1232
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1211
1233
|
|
|
1212
1234
|
## `eas update:view GROUPID`
|
|
1213
1235
|
|
|
@@ -1227,7 +1249,7 @@ DESCRIPTION
|
|
|
1227
1249
|
update group details
|
|
1228
1250
|
```
|
|
1229
1251
|
|
|
1230
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1252
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/update/view.ts)_
|
|
1231
1253
|
|
|
1232
1254
|
## `eas webhook:create`
|
|
1233
1255
|
|
|
@@ -1248,7 +1270,7 @@ DESCRIPTION
|
|
|
1248
1270
|
create a webhook
|
|
1249
1271
|
```
|
|
1250
1272
|
|
|
1251
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1273
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1252
1274
|
|
|
1253
1275
|
## `eas webhook:delete [ID]`
|
|
1254
1276
|
|
|
@@ -1268,7 +1290,7 @@ DESCRIPTION
|
|
|
1268
1290
|
delete a webhook
|
|
1269
1291
|
```
|
|
1270
1292
|
|
|
1271
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1293
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1272
1294
|
|
|
1273
1295
|
## `eas webhook:list`
|
|
1274
1296
|
|
|
@@ -1286,7 +1308,7 @@ DESCRIPTION
|
|
|
1286
1308
|
list webhooks
|
|
1287
1309
|
```
|
|
1288
1310
|
|
|
1289
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1311
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1290
1312
|
|
|
1291
1313
|
## `eas webhook:update`
|
|
1292
1314
|
|
|
@@ -1308,7 +1330,7 @@ DESCRIPTION
|
|
|
1308
1330
|
update a webhook
|
|
1309
1331
|
```
|
|
1310
1332
|
|
|
1311
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1333
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1312
1334
|
|
|
1313
1335
|
## `eas webhook:view ID`
|
|
1314
1336
|
|
|
@@ -1325,7 +1347,7 @@ DESCRIPTION
|
|
|
1325
1347
|
view a webhook
|
|
1326
1348
|
```
|
|
1327
1349
|
|
|
1328
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1350
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.10.1/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1329
1351
|
|
|
1330
1352
|
## `eas whoami`
|
|
1331
1353
|
|
|
@@ -7,7 +7,7 @@ const eas_json_1 = require("@expo/eas-json");
|
|
|
7
7
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
8
8
|
const semver_1 = tslib_1.__importDefault(require("semver"));
|
|
9
9
|
const generated_1 = require("../../graphql/generated");
|
|
10
|
-
const log_1 = tslib_1.
|
|
10
|
+
const log_1 = tslib_1.__importStar(require("../../log"));
|
|
11
11
|
const metadata_1 = require("../metadata");
|
|
12
12
|
const iosResourceClassToBuildResourceClassMapping = {
|
|
13
13
|
[eas_json_1.ResourceClass.DEFAULT]: generated_1.BuildResourceClass.IosDefault,
|
|
@@ -28,11 +28,11 @@ const androidResourceClassToBuildResourceClassMapping = {
|
|
|
28
28
|
async function resolveBuildResourceClassAsync(profile, platform, projectDir, exp, resourceClassFlag) {
|
|
29
29
|
const profileResourceClass = profile.resourceClass;
|
|
30
30
|
if (profileResourceClass && resourceClassFlag && resourceClassFlag !== profileResourceClass) {
|
|
31
|
-
log_1.default.warn(`Build profile specifies the "${profileResourceClass}" resource class but you passed "${resourceClassFlag}" to --resource-class.\nUsing
|
|
31
|
+
log_1.default.warn(`Build profile specifies the "${profileResourceClass}" resource class but you passed "${resourceClassFlag}" to --resource-class.\nUsing "${resourceClassFlag}" as the override.`);
|
|
32
32
|
}
|
|
33
33
|
const selectedResourceClass = resourceClassFlag !== null && resourceClassFlag !== void 0 ? resourceClassFlag : profileResourceClass;
|
|
34
34
|
return platform === eas_build_job_1.Platform.IOS
|
|
35
|
-
? await resolveIosResourceClassAsync(exp, projectDir, resourceClassFlag
|
|
35
|
+
? await resolveIosResourceClassAsync(exp, projectDir, resourceClassFlag, profileResourceClass)
|
|
36
36
|
: resolveAndroidResourceClass(selectedResourceClass);
|
|
37
37
|
}
|
|
38
38
|
exports.resolveBuildResourceClassAsync = resolveBuildResourceClassAsync;
|
|
@@ -49,8 +49,12 @@ function resolveAndroidResourceClass(selectedResourceClass) {
|
|
|
49
49
|
const resourceClass = selectedResourceClass !== null && selectedResourceClass !== void 0 ? selectedResourceClass : eas_json_1.ResourceClass.DEFAULT;
|
|
50
50
|
return androidResourceClassToBuildResourceClassMapping[resourceClass];
|
|
51
51
|
}
|
|
52
|
-
async function resolveIosResourceClassAsync(exp, projectDir,
|
|
53
|
-
|
|
52
|
+
async function resolveIosResourceClassAsync(exp, projectDir, resourceClassFlag, profileResourceClass) {
|
|
53
|
+
var _a;
|
|
54
|
+
const resourceClass = (_a = resourceClassFlag !== null && resourceClassFlag !== void 0 ? resourceClassFlag : profileResourceClass) !== null && _a !== void 0 ? _a : (await resolveIosDefaultRequestedResourceClassAsync(exp, projectDir));
|
|
55
|
+
if (resourceClassFlag === eas_json_1.ResourceClass.LARGE) {
|
|
56
|
+
throw new Error(`Experimental "large" resource class for Intel iOS workers is no longer available. Remove the specified resource class to use the default, or learn more about all available resource classes: ${(0, log_1.link)('https://docs.expo.dev/build-reference/eas-json/')}`);
|
|
57
|
+
}
|
|
54
58
|
if ([eas_json_1.ResourceClass.M1_EXPERIMENTAL, eas_json_1.ResourceClass.M1_MEDIUM].includes(resourceClass)) {
|
|
55
59
|
log_1.default.warn(`Resource class ${chalk_1.default.bold(resourceClass)} is deprecated. Use ${chalk_1.default.bold('m-medium')} instead.`);
|
|
56
60
|
}
|
|
@@ -74,11 +74,14 @@ class DeviceDelete extends EasCommand_1.default {
|
|
|
74
74
|
const removeAppleSpinner = (0, ora_1.ora)('Disabling device on Apple').start();
|
|
75
75
|
try {
|
|
76
76
|
const appleValidatedDevices = await apple_utils_1.Device.getAsync(context);
|
|
77
|
-
const appleValidatedDevice = appleValidatedDevices.find(d => d.
|
|
77
|
+
const appleValidatedDevice = appleValidatedDevices.find(d => d.attributes.udid === device.identifier);
|
|
78
78
|
if (appleValidatedDevice) {
|
|
79
79
|
await appleValidatedDevice.updateAsync({ status: apple_utils_1.DeviceStatus.DISABLED });
|
|
80
|
+
removeAppleSpinner.succeed('Disabled device on Apple');
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
removeAppleSpinner.warn('Device not found on Apple Developer Portal. Expo-registered devices will not appear there until they are chosen for an internal distribution build.');
|
|
80
84
|
}
|
|
81
|
-
removeAppleSpinner.succeed('Disabled device on Apple');
|
|
82
85
|
}
|
|
83
86
|
catch (err) {
|
|
84
87
|
removeAppleSpinner.fail();
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
|
+
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
3
|
+
import { PaginatedQueryOptions } from '../../commandUtils/pagination';
|
|
4
|
+
import { AppleDeviceQueryResult } from '../../credentials/ios/api/graphql/queries/AppleDeviceQuery';
|
|
5
|
+
import { AppleDevice, Maybe } from '../../graphql/generated';
|
|
6
|
+
export default class DeviceRename extends EasCommand {
|
|
7
|
+
static description: string;
|
|
8
|
+
static flags: {
|
|
9
|
+
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
'apple-team-id': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
12
|
+
udid: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
13
|
+
name: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
14
|
+
};
|
|
15
|
+
static contextDefinition: {
|
|
16
|
+
loggedIn: import("../../commandUtils/context/LoggedInContextField").default;
|
|
17
|
+
projectConfig: import("../../commandUtils/context/ProjectConfigContextField").default;
|
|
18
|
+
};
|
|
19
|
+
runAsync(): Promise<void>;
|
|
20
|
+
promptForNewDeviceNameAsync(initial: Maybe<string> | undefined): Promise<string | undefined>;
|
|
21
|
+
renameDeviceOnExpoAsync(graphqlClient: ExpoGraphqlClient, chosenDevice: AppleDevice | AppleDeviceQueryResult, newDeviceName: string): Promise<void>;
|
|
22
|
+
renameDeviceOnAppleAsync(device: AppleDevice | AppleDeviceQueryResult, appleTeamIdentifier: string, newDeviceName: string): Promise<void>;
|
|
23
|
+
logChosenDevice(device: AppleDevice | AppleDeviceQueryResult, appleTeamName: Maybe<string> | undefined, appleTeamIdentifier: string, { json }: PaginatedQueryOptions): void;
|
|
24
|
+
}
|