eas-cli 14.3.1 → 14.4.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 +200 -70
- package/build/commands/env/exec.d.ts +3 -0
- package/build/commands/env/exec.js +46 -13
- package/build/commands/worker/alias.d.ts +0 -1
- package/build/commands/worker/alias.js +0 -2
- package/build/commands/worker/deploy.d.ts +0 -1
- package/build/commands/worker/deploy.js +7 -4
- package/build/worker/assets.d.ts +5 -1
- package/build/worker/assets.js +18 -9
- package/oclif.manifest.json +1 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -88,6 +88,9 @@ eas --help COMMAND
|
|
|
88
88
|
* [`eas config`](#eas-config)
|
|
89
89
|
* [`eas credentials`](#eas-credentials)
|
|
90
90
|
* [`eas credentials:configure-build`](#eas-credentialsconfigure-build)
|
|
91
|
+
* [`eas deploy [2m[options][22m`](#eas-deploy-2moptions22m)
|
|
92
|
+
* [`eas deploy:alias`](#eas-deployalias)
|
|
93
|
+
* [`eas deploy:promote`](#eas-deploypromote)
|
|
91
94
|
* [`eas device:create`](#eas-devicecreate)
|
|
92
95
|
* [`eas device:delete`](#eas-devicedelete)
|
|
93
96
|
* [`eas device:list`](#eas-devicelist)
|
|
@@ -131,6 +134,8 @@ eas --help COMMAND
|
|
|
131
134
|
* [`eas webhook:update`](#eas-webhookupdate)
|
|
132
135
|
* [`eas webhook:view ID`](#eas-webhookview-id)
|
|
133
136
|
* [`eas whoami`](#eas-whoami)
|
|
137
|
+
* [`eas worker:alias`](#eas-workeralias)
|
|
138
|
+
* [`eas deploy [2m[options][22m`](#eas-deploy-2moptions22m-1)
|
|
134
139
|
* [`eas workflow:create [NAME]`](#eas-workflowcreate-name)
|
|
135
140
|
* [`eas workflow:run [FILE]`](#eas-workflowrun-file)
|
|
136
141
|
* [`eas workflow:validate PATH`](#eas-workflowvalidate-path)
|
|
@@ -153,7 +158,7 @@ ALIASES
|
|
|
153
158
|
$ eas login
|
|
154
159
|
```
|
|
155
160
|
|
|
156
|
-
_See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
161
|
+
_See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
157
162
|
|
|
158
163
|
## `eas account:logout`
|
|
159
164
|
|
|
@@ -170,7 +175,7 @@ ALIASES
|
|
|
170
175
|
$ eas logout
|
|
171
176
|
```
|
|
172
177
|
|
|
173
|
-
_See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
178
|
+
_See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
174
179
|
|
|
175
180
|
## `eas account:view`
|
|
176
181
|
|
|
@@ -187,7 +192,7 @@ ALIASES
|
|
|
187
192
|
$ eas whoami
|
|
188
193
|
```
|
|
189
194
|
|
|
190
|
-
_See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
195
|
+
_See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
191
196
|
|
|
192
197
|
## `eas analytics [STATUS]`
|
|
193
198
|
|
|
@@ -201,7 +206,7 @@ DESCRIPTION
|
|
|
201
206
|
display or change analytics settings
|
|
202
207
|
```
|
|
203
208
|
|
|
204
|
-
_See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
209
|
+
_See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
205
210
|
|
|
206
211
|
## `eas autocomplete [SHELL]`
|
|
207
212
|
|
|
@@ -253,7 +258,7 @@ DESCRIPTION
|
|
|
253
258
|
create a branch
|
|
254
259
|
```
|
|
255
260
|
|
|
256
|
-
_See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
261
|
+
_See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
257
262
|
|
|
258
263
|
## `eas branch:delete [NAME]`
|
|
259
264
|
|
|
@@ -274,7 +279,7 @@ DESCRIPTION
|
|
|
274
279
|
delete a branch
|
|
275
280
|
```
|
|
276
281
|
|
|
277
|
-
_See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
282
|
+
_See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
278
283
|
|
|
279
284
|
## `eas branch:list`
|
|
280
285
|
|
|
@@ -294,7 +299,7 @@ DESCRIPTION
|
|
|
294
299
|
list all branches
|
|
295
300
|
```
|
|
296
301
|
|
|
297
|
-
_See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
302
|
+
_See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
298
303
|
|
|
299
304
|
## `eas branch:rename`
|
|
300
305
|
|
|
@@ -314,7 +319,7 @@ DESCRIPTION
|
|
|
314
319
|
rename a branch
|
|
315
320
|
```
|
|
316
321
|
|
|
317
|
-
_See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
322
|
+
_See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
318
323
|
|
|
319
324
|
## `eas branch:view [NAME]`
|
|
320
325
|
|
|
@@ -337,7 +342,7 @@ DESCRIPTION
|
|
|
337
342
|
view a branch
|
|
338
343
|
```
|
|
339
344
|
|
|
340
|
-
_See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
345
|
+
_See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
341
346
|
|
|
342
347
|
## `eas build`
|
|
343
348
|
|
|
@@ -374,7 +379,7 @@ DESCRIPTION
|
|
|
374
379
|
start a build
|
|
375
380
|
```
|
|
376
381
|
|
|
377
|
-
_See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
382
|
+
_See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
378
383
|
|
|
379
384
|
## `eas build:cancel [BUILD_ID]`
|
|
380
385
|
|
|
@@ -393,7 +398,7 @@ DESCRIPTION
|
|
|
393
398
|
cancel a build
|
|
394
399
|
```
|
|
395
400
|
|
|
396
|
-
_See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
401
|
+
_See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
397
402
|
|
|
398
403
|
## `eas build:configure`
|
|
399
404
|
|
|
@@ -410,7 +415,7 @@ DESCRIPTION
|
|
|
410
415
|
configure the project to support EAS Build
|
|
411
416
|
```
|
|
412
417
|
|
|
413
|
-
_See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
418
|
+
_See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
414
419
|
|
|
415
420
|
## `eas build:delete [BUILD_ID]`
|
|
416
421
|
|
|
@@ -429,7 +434,7 @@ DESCRIPTION
|
|
|
429
434
|
delete a build
|
|
430
435
|
```
|
|
431
436
|
|
|
432
|
-
_See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
437
|
+
_See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/delete.ts)_
|
|
433
438
|
|
|
434
439
|
## `eas build:inspect`
|
|
435
440
|
|
|
@@ -464,7 +469,7 @@ DESCRIPTION
|
|
|
464
469
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
465
470
|
```
|
|
466
471
|
|
|
467
|
-
_See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
472
|
+
_See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
468
473
|
|
|
469
474
|
## `eas build:list`
|
|
470
475
|
|
|
@@ -514,7 +519,7 @@ DESCRIPTION
|
|
|
514
519
|
list all builds for your project
|
|
515
520
|
```
|
|
516
521
|
|
|
517
|
-
_See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
522
|
+
_See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
518
523
|
|
|
519
524
|
## `eas build:resign`
|
|
520
525
|
|
|
@@ -543,7 +548,7 @@ DESCRIPTION
|
|
|
543
548
|
re-sign a build archive
|
|
544
549
|
```
|
|
545
550
|
|
|
546
|
-
_See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
551
|
+
_See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/resign.ts)_
|
|
547
552
|
|
|
548
553
|
## `eas build:run`
|
|
549
554
|
|
|
@@ -569,7 +574,7 @@ DESCRIPTION
|
|
|
569
574
|
run simulator/emulator builds from eas-cli
|
|
570
575
|
```
|
|
571
576
|
|
|
572
|
-
_See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
577
|
+
_See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
573
578
|
|
|
574
579
|
## `eas build:submit`
|
|
575
580
|
|
|
@@ -619,7 +624,7 @@ DESCRIPTION
|
|
|
619
624
|
get the latest version from EAS servers
|
|
620
625
|
```
|
|
621
626
|
|
|
622
|
-
_See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
627
|
+
_See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/version/get.ts)_
|
|
623
628
|
|
|
624
629
|
## `eas build:version:set`
|
|
625
630
|
|
|
@@ -638,7 +643,7 @@ DESCRIPTION
|
|
|
638
643
|
update version of an app
|
|
639
644
|
```
|
|
640
645
|
|
|
641
|
-
_See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
646
|
+
_See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
642
647
|
|
|
643
648
|
## `eas build:version:sync`
|
|
644
649
|
|
|
@@ -657,7 +662,7 @@ DESCRIPTION
|
|
|
657
662
|
update a version in native code with a value stored on EAS servers
|
|
658
663
|
```
|
|
659
664
|
|
|
660
|
-
_See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
665
|
+
_See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
661
666
|
|
|
662
667
|
## `eas build:view [BUILD_ID]`
|
|
663
668
|
|
|
@@ -674,7 +679,7 @@ DESCRIPTION
|
|
|
674
679
|
view a build for your project
|
|
675
680
|
```
|
|
676
681
|
|
|
677
|
-
_See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
682
|
+
_See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
678
683
|
|
|
679
684
|
## `eas channel:create [NAME]`
|
|
680
685
|
|
|
@@ -695,7 +700,7 @@ DESCRIPTION
|
|
|
695
700
|
create a channel
|
|
696
701
|
```
|
|
697
702
|
|
|
698
|
-
_See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
703
|
+
_See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
699
704
|
|
|
700
705
|
## `eas channel:edit [NAME]`
|
|
701
706
|
|
|
@@ -717,7 +722,7 @@ DESCRIPTION
|
|
|
717
722
|
point a channel at a new branch
|
|
718
723
|
```
|
|
719
724
|
|
|
720
|
-
_See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
725
|
+
_See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
721
726
|
|
|
722
727
|
## `eas channel:list`
|
|
723
728
|
|
|
@@ -737,7 +742,7 @@ DESCRIPTION
|
|
|
737
742
|
list all channels
|
|
738
743
|
```
|
|
739
744
|
|
|
740
|
-
_See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
745
|
+
_See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
741
746
|
|
|
742
747
|
## `eas channel:pause [NAME]`
|
|
743
748
|
|
|
@@ -759,7 +764,7 @@ DESCRIPTION
|
|
|
759
764
|
pause a channel to stop it from sending updates
|
|
760
765
|
```
|
|
761
766
|
|
|
762
|
-
_See code: [packages/eas-cli/src/commands/channel/pause.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
767
|
+
_See code: [packages/eas-cli/src/commands/channel/pause.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/channel/pause.ts)_
|
|
763
768
|
|
|
764
769
|
## `eas channel:resume [NAME]`
|
|
765
770
|
|
|
@@ -781,7 +786,7 @@ DESCRIPTION
|
|
|
781
786
|
resume a channel to start sending updates
|
|
782
787
|
```
|
|
783
788
|
|
|
784
|
-
_See code: [packages/eas-cli/src/commands/channel/resume.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
789
|
+
_See code: [packages/eas-cli/src/commands/channel/resume.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/channel/resume.ts)_
|
|
785
790
|
|
|
786
791
|
## `eas channel:rollout [CHANNEL]`
|
|
787
792
|
|
|
@@ -814,7 +819,7 @@ DESCRIPTION
|
|
|
814
819
|
Roll a new branch out on a channel incrementally.
|
|
815
820
|
```
|
|
816
821
|
|
|
817
|
-
_See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
822
|
+
_See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
818
823
|
|
|
819
824
|
## `eas channel:view [NAME]`
|
|
820
825
|
|
|
@@ -837,7 +842,7 @@ DESCRIPTION
|
|
|
837
842
|
view a channel
|
|
838
843
|
```
|
|
839
844
|
|
|
840
|
-
_See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
845
|
+
_See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
841
846
|
|
|
842
847
|
## `eas config`
|
|
843
848
|
|
|
@@ -858,7 +863,7 @@ DESCRIPTION
|
|
|
858
863
|
display project configuration (app.json + eas.json)
|
|
859
864
|
```
|
|
860
865
|
|
|
861
|
-
_See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
866
|
+
_See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/config.ts)_
|
|
862
867
|
|
|
863
868
|
## `eas credentials`
|
|
864
869
|
|
|
@@ -875,7 +880,7 @@ DESCRIPTION
|
|
|
875
880
|
manage credentials
|
|
876
881
|
```
|
|
877
882
|
|
|
878
|
-
_See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
883
|
+
_See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/credentials/index.ts)_
|
|
879
884
|
|
|
880
885
|
## `eas credentials:configure-build`
|
|
881
886
|
|
|
@@ -893,7 +898,79 @@ DESCRIPTION
|
|
|
893
898
|
Set up credentials for building your project.
|
|
894
899
|
```
|
|
895
900
|
|
|
896
|
-
_See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
901
|
+
_See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/credentials/configure-build.ts)_
|
|
902
|
+
|
|
903
|
+
## `eas deploy [2m[options][22m`
|
|
904
|
+
|
|
905
|
+
Deploy your Expo web build
|
|
906
|
+
|
|
907
|
+
```
|
|
908
|
+
USAGE
|
|
909
|
+
$ eas deploy [options]
|
|
910
|
+
$ eas deploy --prod
|
|
911
|
+
|
|
912
|
+
FLAGS
|
|
913
|
+
--alias=name Custom alias to assign to the new deployment.
|
|
914
|
+
--dry-run Outputs a tarball of the new deployment instead of uploading it.
|
|
915
|
+
--environment=(development|preview|production) Environment variable's environment
|
|
916
|
+
--export-dir=dir [default: dist] Directory where the Expo project was exported.
|
|
917
|
+
--id=xyz123 Custom unique identifier for the new deployment.
|
|
918
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
919
|
+
--non-interactive Run the command in non-interactive mode.
|
|
920
|
+
--prod Create a new production deployment.
|
|
921
|
+
|
|
922
|
+
DESCRIPTION
|
|
923
|
+
Deploy your Expo web build
|
|
924
|
+
|
|
925
|
+
ALIASES
|
|
926
|
+
$ eas deploy
|
|
927
|
+
```
|
|
928
|
+
|
|
929
|
+
## `eas deploy:alias`
|
|
930
|
+
|
|
931
|
+
Assign deployment aliases
|
|
932
|
+
|
|
933
|
+
```
|
|
934
|
+
USAGE
|
|
935
|
+
$ eas deploy:alias [--prod] [--alias <value>] [--id <value>] [--json --non-interactive]
|
|
936
|
+
|
|
937
|
+
FLAGS
|
|
938
|
+
--alias=name Custom alias to assign to the existing deployment.
|
|
939
|
+
--id=xyz123 Unique identifier of an existing deployment.
|
|
940
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
941
|
+
--non-interactive Run the command in non-interactive mode.
|
|
942
|
+
--prod Promote an existing deployment to production.
|
|
943
|
+
|
|
944
|
+
DESCRIPTION
|
|
945
|
+
Assign deployment aliases
|
|
946
|
+
|
|
947
|
+
ALIASES
|
|
948
|
+
$ eas deploy:alias
|
|
949
|
+
$ eas deploy:promote
|
|
950
|
+
```
|
|
951
|
+
|
|
952
|
+
## `eas deploy:promote`
|
|
953
|
+
|
|
954
|
+
Assign deployment aliases
|
|
955
|
+
|
|
956
|
+
```
|
|
957
|
+
USAGE
|
|
958
|
+
$ eas deploy:promote [--prod] [--alias <value>] [--id <value>] [--json --non-interactive]
|
|
959
|
+
|
|
960
|
+
FLAGS
|
|
961
|
+
--alias=name Custom alias to assign to the existing deployment.
|
|
962
|
+
--id=xyz123 Unique identifier of an existing deployment.
|
|
963
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
964
|
+
--non-interactive Run the command in non-interactive mode.
|
|
965
|
+
--prod Promote an existing deployment to production.
|
|
966
|
+
|
|
967
|
+
DESCRIPTION
|
|
968
|
+
Assign deployment aliases
|
|
969
|
+
|
|
970
|
+
ALIASES
|
|
971
|
+
$ eas deploy:alias
|
|
972
|
+
$ eas deploy:promote
|
|
973
|
+
```
|
|
897
974
|
|
|
898
975
|
## `eas device:create`
|
|
899
976
|
|
|
@@ -907,7 +984,7 @@ DESCRIPTION
|
|
|
907
984
|
register new Apple Devices to use for internal distribution
|
|
908
985
|
```
|
|
909
986
|
|
|
910
|
-
_See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
987
|
+
_See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
911
988
|
|
|
912
989
|
## `eas device:delete`
|
|
913
990
|
|
|
@@ -927,7 +1004,7 @@ DESCRIPTION
|
|
|
927
1004
|
remove a registered device from your account
|
|
928
1005
|
```
|
|
929
1006
|
|
|
930
|
-
_See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1007
|
+
_See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
931
1008
|
|
|
932
1009
|
## `eas device:list`
|
|
933
1010
|
|
|
@@ -948,7 +1025,7 @@ DESCRIPTION
|
|
|
948
1025
|
list all registered devices for your account
|
|
949
1026
|
```
|
|
950
1027
|
|
|
951
|
-
_See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1028
|
+
_See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
952
1029
|
|
|
953
1030
|
## `eas device:rename`
|
|
954
1031
|
|
|
@@ -969,7 +1046,7 @@ DESCRIPTION
|
|
|
969
1046
|
rename a registered device
|
|
970
1047
|
```
|
|
971
1048
|
|
|
972
|
-
_See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1049
|
+
_See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/device/rename.ts)_
|
|
973
1050
|
|
|
974
1051
|
## `eas device:view [UDID]`
|
|
975
1052
|
|
|
@@ -983,7 +1060,7 @@ DESCRIPTION
|
|
|
983
1060
|
view a device for your project
|
|
984
1061
|
```
|
|
985
1062
|
|
|
986
|
-
_See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1063
|
+
_See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
987
1064
|
|
|
988
1065
|
## `eas diagnostics`
|
|
989
1066
|
|
|
@@ -997,7 +1074,7 @@ DESCRIPTION
|
|
|
997
1074
|
display environment info
|
|
998
1075
|
```
|
|
999
1076
|
|
|
1000
|
-
_See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1077
|
+
_See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
1001
1078
|
|
|
1002
1079
|
## `eas env:create [ENVIRONMENT]`
|
|
1003
1080
|
|
|
@@ -1026,7 +1103,7 @@ DESCRIPTION
|
|
|
1026
1103
|
create an environment variable for the current project or account
|
|
1027
1104
|
```
|
|
1028
1105
|
|
|
1029
|
-
_See code: [packages/eas-cli/src/commands/env/create.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1106
|
+
_See code: [packages/eas-cli/src/commands/env/create.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/env/create.ts)_
|
|
1030
1107
|
|
|
1031
1108
|
## `eas env:delete [ENVIRONMENT]`
|
|
1032
1109
|
|
|
@@ -1050,7 +1127,7 @@ DESCRIPTION
|
|
|
1050
1127
|
delete an environment variable for the current project or account
|
|
1051
1128
|
```
|
|
1052
1129
|
|
|
1053
|
-
_See code: [packages/eas-cli/src/commands/env/delete.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1130
|
+
_See code: [packages/eas-cli/src/commands/env/delete.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/env/delete.ts)_
|
|
1054
1131
|
|
|
1055
1132
|
## `eas env:exec ENVIRONMENT BASH_COMMAND`
|
|
1056
1133
|
|
|
@@ -1071,7 +1148,7 @@ DESCRIPTION
|
|
|
1071
1148
|
execute a command with environment variables from the selected environment
|
|
1072
1149
|
```
|
|
1073
1150
|
|
|
1074
|
-
_See code: [packages/eas-cli/src/commands/env/exec.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1151
|
+
_See code: [packages/eas-cli/src/commands/env/exec.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/env/exec.ts)_
|
|
1075
1152
|
|
|
1076
1153
|
## `eas env:get [ENVIRONMENT]`
|
|
1077
1154
|
|
|
@@ -1096,7 +1173,7 @@ DESCRIPTION
|
|
|
1096
1173
|
view an environment variable for the current project or account
|
|
1097
1174
|
```
|
|
1098
1175
|
|
|
1099
|
-
_See code: [packages/eas-cli/src/commands/env/get.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1176
|
+
_See code: [packages/eas-cli/src/commands/env/get.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/env/get.ts)_
|
|
1100
1177
|
|
|
1101
1178
|
## `eas env:list [ENVIRONMENT]`
|
|
1102
1179
|
|
|
@@ -1121,7 +1198,7 @@ DESCRIPTION
|
|
|
1121
1198
|
list environment variables for the current project or account
|
|
1122
1199
|
```
|
|
1123
1200
|
|
|
1124
|
-
_See code: [packages/eas-cli/src/commands/env/list.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1201
|
+
_See code: [packages/eas-cli/src/commands/env/list.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/env/list.ts)_
|
|
1125
1202
|
|
|
1126
1203
|
## `eas env:pull [ENVIRONMENT]`
|
|
1127
1204
|
|
|
@@ -1144,7 +1221,7 @@ DESCRIPTION
|
|
|
1144
1221
|
pull environment variables for the selected environment to .env file
|
|
1145
1222
|
```
|
|
1146
1223
|
|
|
1147
|
-
_See code: [packages/eas-cli/src/commands/env/pull.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1224
|
+
_See code: [packages/eas-cli/src/commands/env/pull.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/env/pull.ts)_
|
|
1148
1225
|
|
|
1149
1226
|
## `eas env:push [ENVIRONMENT]`
|
|
1150
1227
|
|
|
@@ -1165,7 +1242,7 @@ DESCRIPTION
|
|
|
1165
1242
|
push environment variables from .env file to the selected environment
|
|
1166
1243
|
```
|
|
1167
1244
|
|
|
1168
|
-
_See code: [packages/eas-cli/src/commands/env/push.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1245
|
+
_See code: [packages/eas-cli/src/commands/env/push.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/env/push.ts)_
|
|
1169
1246
|
|
|
1170
1247
|
## `eas env:update [ENVIRONMENT]`
|
|
1171
1248
|
|
|
@@ -1196,7 +1273,7 @@ DESCRIPTION
|
|
|
1196
1273
|
update an environment variable on the current project or account
|
|
1197
1274
|
```
|
|
1198
1275
|
|
|
1199
|
-
_See code: [packages/eas-cli/src/commands/env/update.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1276
|
+
_See code: [packages/eas-cli/src/commands/env/update.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/env/update.ts)_
|
|
1200
1277
|
|
|
1201
1278
|
## `eas help [COMMAND]`
|
|
1202
1279
|
|
|
@@ -1304,7 +1381,7 @@ DESCRIPTION
|
|
|
1304
1381
|
validate the local store configuration
|
|
1305
1382
|
```
|
|
1306
1383
|
|
|
1307
|
-
_See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1384
|
+
_See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
1308
1385
|
|
|
1309
1386
|
## `eas metadata:pull`
|
|
1310
1387
|
|
|
@@ -1321,7 +1398,7 @@ DESCRIPTION
|
|
|
1321
1398
|
generate the local store configuration from the app stores
|
|
1322
1399
|
```
|
|
1323
1400
|
|
|
1324
|
-
_See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1401
|
+
_See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
1325
1402
|
|
|
1326
1403
|
## `eas metadata:push`
|
|
1327
1404
|
|
|
@@ -1338,7 +1415,7 @@ DESCRIPTION
|
|
|
1338
1415
|
sync the local store configuration to the app stores
|
|
1339
1416
|
```
|
|
1340
1417
|
|
|
1341
|
-
_See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1418
|
+
_See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
1342
1419
|
|
|
1343
1420
|
## `eas onboarding [TARGET_PROJECT_DIRECTORY]`
|
|
1344
1421
|
|
|
@@ -1368,7 +1445,7 @@ DESCRIPTION
|
|
|
1368
1445
|
open the project page in a web browser
|
|
1369
1446
|
```
|
|
1370
1447
|
|
|
1371
|
-
_See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1448
|
+
_See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/open.ts)_
|
|
1372
1449
|
|
|
1373
1450
|
## `eas project:info`
|
|
1374
1451
|
|
|
@@ -1382,7 +1459,7 @@ DESCRIPTION
|
|
|
1382
1459
|
information about the current project
|
|
1383
1460
|
```
|
|
1384
1461
|
|
|
1385
|
-
_See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1462
|
+
_See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
1386
1463
|
|
|
1387
1464
|
## `eas project:init`
|
|
1388
1465
|
|
|
@@ -1405,7 +1482,7 @@ ALIASES
|
|
|
1405
1482
|
$ eas init
|
|
1406
1483
|
```
|
|
1407
1484
|
|
|
1408
|
-
_See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1485
|
+
_See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
1409
1486
|
|
|
1410
1487
|
## `eas project:onboarding [TARGET_PROJECT_DIRECTORY]`
|
|
1411
1488
|
|
|
@@ -1423,7 +1500,7 @@ ALIASES
|
|
|
1423
1500
|
$ eas onboarding
|
|
1424
1501
|
```
|
|
1425
1502
|
|
|
1426
|
-
_See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1503
|
+
_See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/project/onboarding.ts)_
|
|
1427
1504
|
|
|
1428
1505
|
## `eas submit`
|
|
1429
1506
|
|
|
@@ -1454,7 +1531,7 @@ ALIASES
|
|
|
1454
1531
|
$ eas build:submit
|
|
1455
1532
|
```
|
|
1456
1533
|
|
|
1457
|
-
_See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1534
|
+
_See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1458
1535
|
|
|
1459
1536
|
## `eas update`
|
|
1460
1537
|
|
|
@@ -1496,7 +1573,7 @@ DESCRIPTION
|
|
|
1496
1573
|
publish an update group
|
|
1497
1574
|
```
|
|
1498
1575
|
|
|
1499
|
-
_See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1576
|
+
_See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1500
1577
|
|
|
1501
1578
|
## `eas update:configure`
|
|
1502
1579
|
|
|
@@ -1516,7 +1593,7 @@ DESCRIPTION
|
|
|
1516
1593
|
configure the project to support EAS Update
|
|
1517
1594
|
```
|
|
1518
1595
|
|
|
1519
|
-
_See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1596
|
+
_See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1520
1597
|
|
|
1521
1598
|
## `eas update:delete GROUPID`
|
|
1522
1599
|
|
|
@@ -1537,7 +1614,7 @@ DESCRIPTION
|
|
|
1537
1614
|
delete all the updates in an update group
|
|
1538
1615
|
```
|
|
1539
1616
|
|
|
1540
|
-
_See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1617
|
+
_See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1541
1618
|
|
|
1542
1619
|
## `eas update:edit [GROUPID]`
|
|
1543
1620
|
|
|
@@ -1561,7 +1638,7 @@ DESCRIPTION
|
|
|
1561
1638
|
edit all the updates in an update group
|
|
1562
1639
|
```
|
|
1563
1640
|
|
|
1564
|
-
_See code: [packages/eas-cli/src/commands/update/edit.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1641
|
+
_See code: [packages/eas-cli/src/commands/update/edit.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/edit.ts)_
|
|
1565
1642
|
|
|
1566
1643
|
## `eas update:list`
|
|
1567
1644
|
|
|
@@ -1583,7 +1660,7 @@ DESCRIPTION
|
|
|
1583
1660
|
view the recent updates
|
|
1584
1661
|
```
|
|
1585
1662
|
|
|
1586
|
-
_See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1663
|
+
_See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1587
1664
|
|
|
1588
1665
|
## `eas update:republish`
|
|
1589
1666
|
|
|
@@ -1615,7 +1692,7 @@ DESCRIPTION
|
|
|
1615
1692
|
roll back to an existing update
|
|
1616
1693
|
```
|
|
1617
1694
|
|
|
1618
|
-
_See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1695
|
+
_See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1619
1696
|
|
|
1620
1697
|
## `eas update:roll-back-to-embedded`
|
|
1621
1698
|
|
|
@@ -1643,7 +1720,7 @@ DESCRIPTION
|
|
|
1643
1720
|
roll back to the embedded update
|
|
1644
1721
|
```
|
|
1645
1722
|
|
|
1646
|
-
_See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1723
|
+
_See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
|
|
1647
1724
|
|
|
1648
1725
|
## `eas update:rollback`
|
|
1649
1726
|
|
|
@@ -1663,7 +1740,7 @@ DESCRIPTION
|
|
|
1663
1740
|
roll back to an embedded update or an existing update
|
|
1664
1741
|
```
|
|
1665
1742
|
|
|
1666
|
-
_See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1743
|
+
_See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/rollback.ts)_
|
|
1667
1744
|
|
|
1668
1745
|
## `eas update:view GROUPID`
|
|
1669
1746
|
|
|
@@ -1683,7 +1760,7 @@ DESCRIPTION
|
|
|
1683
1760
|
update group details
|
|
1684
1761
|
```
|
|
1685
1762
|
|
|
1686
|
-
_See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1763
|
+
_See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1687
1764
|
|
|
1688
1765
|
## `eas webhook:create`
|
|
1689
1766
|
|
|
@@ -1704,7 +1781,7 @@ DESCRIPTION
|
|
|
1704
1781
|
create a webhook
|
|
1705
1782
|
```
|
|
1706
1783
|
|
|
1707
|
-
_See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1784
|
+
_See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1708
1785
|
|
|
1709
1786
|
## `eas webhook:delete [ID]`
|
|
1710
1787
|
|
|
@@ -1724,7 +1801,7 @@ DESCRIPTION
|
|
|
1724
1801
|
delete a webhook
|
|
1725
1802
|
```
|
|
1726
1803
|
|
|
1727
|
-
_See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1804
|
+
_See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1728
1805
|
|
|
1729
1806
|
## `eas webhook:list`
|
|
1730
1807
|
|
|
@@ -1742,7 +1819,7 @@ DESCRIPTION
|
|
|
1742
1819
|
list webhooks
|
|
1743
1820
|
```
|
|
1744
1821
|
|
|
1745
|
-
_See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1822
|
+
_See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1746
1823
|
|
|
1747
1824
|
## `eas webhook:update`
|
|
1748
1825
|
|
|
@@ -1764,7 +1841,7 @@ DESCRIPTION
|
|
|
1764
1841
|
update a webhook
|
|
1765
1842
|
```
|
|
1766
1843
|
|
|
1767
|
-
_See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1844
|
+
_See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1768
1845
|
|
|
1769
1846
|
## `eas webhook:view ID`
|
|
1770
1847
|
|
|
@@ -1781,7 +1858,7 @@ DESCRIPTION
|
|
|
1781
1858
|
view a webhook
|
|
1782
1859
|
```
|
|
1783
1860
|
|
|
1784
|
-
_See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1861
|
+
_See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1785
1862
|
|
|
1786
1863
|
## `eas whoami`
|
|
1787
1864
|
|
|
@@ -1798,6 +1875,59 @@ ALIASES
|
|
|
1798
1875
|
$ eas whoami
|
|
1799
1876
|
```
|
|
1800
1877
|
|
|
1878
|
+
## `eas worker:alias`
|
|
1879
|
+
|
|
1880
|
+
Assign deployment aliases
|
|
1881
|
+
|
|
1882
|
+
```
|
|
1883
|
+
USAGE
|
|
1884
|
+
$ eas worker:alias [--prod] [--alias <value>] [--id <value>] [--json --non-interactive]
|
|
1885
|
+
|
|
1886
|
+
FLAGS
|
|
1887
|
+
--alias=name Custom alias to assign to the existing deployment.
|
|
1888
|
+
--id=xyz123 Unique identifier of an existing deployment.
|
|
1889
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
1890
|
+
--non-interactive Run the command in non-interactive mode.
|
|
1891
|
+
--prod Promote an existing deployment to production.
|
|
1892
|
+
|
|
1893
|
+
DESCRIPTION
|
|
1894
|
+
Assign deployment aliases
|
|
1895
|
+
|
|
1896
|
+
ALIASES
|
|
1897
|
+
$ eas deploy:alias
|
|
1898
|
+
$ eas deploy:promote
|
|
1899
|
+
```
|
|
1900
|
+
|
|
1901
|
+
_See code: [packages/eas-cli/src/commands/worker/alias.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/worker/alias.ts)_
|
|
1902
|
+
|
|
1903
|
+
## `eas deploy [2m[options][22m`
|
|
1904
|
+
|
|
1905
|
+
Deploy your Expo web build
|
|
1906
|
+
|
|
1907
|
+
```
|
|
1908
|
+
USAGE
|
|
1909
|
+
$ eas deploy [options]
|
|
1910
|
+
$ eas deploy --prod
|
|
1911
|
+
|
|
1912
|
+
FLAGS
|
|
1913
|
+
--alias=name Custom alias to assign to the new deployment.
|
|
1914
|
+
--dry-run Outputs a tarball of the new deployment instead of uploading it.
|
|
1915
|
+
--environment=(development|preview|production) Environment variable's environment
|
|
1916
|
+
--export-dir=dir [default: dist] Directory where the Expo project was exported.
|
|
1917
|
+
--id=xyz123 Custom unique identifier for the new deployment.
|
|
1918
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
1919
|
+
--non-interactive Run the command in non-interactive mode.
|
|
1920
|
+
--prod Create a new production deployment.
|
|
1921
|
+
|
|
1922
|
+
DESCRIPTION
|
|
1923
|
+
Deploy your Expo web build
|
|
1924
|
+
|
|
1925
|
+
ALIASES
|
|
1926
|
+
$ eas deploy
|
|
1927
|
+
```
|
|
1928
|
+
|
|
1929
|
+
_See code: [packages/eas-cli/src/commands/worker/deploy.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/worker/deploy.ts)_
|
|
1930
|
+
|
|
1801
1931
|
## `eas workflow:create [NAME]`
|
|
1802
1932
|
|
|
1803
1933
|
create a new workflow configuration YAML file
|
|
@@ -1816,7 +1946,7 @@ DESCRIPTION
|
|
|
1816
1946
|
create a new workflow configuration YAML file
|
|
1817
1947
|
```
|
|
1818
1948
|
|
|
1819
|
-
_See code: [packages/eas-cli/src/commands/workflow/create.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1949
|
+
_See code: [packages/eas-cli/src/commands/workflow/create.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/workflow/create.ts)_
|
|
1820
1950
|
|
|
1821
1951
|
## `eas workflow:run [FILE]`
|
|
1822
1952
|
|
|
@@ -1836,7 +1966,7 @@ DESCRIPTION
|
|
|
1836
1966
|
Run an EAS workflow
|
|
1837
1967
|
```
|
|
1838
1968
|
|
|
1839
|
-
_See code: [packages/eas-cli/src/commands/workflow/run.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1969
|
+
_See code: [packages/eas-cli/src/commands/workflow/run.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/workflow/run.ts)_
|
|
1840
1970
|
|
|
1841
1971
|
## `eas workflow:validate PATH`
|
|
1842
1972
|
|
|
@@ -1856,5 +1986,5 @@ DESCRIPTION
|
|
|
1856
1986
|
validate a workflow configuration yaml file
|
|
1857
1987
|
```
|
|
1858
1988
|
|
|
1859
|
-
_See code: [packages/eas-cli/src/commands/workflow/validate.ts](https://github.com/expo/eas-cli/blob/v14.
|
|
1989
|
+
_See code: [packages/eas-cli/src/commands/workflow/validate.ts](https://github.com/expo/eas-cli/blob/v14.4.0/packages/eas-cli/src/commands/workflow/validate.ts)_
|
|
1860
1990
|
<!-- commandsstop -->
|
|
@@ -13,8 +13,11 @@ export default class EnvExec extends EasCommand {
|
|
|
13
13
|
required: boolean;
|
|
14
14
|
description: string;
|
|
15
15
|
}[];
|
|
16
|
+
private isNonInteractive;
|
|
16
17
|
runAsync(): Promise<void>;
|
|
17
18
|
private sanitizeFlagsAndArgs;
|
|
19
|
+
private runCommandNonInteractiveWithEnvVarsAsync;
|
|
20
|
+
protected catch(err: Error): Promise<any>;
|
|
18
21
|
private runCommandWithEnvVarsAsync;
|
|
19
22
|
private loadEnvironmentVariablesAsync;
|
|
20
23
|
}
|
|
@@ -30,23 +30,34 @@ class EnvExec extends EasCommand_1.default {
|
|
|
30
30
|
description: 'bash command to execute with the environment variables from the environment',
|
|
31
31
|
},
|
|
32
32
|
];
|
|
33
|
+
isNonInteractive = false;
|
|
33
34
|
async runAsync() {
|
|
34
35
|
const { flags, args } = await this.parse(EnvExec);
|
|
35
36
|
const parsedFlags = this.sanitizeFlagsAndArgs(flags, args);
|
|
36
37
|
const { projectId, loggedIn: { graphqlClient }, } = await this.getContextAsync(EnvExec, {
|
|
37
38
|
nonInteractive: parsedFlags.nonInteractive,
|
|
38
39
|
});
|
|
40
|
+
this.isNonInteractive = parsedFlags.nonInteractive;
|
|
39
41
|
const environment = parsedFlags.environment ??
|
|
40
42
|
(await (0, prompts_1.promptVariableEnvironmentAsync)({ nonInteractive: parsedFlags.nonInteractive }));
|
|
41
43
|
const environmentVariables = await this.loadEnvironmentVariablesAsync({
|
|
42
44
|
graphqlClient,
|
|
43
45
|
projectId,
|
|
44
46
|
environment,
|
|
47
|
+
nonInteractive: parsedFlags.nonInteractive,
|
|
45
48
|
});
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
if (parsedFlags.nonInteractive) {
|
|
50
|
+
await this.runCommandNonInteractiveWithEnvVarsAsync({
|
|
51
|
+
command: parsedFlags.command,
|
|
52
|
+
environmentVariables,
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
await this.runCommandWithEnvVarsAsync({
|
|
57
|
+
command: parsedFlags.command,
|
|
58
|
+
environmentVariables,
|
|
59
|
+
});
|
|
60
|
+
}
|
|
50
61
|
}
|
|
51
62
|
sanitizeFlagsAndArgs(rawFlags, { bash_command, environment }) {
|
|
52
63
|
if (rawFlags['non-interactive'] && (!bash_command || !environment)) {
|
|
@@ -62,6 +73,26 @@ class EnvExec extends EasCommand_1.default {
|
|
|
62
73
|
command: bash_command,
|
|
63
74
|
};
|
|
64
75
|
}
|
|
76
|
+
async runCommandNonInteractiveWithEnvVarsAsync({ command, environmentVariables, }) {
|
|
77
|
+
await (0, spawn_async_1.default)('bash', ['-c', command], {
|
|
78
|
+
stdio: 'inherit',
|
|
79
|
+
env: {
|
|
80
|
+
...process.env,
|
|
81
|
+
...environmentVariables,
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
// eslint-disable-next-line async-protect/async-suffix
|
|
86
|
+
async catch(err) {
|
|
87
|
+
// when in non-interactive, make the behavior of this command a pure passthrough, outputting only the subprocess' stdout and stderr and exiting with the
|
|
88
|
+
// sub-command's exit status
|
|
89
|
+
if (this.isNonInteractive) {
|
|
90
|
+
process.exitCode = process.exitCode ?? err.status ?? 1;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
await super.catch(err);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
65
96
|
async runCommandWithEnvVarsAsync({ command, environmentVariables, }) {
|
|
66
97
|
log_1.default.log(`Running command: ${chalk_1.default.bold(command)}`);
|
|
67
98
|
const spawnPromise = (0, spawn_async_1.default)('bash', ['-c', command], {
|
|
@@ -93,21 +124,23 @@ class EnvExec extends EasCommand_1.default {
|
|
|
93
124
|
throw error;
|
|
94
125
|
}
|
|
95
126
|
}
|
|
96
|
-
async loadEnvironmentVariablesAsync({ graphqlClient, projectId, environment, }) {
|
|
127
|
+
async loadEnvironmentVariablesAsync({ graphqlClient, projectId, environment, nonInteractive, }) {
|
|
97
128
|
const environmentVariablesQueryResult = await EnvironmentVariablesQuery_1.EnvironmentVariablesQuery.byAppIdWithSensitiveAsync(graphqlClient, {
|
|
98
129
|
appId: projectId,
|
|
99
130
|
environment,
|
|
100
131
|
});
|
|
101
132
|
const nonSecretEnvironmentVariables = environmentVariablesQueryResult.filter(({ value }) => !!value);
|
|
102
|
-
if (
|
|
103
|
-
|
|
104
|
-
.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
133
|
+
if (!nonInteractive) {
|
|
134
|
+
if (nonSecretEnvironmentVariables.length > 0) {
|
|
135
|
+
log_1.default.log(`Environment variables with visibility "Plain text" and "Sensitive" loaded from the "${environment.toLowerCase()}" environment on EAS: ${nonSecretEnvironmentVariables
|
|
136
|
+
.map(e => e.name)
|
|
137
|
+
.join(', ')}.`);
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
log_1.default.log(`No environment variables with visibility "Plain text" and "Sensitive" found for the "${environment.toLowerCase()}" environment on EAS.`);
|
|
141
|
+
}
|
|
142
|
+
log_1.default.newLine();
|
|
109
143
|
}
|
|
110
|
-
log_1.default.newLine();
|
|
111
144
|
const environmentVariables = {};
|
|
112
145
|
for (const { name, value } of nonSecretEnvironmentVariables) {
|
|
113
146
|
if (value) {
|
|
@@ -2,7 +2,6 @@ import EasCommand from '../../commandUtils/EasCommand';
|
|
|
2
2
|
export default class WorkerAlias extends EasCommand {
|
|
3
3
|
static description: string;
|
|
4
4
|
static aliases: string[];
|
|
5
|
-
static hidden: boolean;
|
|
6
5
|
static state: string;
|
|
7
6
|
static flags: {
|
|
8
7
|
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
@@ -14,8 +14,6 @@ const logs_1 = require("../../worker/utils/logs");
|
|
|
14
14
|
class WorkerAlias extends EasCommand_1.default {
|
|
15
15
|
static description = 'Assign deployment aliases';
|
|
16
16
|
static aliases = ['deploy:alias', 'deploy:promote'];
|
|
17
|
-
// TODO(@kitten): Keep command hidden until worker deployments are live
|
|
18
|
-
static hidden = true;
|
|
19
17
|
static state = 'beta';
|
|
20
18
|
static flags = {
|
|
21
19
|
prod: core_1.Flags.boolean({
|
|
@@ -4,7 +4,6 @@ export default class WorkerDeploy extends EasCommand {
|
|
|
4
4
|
static description: string;
|
|
5
5
|
static aliases: string[];
|
|
6
6
|
static usage: string[];
|
|
7
|
-
static hidden: boolean;
|
|
8
7
|
static state: string;
|
|
9
8
|
static flags: {
|
|
10
9
|
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
@@ -24,8 +24,6 @@ class WorkerDeploy extends EasCommand_1.default {
|
|
|
24
24
|
static description = 'Deploy your Expo web build';
|
|
25
25
|
static aliases = ['deploy'];
|
|
26
26
|
static usage = [(0, chalk_1.default) `deploy {dim [options]}`, `deploy --prod`];
|
|
27
|
-
// TODO(@kitten): Keep command hidden until worker deployments are live
|
|
28
|
-
static hidden = true;
|
|
29
27
|
static state = 'beta';
|
|
30
28
|
static flags = {
|
|
31
29
|
prod: core_1.Flags.boolean({
|
|
@@ -176,15 +174,20 @@ class WorkerDeploy extends EasCommand_1.default {
|
|
|
176
174
|
let deployResult;
|
|
177
175
|
let progress = (0, ora_1.ora)('Preparing project').start();
|
|
178
176
|
try {
|
|
179
|
-
const
|
|
177
|
+
const manifestResult = await WorkerAssets.createManifestAsync({
|
|
180
178
|
environment: flags.environment,
|
|
181
179
|
projectDir,
|
|
182
180
|
projectId,
|
|
183
181
|
}, graphqlClient);
|
|
182
|
+
if (manifestResult.conflictingVariableNames?.length) {
|
|
183
|
+
log_1.default.warn('> The following environment variables were present in local .env files as well as EAS environment variables. ' +
|
|
184
|
+
'In case of conflict, the EAS environment variable values will be used: ' +
|
|
185
|
+
manifestResult.conflictingVariableNames.join(' '));
|
|
186
|
+
}
|
|
184
187
|
assetMap = await WorkerAssets.createAssetMapAsync(projectDist.type === 'server' ? projectDist.clientPath : projectDist.path);
|
|
185
188
|
tarPath = await WorkerAssets.packFilesIterableAsync(emitWorkerTarballAsync({
|
|
186
189
|
assetMap,
|
|
187
|
-
manifest,
|
|
190
|
+
manifest: manifestResult.manifest,
|
|
188
191
|
}));
|
|
189
192
|
if (flags.dryRun) {
|
|
190
193
|
const DRY_RUN_OUTPUT_PATH = 'deploy.tar.gz';
|
package/build/worker/assets.d.ts
CHANGED
|
@@ -14,13 +14,17 @@ declare function createAssetMapAsync(assetPath?: string, options?: AssetMapOptio
|
|
|
14
14
|
export interface Manifest {
|
|
15
15
|
env: Record<string, string | undefined>;
|
|
16
16
|
}
|
|
17
|
+
export interface CreateManifestResult {
|
|
18
|
+
conflictingVariableNames: string[] | undefined;
|
|
19
|
+
manifest: Manifest;
|
|
20
|
+
}
|
|
17
21
|
interface CreateManifestParams {
|
|
18
22
|
projectId: string;
|
|
19
23
|
projectDir: string;
|
|
20
24
|
environment?: EnvironmentVariableEnvironment;
|
|
21
25
|
}
|
|
22
26
|
/** Creates a manifest configuration sent up for deployment */
|
|
23
|
-
export declare function createManifestAsync(params: CreateManifestParams, graphqlClient: ExpoGraphqlClient): Promise<
|
|
27
|
+
export declare function createManifestAsync(params: CreateManifestParams, graphqlClient: ExpoGraphqlClient): Promise<CreateManifestResult>;
|
|
24
28
|
interface WorkerFileEntry {
|
|
25
29
|
normalizedPath: string;
|
|
26
30
|
path: string;
|
package/build/worker/assets.js
CHANGED
|
@@ -75,19 +75,28 @@ async function createAssetMapAsync(assetPath, options) {
|
|
|
75
75
|
exports.createAssetMapAsync = createAssetMapAsync;
|
|
76
76
|
/** Creates a manifest configuration sent up for deployment */
|
|
77
77
|
async function createManifestAsync(params, graphqlClient) {
|
|
78
|
-
|
|
78
|
+
// Resolve .env file variables
|
|
79
|
+
const { env } = (0, env_1.parseProjectEnv)(params.projectDir, { mode: 'production' });
|
|
80
|
+
// Maybe load EAS Environment Variables (based on `--environment` arg)
|
|
81
|
+
let conflictingVariableNames;
|
|
79
82
|
if (params.environment) {
|
|
80
|
-
|
|
83
|
+
const loadedVariables = await EnvironmentVariablesQuery_1.EnvironmentVariablesQuery.byAppIdWithSensitiveAsync(graphqlClient, {
|
|
81
84
|
appId: params.projectId,
|
|
82
85
|
environment: params.environment,
|
|
83
|
-
})
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
});
|
|
87
|
+
// Load EAS Env vars into `env` object, keeping track of conflicts
|
|
88
|
+
conflictingVariableNames = [];
|
|
89
|
+
for (const variable of loadedVariables) {
|
|
90
|
+
if (variable.value != null) {
|
|
91
|
+
if (env[variable.name] != null) {
|
|
92
|
+
conflictingVariableNames.push(variable.name);
|
|
93
|
+
}
|
|
94
|
+
env[variable.name] = variable.value;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
89
97
|
}
|
|
90
|
-
|
|
98
|
+
const manifest = { env };
|
|
99
|
+
return { conflictingVariableNames, manifest };
|
|
91
100
|
}
|
|
92
101
|
exports.createManifestAsync = createManifestAsync;
|
|
93
102
|
/** Reads worker files while normalizing sourcemaps and providing normalized paths */
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "14.
|
|
2
|
+
"version": "14.4.0",
|
|
3
3
|
"commands": {
|
|
4
4
|
"analytics": {
|
|
5
5
|
"id": "analytics",
|
|
@@ -3706,7 +3706,6 @@
|
|
|
3706
3706
|
"pluginName": "eas-cli",
|
|
3707
3707
|
"pluginAlias": "eas-cli",
|
|
3708
3708
|
"pluginType": "core",
|
|
3709
|
-
"hidden": true,
|
|
3710
3709
|
"state": "beta",
|
|
3711
3710
|
"aliases": [
|
|
3712
3711
|
"deploy:alias",
|
|
@@ -3773,7 +3772,6 @@
|
|
|
3773
3772
|
"pluginName": "eas-cli",
|
|
3774
3773
|
"pluginAlias": "eas-cli",
|
|
3775
3774
|
"pluginType": "core",
|
|
3776
|
-
"hidden": true,
|
|
3777
3775
|
"state": "beta",
|
|
3778
3776
|
"aliases": [
|
|
3779
3777
|
"deploy"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
3
|
"description": "EAS command line tool",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.4.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eas": "./bin/run"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@expo/config-plugins": "9.0.12",
|
|
15
15
|
"@expo/eas-build-job": "1.0.156",
|
|
16
16
|
"@expo/eas-json": "14.3.1",
|
|
17
|
-
"@expo/env": "^0.
|
|
17
|
+
"@expo/env": "^1.0.0",
|
|
18
18
|
"@expo/json-file": "8.3.3",
|
|
19
19
|
"@expo/logger": "1.0.117",
|
|
20
20
|
"@expo/multipart-body-parser": "2.0.0",
|
|
@@ -237,5 +237,5 @@
|
|
|
237
237
|
"node": "20.11.0",
|
|
238
238
|
"yarn": "1.22.21"
|
|
239
239
|
},
|
|
240
|
-
"gitHead": "
|
|
240
|
+
"gitHead": "4dc4ef85faac11a8df3f42b61900a5d7bcc88e90"
|
|
241
241
|
}
|