eas-cli 3.2.1 → 3.3.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 +54 -54
- package/build/build/runBuildAndSubmit.d.ts +2 -2
- package/build/build/runBuildAndSubmit.js +40 -16
- package/build/build/types.d.ts +0 -9
- package/build/build/types.js +1 -11
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +2 -0
- package/build/commands/build/index.d.ts +2 -2
- package/build/commands/build/index.js +6 -10
- package/build/commands/project/init.js +1 -1
- package/build/commands/update/index.js +1 -1
- package/build/commands/update/view.js +2 -2
- package/build/graphql/generated.d.ts +439 -4
- package/build/graphql/generated.js +25 -3
- package/build/graphql/mutations/PublishMutation.js +1 -4
- package/build/graphql/types/Update.js +1 -0
- package/build/project/projectUtils.js +2 -0
- package/build/update/utils.d.ts +4 -0
- package/build/update/utils.js +15 -1
- package/build/user/User.js +2 -0
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -132,7 +132,7 @@ ALIASES
|
|
|
132
132
|
$ eas login
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
_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.3.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
136
136
|
|
|
137
137
|
## `eas account:logout`
|
|
138
138
|
|
|
@@ -149,7 +149,7 @@ ALIASES
|
|
|
149
149
|
$ eas logout
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
_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.3.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
153
153
|
|
|
154
154
|
## `eas account:view`
|
|
155
155
|
|
|
@@ -166,7 +166,7 @@ ALIASES
|
|
|
166
166
|
$ eas whoami
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
-
_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.3.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
170
170
|
|
|
171
171
|
## `eas analytics [STATUS]`
|
|
172
172
|
|
|
@@ -180,7 +180,7 @@ DESCRIPTION
|
|
|
180
180
|
display or change analytics settings
|
|
181
181
|
```
|
|
182
182
|
|
|
183
|
-
_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.3.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
184
184
|
|
|
185
185
|
## `eas autocomplete [SHELL]`
|
|
186
186
|
|
|
@@ -230,7 +230,7 @@ DESCRIPTION
|
|
|
230
230
|
create a branch
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-
_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.3.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
234
234
|
|
|
235
235
|
## `eas branch:delete [NAME]`
|
|
236
236
|
|
|
@@ -251,7 +251,7 @@ DESCRIPTION
|
|
|
251
251
|
delete a branch
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
_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.3.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
255
255
|
|
|
256
256
|
## `eas branch:list`
|
|
257
257
|
|
|
@@ -271,7 +271,7 @@ DESCRIPTION
|
|
|
271
271
|
list all branches
|
|
272
272
|
```
|
|
273
273
|
|
|
274
|
-
_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.3.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
275
275
|
|
|
276
276
|
## `eas branch:rename`
|
|
277
277
|
|
|
@@ -291,7 +291,7 @@ DESCRIPTION
|
|
|
291
291
|
rename a branch
|
|
292
292
|
```
|
|
293
293
|
|
|
294
|
-
_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.3.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
295
295
|
|
|
296
296
|
## `eas branch:view [NAME]`
|
|
297
297
|
|
|
@@ -314,7 +314,7 @@ DESCRIPTION
|
|
|
314
314
|
view a branch
|
|
315
315
|
```
|
|
316
316
|
|
|
317
|
-
_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.3.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
318
318
|
|
|
319
319
|
## `eas build`
|
|
320
320
|
|
|
@@ -344,7 +344,7 @@ DESCRIPTION
|
|
|
344
344
|
start a build
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
_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.3.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
348
348
|
|
|
349
349
|
## `eas build:cancel [BUILD_ID]`
|
|
350
350
|
|
|
@@ -361,7 +361,7 @@ DESCRIPTION
|
|
|
361
361
|
cancel a build
|
|
362
362
|
```
|
|
363
363
|
|
|
364
|
-
_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.3.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
365
365
|
|
|
366
366
|
## `eas build:configure`
|
|
367
367
|
|
|
@@ -378,7 +378,7 @@ DESCRIPTION
|
|
|
378
378
|
configure the project to support EAS Build
|
|
379
379
|
```
|
|
380
380
|
|
|
381
|
-
_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.3.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
382
382
|
|
|
383
383
|
## `eas build:inspect`
|
|
384
384
|
|
|
@@ -413,7 +413,7 @@ DESCRIPTION
|
|
|
413
413
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_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.3.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
417
417
|
|
|
418
418
|
## `eas build:list`
|
|
419
419
|
|
|
@@ -450,7 +450,7 @@ DESCRIPTION
|
|
|
450
450
|
list all builds for your project
|
|
451
451
|
```
|
|
452
452
|
|
|
453
|
-
_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.3.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
454
454
|
|
|
455
455
|
## `eas build:resign`
|
|
456
456
|
|
|
@@ -476,7 +476,7 @@ DESCRIPTION
|
|
|
476
476
|
re-sign a build archive
|
|
477
477
|
```
|
|
478
478
|
|
|
479
|
-
_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.3.0/packages/eas-cli/src/commands/build/resign.ts)_
|
|
480
480
|
|
|
481
481
|
## `eas build:run`
|
|
482
482
|
|
|
@@ -500,7 +500,7 @@ DESCRIPTION
|
|
|
500
500
|
run simulator/emulator builds from eas-cli
|
|
501
501
|
```
|
|
502
502
|
|
|
503
|
-
_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.3.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
504
504
|
|
|
505
505
|
## `eas build:submit`
|
|
506
506
|
|
|
@@ -547,7 +547,7 @@ DESCRIPTION
|
|
|
547
547
|
Update version of an app.
|
|
548
548
|
```
|
|
549
549
|
|
|
550
|
-
_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.3.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
551
551
|
|
|
552
552
|
## `eas build:version:sync`
|
|
553
553
|
|
|
@@ -566,7 +566,7 @@ DESCRIPTION
|
|
|
566
566
|
Update a version in native code with a value stored on EAS servers
|
|
567
567
|
```
|
|
568
568
|
|
|
569
|
-
_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.3.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
570
570
|
|
|
571
571
|
## `eas build:view [BUILD_ID]`
|
|
572
572
|
|
|
@@ -583,7 +583,7 @@ DESCRIPTION
|
|
|
583
583
|
view a build for your project
|
|
584
584
|
```
|
|
585
585
|
|
|
586
|
-
_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.3.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
587
587
|
|
|
588
588
|
## `eas channel:create [NAME]`
|
|
589
589
|
|
|
@@ -604,7 +604,7 @@ DESCRIPTION
|
|
|
604
604
|
create a channel
|
|
605
605
|
```
|
|
606
606
|
|
|
607
|
-
_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.3.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
608
608
|
|
|
609
609
|
## `eas channel:edit [NAME]`
|
|
610
610
|
|
|
@@ -626,7 +626,7 @@ DESCRIPTION
|
|
|
626
626
|
point a channel at a new branch
|
|
627
627
|
```
|
|
628
628
|
|
|
629
|
-
_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.3.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
630
630
|
|
|
631
631
|
## `eas channel:list`
|
|
632
632
|
|
|
@@ -646,7 +646,7 @@ DESCRIPTION
|
|
|
646
646
|
list all channels
|
|
647
647
|
```
|
|
648
648
|
|
|
649
|
-
_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.3.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
650
650
|
|
|
651
651
|
## `eas channel:view [NAME]`
|
|
652
652
|
|
|
@@ -669,7 +669,7 @@ DESCRIPTION
|
|
|
669
669
|
view a channel
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
672
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
673
673
|
|
|
674
674
|
## `eas config`
|
|
675
675
|
|
|
@@ -688,7 +688,7 @@ DESCRIPTION
|
|
|
688
688
|
display project configuration (app.json + eas.json)
|
|
689
689
|
```
|
|
690
690
|
|
|
691
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
691
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/config.ts)_
|
|
692
692
|
|
|
693
693
|
## `eas credentials`
|
|
694
694
|
|
|
@@ -705,7 +705,7 @@ DESCRIPTION
|
|
|
705
705
|
manage credentials
|
|
706
706
|
```
|
|
707
707
|
|
|
708
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
708
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
709
709
|
|
|
710
710
|
## `eas device:create`
|
|
711
711
|
|
|
@@ -719,7 +719,7 @@ DESCRIPTION
|
|
|
719
719
|
register new Apple Devices to use for internal distribution
|
|
720
720
|
```
|
|
721
721
|
|
|
722
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
722
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
723
723
|
|
|
724
724
|
## `eas device:delete`
|
|
725
725
|
|
|
@@ -739,7 +739,7 @@ DESCRIPTION
|
|
|
739
739
|
remove a registered device from your account
|
|
740
740
|
```
|
|
741
741
|
|
|
742
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
742
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
743
743
|
|
|
744
744
|
## `eas device:list`
|
|
745
745
|
|
|
@@ -760,7 +760,7 @@ DESCRIPTION
|
|
|
760
760
|
list all registered devices for your account
|
|
761
761
|
```
|
|
762
762
|
|
|
763
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
763
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
764
764
|
|
|
765
765
|
## `eas device:view [UDID]`
|
|
766
766
|
|
|
@@ -774,7 +774,7 @@ DESCRIPTION
|
|
|
774
774
|
view a device for your project
|
|
775
775
|
```
|
|
776
776
|
|
|
777
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
777
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
778
778
|
|
|
779
779
|
## `eas diagnostics`
|
|
780
780
|
|
|
@@ -788,7 +788,7 @@ DESCRIPTION
|
|
|
788
788
|
display environment info
|
|
789
789
|
```
|
|
790
790
|
|
|
791
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
791
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
792
792
|
|
|
793
793
|
## `eas help [COMMAND]`
|
|
794
794
|
|
|
@@ -876,7 +876,7 @@ DESCRIPTION
|
|
|
876
876
|
validate the local store configuration
|
|
877
877
|
```
|
|
878
878
|
|
|
879
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
879
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
880
880
|
|
|
881
881
|
## `eas metadata:pull`
|
|
882
882
|
|
|
@@ -893,7 +893,7 @@ DESCRIPTION
|
|
|
893
893
|
generate the local store configuration from the app stores
|
|
894
894
|
```
|
|
895
895
|
|
|
896
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
896
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
897
897
|
|
|
898
898
|
## `eas metadata:push`
|
|
899
899
|
|
|
@@ -910,7 +910,7 @@ DESCRIPTION
|
|
|
910
910
|
sync the local store configuration to the app stores
|
|
911
911
|
```
|
|
912
912
|
|
|
913
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
913
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
914
914
|
|
|
915
915
|
## `eas open`
|
|
916
916
|
|
|
@@ -924,7 +924,7 @@ DESCRIPTION
|
|
|
924
924
|
open the project page in a web browser
|
|
925
925
|
```
|
|
926
926
|
|
|
927
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
927
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/open.ts)_
|
|
928
928
|
|
|
929
929
|
## `eas project:info`
|
|
930
930
|
|
|
@@ -938,7 +938,7 @@ DESCRIPTION
|
|
|
938
938
|
information about the current project
|
|
939
939
|
```
|
|
940
940
|
|
|
941
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
941
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
942
942
|
|
|
943
943
|
## `eas project:init`
|
|
944
944
|
|
|
@@ -960,7 +960,7 @@ ALIASES
|
|
|
960
960
|
$ eas init
|
|
961
961
|
```
|
|
962
962
|
|
|
963
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
963
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
964
964
|
|
|
965
965
|
## `eas run`
|
|
966
966
|
|
|
@@ -984,7 +984,7 @@ DESCRIPTION
|
|
|
984
984
|
run simulator build
|
|
985
985
|
```
|
|
986
986
|
|
|
987
|
-
_See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
987
|
+
_See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/run/index.ts)_
|
|
988
988
|
|
|
989
989
|
## `eas run:run`
|
|
990
990
|
|
|
@@ -1008,7 +1008,7 @@ DESCRIPTION
|
|
|
1008
1008
|
run simulator build
|
|
1009
1009
|
```
|
|
1010
1010
|
|
|
1011
|
-
_See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1011
|
+
_See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/run/run.ts)_
|
|
1012
1012
|
|
|
1013
1013
|
## `eas secret:create`
|
|
1014
1014
|
|
|
@@ -1031,7 +1031,7 @@ DESCRIPTION
|
|
|
1031
1031
|
create an environment secret on the current project or owner account
|
|
1032
1032
|
```
|
|
1033
1033
|
|
|
1034
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1034
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1035
1035
|
|
|
1036
1036
|
## `eas secret:delete`
|
|
1037
1037
|
|
|
@@ -1049,7 +1049,7 @@ DESCRIPTION
|
|
|
1049
1049
|
delete an environment secret by ID
|
|
1050
1050
|
```
|
|
1051
1051
|
|
|
1052
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1052
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1053
1053
|
|
|
1054
1054
|
## `eas secret:list`
|
|
1055
1055
|
|
|
@@ -1063,7 +1063,7 @@ DESCRIPTION
|
|
|
1063
1063
|
list environment secrets available for your current app
|
|
1064
1064
|
```
|
|
1065
1065
|
|
|
1066
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1066
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1067
1067
|
|
|
1068
1068
|
## `eas secret:push`
|
|
1069
1069
|
|
|
@@ -1083,7 +1083,7 @@ DESCRIPTION
|
|
|
1083
1083
|
read environment secrets from env file and store on the server
|
|
1084
1084
|
```
|
|
1085
1085
|
|
|
1086
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1086
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1087
1087
|
|
|
1088
1088
|
## `eas submit`
|
|
1089
1089
|
|
|
@@ -1113,7 +1113,7 @@ ALIASES
|
|
|
1113
1113
|
$ eas build:submit
|
|
1114
1114
|
```
|
|
1115
1115
|
|
|
1116
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1116
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1117
1117
|
|
|
1118
1118
|
## `eas update`
|
|
1119
1119
|
|
|
@@ -1145,7 +1145,7 @@ DESCRIPTION
|
|
|
1145
1145
|
publish an update group
|
|
1146
1146
|
```
|
|
1147
1147
|
|
|
1148
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1148
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1149
1149
|
|
|
1150
1150
|
## `eas update:configure`
|
|
1151
1151
|
|
|
@@ -1163,7 +1163,7 @@ DESCRIPTION
|
|
|
1163
1163
|
configure the project to support EAS Update
|
|
1164
1164
|
```
|
|
1165
1165
|
|
|
1166
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1166
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1167
1167
|
|
|
1168
1168
|
## `eas update:delete GROUPID`
|
|
1169
1169
|
|
|
@@ -1184,7 +1184,7 @@ DESCRIPTION
|
|
|
1184
1184
|
delete all the updates in an update group
|
|
1185
1185
|
```
|
|
1186
1186
|
|
|
1187
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1187
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1188
1188
|
|
|
1189
1189
|
## `eas update:list`
|
|
1190
1190
|
|
|
@@ -1206,7 +1206,7 @@ DESCRIPTION
|
|
|
1206
1206
|
view the recent updates
|
|
1207
1207
|
```
|
|
1208
1208
|
|
|
1209
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1209
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1210
1210
|
|
|
1211
1211
|
## `eas update:republish`
|
|
1212
1212
|
|
|
@@ -1230,7 +1230,7 @@ DESCRIPTION
|
|
|
1230
1230
|
rollback to an existing update
|
|
1231
1231
|
```
|
|
1232
1232
|
|
|
1233
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1233
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1234
1234
|
|
|
1235
1235
|
## `eas update:view GROUPID`
|
|
1236
1236
|
|
|
@@ -1250,7 +1250,7 @@ DESCRIPTION
|
|
|
1250
1250
|
update group details
|
|
1251
1251
|
```
|
|
1252
1252
|
|
|
1253
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1253
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1254
1254
|
|
|
1255
1255
|
## `eas webhook:create`
|
|
1256
1256
|
|
|
@@ -1271,7 +1271,7 @@ DESCRIPTION
|
|
|
1271
1271
|
create a webhook
|
|
1272
1272
|
```
|
|
1273
1273
|
|
|
1274
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1274
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1275
1275
|
|
|
1276
1276
|
## `eas webhook:delete [ID]`
|
|
1277
1277
|
|
|
@@ -1291,7 +1291,7 @@ DESCRIPTION
|
|
|
1291
1291
|
delete a webhook
|
|
1292
1292
|
```
|
|
1293
1293
|
|
|
1294
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1294
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1295
1295
|
|
|
1296
1296
|
## `eas webhook:list`
|
|
1297
1297
|
|
|
@@ -1309,7 +1309,7 @@ DESCRIPTION
|
|
|
1309
1309
|
list webhooks
|
|
1310
1310
|
```
|
|
1311
1311
|
|
|
1312
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1312
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1313
1313
|
|
|
1314
1314
|
## `eas webhook:update`
|
|
1315
1315
|
|
|
@@ -1331,7 +1331,7 @@ DESCRIPTION
|
|
|
1331
1331
|
update a webhook
|
|
1332
1332
|
```
|
|
1333
1333
|
|
|
1334
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1334
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1335
1335
|
|
|
1336
1336
|
## `eas webhook:view ID`
|
|
1337
1337
|
|
|
@@ -1348,7 +1348,7 @@ DESCRIPTION
|
|
|
1348
1348
|
view a webhook
|
|
1349
1349
|
```
|
|
1350
1350
|
|
|
1351
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1351
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.3.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1352
1352
|
|
|
1353
1353
|
## `eas whoami`
|
|
1354
1354
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ResourceClass } from '@expo/eas-json';
|
|
1
2
|
import { Analytics } from '../analytics/AnalyticsManager';
|
|
2
3
|
import { DynamicConfigContextFn } from '../commandUtils/context/DynamicProjectConfigContextField';
|
|
3
4
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
4
5
|
import { RequestedPlatform } from '../platform';
|
|
5
6
|
import { Actor } from '../user/User';
|
|
6
7
|
import { LocalBuildOptions } from './local';
|
|
7
|
-
import { UserInputResourceClass } from './types';
|
|
8
8
|
export interface BuildFlags {
|
|
9
9
|
requestedPlatform: RequestedPlatform;
|
|
10
10
|
profile?: string;
|
|
@@ -15,7 +15,7 @@ export interface BuildFlags {
|
|
|
15
15
|
autoSubmit: boolean;
|
|
16
16
|
submitProfile?: string;
|
|
17
17
|
localBuildOptions: LocalBuildOptions;
|
|
18
|
-
|
|
18
|
+
resourceClass?: ResourceClass;
|
|
19
19
|
message?: string;
|
|
20
20
|
}
|
|
21
21
|
export declare function runBuildAndSubmitAsync(graphqlClient: ExpoGraphqlClient, analytics: Analytics, projectDir: string, flags: BuildFlags, actor: Actor, getDynamicProjectConfigAsync: DynamicConfigContextFn): Promise<void>;
|
|
@@ -33,31 +33,55 @@ const build_2 = require("./build");
|
|
|
33
33
|
const configure_1 = require("./configure");
|
|
34
34
|
const createContext_1 = require("./createContext");
|
|
35
35
|
const build_3 = require("./ios/build");
|
|
36
|
-
const types_1 = require("./types");
|
|
37
36
|
const devClient_1 = require("./utils/devClient");
|
|
38
37
|
const printBuildInfo_1 = require("./utils/printBuildInfo");
|
|
39
38
|
const repository_1 = require("./utils/repository");
|
|
40
39
|
let metroConfigValidated = false;
|
|
41
40
|
let sdkVersionChecked = false;
|
|
42
|
-
const
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
41
|
+
const iosResourceClassToBuildResourceClassMapping = {
|
|
42
|
+
[eas_json_1.ResourceClass.DEFAULT]: generated_1.BuildResourceClass.IosDefault,
|
|
43
|
+
[eas_json_1.ResourceClass.LARGE]: generated_1.BuildResourceClass.IosLarge,
|
|
44
|
+
[eas_json_1.ResourceClass.M1_EXPERIMENTAL]: generated_1.BuildResourceClass.IosM1Large,
|
|
45
|
+
[eas_json_1.ResourceClass.M1_MEDIUM]: generated_1.BuildResourceClass.IosM1Medium,
|
|
46
|
+
[eas_json_1.ResourceClass.M1_LARGE]: generated_1.BuildResourceClass.IosM1Large,
|
|
47
|
+
[eas_json_1.ResourceClass.INTEL_MEDIUM]: generated_1.BuildResourceClass.IosIntelMedium,
|
|
48
|
+
[eas_json_1.ResourceClass.MEDIUM]: generated_1.BuildResourceClass.IosMedium,
|
|
46
49
|
};
|
|
47
|
-
const
|
|
48
|
-
[
|
|
49
|
-
[
|
|
50
|
+
const androidResourceClassToBuildResourceClassMapping = {
|
|
51
|
+
[eas_json_1.ResourceClass.DEFAULT]: generated_1.BuildResourceClass.AndroidDefault,
|
|
52
|
+
[eas_json_1.ResourceClass.LARGE]: generated_1.BuildResourceClass.AndroidLarge,
|
|
53
|
+
[eas_json_1.ResourceClass.MEDIUM]: generated_1.BuildResourceClass.AndroidMedium,
|
|
50
54
|
};
|
|
51
|
-
function
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
function resolveBuildResourceClass(profile, resourceClassFlag) {
|
|
56
|
+
var _a;
|
|
57
|
+
if (profile.platform !== eas_build_job_1.Platform.IOS &&
|
|
58
|
+
resourceClassFlag &&
|
|
59
|
+
[
|
|
60
|
+
eas_json_1.ResourceClass.M1_EXPERIMENTAL,
|
|
61
|
+
eas_json_1.ResourceClass.M1_MEDIUM,
|
|
62
|
+
eas_json_1.ResourceClass.M1_LARGE,
|
|
63
|
+
eas_json_1.ResourceClass.INTEL_MEDIUM,
|
|
64
|
+
].includes(resourceClassFlag)) {
|
|
65
|
+
throw new Error(`Resource class ${resourceClassFlag} is only available for iOS builds`);
|
|
66
|
+
}
|
|
67
|
+
const profileResourceClass = profile.profile.resourceClass;
|
|
68
|
+
if (profileResourceClass && resourceClassFlag && resourceClassFlag !== profileResourceClass) {
|
|
69
|
+
log_1.default.warn(`Build profile specifies the "${profileResourceClass}" resource class but you passed "${resourceClassFlag}" to --resource-class.\nUsing the "${resourceClassFlag}" as the override.`);
|
|
70
|
+
}
|
|
71
|
+
const resourceClass = (_a = resourceClassFlag !== null && resourceClassFlag !== void 0 ? resourceClassFlag : profileResourceClass) !== null && _a !== void 0 ? _a : eas_json_1.ResourceClass.DEFAULT;
|
|
72
|
+
if (profile.platform === eas_build_job_1.Platform.IOS && resourceClass === eas_json_1.ResourceClass.M1_EXPERIMENTAL) {
|
|
73
|
+
log_1.default.warn(`Resource class ${chalk_1.default.bold('m1-experimental')} is deprecated.`);
|
|
54
74
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
75
|
+
if (profile.platform === eas_build_job_1.Platform.IOS &&
|
|
76
|
+
[eas_json_1.ResourceClass.LARGE, eas_json_1.ResourceClass.M1_LARGE].includes(resourceClass)) {
|
|
77
|
+
log_1.default.warn(`Large resource classes are not available for iOS builds yet. Your build will use the medium resource class.`);
|
|
78
|
+
}
|
|
79
|
+
return profile.platform === eas_build_job_1.Platform.ANDROID
|
|
80
|
+
? androidResourceClassToBuildResourceClassMapping[resourceClass]
|
|
81
|
+
: iosResourceClassToBuildResourceClassMapping[resourceClass];
|
|
58
82
|
}
|
|
59
83
|
async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flags, actor, getDynamicProjectConfigAsync) {
|
|
60
|
-
var _a, _b
|
|
84
|
+
var _a, _b;
|
|
61
85
|
await (0, vcs_1.getVcsClient)().ensureRepoExistsAsync();
|
|
62
86
|
await (0, repository_1.ensureRepoIsCleanAsync)(flags.nonInteractive);
|
|
63
87
|
await (0, configure_1.ensureProjectConfiguredAsync)({
|
|
@@ -89,7 +113,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
89
113
|
flags,
|
|
90
114
|
moreBuilds: platforms.length > 1,
|
|
91
115
|
buildProfile,
|
|
92
|
-
resourceClass:
|
|
116
|
+
resourceClass: resolveBuildResourceClass(buildProfile, flags.resourceClass),
|
|
93
117
|
easJsonCliConfig,
|
|
94
118
|
actor,
|
|
95
119
|
graphqlClient,
|
package/build/build/types.d.ts
CHANGED
|
@@ -11,12 +11,3 @@ export declare enum BuildDistributionType {
|
|
|
11
11
|
INTERNAL = "internal",
|
|
12
12
|
SIMULATOR = "simulator"
|
|
13
13
|
}
|
|
14
|
-
export declare enum UserInputResourceClass {
|
|
15
|
-
DEFAULT = "default",
|
|
16
|
-
LARGE = "large",
|
|
17
|
-
/**
|
|
18
|
-
* @experimental
|
|
19
|
-
* This resource class is not yet ready to be used in production. For testing purposes only. Might be deprecated / deleted at any time.
|
|
20
|
-
*/
|
|
21
|
-
M1_EXPERIMENTAL = "m1-experimental"
|
|
22
|
-
}
|
package/build/build/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BuildDistributionType = exports.BuildStatus = void 0;
|
|
4
4
|
var BuildStatus;
|
|
5
5
|
(function (BuildStatus) {
|
|
6
6
|
BuildStatus["NEW"] = "new";
|
|
@@ -16,13 +16,3 @@ var BuildDistributionType;
|
|
|
16
16
|
BuildDistributionType["INTERNAL"] = "internal";
|
|
17
17
|
BuildDistributionType["SIMULATOR"] = "simulator";
|
|
18
18
|
})(BuildDistributionType = exports.BuildDistributionType || (exports.BuildDistributionType = {}));
|
|
19
|
-
var UserInputResourceClass;
|
|
20
|
-
(function (UserInputResourceClass) {
|
|
21
|
-
UserInputResourceClass["DEFAULT"] = "default";
|
|
22
|
-
UserInputResourceClass["LARGE"] = "large";
|
|
23
|
-
/**
|
|
24
|
-
* @experimental
|
|
25
|
-
* This resource class is not yet ready to be used in production. For testing purposes only. Might be deprecated / deleted at any time.
|
|
26
|
-
*/
|
|
27
|
-
UserInputResourceClass["M1_EXPERIMENTAL"] = "m1-experimental";
|
|
28
|
-
})(UserInputResourceClass = exports.UserInputResourceClass || (exports.UserInputResourceClass = {}));
|
|
@@ -89,6 +89,8 @@ async function getProjectIdAsync(sessionManager, exp, options) {
|
|
|
89
89
|
return user.username;
|
|
90
90
|
case 'Robot':
|
|
91
91
|
throw new Error('The "owner" manifest property is required when using robot users. See: https://docs.expo.dev/versions/latest/config/app/#owner');
|
|
92
|
+
case 'SSOUser':
|
|
93
|
+
throw new Error('SSO users are not supported yet.');
|
|
92
94
|
}
|
|
93
95
|
};
|
|
94
96
|
const projectId = await (0, fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync_1.fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync)(graphqlClient, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResourceClass } from '@expo/eas-json';
|
|
2
2
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
3
3
|
export default class Build extends EasCommand {
|
|
4
4
|
static description: string;
|
|
@@ -15,7 +15,7 @@ export default class Build extends EasCommand {
|
|
|
15
15
|
'clear-cache': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
'auto-submit': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
'auto-submit-with-profile': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
18
|
-
'resource-class': import("@oclif/core/lib/interfaces").OptionFlag<
|
|
18
|
+
'resource-class': import("@oclif/core/lib/interfaces").OptionFlag<ResourceClass | undefined>;
|
|
19
19
|
message: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
20
20
|
};
|
|
21
21
|
static contextDefinition: {
|