eas-cli 2.7.1 → 2.9.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 +78 -53
- package/build/branch/queries.d.ts +1 -0
- package/build/branch/queries.js +2 -2
- package/build/build/build.d.ts +1 -1
- package/build/build/build.js +2 -2
- package/build/build/createContext.js +1 -0
- package/build/build/graphql.js +6 -0
- package/build/build/local.js +1 -1
- package/build/build/queries.d.ts +4 -2
- package/build/build/queries.js +32 -7
- package/build/build/runBuildAndSubmit.js +31 -2
- package/build/commands/build/run.d.ts +0 -1
- package/build/commands/build/run.js +32 -12
- package/build/commands/submit.js +1 -1
- package/build/commands/update/index.js +20 -8
- package/build/devices/utils/formatDevice.js +1 -2
- package/build/graphql/generated.d.ts +15 -0
- package/build/graphql/generated.js +9 -2
- package/build/graphql/mutations/SubmissionMutation.js +14 -2
- package/build/graphql/mutations/UploadSessionMutation.d.ts +4 -3
- package/build/project/applicationIdentifier.js +6 -2
- package/build/run/android/aapt.d.ts +5 -0
- package/build/run/android/aapt.js +51 -0
- package/build/run/android/adb.d.ts +23 -0
- package/build/run/android/adb.js +120 -0
- package/build/run/android/emulator.d.ts +7 -0
- package/build/run/android/emulator.js +109 -0
- package/build/run/android/run.d.ts +1 -1
- package/build/run/android/run.js +10 -3
- package/build/run/android/sdk.d.ts +3 -0
- package/build/run/android/sdk.js +29 -0
- package/build/run/android/systemRequirements.d.ts +1 -0
- package/build/run/android/systemRequirements.js +24 -0
- package/build/run/ios/simulator.js +1 -1
- package/build/run/utils.d.ts +2 -0
- package/build/run/utils.js +20 -0
- package/build/submit/ArchiveSource.d.ts +20 -10
- package/build/submit/ArchiveSource.js +59 -60
- package/build/submit/BaseSubmitter.d.ts +4 -1
- package/build/submit/BaseSubmitter.js +20 -0
- package/build/submit/android/AndroidSubmitCommand.js +1 -2
- package/build/submit/android/AndroidSubmitter.d.ts +3 -3
- package/build/submit/android/AndroidSubmitter.js +12 -7
- package/build/submit/commons.d.ts +1 -1
- package/build/submit/commons.js +1 -16
- package/build/submit/ios/IosSubmitCommand.js +1 -2
- package/build/submit/ios/IosSubmitter.d.ts +3 -3
- package/build/submit/ios/IosSubmitter.js +11 -6
- package/build/submit/utils/files.js +2 -2
- package/build/submit/utils/summary.d.ts +2 -2
- package/build/submit/utils/summary.js +7 -8
- package/build/uploads.d.ts +4 -10
- package/build/uploads.js +16 -36
- package/build/utils/download.d.ts +3 -2
- package/build/utils/download.js +60 -36
- package/build/utils/paths.d.ts +7 -7
- package/build/utils/paths.js +3 -1
- package/build/utils/progress.d.ts +1 -1
- package/build/utils/progress.js +6 -4
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -70,6 +70,7 @@ eas --help COMMAND
|
|
|
70
70
|
* [`eas build:configure`](#eas-buildconfigure)
|
|
71
71
|
* [`eas build:inspect`](#eas-buildinspect)
|
|
72
72
|
* [`eas build:list`](#eas-buildlist)
|
|
73
|
+
* [`eas build:run`](#eas-buildrun)
|
|
73
74
|
* [`eas build:submit`](#eas-buildsubmit)
|
|
74
75
|
* [`eas build:version:set`](#eas-buildversionset)
|
|
75
76
|
* [`eas build:version:sync`](#eas-buildversionsync)
|
|
@@ -129,7 +130,7 @@ ALIASES
|
|
|
129
130
|
$ eas login
|
|
130
131
|
```
|
|
131
132
|
|
|
132
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
133
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
133
134
|
|
|
134
135
|
## `eas account:logout`
|
|
135
136
|
|
|
@@ -146,7 +147,7 @@ ALIASES
|
|
|
146
147
|
$ eas logout
|
|
147
148
|
```
|
|
148
149
|
|
|
149
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
150
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
150
151
|
|
|
151
152
|
## `eas account:view`
|
|
152
153
|
|
|
@@ -163,7 +164,7 @@ ALIASES
|
|
|
163
164
|
$ eas whoami
|
|
164
165
|
```
|
|
165
166
|
|
|
166
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
167
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
167
168
|
|
|
168
169
|
## `eas analytics [STATUS]`
|
|
169
170
|
|
|
@@ -177,7 +178,7 @@ DESCRIPTION
|
|
|
177
178
|
display or change analytics settings
|
|
178
179
|
```
|
|
179
180
|
|
|
180
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
181
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
181
182
|
|
|
182
183
|
## `eas autocomplete [SHELL]`
|
|
183
184
|
|
|
@@ -227,7 +228,7 @@ DESCRIPTION
|
|
|
227
228
|
create a branch
|
|
228
229
|
```
|
|
229
230
|
|
|
230
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
231
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
231
232
|
|
|
232
233
|
## `eas branch:delete [NAME]`
|
|
233
234
|
|
|
@@ -248,7 +249,7 @@ DESCRIPTION
|
|
|
248
249
|
delete a branch
|
|
249
250
|
```
|
|
250
251
|
|
|
251
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
252
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
252
253
|
|
|
253
254
|
## `eas branch:list`
|
|
254
255
|
|
|
@@ -268,7 +269,7 @@ DESCRIPTION
|
|
|
268
269
|
list all branches
|
|
269
270
|
```
|
|
270
271
|
|
|
271
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
272
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
272
273
|
|
|
273
274
|
## `eas branch:rename`
|
|
274
275
|
|
|
@@ -288,7 +289,7 @@ DESCRIPTION
|
|
|
288
289
|
rename a branch
|
|
289
290
|
```
|
|
290
291
|
|
|
291
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
292
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
292
293
|
|
|
293
294
|
## `eas branch:view [NAME]`
|
|
294
295
|
|
|
@@ -311,7 +312,7 @@ DESCRIPTION
|
|
|
311
312
|
view a branch
|
|
312
313
|
```
|
|
313
314
|
|
|
314
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
315
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
315
316
|
|
|
316
317
|
## `eas build`
|
|
317
318
|
|
|
@@ -341,7 +342,7 @@ DESCRIPTION
|
|
|
341
342
|
start a build
|
|
342
343
|
```
|
|
343
344
|
|
|
344
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
345
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
345
346
|
|
|
346
347
|
## `eas build:cancel [BUILD_ID]`
|
|
347
348
|
|
|
@@ -358,7 +359,7 @@ DESCRIPTION
|
|
|
358
359
|
cancel a build
|
|
359
360
|
```
|
|
360
361
|
|
|
361
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
362
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
362
363
|
|
|
363
364
|
## `eas build:configure`
|
|
364
365
|
|
|
@@ -375,7 +376,7 @@ DESCRIPTION
|
|
|
375
376
|
configure the project to support EAS Build
|
|
376
377
|
```
|
|
377
378
|
|
|
378
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
379
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
379
380
|
|
|
380
381
|
## `eas build:inspect`
|
|
381
382
|
|
|
@@ -410,7 +411,7 @@ DESCRIPTION
|
|
|
410
411
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
411
412
|
```
|
|
412
413
|
|
|
413
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
414
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
414
415
|
|
|
415
416
|
## `eas build:list`
|
|
416
417
|
|
|
@@ -447,7 +448,31 @@ DESCRIPTION
|
|
|
447
448
|
list all builds for your project
|
|
448
449
|
```
|
|
449
450
|
|
|
450
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
451
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
452
|
+
|
|
453
|
+
## `eas build:run`
|
|
454
|
+
|
|
455
|
+
run simulator/emulator builds from eas-cli
|
|
456
|
+
|
|
457
|
+
```
|
|
458
|
+
USAGE
|
|
459
|
+
$ eas build:run [--latest | --id <value> | --path <value> | --url <value>] [-p android|ios] [--offset
|
|
460
|
+
<value>] [--limit <value>]
|
|
461
|
+
|
|
462
|
+
FLAGS
|
|
463
|
+
-p, --platform=(android|ios)
|
|
464
|
+
--id=<value> ID of the simulator/emulator build to run
|
|
465
|
+
--latest Run the latest simulator/emulator build for specified platform
|
|
466
|
+
--limit=<value> The number of items to fetch each query. Defaults to 50 and is capped at 100.
|
|
467
|
+
--offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
|
|
468
|
+
--path=<value> Path to the simulator/emulator build archive or app
|
|
469
|
+
--url=<value> Simulator/Emulator build archive url
|
|
470
|
+
|
|
471
|
+
DESCRIPTION
|
|
472
|
+
run simulator/emulator builds from eas-cli
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
451
476
|
|
|
452
477
|
## `eas build:submit`
|
|
453
478
|
|
|
@@ -467,7 +492,7 @@ FLAGS
|
|
|
467
492
|
--non-interactive Run command in non-interactive mode
|
|
468
493
|
--path=<value> Path to the .apk/.aab/.ipa file
|
|
469
494
|
--url=<value> App archive url
|
|
470
|
-
--verbose Always print logs from
|
|
495
|
+
--verbose Always print logs from EAS Submit
|
|
471
496
|
--[no-]wait Wait for submission to complete
|
|
472
497
|
|
|
473
498
|
DESCRIPTION
|
|
@@ -494,7 +519,7 @@ DESCRIPTION
|
|
|
494
519
|
Update version of an app.
|
|
495
520
|
```
|
|
496
521
|
|
|
497
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
522
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
498
523
|
|
|
499
524
|
## `eas build:version:sync`
|
|
500
525
|
|
|
@@ -513,7 +538,7 @@ DESCRIPTION
|
|
|
513
538
|
Update a version in native code with a value stored on EAS servers
|
|
514
539
|
```
|
|
515
540
|
|
|
516
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
541
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
517
542
|
|
|
518
543
|
## `eas build:view [BUILD_ID]`
|
|
519
544
|
|
|
@@ -530,7 +555,7 @@ DESCRIPTION
|
|
|
530
555
|
view a build for your project
|
|
531
556
|
```
|
|
532
557
|
|
|
533
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
558
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
534
559
|
|
|
535
560
|
## `eas channel:create [NAME]`
|
|
536
561
|
|
|
@@ -551,7 +576,7 @@ DESCRIPTION
|
|
|
551
576
|
create a channel
|
|
552
577
|
```
|
|
553
578
|
|
|
554
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
579
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
555
580
|
|
|
556
581
|
## `eas channel:edit [NAME]`
|
|
557
582
|
|
|
@@ -573,7 +598,7 @@ DESCRIPTION
|
|
|
573
598
|
point a channel at a new branch
|
|
574
599
|
```
|
|
575
600
|
|
|
576
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
601
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
577
602
|
|
|
578
603
|
## `eas channel:list`
|
|
579
604
|
|
|
@@ -593,7 +618,7 @@ DESCRIPTION
|
|
|
593
618
|
list all channels
|
|
594
619
|
```
|
|
595
620
|
|
|
596
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
621
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
597
622
|
|
|
598
623
|
## `eas channel:view [NAME]`
|
|
599
624
|
|
|
@@ -616,7 +641,7 @@ DESCRIPTION
|
|
|
616
641
|
view a channel
|
|
617
642
|
```
|
|
618
643
|
|
|
619
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
644
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
620
645
|
|
|
621
646
|
## `eas config`
|
|
622
647
|
|
|
@@ -635,7 +660,7 @@ DESCRIPTION
|
|
|
635
660
|
display project configuration (app.json + eas.json)
|
|
636
661
|
```
|
|
637
662
|
|
|
638
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
663
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/config.ts)_
|
|
639
664
|
|
|
640
665
|
## `eas credentials`
|
|
641
666
|
|
|
@@ -652,7 +677,7 @@ DESCRIPTION
|
|
|
652
677
|
manage credentials
|
|
653
678
|
```
|
|
654
679
|
|
|
655
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
680
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
656
681
|
|
|
657
682
|
## `eas device:create`
|
|
658
683
|
|
|
@@ -666,7 +691,7 @@ DESCRIPTION
|
|
|
666
691
|
register new Apple Devices to use for internal distribution
|
|
667
692
|
```
|
|
668
693
|
|
|
669
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
694
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
670
695
|
|
|
671
696
|
## `eas device:delete`
|
|
672
697
|
|
|
@@ -686,7 +711,7 @@ DESCRIPTION
|
|
|
686
711
|
remove a registered device from your account
|
|
687
712
|
```
|
|
688
713
|
|
|
689
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
714
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
690
715
|
|
|
691
716
|
## `eas device:list`
|
|
692
717
|
|
|
@@ -707,7 +732,7 @@ DESCRIPTION
|
|
|
707
732
|
list all registered devices for your account
|
|
708
733
|
```
|
|
709
734
|
|
|
710
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
735
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
711
736
|
|
|
712
737
|
## `eas device:view [UDID]`
|
|
713
738
|
|
|
@@ -721,7 +746,7 @@ DESCRIPTION
|
|
|
721
746
|
view a device for your project
|
|
722
747
|
```
|
|
723
748
|
|
|
724
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
749
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
725
750
|
|
|
726
751
|
## `eas diagnostics`
|
|
727
752
|
|
|
@@ -735,7 +760,7 @@ DESCRIPTION
|
|
|
735
760
|
display environment info
|
|
736
761
|
```
|
|
737
762
|
|
|
738
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
763
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
739
764
|
|
|
740
765
|
## `eas help [COMMAND]`
|
|
741
766
|
|
|
@@ -823,7 +848,7 @@ DESCRIPTION
|
|
|
823
848
|
validate the local store configuration
|
|
824
849
|
```
|
|
825
850
|
|
|
826
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
851
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
827
852
|
|
|
828
853
|
## `eas metadata:pull`
|
|
829
854
|
|
|
@@ -840,7 +865,7 @@ DESCRIPTION
|
|
|
840
865
|
generate the local store configuration from the app stores
|
|
841
866
|
```
|
|
842
867
|
|
|
843
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
868
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
844
869
|
|
|
845
870
|
## `eas metadata:push`
|
|
846
871
|
|
|
@@ -857,7 +882,7 @@ DESCRIPTION
|
|
|
857
882
|
sync the local store configuration to the app stores
|
|
858
883
|
```
|
|
859
884
|
|
|
860
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
885
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
861
886
|
|
|
862
887
|
## `eas open`
|
|
863
888
|
|
|
@@ -871,7 +896,7 @@ DESCRIPTION
|
|
|
871
896
|
open the project page in a web browser
|
|
872
897
|
```
|
|
873
898
|
|
|
874
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
899
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/open.ts)_
|
|
875
900
|
|
|
876
901
|
## `eas project:info`
|
|
877
902
|
|
|
@@ -885,7 +910,7 @@ DESCRIPTION
|
|
|
885
910
|
information about the current project
|
|
886
911
|
```
|
|
887
912
|
|
|
888
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
913
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
889
914
|
|
|
890
915
|
## `eas project:init`
|
|
891
916
|
|
|
@@ -907,7 +932,7 @@ ALIASES
|
|
|
907
932
|
$ eas init
|
|
908
933
|
```
|
|
909
934
|
|
|
910
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
935
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
911
936
|
|
|
912
937
|
## `eas run`
|
|
913
938
|
|
|
@@ -931,7 +956,7 @@ DESCRIPTION
|
|
|
931
956
|
run simulator build
|
|
932
957
|
```
|
|
933
958
|
|
|
934
|
-
_See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
959
|
+
_See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/run/index.ts)_
|
|
935
960
|
|
|
936
961
|
## `eas run:run`
|
|
937
962
|
|
|
@@ -955,7 +980,7 @@ DESCRIPTION
|
|
|
955
980
|
run simulator build
|
|
956
981
|
```
|
|
957
982
|
|
|
958
|
-
_See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
983
|
+
_See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/run/run.ts)_
|
|
959
984
|
|
|
960
985
|
## `eas secret:create`
|
|
961
986
|
|
|
@@ -978,7 +1003,7 @@ DESCRIPTION
|
|
|
978
1003
|
create an environment secret on the current project or owner account
|
|
979
1004
|
```
|
|
980
1005
|
|
|
981
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1006
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
982
1007
|
|
|
983
1008
|
## `eas secret:delete`
|
|
984
1009
|
|
|
@@ -996,7 +1021,7 @@ DESCRIPTION
|
|
|
996
1021
|
delete an environment secret by ID
|
|
997
1022
|
```
|
|
998
1023
|
|
|
999
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1024
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1000
1025
|
|
|
1001
1026
|
## `eas secret:list`
|
|
1002
1027
|
|
|
@@ -1010,7 +1035,7 @@ DESCRIPTION
|
|
|
1010
1035
|
list environment secrets available for your current app
|
|
1011
1036
|
```
|
|
1012
1037
|
|
|
1013
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1038
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1014
1039
|
|
|
1015
1040
|
## `eas secret:push`
|
|
1016
1041
|
|
|
@@ -1030,7 +1055,7 @@ DESCRIPTION
|
|
|
1030
1055
|
read environment secrets from env file and store on the server
|
|
1031
1056
|
```
|
|
1032
1057
|
|
|
1033
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1058
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1034
1059
|
|
|
1035
1060
|
## `eas submit`
|
|
1036
1061
|
|
|
@@ -1050,7 +1075,7 @@ FLAGS
|
|
|
1050
1075
|
--non-interactive Run command in non-interactive mode
|
|
1051
1076
|
--path=<value> Path to the .apk/.aab/.ipa file
|
|
1052
1077
|
--url=<value> App archive url
|
|
1053
|
-
--verbose Always print logs from
|
|
1078
|
+
--verbose Always print logs from EAS Submit
|
|
1054
1079
|
--[no-]wait Wait for submission to complete
|
|
1055
1080
|
|
|
1056
1081
|
DESCRIPTION
|
|
@@ -1060,7 +1085,7 @@ ALIASES
|
|
|
1060
1085
|
$ eas build:submit
|
|
1061
1086
|
```
|
|
1062
1087
|
|
|
1063
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1088
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1064
1089
|
|
|
1065
1090
|
## `eas update`
|
|
1066
1091
|
|
|
@@ -1090,7 +1115,7 @@ DESCRIPTION
|
|
|
1090
1115
|
publish an update group
|
|
1091
1116
|
```
|
|
1092
1117
|
|
|
1093
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1118
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1094
1119
|
|
|
1095
1120
|
## `eas update:configure`
|
|
1096
1121
|
|
|
@@ -1108,7 +1133,7 @@ DESCRIPTION
|
|
|
1108
1133
|
configure the project to support EAS Update
|
|
1109
1134
|
```
|
|
1110
1135
|
|
|
1111
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1136
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1112
1137
|
|
|
1113
1138
|
## `eas update:delete GROUPID`
|
|
1114
1139
|
|
|
@@ -1129,7 +1154,7 @@ DESCRIPTION
|
|
|
1129
1154
|
delete all the updates in an update group
|
|
1130
1155
|
```
|
|
1131
1156
|
|
|
1132
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1157
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1133
1158
|
|
|
1134
1159
|
## `eas update:list`
|
|
1135
1160
|
|
|
@@ -1151,7 +1176,7 @@ DESCRIPTION
|
|
|
1151
1176
|
view the recent updates
|
|
1152
1177
|
```
|
|
1153
1178
|
|
|
1154
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1179
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1155
1180
|
|
|
1156
1181
|
## `eas update:view GROUPID`
|
|
1157
1182
|
|
|
@@ -1171,7 +1196,7 @@ DESCRIPTION
|
|
|
1171
1196
|
update group details
|
|
1172
1197
|
```
|
|
1173
1198
|
|
|
1174
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1199
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1175
1200
|
|
|
1176
1201
|
## `eas webhook:create`
|
|
1177
1202
|
|
|
@@ -1192,7 +1217,7 @@ DESCRIPTION
|
|
|
1192
1217
|
create a webhook
|
|
1193
1218
|
```
|
|
1194
1219
|
|
|
1195
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1220
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1196
1221
|
|
|
1197
1222
|
## `eas webhook:delete [ID]`
|
|
1198
1223
|
|
|
@@ -1212,7 +1237,7 @@ DESCRIPTION
|
|
|
1212
1237
|
delete a webhook
|
|
1213
1238
|
```
|
|
1214
1239
|
|
|
1215
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1240
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1216
1241
|
|
|
1217
1242
|
## `eas webhook:list`
|
|
1218
1243
|
|
|
@@ -1229,7 +1254,7 @@ DESCRIPTION
|
|
|
1229
1254
|
list webhooks
|
|
1230
1255
|
```
|
|
1231
1256
|
|
|
1232
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1257
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1233
1258
|
|
|
1234
1259
|
## `eas webhook:update`
|
|
1235
1260
|
|
|
@@ -1251,7 +1276,7 @@ DESCRIPTION
|
|
|
1251
1276
|
update a webhook
|
|
1252
1277
|
```
|
|
1253
1278
|
|
|
1254
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1279
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1255
1280
|
|
|
1256
1281
|
## `eas webhook:view ID`
|
|
1257
1282
|
|
|
@@ -1268,7 +1293,7 @@ DESCRIPTION
|
|
|
1268
1293
|
view a webhook
|
|
1269
1294
|
```
|
|
1270
1295
|
|
|
1271
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v2.
|
|
1296
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v2.9.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1272
1297
|
|
|
1273
1298
|
## `eas whoami`
|
|
1274
1299
|
|
package/build/branch/queries.js
CHANGED
|
@@ -102,7 +102,7 @@ async function ensureBranchExistsAsync(graphqlClient, { appId, branchName, }) {
|
|
|
102
102
|
name: branchName,
|
|
103
103
|
});
|
|
104
104
|
const { id } = updateBranch;
|
|
105
|
-
return { branchId: id };
|
|
105
|
+
return { branchId: id, createdBranch: false };
|
|
106
106
|
}
|
|
107
107
|
catch (error) {
|
|
108
108
|
if (error instanceof utils_2.BranchNotFoundError) {
|
|
@@ -110,7 +110,7 @@ async function ensureBranchExistsAsync(graphqlClient, { appId, branchName, }) {
|
|
|
110
110
|
appId,
|
|
111
111
|
name: branchName,
|
|
112
112
|
});
|
|
113
|
-
return { branchId: newUpdateBranch.id };
|
|
113
|
+
return { branchId: newUpdateBranch.id, createdBranch: true };
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
116
116
|
throw error;
|
package/build/build/build.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ interface Builder<TPlatform extends Platform, Credentials, TJob extends Job> {
|
|
|
21
21
|
}
|
|
22
22
|
export declare type BuildRequestSender = () => Promise<BuildFragment | undefined>;
|
|
23
23
|
export declare function prepareBuildRequestForPlatformAsync<TPlatform extends Platform, Credentials, TJob extends Job>(builder: Builder<TPlatform, Credentials, TJob>): Promise<BuildRequestSender>;
|
|
24
|
-
declare type MaybeBuildFragment = BuildFragment | null;
|
|
24
|
+
export declare type MaybeBuildFragment = BuildFragment | null;
|
|
25
25
|
export declare function waitForBuildEndAsync(graphqlClient: ExpoGraphqlClient, { buildIds, accountName }: {
|
|
26
26
|
buildIds: string[];
|
|
27
27
|
accountName: string;
|
package/build/build/build.js
CHANGED
|
@@ -53,7 +53,7 @@ async function prepareBuildRequestForPlatformAsync(builder) {
|
|
|
53
53
|
path: (await (0, repository_1.makeProjectTarballAsync)()).path,
|
|
54
54
|
}
|
|
55
55
|
: {
|
|
56
|
-
type: eas_build_job_1.ArchiveSourceType.
|
|
56
|
+
type: eas_build_job_1.ArchiveSourceType.GCS,
|
|
57
57
|
bucketKey: await uploadProjectAsync(ctx),
|
|
58
58
|
};
|
|
59
59
|
const metadata = await (0, metadata_1.collectMetadataAsync)(ctx);
|
|
@@ -120,7 +120,7 @@ async function uploadProjectAsync(ctx) {
|
|
|
120
120
|
log_1.default.warn(`Your project archive is ${(0, files_1.formatBytes)(projectTarball.size)}. You can reduce its size and the time it takes to upload by excluding files that are unnecessary for the build process in ${chalk_1.default.bold('.easignore')} file. ${(0, log_1.learnMore)('https://expo.fyi/eas-build-archive')}`);
|
|
121
121
|
}
|
|
122
122
|
projectTarballPath = projectTarball.path;
|
|
123
|
-
const
|
|
123
|
+
const bucketKey = await (0, uploads_1.uploadFileAtPathToGCSAsync)(ctx.graphqlClient, generated_1.UploadSessionType.EasBuildGcsProjectSources, projectTarball.path, (0, progress_1.createProgressTracker)({
|
|
124
124
|
total: projectTarball.size,
|
|
125
125
|
message: ratio => `Uploading to EAS Build (${(0, files_1.formatBytes)(projectTarball.size * ratio)} / ${(0, files_1.formatBytes)(projectTarball.size)})`,
|
|
126
126
|
completedMessage: (duration) => `Uploaded to EAS ${chalk_1.default.dim(duration)}`,
|
|
@@ -38,6 +38,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, easJson
|
|
|
38
38
|
const analyticsEventProperties = {
|
|
39
39
|
tracking_id: (0, uuid_1.v4)(),
|
|
40
40
|
platform,
|
|
41
|
+
...(exp.sdkVersion && { sdk_version: exp.sdkVersion }),
|
|
41
42
|
...(accountId && { account_id: accountId }),
|
|
42
43
|
project_id: projectId,
|
|
43
44
|
project_type: workflow,
|
package/build/build/graphql.js
CHANGED
|
@@ -10,6 +10,12 @@ function transformProjectArchive(archiveSource) {
|
|
|
10
10
|
bucketKey: archiveSource.bucketKey,
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
+
else if (archiveSource.type === eas_build_job_1.ArchiveSourceType.GCS) {
|
|
14
|
+
return {
|
|
15
|
+
type: generated_1.ProjectArchiveSourceType.Gcs,
|
|
16
|
+
bucketKey: archiveSource.bucketKey,
|
|
17
|
+
};
|
|
18
|
+
}
|
|
13
19
|
else if (archiveSource.type === eas_build_job_1.ArchiveSourceType.URL) {
|
|
14
20
|
return {
|
|
15
21
|
type: generated_1.ProjectArchiveSourceType.Url,
|
package/build/build/local.js
CHANGED
|
@@ -6,7 +6,7 @@ const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
|
|
|
6
6
|
const semver_1 = tslib_1.__importDefault(require("semver"));
|
|
7
7
|
const ora_1 = require("../ora");
|
|
8
8
|
const PLUGIN_PACKAGE_NAME = 'eas-cli-local-build-plugin';
|
|
9
|
-
const PLUGIN_PACKAGE_VERSION = '0.0.
|
|
9
|
+
const PLUGIN_PACKAGE_VERSION = '0.0.120';
|
|
10
10
|
async function runLocalBuildAsync(job, metadata, options) {
|
|
11
11
|
var _a;
|
|
12
12
|
const { command, args } = await getCommandAndArgsAsync(job, metadata);
|
package/build/build/queries.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
2
|
import { PaginatedQueryOptions } from '../commandUtils/pagination';
|
|
3
|
-
import { BuildFilter, BuildFragment } from '../graphql/generated';
|
|
3
|
+
import { AppPlatform, BuildFilter, BuildFragment } from '../graphql/generated';
|
|
4
4
|
export declare const BUILDS_LIMIT = 50;
|
|
5
5
|
export declare function listAndRenderBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, { projectId, projectDisplayName, filter, paginatedQueryOptions, }: {
|
|
6
6
|
projectId: string;
|
|
@@ -8,11 +8,13 @@ export declare function listAndRenderBuildsOnAppAsync(graphqlClient: ExpoGraphql
|
|
|
8
8
|
filter?: BuildFilter;
|
|
9
9
|
paginatedQueryOptions: PaginatedQueryOptions;
|
|
10
10
|
}): Promise<void>;
|
|
11
|
-
export declare function listAndSelectBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, { projectId, projectDisplayName, filter, queryOptions, }: {
|
|
11
|
+
export declare function listAndSelectBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, selectedPlatform: AppPlatform, { projectId, projectDisplayName, filter, queryOptions, selectPromptDisabledFunction, warningMessage, }: {
|
|
12
12
|
projectId: string;
|
|
13
13
|
projectDisplayName: string;
|
|
14
14
|
filter?: BuildFilter;
|
|
15
15
|
queryOptions: PaginatedQueryOptions;
|
|
16
|
+
selectPromptDisabledFunction?: (build: BuildFragment) => boolean;
|
|
17
|
+
warningMessage?: string;
|
|
16
18
|
}): Promise<BuildFragment>;
|
|
17
19
|
export declare function getLatestBuildAsync(graphqlClient: ExpoGraphqlClient, { projectId, filter, }: {
|
|
18
20
|
projectId: string;
|