eas-cli 10.1.1 → 10.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -63
- package/build/build/local.js +1 -1
- package/build/commands/account/login.d.ts +1 -0
- package/build/commands/account/login.js +17 -1
- package/build/commands/account/view.d.ts +1 -0
- package/build/commands/account/view.js +6 -2
- package/build/commands/update/index.d.ts +1 -0
- package/build/commands/update/index.js +17 -2
- package/build/project/publish.d.ts +2 -0
- package/build/project/publish.js +6 -1
- package/oclif.manifest.json +10 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ An example of **eas.json** that enforces `eas-cli` in version `1.0.0` or newer:
|
|
|
39
39
|
}
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Learn more: https://docs.expo.dev/build
|
|
42
|
+
Learn more: https://docs.expo.dev/build/eas-json/
|
|
43
43
|
|
|
44
44
|
# Usage
|
|
45
45
|
|
|
@@ -143,7 +143,7 @@ ALIASES
|
|
|
143
143
|
$ eas login
|
|
144
144
|
```
|
|
145
145
|
|
|
146
|
-
_See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
146
|
+
_See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/account/login.ts)_
|
|
147
147
|
|
|
148
148
|
## `eas account:logout`
|
|
149
149
|
|
|
@@ -160,7 +160,7 @@ ALIASES
|
|
|
160
160
|
$ eas logout
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
_See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
163
|
+
_See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/account/logout.ts)_
|
|
164
164
|
|
|
165
165
|
## `eas account:view`
|
|
166
166
|
|
|
@@ -177,7 +177,7 @@ ALIASES
|
|
|
177
177
|
$ eas whoami
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
180
|
+
_See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/account/view.ts)_
|
|
181
181
|
|
|
182
182
|
## `eas analytics [STATUS]`
|
|
183
183
|
|
|
@@ -191,7 +191,7 @@ DESCRIPTION
|
|
|
191
191
|
display or change analytics settings
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
-
_See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
194
|
+
_See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/analytics.ts)_
|
|
195
195
|
|
|
196
196
|
## `eas autocomplete [SHELL]`
|
|
197
197
|
|
|
@@ -243,7 +243,7 @@ DESCRIPTION
|
|
|
243
243
|
create a branch
|
|
244
244
|
```
|
|
245
245
|
|
|
246
|
-
_See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
246
|
+
_See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/branch/create.ts)_
|
|
247
247
|
|
|
248
248
|
## `eas branch:delete [NAME]`
|
|
249
249
|
|
|
@@ -264,7 +264,7 @@ DESCRIPTION
|
|
|
264
264
|
delete a branch
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
-
_See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
267
|
+
_See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
268
268
|
|
|
269
269
|
## `eas branch:list`
|
|
270
270
|
|
|
@@ -284,7 +284,7 @@ DESCRIPTION
|
|
|
284
284
|
list all branches
|
|
285
285
|
```
|
|
286
286
|
|
|
287
|
-
_See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
287
|
+
_See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/branch/list.ts)_
|
|
288
288
|
|
|
289
289
|
## `eas branch:rename`
|
|
290
290
|
|
|
@@ -304,7 +304,7 @@ DESCRIPTION
|
|
|
304
304
|
rename a branch
|
|
305
305
|
```
|
|
306
306
|
|
|
307
|
-
_See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
307
|
+
_See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
308
308
|
|
|
309
309
|
## `eas branch:view [NAME]`
|
|
310
310
|
|
|
@@ -327,7 +327,7 @@ DESCRIPTION
|
|
|
327
327
|
view a branch
|
|
328
328
|
```
|
|
329
329
|
|
|
330
|
-
_See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
330
|
+
_See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/branch/view.ts)_
|
|
331
331
|
|
|
332
332
|
## `eas build`
|
|
333
333
|
|
|
@@ -364,7 +364,7 @@ DESCRIPTION
|
|
|
364
364
|
start a build
|
|
365
365
|
```
|
|
366
366
|
|
|
367
|
-
_See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
367
|
+
_See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/index.ts)_
|
|
368
368
|
|
|
369
369
|
## `eas build:cancel [BUILD_ID]`
|
|
370
370
|
|
|
@@ -383,7 +383,7 @@ DESCRIPTION
|
|
|
383
383
|
cancel a build
|
|
384
384
|
```
|
|
385
385
|
|
|
386
|
-
_See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
386
|
+
_See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
387
387
|
|
|
388
388
|
## `eas build:configure`
|
|
389
389
|
|
|
@@ -400,7 +400,7 @@ DESCRIPTION
|
|
|
400
400
|
configure the project to support EAS Build
|
|
401
401
|
```
|
|
402
402
|
|
|
403
|
-
_See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
403
|
+
_See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/configure.ts)_
|
|
404
404
|
|
|
405
405
|
## `eas build:delete [BUILD_ID]`
|
|
406
406
|
|
|
@@ -419,7 +419,7 @@ DESCRIPTION
|
|
|
419
419
|
delete a build
|
|
420
420
|
```
|
|
421
421
|
|
|
422
|
-
_See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
422
|
+
_See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/delete.ts)_
|
|
423
423
|
|
|
424
424
|
## `eas build:inspect`
|
|
425
425
|
|
|
@@ -454,7 +454,7 @@ DESCRIPTION
|
|
|
454
454
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
455
455
|
```
|
|
456
456
|
|
|
457
|
-
_See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
457
|
+
_See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
458
458
|
|
|
459
459
|
## `eas build:list`
|
|
460
460
|
|
|
@@ -504,7 +504,7 @@ DESCRIPTION
|
|
|
504
504
|
list all builds for your project
|
|
505
505
|
```
|
|
506
506
|
|
|
507
|
-
_See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
507
|
+
_See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/list.ts)_
|
|
508
508
|
|
|
509
509
|
## `eas build:resign`
|
|
510
510
|
|
|
@@ -533,7 +533,7 @@ DESCRIPTION
|
|
|
533
533
|
re-sign a build archive
|
|
534
534
|
```
|
|
535
535
|
|
|
536
|
-
_See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
536
|
+
_See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/resign.ts)_
|
|
537
537
|
|
|
538
538
|
## `eas build:run`
|
|
539
539
|
|
|
@@ -559,7 +559,7 @@ DESCRIPTION
|
|
|
559
559
|
run simulator/emulator builds from eas-cli
|
|
560
560
|
```
|
|
561
561
|
|
|
562
|
-
_See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
562
|
+
_See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/run.ts)_
|
|
563
563
|
|
|
564
564
|
## `eas build:submit`
|
|
565
565
|
|
|
@@ -609,7 +609,7 @@ DESCRIPTION
|
|
|
609
609
|
get the latest version from EAS servers
|
|
610
610
|
```
|
|
611
611
|
|
|
612
|
-
_See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
612
|
+
_See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/version/get.ts)_
|
|
613
613
|
|
|
614
614
|
## `eas build:version:set`
|
|
615
615
|
|
|
@@ -628,7 +628,7 @@ DESCRIPTION
|
|
|
628
628
|
update version of an app
|
|
629
629
|
```
|
|
630
630
|
|
|
631
|
-
_See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
631
|
+
_See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
632
632
|
|
|
633
633
|
## `eas build:version:sync`
|
|
634
634
|
|
|
@@ -647,7 +647,7 @@ DESCRIPTION
|
|
|
647
647
|
update a version in native code with a value stored on EAS servers
|
|
648
648
|
```
|
|
649
649
|
|
|
650
|
-
_See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
650
|
+
_See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
651
651
|
|
|
652
652
|
## `eas build:view [BUILD_ID]`
|
|
653
653
|
|
|
@@ -664,7 +664,7 @@ DESCRIPTION
|
|
|
664
664
|
view a build for your project
|
|
665
665
|
```
|
|
666
666
|
|
|
667
|
-
_See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
667
|
+
_See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/build/view.ts)_
|
|
668
668
|
|
|
669
669
|
## `eas channel:create [NAME]`
|
|
670
670
|
|
|
@@ -685,7 +685,7 @@ DESCRIPTION
|
|
|
685
685
|
create a channel
|
|
686
686
|
```
|
|
687
687
|
|
|
688
|
-
_See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
688
|
+
_See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/channel/create.ts)_
|
|
689
689
|
|
|
690
690
|
## `eas channel:edit [NAME]`
|
|
691
691
|
|
|
@@ -707,7 +707,7 @@ DESCRIPTION
|
|
|
707
707
|
point a channel at a new branch
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
_See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
710
|
+
_See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
711
711
|
|
|
712
712
|
## `eas channel:list`
|
|
713
713
|
|
|
@@ -727,7 +727,7 @@ DESCRIPTION
|
|
|
727
727
|
list all channels
|
|
728
728
|
```
|
|
729
729
|
|
|
730
|
-
_See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
730
|
+
_See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/channel/list.ts)_
|
|
731
731
|
|
|
732
732
|
## `eas channel:rollout [CHANNEL]`
|
|
733
733
|
|
|
@@ -760,7 +760,7 @@ DESCRIPTION
|
|
|
760
760
|
Roll a new branch out on a channel incrementally.
|
|
761
761
|
```
|
|
762
762
|
|
|
763
|
-
_See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
763
|
+
_See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
764
764
|
|
|
765
765
|
## `eas channel:view [NAME]`
|
|
766
766
|
|
|
@@ -783,7 +783,7 @@ DESCRIPTION
|
|
|
783
783
|
view a channel
|
|
784
784
|
```
|
|
785
785
|
|
|
786
|
-
_See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
786
|
+
_See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/channel/view.ts)_
|
|
787
787
|
|
|
788
788
|
## `eas config`
|
|
789
789
|
|
|
@@ -804,7 +804,7 @@ DESCRIPTION
|
|
|
804
804
|
display project configuration (app.json + eas.json)
|
|
805
805
|
```
|
|
806
806
|
|
|
807
|
-
_See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
807
|
+
_See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/config.ts)_
|
|
808
808
|
|
|
809
809
|
## `eas credentials`
|
|
810
810
|
|
|
@@ -821,7 +821,7 @@ DESCRIPTION
|
|
|
821
821
|
manage credentials
|
|
822
822
|
```
|
|
823
823
|
|
|
824
|
-
_See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
824
|
+
_See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/credentials/index.ts)_
|
|
825
825
|
|
|
826
826
|
## `eas credentials:configure-build`
|
|
827
827
|
|
|
@@ -839,7 +839,7 @@ DESCRIPTION
|
|
|
839
839
|
Set up credentials for building your project.
|
|
840
840
|
```
|
|
841
841
|
|
|
842
|
-
_See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
842
|
+
_See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/credentials/configure-build.ts)_
|
|
843
843
|
|
|
844
844
|
## `eas device:create`
|
|
845
845
|
|
|
@@ -853,7 +853,7 @@ DESCRIPTION
|
|
|
853
853
|
register new Apple Devices to use for internal distribution
|
|
854
854
|
```
|
|
855
855
|
|
|
856
|
-
_See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
856
|
+
_See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/device/create.ts)_
|
|
857
857
|
|
|
858
858
|
## `eas device:delete`
|
|
859
859
|
|
|
@@ -873,7 +873,7 @@ DESCRIPTION
|
|
|
873
873
|
remove a registered device from your account
|
|
874
874
|
```
|
|
875
875
|
|
|
876
|
-
_See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
876
|
+
_See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/device/delete.ts)_
|
|
877
877
|
|
|
878
878
|
## `eas device:list`
|
|
879
879
|
|
|
@@ -894,7 +894,7 @@ DESCRIPTION
|
|
|
894
894
|
list all registered devices for your account
|
|
895
895
|
```
|
|
896
896
|
|
|
897
|
-
_See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
897
|
+
_See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/device/list.ts)_
|
|
898
898
|
|
|
899
899
|
## `eas device:rename`
|
|
900
900
|
|
|
@@ -915,7 +915,7 @@ DESCRIPTION
|
|
|
915
915
|
rename a registered device
|
|
916
916
|
```
|
|
917
917
|
|
|
918
|
-
_See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
918
|
+
_See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/device/rename.ts)_
|
|
919
919
|
|
|
920
920
|
## `eas device:view [UDID]`
|
|
921
921
|
|
|
@@ -929,7 +929,7 @@ DESCRIPTION
|
|
|
929
929
|
view a device for your project
|
|
930
930
|
```
|
|
931
931
|
|
|
932
|
-
_See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
932
|
+
_See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/device/view.ts)_
|
|
933
933
|
|
|
934
934
|
## `eas diagnostics`
|
|
935
935
|
|
|
@@ -943,7 +943,7 @@ DESCRIPTION
|
|
|
943
943
|
display environment info
|
|
944
944
|
```
|
|
945
945
|
|
|
946
|
-
_See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
946
|
+
_See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
947
947
|
|
|
948
948
|
## `eas help [COMMAND]`
|
|
949
949
|
|
|
@@ -1050,7 +1050,7 @@ DESCRIPTION
|
|
|
1050
1050
|
validate the local store configuration
|
|
1051
1051
|
```
|
|
1052
1052
|
|
|
1053
|
-
_See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1053
|
+
_See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
1054
1054
|
|
|
1055
1055
|
## `eas metadata:pull`
|
|
1056
1056
|
|
|
@@ -1067,7 +1067,7 @@ DESCRIPTION
|
|
|
1067
1067
|
generate the local store configuration from the app stores
|
|
1068
1068
|
```
|
|
1069
1069
|
|
|
1070
|
-
_See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1070
|
+
_See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
1071
1071
|
|
|
1072
1072
|
## `eas metadata:push`
|
|
1073
1073
|
|
|
@@ -1084,7 +1084,7 @@ DESCRIPTION
|
|
|
1084
1084
|
sync the local store configuration to the app stores
|
|
1085
1085
|
```
|
|
1086
1086
|
|
|
1087
|
-
_See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1087
|
+
_See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
1088
1088
|
|
|
1089
1089
|
## `eas onboarding [TARGET_PROJECT_DIRECTORY]`
|
|
1090
1090
|
|
|
@@ -1114,7 +1114,7 @@ DESCRIPTION
|
|
|
1114
1114
|
open the project page in a web browser
|
|
1115
1115
|
```
|
|
1116
1116
|
|
|
1117
|
-
_See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1117
|
+
_See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/open.ts)_
|
|
1118
1118
|
|
|
1119
1119
|
## `eas project:info`
|
|
1120
1120
|
|
|
@@ -1128,7 +1128,7 @@ DESCRIPTION
|
|
|
1128
1128
|
information about the current project
|
|
1129
1129
|
```
|
|
1130
1130
|
|
|
1131
|
-
_See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1131
|
+
_See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/project/info.ts)_
|
|
1132
1132
|
|
|
1133
1133
|
## `eas project:init`
|
|
1134
1134
|
|
|
@@ -1150,7 +1150,7 @@ ALIASES
|
|
|
1150
1150
|
$ eas init
|
|
1151
1151
|
```
|
|
1152
1152
|
|
|
1153
|
-
_See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1153
|
+
_See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/project/init.ts)_
|
|
1154
1154
|
|
|
1155
1155
|
## `eas project:onboarding [TARGET_PROJECT_DIRECTORY]`
|
|
1156
1156
|
|
|
@@ -1168,7 +1168,7 @@ ALIASES
|
|
|
1168
1168
|
$ eas onboarding
|
|
1169
1169
|
```
|
|
1170
1170
|
|
|
1171
|
-
_See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1171
|
+
_See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/project/onboarding.ts)_
|
|
1172
1172
|
|
|
1173
1173
|
## `eas secret:create`
|
|
1174
1174
|
|
|
@@ -1191,7 +1191,7 @@ DESCRIPTION
|
|
|
1191
1191
|
create an environment secret on the current project or owner account
|
|
1192
1192
|
```
|
|
1193
1193
|
|
|
1194
|
-
_See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1194
|
+
_See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1195
1195
|
|
|
1196
1196
|
## `eas secret:delete`
|
|
1197
1197
|
|
|
@@ -1209,7 +1209,7 @@ DESCRIPTION
|
|
|
1209
1209
|
delete an environment secret by ID
|
|
1210
1210
|
```
|
|
1211
1211
|
|
|
1212
|
-
_See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1212
|
+
_See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1213
1213
|
|
|
1214
1214
|
## `eas secret:list`
|
|
1215
1215
|
|
|
@@ -1223,7 +1223,7 @@ DESCRIPTION
|
|
|
1223
1223
|
list environment secrets available for your current app
|
|
1224
1224
|
```
|
|
1225
1225
|
|
|
1226
|
-
_See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1226
|
+
_See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1227
1227
|
|
|
1228
1228
|
## `eas secret:push`
|
|
1229
1229
|
|
|
@@ -1243,7 +1243,7 @@ DESCRIPTION
|
|
|
1243
1243
|
read environment secrets from env file and store on the server
|
|
1244
1244
|
```
|
|
1245
1245
|
|
|
1246
|
-
_See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1246
|
+
_See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1247
1247
|
|
|
1248
1248
|
## `eas submit`
|
|
1249
1249
|
|
|
@@ -1274,7 +1274,7 @@ ALIASES
|
|
|
1274
1274
|
$ eas build:submit
|
|
1275
1275
|
```
|
|
1276
1276
|
|
|
1277
|
-
_See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1277
|
+
_See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/submit.ts)_
|
|
1278
1278
|
|
|
1279
1279
|
## `eas update`
|
|
1280
1280
|
|
|
@@ -1283,8 +1283,8 @@ publish an update group
|
|
|
1283
1283
|
```
|
|
1284
1284
|
USAGE
|
|
1285
1285
|
$ eas update [--branch <value>] [--channel <value>] [-m <value>] [--republish | --input-dir <value> |
|
|
1286
|
-
--skip-bundler] [--group <value> | | ] [--clear-cache] [-p android|ios|all] [--auto]
|
|
1287
|
-
[--json --non-interactive]
|
|
1286
|
+
--skip-bundler] [--group <value> | | ] [--clear-cache] [--emit-metadata] [-p android|ios|all] [--auto]
|
|
1287
|
+
[--private-key-path <value>] [--json --non-interactive]
|
|
1288
1288
|
|
|
1289
1289
|
FLAGS
|
|
1290
1290
|
-m, --message=<value> A short message describing the update
|
|
@@ -1293,6 +1293,8 @@ FLAGS
|
|
|
1293
1293
|
--branch=<value> Branch to publish the update group on
|
|
1294
1294
|
--channel=<value> Channel that the published update should affect
|
|
1295
1295
|
--clear-cache Clear the bundler cache before publishing
|
|
1296
|
+
--emit-metadata Emit "eas-update-metadata.json" in the bundle folder with detailed information about
|
|
1297
|
+
the generated updates
|
|
1296
1298
|
--group=<value> Update group to republish (deprecated, see republish command)
|
|
1297
1299
|
--input-dir=<value> [default: dist] Location of the bundle
|
|
1298
1300
|
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
@@ -1308,7 +1310,7 @@ DESCRIPTION
|
|
|
1308
1310
|
publish an update group
|
|
1309
1311
|
```
|
|
1310
1312
|
|
|
1311
|
-
_See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1313
|
+
_See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/update/index.ts)_
|
|
1312
1314
|
|
|
1313
1315
|
## `eas update:configure`
|
|
1314
1316
|
|
|
@@ -1326,7 +1328,7 @@ DESCRIPTION
|
|
|
1326
1328
|
configure the project to support EAS Update
|
|
1327
1329
|
```
|
|
1328
1330
|
|
|
1329
|
-
_See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1331
|
+
_See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1330
1332
|
|
|
1331
1333
|
## `eas update:delete GROUPID`
|
|
1332
1334
|
|
|
@@ -1347,7 +1349,7 @@ DESCRIPTION
|
|
|
1347
1349
|
delete all the updates in an update group
|
|
1348
1350
|
```
|
|
1349
1351
|
|
|
1350
|
-
_See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1352
|
+
_See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1351
1353
|
|
|
1352
1354
|
## `eas update:list`
|
|
1353
1355
|
|
|
@@ -1369,7 +1371,7 @@ DESCRIPTION
|
|
|
1369
1371
|
view the recent updates
|
|
1370
1372
|
```
|
|
1371
1373
|
|
|
1372
|
-
_See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1374
|
+
_See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/update/list.ts)_
|
|
1373
1375
|
|
|
1374
1376
|
## `eas update:republish`
|
|
1375
1377
|
|
|
@@ -1397,7 +1399,7 @@ DESCRIPTION
|
|
|
1397
1399
|
roll back to an existing update
|
|
1398
1400
|
```
|
|
1399
1401
|
|
|
1400
|
-
_See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1402
|
+
_See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1401
1403
|
|
|
1402
1404
|
## `eas update:roll-back-to-embedded`
|
|
1403
1405
|
|
|
@@ -1425,7 +1427,7 @@ DESCRIPTION
|
|
|
1425
1427
|
roll back to the embedded update
|
|
1426
1428
|
```
|
|
1427
1429
|
|
|
1428
|
-
_See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1430
|
+
_See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
|
|
1429
1431
|
|
|
1430
1432
|
## `eas update:rollback`
|
|
1431
1433
|
|
|
@@ -1445,7 +1447,7 @@ DESCRIPTION
|
|
|
1445
1447
|
roll back to an embedded update or an existing update
|
|
1446
1448
|
```
|
|
1447
1449
|
|
|
1448
|
-
_See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1450
|
+
_See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/update/rollback.ts)_
|
|
1449
1451
|
|
|
1450
1452
|
## `eas update:view GROUPID`
|
|
1451
1453
|
|
|
@@ -1465,7 +1467,7 @@ DESCRIPTION
|
|
|
1465
1467
|
update group details
|
|
1466
1468
|
```
|
|
1467
1469
|
|
|
1468
|
-
_See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1470
|
+
_See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/update/view.ts)_
|
|
1469
1471
|
|
|
1470
1472
|
## `eas webhook:create`
|
|
1471
1473
|
|
|
@@ -1486,7 +1488,7 @@ DESCRIPTION
|
|
|
1486
1488
|
create a webhook
|
|
1487
1489
|
```
|
|
1488
1490
|
|
|
1489
|
-
_See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1491
|
+
_See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1490
1492
|
|
|
1491
1493
|
## `eas webhook:delete [ID]`
|
|
1492
1494
|
|
|
@@ -1506,7 +1508,7 @@ DESCRIPTION
|
|
|
1506
1508
|
delete a webhook
|
|
1507
1509
|
```
|
|
1508
1510
|
|
|
1509
|
-
_See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1511
|
+
_See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1510
1512
|
|
|
1511
1513
|
## `eas webhook:list`
|
|
1512
1514
|
|
|
@@ -1524,7 +1526,7 @@ DESCRIPTION
|
|
|
1524
1526
|
list webhooks
|
|
1525
1527
|
```
|
|
1526
1528
|
|
|
1527
|
-
_See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1529
|
+
_See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1528
1530
|
|
|
1529
1531
|
## `eas webhook:update`
|
|
1530
1532
|
|
|
@@ -1546,7 +1548,7 @@ DESCRIPTION
|
|
|
1546
1548
|
update a webhook
|
|
1547
1549
|
```
|
|
1548
1550
|
|
|
1549
|
-
_See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1551
|
+
_See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1550
1552
|
|
|
1551
1553
|
## `eas webhook:view ID`
|
|
1552
1554
|
|
|
@@ -1563,7 +1565,7 @@ DESCRIPTION
|
|
|
1563
1565
|
view a webhook
|
|
1564
1566
|
```
|
|
1565
1567
|
|
|
1566
|
-
_See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v10.
|
|
1568
|
+
_See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v10.2.1/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1567
1569
|
|
|
1568
1570
|
## `eas whoami`
|
|
1569
1571
|
|
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.124';
|
|
10
10
|
var LocalBuildMode;
|
|
11
11
|
(function (LocalBuildMode) {
|
|
12
12
|
/**
|
|
@@ -7,6 +7,7 @@ export default class AccountLogin extends EasCommand {
|
|
|
7
7
|
};
|
|
8
8
|
static contextDefinition: {
|
|
9
9
|
sessionManager: import("../../commandUtils/context/SessionManagementContextField").default;
|
|
10
|
+
maybeLoggedIn: import("../../commandUtils/context/MaybeLoggedInContextField").default;
|
|
10
11
|
};
|
|
11
12
|
runAsync(): Promise<void>;
|
|
12
13
|
}
|
|
@@ -3,12 +3,27 @@ var _a;
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
7
|
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
7
8
|
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
9
|
+
const prompts_1 = require("../../prompts");
|
|
10
|
+
const User_1 = require("../../user/User");
|
|
8
11
|
class AccountLogin extends EasCommand_1.default {
|
|
9
12
|
async runAsync() {
|
|
10
13
|
const { flags: { sso }, } = await this.parse(_a);
|
|
11
|
-
const { sessionManager } = await this.getContextAsync(_a, { nonInteractive: false });
|
|
14
|
+
const { sessionManager, maybeLoggedIn: { actor }, } = await this.getContextAsync(_a, { nonInteractive: false });
|
|
15
|
+
if (sessionManager.getAccessToken()) {
|
|
16
|
+
throw new Error('EXPO_TOKEN is set in your environment, and is being used for all EAS authentication. To use username/password authentication, unset EXPO_TOKEN in your environment and re-run the command.');
|
|
17
|
+
}
|
|
18
|
+
if (actor) {
|
|
19
|
+
log_1.default.warn(`You are already logged in as ${chalk_1.default.bold((0, User_1.getActorDisplayName)(actor))}.`);
|
|
20
|
+
const shouldContinue = await (0, prompts_1.confirmAsync)({
|
|
21
|
+
message: 'Do you want to continue?',
|
|
22
|
+
});
|
|
23
|
+
if (!shouldContinue) {
|
|
24
|
+
core_1.Errors.error('Aborted', { exit: 1 });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
12
27
|
await sessionManager.showLoginPromptAsync({ sso });
|
|
13
28
|
log_1.default.log('Logged in');
|
|
14
29
|
}
|
|
@@ -25,6 +40,7 @@ AccountLogin.flags = {
|
|
|
25
40
|
}),
|
|
26
41
|
};
|
|
27
42
|
AccountLogin.contextDefinition = {
|
|
43
|
+
..._a.ContextOptions.MaybeLoggedIn,
|
|
28
44
|
..._a.ContextOptions.SessionManagment,
|
|
29
45
|
};
|
|
30
46
|
exports.default = AccountLogin;
|
|
@@ -3,6 +3,7 @@ export default class AccountView extends EasCommand {
|
|
|
3
3
|
static description: string;
|
|
4
4
|
static aliases: string[];
|
|
5
5
|
static contextDefinition: {
|
|
6
|
+
sessionManager: import("../../commandUtils/context/SessionManagementContextField").default;
|
|
6
7
|
maybeLoggedIn: import("../../commandUtils/context/MaybeLoggedInContextField").default;
|
|
7
8
|
};
|
|
8
9
|
runAsync(): Promise<void>;
|
|
@@ -10,9 +10,12 @@ const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
|
10
10
|
const User_1 = require("../../user/User");
|
|
11
11
|
class AccountView extends EasCommand_1.default {
|
|
12
12
|
async runAsync() {
|
|
13
|
-
const { maybeLoggedIn: { actor }, } = await this.getContextAsync(_a, { nonInteractive: true });
|
|
13
|
+
const { maybeLoggedIn: { actor }, sessionManager, } = await this.getContextAsync(_a, { nonInteractive: true });
|
|
14
14
|
if (actor) {
|
|
15
|
-
|
|
15
|
+
const loggedInAs = sessionManager.getAccessToken()
|
|
16
|
+
? `${(0, User_1.getActorDisplayName)(actor)} (authenticated using EXPO_TOKEN)`
|
|
17
|
+
: (0, User_1.getActorDisplayName)(actor);
|
|
18
|
+
log_1.default.log(chalk_1.default.green(loggedInAs));
|
|
16
19
|
// personal account is included, only show if more accounts that personal account
|
|
17
20
|
// but do show personal account in list if there are more
|
|
18
21
|
const accountExcludingPersonalAccount = actor.accounts.filter(account => !('username' in actor) || account.name !== actor.username);
|
|
@@ -58,5 +61,6 @@ AccountView.description = 'show the username you are logged in as';
|
|
|
58
61
|
AccountView.aliases = ['whoami'];
|
|
59
62
|
AccountView.contextDefinition = {
|
|
60
63
|
..._a.ContextOptions.MaybeLoggedIn,
|
|
64
|
+
..._a.ContextOptions.SessionManagment,
|
|
61
65
|
};
|
|
62
66
|
exports.default = AccountView;
|
|
@@ -12,6 +12,7 @@ export default class UpdatePublish extends EasCommand {
|
|
|
12
12
|
'input-dir': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
13
13
|
'skip-bundler': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
14
14
|
'clear-cache': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
|
+
'emit-metadata': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
15
16
|
platform: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
16
17
|
auto: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
17
18
|
'private-key-path': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
@@ -32,7 +32,7 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
32
32
|
async runAsync() {
|
|
33
33
|
const { flags: rawFlags } = await this.parse(_a);
|
|
34
34
|
const paginatedQueryOptions = (0, pagination_1.getPaginatedQueryOptions)(rawFlags);
|
|
35
|
-
const { auto: autoFlag, platform: platformFlag, channelName: channelNameArg, updateMessage: updateMessageArg, inputDir, skipBundler, clearCache, privateKeyPath, json: jsonFlag, nonInteractive, branchName: branchNameArg, } = this.sanitizeFlags(rawFlags);
|
|
35
|
+
const { auto: autoFlag, platform: platformFlag, channelName: channelNameArg, updateMessage: updateMessageArg, inputDir, skipBundler, clearCache, privateKeyPath, json: jsonFlag, nonInteractive, branchName: branchNameArg, emitMetadata, } = this.sanitizeFlags(rawFlags);
|
|
36
36
|
const { getDynamicPublicProjectConfigAsync, getDynamicPrivateProjectConfigAsync, loggedIn: { graphqlClient }, vcsClient, } = await this.getContextAsync(_a, {
|
|
37
37
|
nonInteractive,
|
|
38
38
|
});
|
|
@@ -246,6 +246,10 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
246
246
|
publishSpinner.fail('Failed to publish updates');
|
|
247
247
|
throw e;
|
|
248
248
|
}
|
|
249
|
+
if (!skipBundler && emitMetadata) {
|
|
250
|
+
log_1.default.log('Generating eas-update-metadata.json');
|
|
251
|
+
await (0, publish_1.generateEasMetadataAsync)(distRoot, (0, utils_1.getUpdateJsonInfosForUpdates)(newUpdates));
|
|
252
|
+
}
|
|
249
253
|
if (jsonFlag) {
|
|
250
254
|
(0, json_1.printJsonOnlyOutput)((0, utils_1.getUpdateJsonInfosForUpdates)(newUpdates));
|
|
251
255
|
}
|
|
@@ -318,17 +322,24 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
318
322
|
log_1.default.newLine();
|
|
319
323
|
core_1.Errors.error('--group and --republish flags are deprecated', { exit: 1 });
|
|
320
324
|
}
|
|
325
|
+
const skipBundler = flags['skip-bundler'] ?? false;
|
|
326
|
+
let emitMetadata = flags['emit-metadata'] ?? false;
|
|
327
|
+
if (skipBundler && emitMetadata) {
|
|
328
|
+
emitMetadata = false;
|
|
329
|
+
log_1.default.warn('ignoring flag --emit-metadata as metadata cannot be generated when skipping bundle generation');
|
|
330
|
+
}
|
|
321
331
|
return {
|
|
322
332
|
auto,
|
|
323
333
|
branchName,
|
|
324
334
|
channelName,
|
|
325
335
|
updateMessage,
|
|
326
336
|
inputDir: flags['input-dir'],
|
|
327
|
-
skipBundler
|
|
337
|
+
skipBundler,
|
|
328
338
|
clearCache: flags['clear-cache'],
|
|
329
339
|
platform: flags.platform,
|
|
330
340
|
privateKeyPath: flags['private-key-path'],
|
|
331
341
|
nonInteractive,
|
|
342
|
+
emitMetadata,
|
|
332
343
|
json: flags.json ?? false,
|
|
333
344
|
};
|
|
334
345
|
}
|
|
@@ -370,6 +381,10 @@ UpdatePublish.flags = {
|
|
|
370
381
|
description: `Clear the bundler cache before publishing`,
|
|
371
382
|
default: false,
|
|
372
383
|
}),
|
|
384
|
+
'emit-metadata': core_1.Flags.boolean({
|
|
385
|
+
description: `Emit "eas-update-metadata.json" in the bundle folder with detailed information about the generated updates`,
|
|
386
|
+
default: false,
|
|
387
|
+
}),
|
|
373
388
|
platform: core_1.Flags.enum({
|
|
374
389
|
char: 'p',
|
|
375
390
|
options: [
|
|
@@ -6,6 +6,7 @@ import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGr
|
|
|
6
6
|
import { PaginatedQueryOptions } from '../commandUtils/pagination';
|
|
7
7
|
import { PartialManifestAsset } from '../graphql/generated';
|
|
8
8
|
import { RequestedPlatform } from '../platform';
|
|
9
|
+
import { UpdateJsonInfo } from '../update/utils';
|
|
9
10
|
import { Client } from '../vcs/vcs';
|
|
10
11
|
export type ExpoCLIExportPlatformFlag = Platform | 'all';
|
|
11
12
|
type Metadata = {
|
|
@@ -80,6 +81,7 @@ export declare function resolveInputDirectoryAsync(inputDir: string, { skipBundl
|
|
|
80
81
|
skipBundler?: boolean;
|
|
81
82
|
}): Promise<string>;
|
|
82
83
|
export declare function loadMetadata(distRoot: string): Metadata;
|
|
84
|
+
export declare function generateEasMetadataAsync(distRoot: string, metadata: UpdateJsonInfo[]): Promise<void>;
|
|
83
85
|
export declare function filterExportedPlatformsByFlag<T extends Partial<Record<Platform, any>>>(record: T, platformFlag: ExpoCLIExportPlatformFlag): T;
|
|
84
86
|
/** Try to load the asset map for logging the names of assets published */
|
|
85
87
|
export declare function loadAssetMapAsync(distRoot: string): Promise<AssetMap | null>;
|
package/build/project/publish.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.platformDisplayNames = exports.getRuntimeToPlatformMappingFromRuntimeVersions = exports.getRuntimeVersionObjectAsync = exports.getRequestedPlatform = exports.defaultPublishPlatforms = exports.getUpdateMessageForCommandAsync = exports.getBranchNameForCommandAsync = exports.isUploadedAssetCountAboveWarningThreshold = exports.uploadAssetsAsync = exports.filterOutAssetsThatAlreadyExistAsync = exports.collectAssetsAsync = exports.getOriginalPathFromAssetMap = exports.getAssetHashFromPath = exports.loadAssetMapAsync = exports.filterExportedPlatformsByFlag = exports.loadMetadata = exports.resolveInputDirectoryAsync = exports.buildBundlesAsync = exports.buildUnsortedUpdateInfoGroupAsync = exports.convertAssetToUpdateInfoGroupFormatAsync = exports.getStorageKeyForAssetAsync = exports.getStorageKey = exports.getBase64URLEncoding = exports.guessContentTypeFromExtension = exports.MetadataJoi = void 0;
|
|
3
|
+
exports.platformDisplayNames = exports.getRuntimeToPlatformMappingFromRuntimeVersions = exports.getRuntimeVersionObjectAsync = exports.getRequestedPlatform = exports.defaultPublishPlatforms = exports.getUpdateMessageForCommandAsync = exports.getBranchNameForCommandAsync = exports.isUploadedAssetCountAboveWarningThreshold = exports.uploadAssetsAsync = exports.filterOutAssetsThatAlreadyExistAsync = exports.collectAssetsAsync = exports.getOriginalPathFromAssetMap = exports.getAssetHashFromPath = exports.loadAssetMapAsync = exports.filterExportedPlatformsByFlag = exports.generateEasMetadataAsync = exports.loadMetadata = exports.resolveInputDirectoryAsync = exports.buildBundlesAsync = exports.buildUnsortedUpdateInfoGroupAsync = exports.convertAssetToUpdateInfoGroupFormatAsync = exports.getStorageKeyForAssetAsync = exports.getStorageKey = exports.getBase64URLEncoding = exports.guessContentTypeFromExtension = exports.MetadataJoi = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const config_plugins_1 = require("@expo/config-plugins");
|
|
6
6
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
@@ -203,6 +203,11 @@ function loadMetadata(distRoot) {
|
|
|
203
203
|
return metadata;
|
|
204
204
|
}
|
|
205
205
|
exports.loadMetadata = loadMetadata;
|
|
206
|
+
async function generateEasMetadataAsync(distRoot, metadata) {
|
|
207
|
+
const easMetadataPath = path_1.default.join(distRoot, 'eas-update-metadata.json');
|
|
208
|
+
await json_file_1.default.writeAsync(easMetadataPath, { updates: metadata });
|
|
209
|
+
}
|
|
210
|
+
exports.generateEasMetadataAsync = generateEasMetadataAsync;
|
|
206
211
|
function filterExportedPlatformsByFlag(record, platformFlag) {
|
|
207
212
|
if (platformFlag === 'all') {
|
|
208
213
|
return record;
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "10.
|
|
2
|
+
"version": "10.2.1",
|
|
3
3
|
"commands": {
|
|
4
4
|
"analytics": {
|
|
5
5
|
"id": "analytics",
|
|
@@ -234,6 +234,7 @@
|
|
|
234
234
|
},
|
|
235
235
|
"args": {},
|
|
236
236
|
"contextDefinition": {
|
|
237
|
+
"maybeLoggedIn": {},
|
|
237
238
|
"sessionManager": {}
|
|
238
239
|
}
|
|
239
240
|
},
|
|
@@ -266,7 +267,8 @@
|
|
|
266
267
|
"flags": {},
|
|
267
268
|
"args": {},
|
|
268
269
|
"contextDefinition": {
|
|
269
|
-
"maybeLoggedIn": {}
|
|
270
|
+
"maybeLoggedIn": {},
|
|
271
|
+
"sessionManager": {}
|
|
270
272
|
}
|
|
271
273
|
},
|
|
272
274
|
"branch:create": {
|
|
@@ -2299,6 +2301,12 @@
|
|
|
2299
2301
|
"description": "Clear the bundler cache before publishing",
|
|
2300
2302
|
"allowNo": false
|
|
2301
2303
|
},
|
|
2304
|
+
"emit-metadata": {
|
|
2305
|
+
"name": "emit-metadata",
|
|
2306
|
+
"type": "boolean",
|
|
2307
|
+
"description": "Emit \"eas-update-metadata.json\" in the bundle folder with detailed information about the generated updates",
|
|
2308
|
+
"allowNo": false
|
|
2309
|
+
},
|
|
2302
2310
|
"platform": {
|
|
2303
2311
|
"name": "platform",
|
|
2304
2312
|
"type": "option",
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
3
|
"description": "EAS command line tool",
|
|
4
|
-
"version": "10.
|
|
4
|
+
"version": "10.2.1",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eas": "./bin/run"
|
|
8
8
|
},
|
|
9
9
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@expo/apple-utils": "1.7.
|
|
11
|
+
"@expo/apple-utils": "1.7.1",
|
|
12
12
|
"@expo/code-signing-certificates": "0.0.5",
|
|
13
13
|
"@expo/config": "8.5.4",
|
|
14
14
|
"@expo/config-plugins": "7.8.4",
|
|
@@ -223,5 +223,5 @@
|
|
|
223
223
|
"node": "20.11.0",
|
|
224
224
|
"yarn": "1.22.21"
|
|
225
225
|
},
|
|
226
|
-
"gitHead": "
|
|
226
|
+
"gitHead": "4a82ac90d35ec2ff0cb838cefc5472cb1bf0683d"
|
|
227
227
|
}
|