eas-cli 0.54.0 → 0.55.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 +44 -96
- package/build/build/android/build.js +2 -1
- package/build/build/build.d.ts +2 -2
- package/build/build/build.js +9 -3
- package/build/build/context.d.ts +2 -0
- package/build/build/createContext.d.ts +3 -1
- package/build/build/createContext.js +2 -1
- package/build/build/ios/build.js +2 -1
- package/build/build/runBuildAndSubmit.d.ts +2 -0
- package/build/build/runBuildAndSubmit.js +15 -2
- package/build/build/types.d.ts +4 -0
- package/build/build/types.js +6 -1
- package/build/commands/build/index.d.ts +2 -0
- package/build/commands/build/index.js +8 -1
- package/build/commands/metadata/push.js +5 -3
- package/build/commands/update/index.d.ts +1 -0
- package/build/commands/update/index.js +12 -3
- package/build/env.d.ts +11 -0
- package/build/env.js +12 -0
- package/build/graphql/generated.d.ts +15 -0
- package/build/graphql/generated.js +9 -1
- package/build/graphql/mutations/BuildMutation.d.ts +3 -1
- package/build/graphql/mutations/BuildMutation.js +14 -2
- package/build/graphql/queries/WebhookQuery.d.ts +1 -1
- package/build/metadata/apple/config/reader.d.ts +2 -1
- package/build/metadata/apple/config/reader.js +66 -9
- package/build/metadata/apple/config/writer.d.ts +3 -2
- package/build/metadata/apple/config/writer.js +64 -12
- package/build/metadata/apple/data.d.ts +2 -1
- package/build/metadata/apple/tasks/app-review-detail.d.ts +14 -0
- package/build/metadata/apple/tasks/app-review-detail.js +49 -0
- package/build/metadata/apple/tasks/app-version.js +2 -2
- package/build/metadata/apple/tasks/index.js +2 -1
- package/build/metadata/apple/types.d.ts +9 -11
- package/build/metadata/errors.d.ts +5 -0
- package/build/metadata/errors.js +24 -7
- package/build/metadata/upload.d.ts +3 -1
- package/build/metadata/upload.js +14 -3
- package/build/project/android/applicationId.js +4 -0
- package/build/project/publish.js +8 -3
- package/build/project/workflow.js +13 -11
- package/build/submit/utils/files.d.ts +6 -0
- package/build/submit/utils/files.js +16 -3
- package/build/uploads.d.ts +3 -2
- package/build/uploads.js +4 -5
- package/oclif.manifest.json +1 -1
- package/package.json +6 -5
- package/schema/metadata-0.json +988 -0
package/README.md
CHANGED
|
@@ -51,7 +51,6 @@ eas --help COMMAND
|
|
|
51
51
|
* [`eas build:submit`](#eas-buildsubmit)
|
|
52
52
|
* [`eas build:view [BUILD_ID]`](#eas-buildview-build_id)
|
|
53
53
|
* [`eas channel:create [NAME]`](#eas-channelcreate-name)
|
|
54
|
-
* [`eas channel:create copy [NAME]`](#eas-channelcreate-copy-name)
|
|
55
54
|
* [`eas channel:edit [NAME]`](#eas-channeledit-name)
|
|
56
55
|
* [`eas channel:list`](#eas-channellist)
|
|
57
56
|
* [`eas channel:view [NAME]`](#eas-channelview-name)
|
|
@@ -77,7 +76,6 @@ eas --help COMMAND
|
|
|
77
76
|
* [`eas update`](#eas-update)
|
|
78
77
|
* [`eas update:configure`](#eas-updateconfigure)
|
|
79
78
|
* [`eas update:delete GROUPID`](#eas-updatedelete-groupid)
|
|
80
|
-
* [`eas update:index copy`](#eas-updateindex-copy)
|
|
81
79
|
* [`eas update:list`](#eas-updatelist)
|
|
82
80
|
* [`eas update:view GROUPID`](#eas-updateview-groupid)
|
|
83
81
|
* [`eas webhook:create`](#eas-webhookcreate)
|
|
@@ -102,7 +100,7 @@ ALIASES
|
|
|
102
100
|
$ eas login
|
|
103
101
|
```
|
|
104
102
|
|
|
105
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
103
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/account/login.ts)_
|
|
106
104
|
|
|
107
105
|
## `eas account:logout`
|
|
108
106
|
|
|
@@ -119,7 +117,7 @@ ALIASES
|
|
|
119
117
|
$ eas logout
|
|
120
118
|
```
|
|
121
119
|
|
|
122
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
120
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/account/logout.ts)_
|
|
123
121
|
|
|
124
122
|
## `eas account:view`
|
|
125
123
|
|
|
@@ -136,7 +134,7 @@ ALIASES
|
|
|
136
134
|
$ eas whoami
|
|
137
135
|
```
|
|
138
136
|
|
|
139
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
137
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/account/view.ts)_
|
|
140
138
|
|
|
141
139
|
## `eas analytics [STATUS]`
|
|
142
140
|
|
|
@@ -150,7 +148,7 @@ DESCRIPTION
|
|
|
150
148
|
display or change analytics settings
|
|
151
149
|
```
|
|
152
150
|
|
|
153
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
151
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/analytics.ts)_
|
|
154
152
|
|
|
155
153
|
## `eas autocomplete [SHELL]`
|
|
156
154
|
|
|
@@ -199,7 +197,7 @@ DESCRIPTION
|
|
|
199
197
|
create a branch
|
|
200
198
|
```
|
|
201
199
|
|
|
202
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
200
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/create.ts)_
|
|
203
201
|
|
|
204
202
|
## `eas branch:delete [NAME]`
|
|
205
203
|
|
|
@@ -219,7 +217,7 @@ DESCRIPTION
|
|
|
219
217
|
delete a branch
|
|
220
218
|
```
|
|
221
219
|
|
|
222
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
220
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
223
221
|
|
|
224
222
|
## `eas branch:list`
|
|
225
223
|
|
|
@@ -236,7 +234,7 @@ DESCRIPTION
|
|
|
236
234
|
list all branches
|
|
237
235
|
```
|
|
238
236
|
|
|
239
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
237
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/list.ts)_
|
|
240
238
|
|
|
241
239
|
## `eas branch:rename`
|
|
242
240
|
|
|
@@ -255,7 +253,7 @@ DESCRIPTION
|
|
|
255
253
|
rename a branch
|
|
256
254
|
```
|
|
257
255
|
|
|
258
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
256
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
259
257
|
|
|
260
258
|
## `eas branch:view [NAME]`
|
|
261
259
|
|
|
@@ -275,7 +273,7 @@ DESCRIPTION
|
|
|
275
273
|
view a branch
|
|
276
274
|
```
|
|
277
275
|
|
|
278
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
276
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/branch/view.ts)_
|
|
279
277
|
|
|
280
278
|
## `eas build`
|
|
281
279
|
|
|
@@ -304,7 +302,7 @@ DESCRIPTION
|
|
|
304
302
|
start a build
|
|
305
303
|
```
|
|
306
304
|
|
|
307
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
305
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/index.ts)_
|
|
308
306
|
|
|
309
307
|
## `eas build:cancel [BUILD_ID]`
|
|
310
308
|
|
|
@@ -318,7 +316,7 @@ DESCRIPTION
|
|
|
318
316
|
cancel a build
|
|
319
317
|
```
|
|
320
318
|
|
|
321
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
319
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
322
320
|
|
|
323
321
|
## `eas build:configure`
|
|
324
322
|
|
|
@@ -335,7 +333,7 @@ DESCRIPTION
|
|
|
335
333
|
configure the project to support EAS Build
|
|
336
334
|
```
|
|
337
335
|
|
|
338
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
336
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/configure.ts)_
|
|
339
337
|
|
|
340
338
|
## `eas build:inspect`
|
|
341
339
|
|
|
@@ -370,7 +368,7 @@ DESCRIPTION
|
|
|
370
368
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
371
369
|
```
|
|
372
370
|
|
|
373
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
371
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
374
372
|
|
|
375
373
|
## `eas build:list`
|
|
376
374
|
|
|
@@ -403,7 +401,7 @@ DESCRIPTION
|
|
|
403
401
|
list all builds for your project
|
|
404
402
|
```
|
|
405
403
|
|
|
406
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
404
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/list.ts)_
|
|
407
405
|
|
|
408
406
|
## `eas build:submit`
|
|
409
407
|
|
|
@@ -448,7 +446,7 @@ DESCRIPTION
|
|
|
448
446
|
view a build for your project
|
|
449
447
|
```
|
|
450
448
|
|
|
451
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
449
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/build/view.ts)_
|
|
452
450
|
|
|
453
451
|
## `eas channel:create [NAME]`
|
|
454
452
|
|
|
@@ -468,27 +466,7 @@ DESCRIPTION
|
|
|
468
466
|
create a channel
|
|
469
467
|
```
|
|
470
468
|
|
|
471
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
472
|
-
|
|
473
|
-
## `eas channel:create copy [NAME]`
|
|
474
|
-
|
|
475
|
-
create a channel
|
|
476
|
-
|
|
477
|
-
```
|
|
478
|
-
USAGE
|
|
479
|
-
$ eas channel:create copy [NAME] [--json]
|
|
480
|
-
|
|
481
|
-
ARGUMENTS
|
|
482
|
-
NAME Name of the channel to create
|
|
483
|
-
|
|
484
|
-
FLAGS
|
|
485
|
-
--json print output as a JSON object with the new channel ID, name and branch mapping.
|
|
486
|
-
|
|
487
|
-
DESCRIPTION
|
|
488
|
-
create a channel
|
|
489
|
-
```
|
|
490
|
-
|
|
491
|
-
_See code: [src/commands/channel/create copy.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/channel/create copy.ts)_
|
|
469
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/channel/create.ts)_
|
|
492
470
|
|
|
493
471
|
## `eas channel:edit [NAME]`
|
|
494
472
|
|
|
@@ -509,7 +487,7 @@ DESCRIPTION
|
|
|
509
487
|
point a channel at a new branch
|
|
510
488
|
```
|
|
511
489
|
|
|
512
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
490
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
513
491
|
|
|
514
492
|
## `eas channel:list`
|
|
515
493
|
|
|
@@ -526,7 +504,7 @@ DESCRIPTION
|
|
|
526
504
|
list all channels
|
|
527
505
|
```
|
|
528
506
|
|
|
529
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
507
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/channel/list.ts)_
|
|
530
508
|
|
|
531
509
|
## `eas channel:view [NAME]`
|
|
532
510
|
|
|
@@ -546,7 +524,7 @@ DESCRIPTION
|
|
|
546
524
|
view a channel
|
|
547
525
|
```
|
|
548
526
|
|
|
549
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
527
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/channel/view.ts)_
|
|
550
528
|
|
|
551
529
|
## `eas config`
|
|
552
530
|
|
|
@@ -564,7 +542,7 @@ DESCRIPTION
|
|
|
564
542
|
display project configuration (app.json + eas.json)
|
|
565
543
|
```
|
|
566
544
|
|
|
567
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
545
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/config.ts)_
|
|
568
546
|
|
|
569
547
|
## `eas credentials`
|
|
570
548
|
|
|
@@ -578,7 +556,7 @@ DESCRIPTION
|
|
|
578
556
|
manage credentials
|
|
579
557
|
```
|
|
580
558
|
|
|
581
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
559
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/credentials.ts)_
|
|
582
560
|
|
|
583
561
|
## `eas device:create`
|
|
584
562
|
|
|
@@ -592,7 +570,7 @@ DESCRIPTION
|
|
|
592
570
|
register new Apple Devices to use for internal distribution
|
|
593
571
|
```
|
|
594
572
|
|
|
595
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
573
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/device/create.ts)_
|
|
596
574
|
|
|
597
575
|
## `eas device:delete`
|
|
598
576
|
|
|
@@ -610,7 +588,7 @@ DESCRIPTION
|
|
|
610
588
|
remove a registered device from your account
|
|
611
589
|
```
|
|
612
590
|
|
|
613
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
591
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/device/delete.ts)_
|
|
614
592
|
|
|
615
593
|
## `eas device:list`
|
|
616
594
|
|
|
@@ -627,7 +605,7 @@ DESCRIPTION
|
|
|
627
605
|
list all registered devices for your account
|
|
628
606
|
```
|
|
629
607
|
|
|
630
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
608
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/device/list.ts)_
|
|
631
609
|
|
|
632
610
|
## `eas device:view [UDID]`
|
|
633
611
|
|
|
@@ -641,7 +619,7 @@ DESCRIPTION
|
|
|
641
619
|
view a device for your project
|
|
642
620
|
```
|
|
643
621
|
|
|
644
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
622
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/device/view.ts)_
|
|
645
623
|
|
|
646
624
|
## `eas diagnostics`
|
|
647
625
|
|
|
@@ -655,7 +633,7 @@ DESCRIPTION
|
|
|
655
633
|
display environment info
|
|
656
634
|
```
|
|
657
635
|
|
|
658
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
636
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
659
637
|
|
|
660
638
|
## `eas help [COMMAND]`
|
|
661
639
|
|
|
@@ -737,7 +715,7 @@ DESCRIPTION
|
|
|
737
715
|
generate the local store configuration from the app stores
|
|
738
716
|
```
|
|
739
717
|
|
|
740
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
718
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
741
719
|
|
|
742
720
|
## `eas metadata:push`
|
|
743
721
|
|
|
@@ -754,7 +732,7 @@ DESCRIPTION
|
|
|
754
732
|
sync the local store configuration to the app stores
|
|
755
733
|
```
|
|
756
734
|
|
|
757
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
735
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
758
736
|
|
|
759
737
|
## `eas project:info`
|
|
760
738
|
|
|
@@ -768,7 +746,7 @@ DESCRIPTION
|
|
|
768
746
|
information about the current project
|
|
769
747
|
```
|
|
770
748
|
|
|
771
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
749
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/project/info.ts)_
|
|
772
750
|
|
|
773
751
|
## `eas project:init`
|
|
774
752
|
|
|
@@ -785,7 +763,7 @@ ALIASES
|
|
|
785
763
|
$ eas init
|
|
786
764
|
```
|
|
787
765
|
|
|
788
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
766
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/project/init.ts)_
|
|
789
767
|
|
|
790
768
|
## `eas secret:create`
|
|
791
769
|
|
|
@@ -805,7 +783,7 @@ DESCRIPTION
|
|
|
805
783
|
create an environment secret on the current project or owner account
|
|
806
784
|
```
|
|
807
785
|
|
|
808
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
786
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/secret/create.ts)_
|
|
809
787
|
|
|
810
788
|
## `eas secret:delete`
|
|
811
789
|
|
|
@@ -822,7 +800,7 @@ DESCRIPTION
|
|
|
822
800
|
delete an environment secret by ID
|
|
823
801
|
```
|
|
824
802
|
|
|
825
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
803
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
826
804
|
|
|
827
805
|
## `eas secret:list`
|
|
828
806
|
|
|
@@ -836,7 +814,7 @@ DESCRIPTION
|
|
|
836
814
|
list environment secrets available for your current app
|
|
837
815
|
```
|
|
838
816
|
|
|
839
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
817
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/secret/list.ts)_
|
|
840
818
|
|
|
841
819
|
## `eas submit`
|
|
842
820
|
|
|
@@ -866,7 +844,7 @@ ALIASES
|
|
|
866
844
|
$ eas build:submit
|
|
867
845
|
```
|
|
868
846
|
|
|
869
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
847
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/submit.ts)_
|
|
870
848
|
|
|
871
849
|
## `eas update`
|
|
872
850
|
|
|
@@ -896,7 +874,7 @@ DESCRIPTION
|
|
|
896
874
|
publish an update group
|
|
897
875
|
```
|
|
898
876
|
|
|
899
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
877
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/index.ts)_
|
|
900
878
|
|
|
901
879
|
## `eas update:configure`
|
|
902
880
|
|
|
@@ -913,7 +891,7 @@ DESCRIPTION
|
|
|
913
891
|
configure the project to support EAS Update
|
|
914
892
|
```
|
|
915
893
|
|
|
916
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
894
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/configure.ts)_
|
|
917
895
|
|
|
918
896
|
## `eas update:delete GROUPID`
|
|
919
897
|
|
|
@@ -933,37 +911,7 @@ DESCRIPTION
|
|
|
933
911
|
delete all the updates in an update group
|
|
934
912
|
```
|
|
935
913
|
|
|
936
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
937
|
-
|
|
938
|
-
## `eas update:index copy`
|
|
939
|
-
|
|
940
|
-
publish an update group
|
|
941
|
-
|
|
942
|
-
```
|
|
943
|
-
USAGE
|
|
944
|
-
$ eas update:index copy [--branch <value>] [--message <value>] [--republish | --input-dir <value> | --skip-bundler]
|
|
945
|
-
[--group <value> | | ] [-p android|ios|all] [--json] [--auto] [--private-key-path <value>] [--non-interactive]
|
|
946
|
-
|
|
947
|
-
FLAGS
|
|
948
|
-
-p, --platform=(android|ios|all) [default: all]
|
|
949
|
-
--auto Use the current git branch and commit message for the EAS branch and update message
|
|
950
|
-
--branch=<value> Branch to publish the update group on
|
|
951
|
-
--group=<value> Update group to republish
|
|
952
|
-
--input-dir=<value> [default: dist] Location of the bundle
|
|
953
|
-
--json Enable JSON output, non-JSON messages will be printed to stderr
|
|
954
|
-
--message=<value> A short message describing the update
|
|
955
|
-
--non-interactive Run command in non-interactive mode
|
|
956
|
-
--private-key-path=<value> File containing the PEM-encoded private key corresponding to the certificate in
|
|
957
|
-
expo-updates' configuration. Defaults to a file named "private-key.pem" in the
|
|
958
|
-
certificate's directory.
|
|
959
|
-
--republish Republish an update group
|
|
960
|
-
--skip-bundler Skip running Expo CLI to bundle the app before publishing
|
|
961
|
-
|
|
962
|
-
DESCRIPTION
|
|
963
|
-
publish an update group
|
|
964
|
-
```
|
|
965
|
-
|
|
966
|
-
_See code: [src/commands/update/index copy.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/update/index copy.ts)_
|
|
914
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/delete.ts)_
|
|
967
915
|
|
|
968
916
|
## `eas update:list`
|
|
969
917
|
|
|
@@ -982,7 +930,7 @@ DESCRIPTION
|
|
|
982
930
|
view the recent updates for a branch
|
|
983
931
|
```
|
|
984
932
|
|
|
985
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
933
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/list.ts)_
|
|
986
934
|
|
|
987
935
|
## `eas update:view GROUPID`
|
|
988
936
|
|
|
@@ -1002,7 +950,7 @@ DESCRIPTION
|
|
|
1002
950
|
update group details
|
|
1003
951
|
```
|
|
1004
952
|
|
|
1005
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
953
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/update/view.ts)_
|
|
1006
954
|
|
|
1007
955
|
## `eas webhook:create`
|
|
1008
956
|
|
|
@@ -1022,7 +970,7 @@ DESCRIPTION
|
|
|
1022
970
|
create a webhook
|
|
1023
971
|
```
|
|
1024
972
|
|
|
1025
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
973
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1026
974
|
|
|
1027
975
|
## `eas webhook:delete [ID]`
|
|
1028
976
|
|
|
@@ -1039,7 +987,7 @@ DESCRIPTION
|
|
|
1039
987
|
delete a webhook
|
|
1040
988
|
```
|
|
1041
989
|
|
|
1042
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
990
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1043
991
|
|
|
1044
992
|
## `eas webhook:list`
|
|
1045
993
|
|
|
@@ -1056,7 +1004,7 @@ DESCRIPTION
|
|
|
1056
1004
|
list webhooks
|
|
1057
1005
|
```
|
|
1058
1006
|
|
|
1059
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1007
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1060
1008
|
|
|
1061
1009
|
## `eas webhook:update`
|
|
1062
1010
|
|
|
@@ -1077,7 +1025,7 @@ DESCRIPTION
|
|
|
1077
1025
|
update a webhook
|
|
1078
1026
|
```
|
|
1079
1027
|
|
|
1080
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1028
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1081
1029
|
|
|
1082
1030
|
## `eas webhook:view ID`
|
|
1083
1031
|
|
|
@@ -1094,7 +1042,7 @@ DESCRIPTION
|
|
|
1094
1042
|
view a webhook
|
|
1095
1043
|
```
|
|
1096
1044
|
|
|
1097
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1045
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.55.1/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1098
1046
|
|
|
1099
1047
|
## `eas whoami`
|
|
1100
1048
|
|
|
@@ -59,13 +59,14 @@ async function prepareAndroidBuildAsync(ctx) {
|
|
|
59
59
|
prepareJobAsync: async (ctx, jobData) => {
|
|
60
60
|
return await (0, prepareJob_1.prepareJobAsync)(ctx, jobData);
|
|
61
61
|
},
|
|
62
|
-
sendBuildRequestAsync: async (appId, job, metadata) => {
|
|
62
|
+
sendBuildRequestAsync: async (appId, job, metadata, buildParams) => {
|
|
63
63
|
const graphqlMetadata = (0, graphql_1.transformMetadata)(metadata);
|
|
64
64
|
const graphqlJob = (0, graphql_2.transformJob)(job);
|
|
65
65
|
return await BuildMutation_1.BuildMutation.createAndroidBuildAsync({
|
|
66
66
|
appId,
|
|
67
67
|
job: graphqlJob,
|
|
68
68
|
metadata: graphqlMetadata,
|
|
69
|
+
buildParams,
|
|
69
70
|
});
|
|
70
71
|
},
|
|
71
72
|
});
|
package/build/build/build.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ArchiveSource, Job, Metadata, Platform } from '@expo/eas-build-job';
|
|
2
2
|
import { CredentialsSource } from '@expo/eas-json';
|
|
3
|
-
import { BuildFragment } from '../graphql/generated';
|
|
3
|
+
import { BuildFragment, BuildParamsInput } from '../graphql/generated';
|
|
4
4
|
import { BuildResult } from '../graphql/mutations/BuildMutation';
|
|
5
5
|
import { BuildContext } from './context';
|
|
6
6
|
export interface CredentialsResult<Credentials> {
|
|
@@ -16,7 +16,7 @@ interface Builder<TPlatform extends Platform, Credentials, TJob extends Job> {
|
|
|
16
16
|
ensureCredentialsAsync(ctx: BuildContext<TPlatform>): Promise<CredentialsResult<Credentials> | undefined>;
|
|
17
17
|
syncProjectConfigurationAsync(ctx: BuildContext<TPlatform>): Promise<void>;
|
|
18
18
|
prepareJobAsync(ctx: BuildContext<TPlatform>, jobData: JobData<Credentials>): Promise<Job>;
|
|
19
|
-
sendBuildRequestAsync(appId: string, job: TJob, metadata: Metadata): Promise<BuildResult>;
|
|
19
|
+
sendBuildRequestAsync(appId: string, job: TJob, metadata: Metadata, buildParams: BuildParamsInput): Promise<BuildResult>;
|
|
20
20
|
}
|
|
21
21
|
export declare type BuildRequestSender = () => Promise<BuildFragment | undefined>;
|
|
22
22
|
export declare function prepareBuildRequestForPlatformAsync<TPlatform extends Platform, Credentials, TJob extends Job>(builder: Builder<TPlatform, Credentials, TJob>): Promise<BuildRequestSender>;
|
package/build/build/build.js
CHANGED
|
@@ -24,6 +24,11 @@ const local_1 = require("./local");
|
|
|
24
24
|
const metadata_1 = require("./metadata");
|
|
25
25
|
const printBuildInfo_1 = require("./utils/printBuildInfo");
|
|
26
26
|
const repository_1 = require("./utils/repository");
|
|
27
|
+
function resolveBuildParamsInput(ctx) {
|
|
28
|
+
return {
|
|
29
|
+
resourceClass: ctx.resourceClass,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
27
32
|
async function prepareBuildRequestForPlatformAsync(builder) {
|
|
28
33
|
const { ctx } = builder;
|
|
29
34
|
const credentialsResult = await (0, common_1.withAnalyticsAsync)(async () => await builder.ensureCredentialsAsync(ctx), {
|
|
@@ -52,6 +57,7 @@ async function prepareBuildRequestForPlatformAsync(builder) {
|
|
|
52
57
|
bucketKey: await uploadProjectAsync(ctx),
|
|
53
58
|
};
|
|
54
59
|
const metadata = await (0, metadata_1.collectMetadataAsync)(ctx);
|
|
60
|
+
const buildParams = resolveBuildParamsInput(ctx);
|
|
55
61
|
const job = await builder.prepareJobAsync(ctx, {
|
|
56
62
|
projectArchive,
|
|
57
63
|
credentials: credentialsResult === null || credentialsResult === void 0 ? void 0 : credentialsResult.credentials,
|
|
@@ -63,7 +69,7 @@ async function prepareBuildRequestForPlatformAsync(builder) {
|
|
|
63
69
|
}
|
|
64
70
|
else {
|
|
65
71
|
try {
|
|
66
|
-
return await sendBuildRequestAsync(builder, job, metadata);
|
|
72
|
+
return await sendBuildRequestAsync(builder, job, metadata, buildParams);
|
|
67
73
|
}
|
|
68
74
|
catch (error) {
|
|
69
75
|
handleBuildRequestError(error, job.platform);
|
|
@@ -122,13 +128,13 @@ async function uploadProjectAsync(ctx) {
|
|
|
122
128
|
}
|
|
123
129
|
}
|
|
124
130
|
}
|
|
125
|
-
async function sendBuildRequestAsync(builder, job, metadata) {
|
|
131
|
+
async function sendBuildRequestAsync(builder, job, metadata, buildParams) {
|
|
126
132
|
const { ctx } = builder;
|
|
127
133
|
return await (0, common_1.withAnalyticsAsync)(async () => {
|
|
128
134
|
if (log_1.default.isDebug) {
|
|
129
135
|
log_1.default.log(`Starting ${platform_1.requestedPlatformDisplayNames[job.platform]} build`);
|
|
130
136
|
}
|
|
131
|
-
const { build, deprecationInfo } = await builder.sendBuildRequestAsync(ctx.projectId, job, metadata);
|
|
137
|
+
const { build, deprecationInfo } = await builder.sendBuildRequestAsync(ctx.projectId, job, metadata, buildParams);
|
|
132
138
|
(0, printBuildInfo_1.printDeprecationWarnings)(deprecationInfo);
|
|
133
139
|
return build;
|
|
134
140
|
}, {
|
package/build/build/context.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { XCBuildConfiguration } from 'xcode';
|
|
|
5
5
|
import { TrackingContext } from '../analytics/common';
|
|
6
6
|
import { CredentialsContext } from '../credentials/context';
|
|
7
7
|
import { Target } from '../credentials/ios/types';
|
|
8
|
+
import { BuildResourceClass } from '../graphql/generated';
|
|
8
9
|
import { GradleBuildContext } from '../project/android/gradle';
|
|
9
10
|
import { XcodeBuildContext } from '../project/ios/scheme';
|
|
10
11
|
import { Actor } from '../user/User';
|
|
@@ -25,6 +26,7 @@ export interface BuildContext<T extends Platform> {
|
|
|
25
26
|
accountName: string;
|
|
26
27
|
buildProfile: BuildProfile<T>;
|
|
27
28
|
buildProfileName: string;
|
|
29
|
+
resourceClass: BuildResourceClass;
|
|
28
30
|
clearCache: boolean;
|
|
29
31
|
credentialsCtx: CredentialsContext;
|
|
30
32
|
exp: ExpoConfig;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Platform } from '@expo/eas-build-job';
|
|
2
2
|
import { BuildProfile } from '@expo/eas-json';
|
|
3
|
+
import { BuildResourceClass } from '../graphql/generated';
|
|
3
4
|
import { BuildContext } from './context';
|
|
4
5
|
import { LocalBuildOptions } from './local';
|
|
5
|
-
export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, clearCache, localBuildOptions, nonInteractive, platform, projectDir, }: {
|
|
6
|
+
export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, clearCache, localBuildOptions, nonInteractive, platform, projectDir, resourceClass, }: {
|
|
6
7
|
buildProfileName: string;
|
|
7
8
|
buildProfile: BuildProfile<T>;
|
|
8
9
|
clearCache: boolean;
|
|
@@ -10,4 +11,5 @@ export declare function createBuildContextAsync<T extends Platform>({ buildProfi
|
|
|
10
11
|
nonInteractive: boolean;
|
|
11
12
|
platform: T;
|
|
12
13
|
projectDir: string;
|
|
14
|
+
resourceClass: BuildResourceClass;
|
|
13
15
|
}): Promise<BuildContext<T>>;
|
|
@@ -15,7 +15,7 @@ const Account_1 = require("../user/Account");
|
|
|
15
15
|
const actions_1 = require("../user/actions");
|
|
16
16
|
const build_1 = require("./android/build");
|
|
17
17
|
const build_2 = require("./ios/build");
|
|
18
|
-
async function createBuildContextAsync({ buildProfileName, buildProfile, clearCache = false, localBuildOptions, nonInteractive = false, platform, projectDir, }) {
|
|
18
|
+
async function createBuildContextAsync({ buildProfileName, buildProfile, clearCache = false, localBuildOptions, nonInteractive = false, platform, projectDir, resourceClass, }) {
|
|
19
19
|
var _a;
|
|
20
20
|
const exp = (0, expoConfig_1.getExpoConfig)(projectDir, { env: buildProfile.env });
|
|
21
21
|
const user = await (0, actions_1.ensureLoggedInAsync)();
|
|
@@ -49,6 +49,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, clearCa
|
|
|
49
49
|
accountName,
|
|
50
50
|
buildProfile,
|
|
51
51
|
buildProfileName,
|
|
52
|
+
resourceClass,
|
|
52
53
|
clearCache,
|
|
53
54
|
credentialsCtx,
|
|
54
55
|
exp,
|
package/build/build/ios/build.js
CHANGED
|
@@ -63,13 +63,14 @@ async function prepareIosBuildAsync(ctx) {
|
|
|
63
63
|
buildScheme: ctx.ios.xcodeBuildContext.buildScheme,
|
|
64
64
|
});
|
|
65
65
|
},
|
|
66
|
-
sendBuildRequestAsync: async (appId, job, metadata) => {
|
|
66
|
+
sendBuildRequestAsync: async (appId, job, metadata, buildParams) => {
|
|
67
67
|
const graphqlMetadata = (0, graphql_1.transformMetadata)(metadata);
|
|
68
68
|
const graphqlJob = (0, graphql_2.transformJob)(job);
|
|
69
69
|
return await BuildMutation_1.BuildMutation.createIosBuildAsync({
|
|
70
70
|
appId,
|
|
71
71
|
job: graphqlJob,
|
|
72
72
|
metadata: graphqlMetadata,
|
|
73
|
+
buildParams,
|
|
73
74
|
});
|
|
74
75
|
},
|
|
75
76
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RequestedPlatform } from '../platform';
|
|
2
2
|
import { LocalBuildOptions } from './local';
|
|
3
|
+
import { UserInputResourceClass } from './types';
|
|
3
4
|
export interface BuildFlags {
|
|
4
5
|
requestedPlatform: RequestedPlatform;
|
|
5
6
|
profile?: string;
|
|
@@ -10,5 +11,6 @@ export interface BuildFlags {
|
|
|
10
11
|
autoSubmit: boolean;
|
|
11
12
|
submitProfile?: string;
|
|
12
13
|
localBuildOptions: LocalBuildOptions;
|
|
14
|
+
userInputResourceClass?: UserInputResourceClass;
|
|
13
15
|
}
|
|
14
16
|
export declare function runBuildAndSubmitAsync(projectDir: string, flags: BuildFlags): Promise<void>;
|
|
@@ -23,13 +23,24 @@ const build_2 = require("./build");
|
|
|
23
23
|
const configure_1 = require("./configure");
|
|
24
24
|
const createContext_1 = require("./createContext");
|
|
25
25
|
const build_3 = require("./ios/build");
|
|
26
|
+
const types_1 = require("./types");
|
|
26
27
|
const devClient_1 = require("./utils/devClient");
|
|
27
28
|
const printBuildInfo_1 = require("./utils/printBuildInfo");
|
|
28
29
|
const repository_1 = require("./utils/repository");
|
|
29
30
|
let metroConfigValidated = false;
|
|
30
31
|
let sdkVersionChecked = false;
|
|
32
|
+
const platformToGraphQLResourceClassMapping = {
|
|
33
|
+
[eas_build_job_1.Platform.ANDROID]: {
|
|
34
|
+
[types_1.UserInputResourceClass.DEFAULT]: generated_1.BuildResourceClass.AndroidDefault,
|
|
35
|
+
[types_1.UserInputResourceClass.LARGE]: generated_1.BuildResourceClass.AndroidLarge,
|
|
36
|
+
},
|
|
37
|
+
[eas_build_job_1.Platform.IOS]: {
|
|
38
|
+
[types_1.UserInputResourceClass.DEFAULT]: generated_1.BuildResourceClass.IosDefault,
|
|
39
|
+
[types_1.UserInputResourceClass.LARGE]: generated_1.BuildResourceClass.IosLarge,
|
|
40
|
+
},
|
|
41
|
+
};
|
|
31
42
|
async function runBuildAndSubmitAsync(projectDir, flags) {
|
|
32
|
-
var _a;
|
|
43
|
+
var _a, _b;
|
|
33
44
|
await (0, vcs_1.getVcsClient)().ensureRepoExistsAsync();
|
|
34
45
|
await (0, repository_1.ensureRepoIsCleanAsync)(flags.nonInteractive);
|
|
35
46
|
await (0, configure_1.ensureProjectConfiguredAsync)({
|
|
@@ -57,6 +68,7 @@ async function runBuildAndSubmitAsync(projectDir, flags) {
|
|
|
57
68
|
flags,
|
|
58
69
|
moreBuilds: platforms.length > 1,
|
|
59
70
|
buildProfile,
|
|
71
|
+
resourceClass: platformToGraphQLResourceClassMapping[buildProfile.platform][(_b = flags.userInputResourceClass) !== null && _b !== void 0 ? _b : types_1.UserInputResourceClass.DEFAULT],
|
|
60
72
|
});
|
|
61
73
|
if (maybeBuild) {
|
|
62
74
|
startedBuilds.push({ build: maybeBuild, buildProfile });
|
|
@@ -116,9 +128,10 @@ async function runBuildAndSubmitAsync(projectDir, flags) {
|
|
|
116
128
|
}
|
|
117
129
|
}
|
|
118
130
|
exports.runBuildAndSubmitAsync = runBuildAndSubmitAsync;
|
|
119
|
-
async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildProfile, }) {
|
|
131
|
+
async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildProfile, resourceClass, }) {
|
|
120
132
|
const buildCtx = await (0, createContext_1.createBuildContextAsync)({
|
|
121
133
|
buildProfileName: buildProfile.profileName,
|
|
134
|
+
resourceClass,
|
|
122
135
|
clearCache: flags.clearCache,
|
|
123
136
|
buildProfile: buildProfile.profile,
|
|
124
137
|
nonInteractive: flags.nonInteractive,
|