eas-cli 4.1.2 → 5.0.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 +55 -55
- package/build/build/context.d.ts +1 -0
- package/build/build/createContext.js +5 -0
- package/build/build/local.js +1 -1
- package/build/build/metadata.js +1 -0
- package/build/build/runBuildAndSubmit.js +33 -8
- package/build/channel/branch-mapping.d.ts +1 -0
- package/build/channel/branch-mapping.js +8 -1
- package/build/channel/queries.d.ts +18 -0
- package/build/channel/queries.js +85 -5
- package/build/commands/build/version/get.js +1 -0
- package/build/commands/build/version/sync.js +1 -0
- package/build/commands/channel/create.js +5 -53
- package/build/commands/metadata/lint.js +1 -0
- package/build/commands/metadata/pull.js +1 -0
- package/build/commands/metadata/push.js +1 -0
- package/build/commands/submit.js +1 -0
- package/build/commands/update/index.js +9 -0
- package/build/commands/update/republish.js +55 -12
- package/build/commands/update/roll-back-to-embedded.js +5 -1
- package/build/commands/update/rollback.d.ts +9 -0
- package/build/commands/update/rollback.js +40 -0
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +10 -1
- package/build/log.d.ts +1 -0
- package/build/log.js +3 -0
- package/build/project/publish.d.ts +1 -0
- package/build/project/publish.js +9 -5
- package/build/rollout/branch-mapping.d.ts +1 -0
- package/build/rollout/branch-mapping.js +9 -1
- package/build/update/republish.d.ts +2 -2
- package/build/update/republish.js +23 -6
- package/build/utils/profiles.d.ts +2 -1
- package/build/utils/profiles.js +35 -3
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ ALIASES
|
|
|
133
133
|
$ eas login
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/
|
|
136
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
137
137
|
|
|
138
138
|
## `eas account:logout`
|
|
139
139
|
|
|
@@ -150,7 +150,7 @@ ALIASES
|
|
|
150
150
|
$ eas logout
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/
|
|
153
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
154
154
|
|
|
155
155
|
## `eas account:view`
|
|
156
156
|
|
|
@@ -167,7 +167,7 @@ ALIASES
|
|
|
167
167
|
$ eas whoami
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/
|
|
170
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
171
171
|
|
|
172
172
|
## `eas analytics [STATUS]`
|
|
173
173
|
|
|
@@ -181,7 +181,7 @@ DESCRIPTION
|
|
|
181
181
|
display or change analytics settings
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/
|
|
184
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
185
185
|
|
|
186
186
|
## `eas autocomplete [SHELL]`
|
|
187
187
|
|
|
@@ -231,7 +231,7 @@ DESCRIPTION
|
|
|
231
231
|
create a branch
|
|
232
232
|
```
|
|
233
233
|
|
|
234
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/
|
|
234
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
235
235
|
|
|
236
236
|
## `eas branch:delete [NAME]`
|
|
237
237
|
|
|
@@ -252,7 +252,7 @@ DESCRIPTION
|
|
|
252
252
|
delete a branch
|
|
253
253
|
```
|
|
254
254
|
|
|
255
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
255
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
256
256
|
|
|
257
257
|
## `eas branch:list`
|
|
258
258
|
|
|
@@ -272,7 +272,7 @@ DESCRIPTION
|
|
|
272
272
|
list all branches
|
|
273
273
|
```
|
|
274
274
|
|
|
275
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/
|
|
275
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
276
276
|
|
|
277
277
|
## `eas branch:rename`
|
|
278
278
|
|
|
@@ -292,7 +292,7 @@ DESCRIPTION
|
|
|
292
292
|
rename a branch
|
|
293
293
|
```
|
|
294
294
|
|
|
295
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/
|
|
295
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
296
296
|
|
|
297
297
|
## `eas branch:view [NAME]`
|
|
298
298
|
|
|
@@ -315,7 +315,7 @@ DESCRIPTION
|
|
|
315
315
|
view a branch
|
|
316
316
|
```
|
|
317
317
|
|
|
318
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/
|
|
318
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
319
319
|
|
|
320
320
|
## `eas build`
|
|
321
321
|
|
|
@@ -345,7 +345,7 @@ DESCRIPTION
|
|
|
345
345
|
start a build
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/
|
|
348
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
349
349
|
|
|
350
350
|
## `eas build:cancel [BUILD_ID]`
|
|
351
351
|
|
|
@@ -362,7 +362,7 @@ DESCRIPTION
|
|
|
362
362
|
cancel a build
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/
|
|
365
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
366
366
|
|
|
367
367
|
## `eas build:configure`
|
|
368
368
|
|
|
@@ -379,7 +379,7 @@ DESCRIPTION
|
|
|
379
379
|
configure the project to support EAS Build
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/
|
|
382
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
383
383
|
|
|
384
384
|
## `eas build:inspect`
|
|
385
385
|
|
|
@@ -414,7 +414,7 @@ DESCRIPTION
|
|
|
414
414
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/
|
|
417
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
418
418
|
|
|
419
419
|
## `eas build:list`
|
|
420
420
|
|
|
@@ -452,7 +452,7 @@ DESCRIPTION
|
|
|
452
452
|
list all builds for your project
|
|
453
453
|
```
|
|
454
454
|
|
|
455
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/
|
|
455
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
456
456
|
|
|
457
457
|
## `eas build:resign`
|
|
458
458
|
|
|
@@ -478,7 +478,7 @@ DESCRIPTION
|
|
|
478
478
|
re-sign a build archive
|
|
479
479
|
```
|
|
480
480
|
|
|
481
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/
|
|
481
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/resign.ts)_
|
|
482
482
|
|
|
483
483
|
## `eas build:run`
|
|
484
484
|
|
|
@@ -502,7 +502,7 @@ DESCRIPTION
|
|
|
502
502
|
run simulator/emulator builds from eas-cli
|
|
503
503
|
```
|
|
504
504
|
|
|
505
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/
|
|
505
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
506
506
|
|
|
507
507
|
## `eas build:submit`
|
|
508
508
|
|
|
@@ -551,7 +551,7 @@ DESCRIPTION
|
|
|
551
551
|
get the latest version from EAS servers
|
|
552
552
|
```
|
|
553
553
|
|
|
554
|
-
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/
|
|
554
|
+
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/version/get.ts)_
|
|
555
555
|
|
|
556
556
|
## `eas build:version:set`
|
|
557
557
|
|
|
@@ -570,7 +570,7 @@ DESCRIPTION
|
|
|
570
570
|
update version of an app
|
|
571
571
|
```
|
|
572
572
|
|
|
573
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/
|
|
573
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
574
574
|
|
|
575
575
|
## `eas build:version:sync`
|
|
576
576
|
|
|
@@ -589,7 +589,7 @@ DESCRIPTION
|
|
|
589
589
|
update a version in native code with a value stored on EAS servers
|
|
590
590
|
```
|
|
591
591
|
|
|
592
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/
|
|
592
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
593
593
|
|
|
594
594
|
## `eas build:view [BUILD_ID]`
|
|
595
595
|
|
|
@@ -606,7 +606,7 @@ DESCRIPTION
|
|
|
606
606
|
view a build for your project
|
|
607
607
|
```
|
|
608
608
|
|
|
609
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/
|
|
609
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
610
610
|
|
|
611
611
|
## `eas channel:create [NAME]`
|
|
612
612
|
|
|
@@ -627,7 +627,7 @@ DESCRIPTION
|
|
|
627
627
|
create a channel
|
|
628
628
|
```
|
|
629
629
|
|
|
630
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/
|
|
630
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
631
631
|
|
|
632
632
|
## `eas channel:edit [NAME]`
|
|
633
633
|
|
|
@@ -649,7 +649,7 @@ DESCRIPTION
|
|
|
649
649
|
point a channel at a new branch
|
|
650
650
|
```
|
|
651
651
|
|
|
652
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/
|
|
652
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
653
653
|
|
|
654
654
|
## `eas channel:list`
|
|
655
655
|
|
|
@@ -669,7 +669,7 @@ DESCRIPTION
|
|
|
669
669
|
list all channels
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/
|
|
672
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
673
673
|
|
|
674
674
|
## `eas channel:rollout [CHANNEL]`
|
|
675
675
|
|
|
@@ -701,7 +701,7 @@ DESCRIPTION
|
|
|
701
701
|
Roll a new branch out on a channel incrementally.
|
|
702
702
|
```
|
|
703
703
|
|
|
704
|
-
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/
|
|
704
|
+
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
705
705
|
|
|
706
706
|
## `eas channel:view [NAME]`
|
|
707
707
|
|
|
@@ -724,7 +724,7 @@ DESCRIPTION
|
|
|
724
724
|
view a channel
|
|
725
725
|
```
|
|
726
726
|
|
|
727
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/
|
|
727
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
728
728
|
|
|
729
729
|
## `eas config`
|
|
730
730
|
|
|
@@ -745,7 +745,7 @@ DESCRIPTION
|
|
|
745
745
|
display project configuration (app.json + eas.json)
|
|
746
746
|
```
|
|
747
747
|
|
|
748
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/
|
|
748
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/config.ts)_
|
|
749
749
|
|
|
750
750
|
## `eas credentials`
|
|
751
751
|
|
|
@@ -762,7 +762,7 @@ DESCRIPTION
|
|
|
762
762
|
manage credentials
|
|
763
763
|
```
|
|
764
764
|
|
|
765
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/
|
|
765
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
766
766
|
|
|
767
767
|
## `eas device:create`
|
|
768
768
|
|
|
@@ -776,7 +776,7 @@ DESCRIPTION
|
|
|
776
776
|
register new Apple Devices to use for internal distribution
|
|
777
777
|
```
|
|
778
778
|
|
|
779
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/
|
|
779
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
780
780
|
|
|
781
781
|
## `eas device:delete`
|
|
782
782
|
|
|
@@ -796,7 +796,7 @@ DESCRIPTION
|
|
|
796
796
|
remove a registered device from your account
|
|
797
797
|
```
|
|
798
798
|
|
|
799
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
799
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
800
800
|
|
|
801
801
|
## `eas device:list`
|
|
802
802
|
|
|
@@ -817,7 +817,7 @@ DESCRIPTION
|
|
|
817
817
|
list all registered devices for your account
|
|
818
818
|
```
|
|
819
819
|
|
|
820
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/
|
|
820
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
821
821
|
|
|
822
822
|
## `eas device:rename`
|
|
823
823
|
|
|
@@ -838,7 +838,7 @@ DESCRIPTION
|
|
|
838
838
|
rename a registered device
|
|
839
839
|
```
|
|
840
840
|
|
|
841
|
-
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/
|
|
841
|
+
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/device/rename.ts)_
|
|
842
842
|
|
|
843
843
|
## `eas device:view [UDID]`
|
|
844
844
|
|
|
@@ -852,7 +852,7 @@ DESCRIPTION
|
|
|
852
852
|
view a device for your project
|
|
853
853
|
```
|
|
854
854
|
|
|
855
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/
|
|
855
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
856
856
|
|
|
857
857
|
## `eas diagnostics`
|
|
858
858
|
|
|
@@ -866,7 +866,7 @@ DESCRIPTION
|
|
|
866
866
|
display environment info
|
|
867
867
|
```
|
|
868
868
|
|
|
869
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/
|
|
869
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
870
870
|
|
|
871
871
|
## `eas help [COMMAND]`
|
|
872
872
|
|
|
@@ -954,7 +954,7 @@ DESCRIPTION
|
|
|
954
954
|
validate the local store configuration
|
|
955
955
|
```
|
|
956
956
|
|
|
957
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/
|
|
957
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
958
958
|
|
|
959
959
|
## `eas metadata:pull`
|
|
960
960
|
|
|
@@ -971,7 +971,7 @@ DESCRIPTION
|
|
|
971
971
|
generate the local store configuration from the app stores
|
|
972
972
|
```
|
|
973
973
|
|
|
974
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/
|
|
974
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
975
975
|
|
|
976
976
|
## `eas metadata:push`
|
|
977
977
|
|
|
@@ -988,7 +988,7 @@ DESCRIPTION
|
|
|
988
988
|
sync the local store configuration to the app stores
|
|
989
989
|
```
|
|
990
990
|
|
|
991
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/
|
|
991
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
992
992
|
|
|
993
993
|
## `eas open`
|
|
994
994
|
|
|
@@ -1002,7 +1002,7 @@ DESCRIPTION
|
|
|
1002
1002
|
open the project page in a web browser
|
|
1003
1003
|
```
|
|
1004
1004
|
|
|
1005
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/
|
|
1005
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/open.ts)_
|
|
1006
1006
|
|
|
1007
1007
|
## `eas project:info`
|
|
1008
1008
|
|
|
@@ -1016,7 +1016,7 @@ DESCRIPTION
|
|
|
1016
1016
|
information about the current project
|
|
1017
1017
|
```
|
|
1018
1018
|
|
|
1019
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/
|
|
1019
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
1020
1020
|
|
|
1021
1021
|
## `eas project:init`
|
|
1022
1022
|
|
|
@@ -1038,7 +1038,7 @@ ALIASES
|
|
|
1038
1038
|
$ eas init
|
|
1039
1039
|
```
|
|
1040
1040
|
|
|
1041
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/
|
|
1041
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
1042
1042
|
|
|
1043
1043
|
## `eas secret:create`
|
|
1044
1044
|
|
|
@@ -1061,7 +1061,7 @@ DESCRIPTION
|
|
|
1061
1061
|
create an environment secret on the current project or owner account
|
|
1062
1062
|
```
|
|
1063
1063
|
|
|
1064
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/
|
|
1064
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1065
1065
|
|
|
1066
1066
|
## `eas secret:delete`
|
|
1067
1067
|
|
|
@@ -1079,7 +1079,7 @@ DESCRIPTION
|
|
|
1079
1079
|
delete an environment secret by ID
|
|
1080
1080
|
```
|
|
1081
1081
|
|
|
1082
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1082
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1083
1083
|
|
|
1084
1084
|
## `eas secret:list`
|
|
1085
1085
|
|
|
@@ -1093,7 +1093,7 @@ DESCRIPTION
|
|
|
1093
1093
|
list environment secrets available for your current app
|
|
1094
1094
|
```
|
|
1095
1095
|
|
|
1096
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1096
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1097
1097
|
|
|
1098
1098
|
## `eas secret:push`
|
|
1099
1099
|
|
|
@@ -1113,7 +1113,7 @@ DESCRIPTION
|
|
|
1113
1113
|
read environment secrets from env file and store on the server
|
|
1114
1114
|
```
|
|
1115
1115
|
|
|
1116
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/
|
|
1116
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1117
1117
|
|
|
1118
1118
|
## `eas submit`
|
|
1119
1119
|
|
|
@@ -1143,7 +1143,7 @@ ALIASES
|
|
|
1143
1143
|
$ eas build:submit
|
|
1144
1144
|
```
|
|
1145
1145
|
|
|
1146
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/
|
|
1146
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1147
1147
|
|
|
1148
1148
|
## `eas update`
|
|
1149
1149
|
|
|
@@ -1176,7 +1176,7 @@ DESCRIPTION
|
|
|
1176
1176
|
publish an update group
|
|
1177
1177
|
```
|
|
1178
1178
|
|
|
1179
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/
|
|
1179
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1180
1180
|
|
|
1181
1181
|
## `eas update:configure`
|
|
1182
1182
|
|
|
@@ -1194,7 +1194,7 @@ DESCRIPTION
|
|
|
1194
1194
|
configure the project to support EAS Update
|
|
1195
1195
|
```
|
|
1196
1196
|
|
|
1197
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/
|
|
1197
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1198
1198
|
|
|
1199
1199
|
## `eas update:delete GROUPID`
|
|
1200
1200
|
|
|
@@ -1215,7 +1215,7 @@ DESCRIPTION
|
|
|
1215
1215
|
delete all the updates in an update group
|
|
1216
1216
|
```
|
|
1217
1217
|
|
|
1218
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1218
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1219
1219
|
|
|
1220
1220
|
## `eas update:list`
|
|
1221
1221
|
|
|
@@ -1237,7 +1237,7 @@ DESCRIPTION
|
|
|
1237
1237
|
view the recent updates
|
|
1238
1238
|
```
|
|
1239
1239
|
|
|
1240
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1240
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1241
1241
|
|
|
1242
1242
|
## `eas update:republish`
|
|
1243
1243
|
|
|
@@ -1264,7 +1264,7 @@ DESCRIPTION
|
|
|
1264
1264
|
roll back to an existing update
|
|
1265
1265
|
```
|
|
1266
1266
|
|
|
1267
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/
|
|
1267
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1268
1268
|
|
|
1269
1269
|
## `eas update:view GROUPID`
|
|
1270
1270
|
|
|
@@ -1284,7 +1284,7 @@ DESCRIPTION
|
|
|
1284
1284
|
update group details
|
|
1285
1285
|
```
|
|
1286
1286
|
|
|
1287
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/
|
|
1287
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1288
1288
|
|
|
1289
1289
|
## `eas webhook:create`
|
|
1290
1290
|
|
|
@@ -1305,7 +1305,7 @@ DESCRIPTION
|
|
|
1305
1305
|
create a webhook
|
|
1306
1306
|
```
|
|
1307
1307
|
|
|
1308
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/
|
|
1308
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1309
1309
|
|
|
1310
1310
|
## `eas webhook:delete [ID]`
|
|
1311
1311
|
|
|
@@ -1325,7 +1325,7 @@ DESCRIPTION
|
|
|
1325
1325
|
delete a webhook
|
|
1326
1326
|
```
|
|
1327
1327
|
|
|
1328
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1328
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1329
1329
|
|
|
1330
1330
|
## `eas webhook:list`
|
|
1331
1331
|
|
|
@@ -1343,7 +1343,7 @@ DESCRIPTION
|
|
|
1343
1343
|
list webhooks
|
|
1344
1344
|
```
|
|
1345
1345
|
|
|
1346
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1346
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1347
1347
|
|
|
1348
1348
|
## `eas webhook:update`
|
|
1349
1349
|
|
|
@@ -1365,7 +1365,7 @@ DESCRIPTION
|
|
|
1365
1365
|
update a webhook
|
|
1366
1366
|
```
|
|
1367
1367
|
|
|
1368
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/
|
|
1368
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1369
1369
|
|
|
1370
1370
|
## `eas webhook:view ID`
|
|
1371
1371
|
|
|
@@ -1382,7 +1382,7 @@ DESCRIPTION
|
|
|
1382
1382
|
view a webhook
|
|
1383
1383
|
```
|
|
1384
1384
|
|
|
1385
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/
|
|
1385
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v5.0.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1386
1386
|
|
|
1387
1387
|
## `eas whoami`
|
|
1388
1388
|
|
package/build/build/context.d.ts
CHANGED
|
@@ -50,4 +50,5 @@ export interface BuildContext<T extends Platform> {
|
|
|
50
50
|
customBuildConfigMetadata?: CustomBuildConfigMetadata;
|
|
51
51
|
android: T extends Platform.ANDROID ? AndroidBuildContext : undefined;
|
|
52
52
|
ios: T extends Platform.IOS ? IosBuildContext : undefined;
|
|
53
|
+
developmentClient: boolean;
|
|
53
54
|
}
|
|
@@ -15,12 +15,16 @@ const build_1 = require("./android/build");
|
|
|
15
15
|
const build_2 = require("./ios/build");
|
|
16
16
|
const resourceClass_1 = require("./utils/resourceClass");
|
|
17
17
|
async function createBuildContextAsync({ buildProfileName, buildProfile, easJsonCliConfig, clearCache = false, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicPrivateProjectConfigAsync, customBuildConfigMetadata, }) {
|
|
18
|
+
var _a, _b;
|
|
18
19
|
const { exp, projectId } = await getDynamicPrivateProjectConfigAsync({ env: buildProfile.env });
|
|
19
20
|
const projectName = exp.slug;
|
|
20
21
|
const account = await (0, projectUtils_1.getOwnerAccountForProjectIdAsync)(graphqlClient, projectId);
|
|
21
22
|
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, platform);
|
|
22
23
|
const accountId = account.id;
|
|
23
24
|
const runFromCI = getenv_1.default.boolish('CI', false);
|
|
25
|
+
const developmentClient = (_b = (_a = buildProfile.developmentClient) !== null && _a !== void 0 ? _a : (platform === eas_build_job_1.Platform.ANDROID
|
|
26
|
+
? (buildProfile === null || buildProfile === void 0 ? void 0 : buildProfile.gradleCommand) === ':app:assembleDebug'
|
|
27
|
+
: (buildProfile === null || buildProfile === void 0 ? void 0 : buildProfile.buildConfiguration) === 'Debug')) !== null && _b !== void 0 ? _b : false;
|
|
24
28
|
const credentialsCtx = new context_1.CredentialsContext({
|
|
25
29
|
projectInfo: { exp, projectId },
|
|
26
30
|
nonInteractive,
|
|
@@ -73,6 +77,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, easJson
|
|
|
73
77
|
message,
|
|
74
78
|
runFromCI,
|
|
75
79
|
customBuildConfigMetadata,
|
|
80
|
+
developmentClient,
|
|
76
81
|
};
|
|
77
82
|
if (platform === eas_build_job_1.Platform.ANDROID) {
|
|
78
83
|
const common = commonContext;
|
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 = '1.0.
|
|
9
|
+
const PLUGIN_PACKAGE_VERSION = '1.0.39';
|
|
10
10
|
var LocalBuildMode;
|
|
11
11
|
(function (LocalBuildMode) {
|
|
12
12
|
/**
|
package/build/build/metadata.js
CHANGED
|
@@ -50,6 +50,7 @@ async function collectMetadataAsync(ctx) {
|
|
|
50
50
|
runFromCI: ctx.runFromCI,
|
|
51
51
|
buildMode: ctx.buildProfile.config ? eas_build_job_1.BuildMode.CUSTOM : eas_build_job_1.BuildMode.BUILD,
|
|
52
52
|
customWorkflowName: (_d = ctx.customBuildConfigMetadata) === null || _d === void 0 ? void 0 : _d.workflowName,
|
|
53
|
+
developmentClient: ctx.developmentClient,
|
|
53
54
|
};
|
|
54
55
|
return (0, eas_build_job_1.sanitizeMetadata)(metadata);
|
|
55
56
|
}
|
|
@@ -7,6 +7,7 @@ const eas_json_1 = require("@expo/eas-json");
|
|
|
7
7
|
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
8
8
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
9
9
|
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
10
|
+
const queries_1 = require("../channel/queries");
|
|
10
11
|
const generated_1 = require("../graphql/generated");
|
|
11
12
|
const BuildQuery_1 = require("../graphql/queries/BuildQuery");
|
|
12
13
|
const AppPlatform_1 = require("../graphql/types/AppPlatform");
|
|
@@ -23,6 +24,7 @@ const utils_1 = require("../run/utils");
|
|
|
23
24
|
const context_1 = require("../submit/context");
|
|
24
25
|
const submit_1 = require("../submit/submit");
|
|
25
26
|
const urls_1 = require("../submit/utils/urls");
|
|
27
|
+
const configure_1 = require("../update/configure");
|
|
26
28
|
const utils_2 = require("../update/utils");
|
|
27
29
|
const download_1 = require("../utils/download");
|
|
28
30
|
const filter_1 = require("../utils/expodash/filter");
|
|
@@ -31,7 +33,7 @@ const profiles_1 = require("../utils/profiles");
|
|
|
31
33
|
const vcs_1 = require("../vcs");
|
|
32
34
|
const build_1 = require("./android/build");
|
|
33
35
|
const build_2 = require("./build");
|
|
34
|
-
const
|
|
36
|
+
const configure_2 = require("./configure");
|
|
35
37
|
const createContext_1 = require("./createContext");
|
|
36
38
|
const build_3 = require("./ios/build");
|
|
37
39
|
const devClient_1 = require("./utils/devClient");
|
|
@@ -43,7 +45,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
43
45
|
var _a, _b;
|
|
44
46
|
await (0, vcs_1.getVcsClient)().ensureRepoExistsAsync();
|
|
45
47
|
await (0, repository_1.ensureRepoIsCleanAsync)(flags.nonInteractive);
|
|
46
|
-
await (0,
|
|
48
|
+
await (0, configure_2.ensureProjectConfiguredAsync)({
|
|
47
49
|
projectDir,
|
|
48
50
|
nonInteractive: flags.nonInteractive,
|
|
49
51
|
});
|
|
@@ -55,6 +57,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
55
57
|
easJsonAccessor,
|
|
56
58
|
platforms,
|
|
57
59
|
profileName: (_b = flags.profile) !== null && _b !== void 0 ? _b : undefined,
|
|
60
|
+
projectDir,
|
|
58
61
|
});
|
|
59
62
|
log_1.default.log(`Loaded "env" configuration for the "${buildProfiles[0].profileName}" profile: ${buildProfiles[0].profile.env
|
|
60
63
|
? Object.keys(buildProfiles[0].profile.env).join(', ')
|
|
@@ -106,6 +109,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
106
109
|
platforms,
|
|
107
110
|
profileName: flags.submitProfile,
|
|
108
111
|
type: 'submit',
|
|
112
|
+
projectDir,
|
|
109
113
|
});
|
|
110
114
|
for (const startedBuild of startedBuilds) {
|
|
111
115
|
const submitProfile = (0, nullthrows_1.default)(submitProfiles.find(({ platform }) => (0, AppPlatform_1.toAppPlatform)(platform) === startedBuild.build.platform)).profile;
|
|
@@ -188,11 +192,26 @@ async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildP
|
|
|
188
192
|
await (0, utils_2.validateBuildProfileConfigMatchesProjectConfigAsync)(buildCtx.exp, buildProfile, buildCtx.projectId, flags.nonInteractive);
|
|
189
193
|
if (buildProfile.profile.channel) {
|
|
190
194
|
await validateExpoUpdatesInstalledAsProjectDependencyAsync({
|
|
195
|
+
graphqlClient,
|
|
196
|
+
exp: buildCtx.exp,
|
|
197
|
+
projectId: buildCtx.projectId,
|
|
191
198
|
projectDir,
|
|
192
199
|
sdkVersion: buildCtx.exp.sdkVersion,
|
|
193
200
|
nonInteractive: flags.nonInteractive,
|
|
194
201
|
buildProfile,
|
|
195
202
|
});
|
|
203
|
+
if ((0, projectUtils_1.isUsingEASUpdate)(buildCtx.exp, buildCtx.projectId)) {
|
|
204
|
+
const doesChannelExist = await (0, queries_1.doesChannelExistAsync)(graphqlClient, {
|
|
205
|
+
appId: buildCtx.projectId,
|
|
206
|
+
channelName: buildProfile.profile.channel,
|
|
207
|
+
});
|
|
208
|
+
if (!doesChannelExist) {
|
|
209
|
+
await (0, queries_1.createAndLinkChannelAsync)(graphqlClient, {
|
|
210
|
+
appId: buildCtx.projectId,
|
|
211
|
+
channelName: buildProfile.profile.channel,
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
}
|
|
196
215
|
}
|
|
197
216
|
await (0, projectUtils_1.validateAppVersionRuntimePolicySupportAsync)(buildCtx.projectDir, buildCtx.exp);
|
|
198
217
|
if ((easJsonCliConfig === null || easJsonCliConfig === void 0 ? void 0 : easJsonCliConfig.appVersionSource) === eas_json_1.AppVersionSource.REMOTE) {
|
|
@@ -276,7 +295,7 @@ async function maybeDownloadAndRunSimulatorBuildsAsync(builds, flags) {
|
|
|
276
295
|
}
|
|
277
296
|
}
|
|
278
297
|
}
|
|
279
|
-
async function validateExpoUpdatesInstalledAsProjectDependencyAsync({ projectDir, buildProfile, nonInteractive, sdkVersion, }) {
|
|
298
|
+
async function validateExpoUpdatesInstalledAsProjectDependencyAsync({ exp, graphqlClient, projectId, projectDir, buildProfile, nonInteractive, sdkVersion, }) {
|
|
280
299
|
if ((0, projectUtils_1.isExpoUpdatesInstalledOrAvailable)(projectDir, sdkVersion)) {
|
|
281
300
|
return;
|
|
282
301
|
}
|
|
@@ -284,16 +303,22 @@ async function validateExpoUpdatesInstalledAsProjectDependencyAsync({ projectDir
|
|
|
284
303
|
log_1.default.warn(`The build profile "${buildProfile.profileName}" uses the channel "${buildProfile.profile.channel}", but you've added "expo-updates" as a dev dependency. To make channels work for your builds, move "expo-updates" from dev dependencies to the main dependencies in your project.`);
|
|
285
304
|
}
|
|
286
305
|
else if (nonInteractive) {
|
|
287
|
-
log_1.default.warn(`The build profile "${buildProfile.profileName}" has specified the channel "${buildProfile.profile.channel}", but the "expo-updates" package hasn't been installed. To use channels for your builds, install the "expo-updates" package by running "npx expo install expo-updates".`);
|
|
306
|
+
log_1.default.warn(`The build profile "${buildProfile.profileName}" has specified the channel "${buildProfile.profile.channel}", but the "expo-updates" package hasn't been installed. To use channels for your builds, install the "expo-updates" package by running "npx expo install expo-updates" followed by "eas update:configure".`);
|
|
288
307
|
}
|
|
289
308
|
else {
|
|
290
|
-
log_1.default.warn(`The build profile "${buildProfile.profileName}" specifies the channel "${buildProfile.profile.channel}", but the "expo-updates" package is missing. To use channels in your builds, install the "expo-updates" package.`);
|
|
309
|
+
log_1.default.warn(`The build profile "${buildProfile.profileName}" specifies the channel "${buildProfile.profile.channel}", but the "expo-updates" package is missing. To use channels in your builds, install the "expo-updates" package and run "eas update:configure".`);
|
|
291
310
|
const installExpoUpdates = await (0, prompts_1.confirmAsync)({
|
|
292
|
-
message: `Would you like to install the "expo-updates" package?`,
|
|
311
|
+
message: `Would you like to install the "expo-updates" package and configure EAS Update now?`,
|
|
293
312
|
});
|
|
294
313
|
if (installExpoUpdates) {
|
|
295
|
-
await (0,
|
|
296
|
-
|
|
314
|
+
await (0, configure_1.ensureEASUpdateIsConfiguredAsync)(graphqlClient, {
|
|
315
|
+
exp,
|
|
316
|
+
projectId,
|
|
317
|
+
projectDir,
|
|
318
|
+
platform: platform_1.RequestedPlatform.All,
|
|
319
|
+
});
|
|
320
|
+
log_1.default.withTick('Installed expo-updates and configured EAS Update.');
|
|
321
|
+
throw new Error('Command must be re-run to pick up new updates configuration.');
|
|
297
322
|
}
|
|
298
323
|
}
|
|
299
324
|
}
|