eas-cli 5.9.2 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -57
- package/build/build/graphql.js +1 -7
- package/build/build/local.js +1 -1
- package/build/commands/update/index.js +5 -2
- package/build/commands/update/roll-back-to-embedded.js +2 -2
- package/build/commands/update/view.js +1 -1
- package/build/project/publish.d.ts +3 -1
- package/build/project/publish.js +17 -9
- package/build/update/utils.d.ts +1 -1
- package/build/update/utils.js +4 -4
- package/build/vcs/clients/git.d.ts +1 -0
- package/build/vcs/clients/git.js +3 -0
- package/build/vcs/clients/noVcs.d.ts +1 -0
- package/build/vcs/clients/noVcs.js +3 -0
- package/build/vcs/vcs.d.ts +5 -0
- package/oclif.manifest.json +1 -1
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -135,7 +135,7 @@ ALIASES
|
|
|
135
135
|
$ eas login
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/
|
|
138
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/account/login.ts)_
|
|
139
139
|
|
|
140
140
|
## `eas account:logout`
|
|
141
141
|
|
|
@@ -152,7 +152,7 @@ ALIASES
|
|
|
152
152
|
$ eas logout
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/
|
|
155
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/account/logout.ts)_
|
|
156
156
|
|
|
157
157
|
## `eas account:view`
|
|
158
158
|
|
|
@@ -169,7 +169,7 @@ ALIASES
|
|
|
169
169
|
$ eas whoami
|
|
170
170
|
```
|
|
171
171
|
|
|
172
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/
|
|
172
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/account/view.ts)_
|
|
173
173
|
|
|
174
174
|
## `eas analytics [STATUS]`
|
|
175
175
|
|
|
@@ -183,7 +183,7 @@ DESCRIPTION
|
|
|
183
183
|
display or change analytics settings
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/
|
|
186
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/analytics.ts)_
|
|
187
187
|
|
|
188
188
|
## `eas autocomplete [SHELL]`
|
|
189
189
|
|
|
@@ -235,7 +235,7 @@ DESCRIPTION
|
|
|
235
235
|
create a branch
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/
|
|
238
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/branch/create.ts)_
|
|
239
239
|
|
|
240
240
|
## `eas branch:delete [NAME]`
|
|
241
241
|
|
|
@@ -256,7 +256,7 @@ DESCRIPTION
|
|
|
256
256
|
delete a branch
|
|
257
257
|
```
|
|
258
258
|
|
|
259
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
259
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/branch/delete.ts)_
|
|
260
260
|
|
|
261
261
|
## `eas branch:list`
|
|
262
262
|
|
|
@@ -276,7 +276,7 @@ DESCRIPTION
|
|
|
276
276
|
list all branches
|
|
277
277
|
```
|
|
278
278
|
|
|
279
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/
|
|
279
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/branch/list.ts)_
|
|
280
280
|
|
|
281
281
|
## `eas branch:rename`
|
|
282
282
|
|
|
@@ -296,7 +296,7 @@ DESCRIPTION
|
|
|
296
296
|
rename a branch
|
|
297
297
|
```
|
|
298
298
|
|
|
299
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/
|
|
299
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/branch/rename.ts)_
|
|
300
300
|
|
|
301
301
|
## `eas branch:view [NAME]`
|
|
302
302
|
|
|
@@ -319,7 +319,7 @@ DESCRIPTION
|
|
|
319
319
|
view a branch
|
|
320
320
|
```
|
|
321
321
|
|
|
322
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/
|
|
322
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/branch/view.ts)_
|
|
323
323
|
|
|
324
324
|
## `eas build`
|
|
325
325
|
|
|
@@ -349,7 +349,7 @@ DESCRIPTION
|
|
|
349
349
|
start a build
|
|
350
350
|
```
|
|
351
351
|
|
|
352
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/
|
|
352
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/index.ts)_
|
|
353
353
|
|
|
354
354
|
## `eas build:cancel [BUILD_ID]`
|
|
355
355
|
|
|
@@ -366,7 +366,7 @@ DESCRIPTION
|
|
|
366
366
|
cancel a build
|
|
367
367
|
```
|
|
368
368
|
|
|
369
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/
|
|
369
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/cancel.ts)_
|
|
370
370
|
|
|
371
371
|
## `eas build:configure`
|
|
372
372
|
|
|
@@ -383,7 +383,7 @@ DESCRIPTION
|
|
|
383
383
|
configure the project to support EAS Build
|
|
384
384
|
```
|
|
385
385
|
|
|
386
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/
|
|
386
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/configure.ts)_
|
|
387
387
|
|
|
388
388
|
## `eas build:inspect`
|
|
389
389
|
|
|
@@ -418,7 +418,7 @@ DESCRIPTION
|
|
|
418
418
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
419
419
|
```
|
|
420
420
|
|
|
421
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/
|
|
421
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/inspect.ts)_
|
|
422
422
|
|
|
423
423
|
## `eas build:list`
|
|
424
424
|
|
|
@@ -456,7 +456,7 @@ DESCRIPTION
|
|
|
456
456
|
list all builds for your project
|
|
457
457
|
```
|
|
458
458
|
|
|
459
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/
|
|
459
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/list.ts)_
|
|
460
460
|
|
|
461
461
|
## `eas build:resign`
|
|
462
462
|
|
|
@@ -482,7 +482,7 @@ DESCRIPTION
|
|
|
482
482
|
re-sign a build archive
|
|
483
483
|
```
|
|
484
484
|
|
|
485
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/
|
|
485
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/resign.ts)_
|
|
486
486
|
|
|
487
487
|
## `eas build:run`
|
|
488
488
|
|
|
@@ -508,7 +508,7 @@ DESCRIPTION
|
|
|
508
508
|
run simulator/emulator builds from eas-cli
|
|
509
509
|
```
|
|
510
510
|
|
|
511
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/
|
|
511
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/run.ts)_
|
|
512
512
|
|
|
513
513
|
## `eas build:submit`
|
|
514
514
|
|
|
@@ -557,7 +557,7 @@ DESCRIPTION
|
|
|
557
557
|
get the latest version from EAS servers
|
|
558
558
|
```
|
|
559
559
|
|
|
560
|
-
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/
|
|
560
|
+
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/version/get.ts)_
|
|
561
561
|
|
|
562
562
|
## `eas build:version:set`
|
|
563
563
|
|
|
@@ -576,7 +576,7 @@ DESCRIPTION
|
|
|
576
576
|
update version of an app
|
|
577
577
|
```
|
|
578
578
|
|
|
579
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/
|
|
579
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/version/set.ts)_
|
|
580
580
|
|
|
581
581
|
## `eas build:version:sync`
|
|
582
582
|
|
|
@@ -595,7 +595,7 @@ DESCRIPTION
|
|
|
595
595
|
update a version in native code with a value stored on EAS servers
|
|
596
596
|
```
|
|
597
597
|
|
|
598
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/
|
|
598
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/version/sync.ts)_
|
|
599
599
|
|
|
600
600
|
## `eas build:view [BUILD_ID]`
|
|
601
601
|
|
|
@@ -612,7 +612,7 @@ DESCRIPTION
|
|
|
612
612
|
view a build for your project
|
|
613
613
|
```
|
|
614
614
|
|
|
615
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/
|
|
615
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/build/view.ts)_
|
|
616
616
|
|
|
617
617
|
## `eas channel:create [NAME]`
|
|
618
618
|
|
|
@@ -633,7 +633,7 @@ DESCRIPTION
|
|
|
633
633
|
create a channel
|
|
634
634
|
```
|
|
635
635
|
|
|
636
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/
|
|
636
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/channel/create.ts)_
|
|
637
637
|
|
|
638
638
|
## `eas channel:edit [NAME]`
|
|
639
639
|
|
|
@@ -655,7 +655,7 @@ DESCRIPTION
|
|
|
655
655
|
point a channel at a new branch
|
|
656
656
|
```
|
|
657
657
|
|
|
658
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/
|
|
658
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/channel/edit.ts)_
|
|
659
659
|
|
|
660
660
|
## `eas channel:list`
|
|
661
661
|
|
|
@@ -675,7 +675,7 @@ DESCRIPTION
|
|
|
675
675
|
list all channels
|
|
676
676
|
```
|
|
677
677
|
|
|
678
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/
|
|
678
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/channel/list.ts)_
|
|
679
679
|
|
|
680
680
|
## `eas channel:rollout [CHANNEL]`
|
|
681
681
|
|
|
@@ -707,7 +707,7 @@ DESCRIPTION
|
|
|
707
707
|
Roll a new branch out on a channel incrementally.
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/
|
|
710
|
+
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/channel/rollout.ts)_
|
|
711
711
|
|
|
712
712
|
## `eas channel:view [NAME]`
|
|
713
713
|
|
|
@@ -730,7 +730,7 @@ DESCRIPTION
|
|
|
730
730
|
view a channel
|
|
731
731
|
```
|
|
732
732
|
|
|
733
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/
|
|
733
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/channel/view.ts)_
|
|
734
734
|
|
|
735
735
|
## `eas config`
|
|
736
736
|
|
|
@@ -751,7 +751,7 @@ DESCRIPTION
|
|
|
751
751
|
display project configuration (app.json + eas.json)
|
|
752
752
|
```
|
|
753
753
|
|
|
754
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/
|
|
754
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/config.ts)_
|
|
755
755
|
|
|
756
756
|
## `eas credentials`
|
|
757
757
|
|
|
@@ -768,7 +768,7 @@ DESCRIPTION
|
|
|
768
768
|
manage credentials
|
|
769
769
|
```
|
|
770
770
|
|
|
771
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/
|
|
771
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/credentials.ts)_
|
|
772
772
|
|
|
773
773
|
## `eas device:create`
|
|
774
774
|
|
|
@@ -782,7 +782,7 @@ DESCRIPTION
|
|
|
782
782
|
register new Apple Devices to use for internal distribution
|
|
783
783
|
```
|
|
784
784
|
|
|
785
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/
|
|
785
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/device/create.ts)_
|
|
786
786
|
|
|
787
787
|
## `eas device:delete`
|
|
788
788
|
|
|
@@ -802,7 +802,7 @@ DESCRIPTION
|
|
|
802
802
|
remove a registered device from your account
|
|
803
803
|
```
|
|
804
804
|
|
|
805
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
805
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/device/delete.ts)_
|
|
806
806
|
|
|
807
807
|
## `eas device:list`
|
|
808
808
|
|
|
@@ -823,7 +823,7 @@ DESCRIPTION
|
|
|
823
823
|
list all registered devices for your account
|
|
824
824
|
```
|
|
825
825
|
|
|
826
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/
|
|
826
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/device/list.ts)_
|
|
827
827
|
|
|
828
828
|
## `eas device:rename`
|
|
829
829
|
|
|
@@ -844,7 +844,7 @@ DESCRIPTION
|
|
|
844
844
|
rename a registered device
|
|
845
845
|
```
|
|
846
846
|
|
|
847
|
-
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/
|
|
847
|
+
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/device/rename.ts)_
|
|
848
848
|
|
|
849
849
|
## `eas device:view [UDID]`
|
|
850
850
|
|
|
@@ -858,7 +858,7 @@ DESCRIPTION
|
|
|
858
858
|
view a device for your project
|
|
859
859
|
```
|
|
860
860
|
|
|
861
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/
|
|
861
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/device/view.ts)_
|
|
862
862
|
|
|
863
863
|
## `eas diagnostics`
|
|
864
864
|
|
|
@@ -872,7 +872,7 @@ DESCRIPTION
|
|
|
872
872
|
display environment info
|
|
873
873
|
```
|
|
874
874
|
|
|
875
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/
|
|
875
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/diagnostics.ts)_
|
|
876
876
|
|
|
877
877
|
## `eas help [COMMAND]`
|
|
878
878
|
|
|
@@ -960,7 +960,7 @@ DESCRIPTION
|
|
|
960
960
|
validate the local store configuration
|
|
961
961
|
```
|
|
962
962
|
|
|
963
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/
|
|
963
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/metadata/lint.ts)_
|
|
964
964
|
|
|
965
965
|
## `eas metadata:pull`
|
|
966
966
|
|
|
@@ -977,7 +977,7 @@ DESCRIPTION
|
|
|
977
977
|
generate the local store configuration from the app stores
|
|
978
978
|
```
|
|
979
979
|
|
|
980
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/
|
|
980
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/metadata/pull.ts)_
|
|
981
981
|
|
|
982
982
|
## `eas metadata:push`
|
|
983
983
|
|
|
@@ -994,7 +994,7 @@ DESCRIPTION
|
|
|
994
994
|
sync the local store configuration to the app stores
|
|
995
995
|
```
|
|
996
996
|
|
|
997
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/
|
|
997
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/metadata/push.ts)_
|
|
998
998
|
|
|
999
999
|
## `eas open`
|
|
1000
1000
|
|
|
@@ -1008,7 +1008,7 @@ DESCRIPTION
|
|
|
1008
1008
|
open the project page in a web browser
|
|
1009
1009
|
```
|
|
1010
1010
|
|
|
1011
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/
|
|
1011
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/open.ts)_
|
|
1012
1012
|
|
|
1013
1013
|
## `eas project:info`
|
|
1014
1014
|
|
|
@@ -1022,7 +1022,7 @@ DESCRIPTION
|
|
|
1022
1022
|
information about the current project
|
|
1023
1023
|
```
|
|
1024
1024
|
|
|
1025
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/
|
|
1025
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/project/info.ts)_
|
|
1026
1026
|
|
|
1027
1027
|
## `eas project:init`
|
|
1028
1028
|
|
|
@@ -1044,7 +1044,7 @@ ALIASES
|
|
|
1044
1044
|
$ eas init
|
|
1045
1045
|
```
|
|
1046
1046
|
|
|
1047
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/
|
|
1047
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/project/init.ts)_
|
|
1048
1048
|
|
|
1049
1049
|
## `eas secret:create`
|
|
1050
1050
|
|
|
@@ -1067,7 +1067,7 @@ DESCRIPTION
|
|
|
1067
1067
|
create an environment secret on the current project or owner account
|
|
1068
1068
|
```
|
|
1069
1069
|
|
|
1070
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/
|
|
1070
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/secret/create.ts)_
|
|
1071
1071
|
|
|
1072
1072
|
## `eas secret:delete`
|
|
1073
1073
|
|
|
@@ -1085,7 +1085,7 @@ DESCRIPTION
|
|
|
1085
1085
|
delete an environment secret by ID
|
|
1086
1086
|
```
|
|
1087
1087
|
|
|
1088
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1088
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/secret/delete.ts)_
|
|
1089
1089
|
|
|
1090
1090
|
## `eas secret:list`
|
|
1091
1091
|
|
|
@@ -1099,7 +1099,7 @@ DESCRIPTION
|
|
|
1099
1099
|
list environment secrets available for your current app
|
|
1100
1100
|
```
|
|
1101
1101
|
|
|
1102
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1102
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/secret/list.ts)_
|
|
1103
1103
|
|
|
1104
1104
|
## `eas secret:push`
|
|
1105
1105
|
|
|
@@ -1119,7 +1119,7 @@ DESCRIPTION
|
|
|
1119
1119
|
read environment secrets from env file and store on the server
|
|
1120
1120
|
```
|
|
1121
1121
|
|
|
1122
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/
|
|
1122
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/secret/push.ts)_
|
|
1123
1123
|
|
|
1124
1124
|
## `eas submit`
|
|
1125
1125
|
|
|
@@ -1149,7 +1149,7 @@ ALIASES
|
|
|
1149
1149
|
$ eas build:submit
|
|
1150
1150
|
```
|
|
1151
1151
|
|
|
1152
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/
|
|
1152
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/submit.ts)_
|
|
1153
1153
|
|
|
1154
1154
|
## `eas update`
|
|
1155
1155
|
|
|
@@ -1183,7 +1183,7 @@ DESCRIPTION
|
|
|
1183
1183
|
publish an update group
|
|
1184
1184
|
```
|
|
1185
1185
|
|
|
1186
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/
|
|
1186
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/update/index.ts)_
|
|
1187
1187
|
|
|
1188
1188
|
## `eas update:configure`
|
|
1189
1189
|
|
|
@@ -1201,7 +1201,7 @@ DESCRIPTION
|
|
|
1201
1201
|
configure the project to support EAS Update
|
|
1202
1202
|
```
|
|
1203
1203
|
|
|
1204
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/
|
|
1204
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/update/configure.ts)_
|
|
1205
1205
|
|
|
1206
1206
|
## `eas update:delete GROUPID`
|
|
1207
1207
|
|
|
@@ -1222,7 +1222,7 @@ DESCRIPTION
|
|
|
1222
1222
|
delete all the updates in an update group
|
|
1223
1223
|
```
|
|
1224
1224
|
|
|
1225
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1225
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/update/delete.ts)_
|
|
1226
1226
|
|
|
1227
1227
|
## `eas update:list`
|
|
1228
1228
|
|
|
@@ -1244,7 +1244,7 @@ DESCRIPTION
|
|
|
1244
1244
|
view the recent updates
|
|
1245
1245
|
```
|
|
1246
1246
|
|
|
1247
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1247
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/update/list.ts)_
|
|
1248
1248
|
|
|
1249
1249
|
## `eas update:republish`
|
|
1250
1250
|
|
|
@@ -1271,7 +1271,7 @@ DESCRIPTION
|
|
|
1271
1271
|
roll back to an existing update
|
|
1272
1272
|
```
|
|
1273
1273
|
|
|
1274
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/
|
|
1274
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/update/republish.ts)_
|
|
1275
1275
|
|
|
1276
1276
|
## `eas update:roll-back-to-embedded`
|
|
1277
1277
|
|
|
@@ -1298,7 +1298,7 @@ DESCRIPTION
|
|
|
1298
1298
|
roll back to the embedded update
|
|
1299
1299
|
```
|
|
1300
1300
|
|
|
1301
|
-
_See code: [src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/
|
|
1301
|
+
_See code: [src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/update/roll-back-to-embedded.ts)_
|
|
1302
1302
|
|
|
1303
1303
|
## `eas update:rollback`
|
|
1304
1304
|
|
|
@@ -1317,7 +1317,7 @@ DESCRIPTION
|
|
|
1317
1317
|
roll back to an embedded update or an existing update
|
|
1318
1318
|
```
|
|
1319
1319
|
|
|
1320
|
-
_See code: [src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/
|
|
1320
|
+
_See code: [src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/update/rollback.ts)_
|
|
1321
1321
|
|
|
1322
1322
|
## `eas update:view GROUPID`
|
|
1323
1323
|
|
|
@@ -1337,7 +1337,7 @@ DESCRIPTION
|
|
|
1337
1337
|
update group details
|
|
1338
1338
|
```
|
|
1339
1339
|
|
|
1340
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/
|
|
1340
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/update/view.ts)_
|
|
1341
1341
|
|
|
1342
1342
|
## `eas webhook:create`
|
|
1343
1343
|
|
|
@@ -1358,7 +1358,7 @@ DESCRIPTION
|
|
|
1358
1358
|
create a webhook
|
|
1359
1359
|
```
|
|
1360
1360
|
|
|
1361
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/
|
|
1361
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/webhook/create.ts)_
|
|
1362
1362
|
|
|
1363
1363
|
## `eas webhook:delete [ID]`
|
|
1364
1364
|
|
|
@@ -1378,7 +1378,7 @@ DESCRIPTION
|
|
|
1378
1378
|
delete a webhook
|
|
1379
1379
|
```
|
|
1380
1380
|
|
|
1381
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1381
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/webhook/delete.ts)_
|
|
1382
1382
|
|
|
1383
1383
|
## `eas webhook:list`
|
|
1384
1384
|
|
|
@@ -1396,7 +1396,7 @@ DESCRIPTION
|
|
|
1396
1396
|
list webhooks
|
|
1397
1397
|
```
|
|
1398
1398
|
|
|
1399
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1399
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/webhook/list.ts)_
|
|
1400
1400
|
|
|
1401
1401
|
## `eas webhook:update`
|
|
1402
1402
|
|
|
@@ -1418,7 +1418,7 @@ DESCRIPTION
|
|
|
1418
1418
|
update a webhook
|
|
1419
1419
|
```
|
|
1420
1420
|
|
|
1421
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/
|
|
1421
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/webhook/update.ts)_
|
|
1422
1422
|
|
|
1423
1423
|
## `eas webhook:view ID`
|
|
1424
1424
|
|
|
@@ -1435,7 +1435,7 @@ DESCRIPTION
|
|
|
1435
1435
|
view a webhook
|
|
1436
1436
|
```
|
|
1437
1437
|
|
|
1438
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/
|
|
1438
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v6.0.0/src/commands/webhook/view.ts)_
|
|
1439
1439
|
|
|
1440
1440
|
## `eas whoami`
|
|
1441
1441
|
|
package/build/build/graphql.js
CHANGED
|
@@ -6,13 +6,7 @@ const eas_build_job_1 = require("@expo/eas-build-job");
|
|
|
6
6
|
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
7
7
|
const generated_1 = require("../graphql/generated");
|
|
8
8
|
function transformProjectArchive(archiveSource) {
|
|
9
|
-
if (archiveSource.type === eas_build_job_1.ArchiveSourceType.
|
|
10
|
-
return {
|
|
11
|
-
type: generated_1.ProjectArchiveSourceType.S3,
|
|
12
|
-
bucketKey: archiveSource.bucketKey,
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
else if (archiveSource.type === eas_build_job_1.ArchiveSourceType.GCS) {
|
|
9
|
+
if (archiveSource.type === eas_build_job_1.ArchiveSourceType.GCS) {
|
|
16
10
|
return {
|
|
17
11
|
type: generated_1.ProjectArchiveSourceType.Gcs,
|
|
18
12
|
bucketKey: archiveSource.bucketKey,
|
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.56';
|
|
10
10
|
var LocalBuildMode;
|
|
11
11
|
(function (LocalBuildMode) {
|
|
12
12
|
/**
|
|
@@ -239,8 +239,11 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
239
239
|
publishSpinner.fail('Failed to publish updates');
|
|
240
240
|
throw e;
|
|
241
241
|
}
|
|
242
|
+
if (!skipBundler) {
|
|
243
|
+
await (0, publish_1.generateEasMetadataAsync)(distRoot, (0, utils_1.getUpdateJsonInfosForUpdates)(newUpdates));
|
|
244
|
+
}
|
|
242
245
|
if (jsonFlag) {
|
|
243
|
-
(0, json_1.printJsonOnlyOutput)((0, utils_1.
|
|
246
|
+
(0, json_1.printJsonOnlyOutput)((0, utils_1.getUpdateJsonInfosForUpdates)(newUpdates));
|
|
244
247
|
}
|
|
245
248
|
else {
|
|
246
249
|
if (new Set(newUpdates.map(update => update.group)).size > 1) {
|
|
@@ -270,7 +273,7 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
270
273
|
? [{ label: 'Android update ID', value: newAndroidUpdate.id }]
|
|
271
274
|
: []),
|
|
272
275
|
...(newIosUpdate ? [{ label: 'iOS update ID', value: newIosUpdate.id }] : []),
|
|
273
|
-
{ label: 'Message', value: updateMessage },
|
|
276
|
+
{ label: 'Message', value: updateMessage !== null && updateMessage !== void 0 ? updateMessage : '' },
|
|
274
277
|
...(gitCommitHash
|
|
275
278
|
? [
|
|
276
279
|
{
|
|
@@ -102,7 +102,7 @@ class UpdateRollBackToEmbedded extends EasCommand_1.default {
|
|
|
102
102
|
throw e;
|
|
103
103
|
}
|
|
104
104
|
if (jsonFlag) {
|
|
105
|
-
(0, json_1.printJsonOnlyOutput)((0, utils_1.
|
|
105
|
+
(0, json_1.printJsonOnlyOutput)((0, utils_1.getUpdateJsonInfosForUpdates)(newUpdates));
|
|
106
106
|
}
|
|
107
107
|
else {
|
|
108
108
|
if (new Set(newUpdates.map(update => update.group)).size > 1) {
|
|
@@ -132,7 +132,7 @@ class UpdateRollBackToEmbedded extends EasCommand_1.default {
|
|
|
132
132
|
? [{ label: 'Android update ID', value: newAndroidUpdate.id }]
|
|
133
133
|
: []),
|
|
134
134
|
...(newIosUpdate ? [{ label: 'iOS update ID', value: newIosUpdate.id }] : []),
|
|
135
|
-
{ label: 'Message', value: updateMessage },
|
|
135
|
+
{ label: 'Message', value: updateMessage !== null && updateMessage !== void 0 ? updateMessage : '' },
|
|
136
136
|
...(gitCommitHash
|
|
137
137
|
? [
|
|
138
138
|
{
|
|
@@ -18,7 +18,7 @@ class UpdateView extends EasCommand_1.default {
|
|
|
18
18
|
}
|
|
19
19
|
const updatesByGroup = await UpdateQuery_1.UpdateQuery.viewUpdateGroupAsync(graphqlClient, { groupId });
|
|
20
20
|
if (jsonFlag) {
|
|
21
|
-
(0, json_1.printJsonOnlyOutput)((0, utils_1.
|
|
21
|
+
(0, json_1.printJsonOnlyOutput)((0, utils_1.getUpdateJsonInfosForUpdates)(updatesByGroup));
|
|
22
22
|
}
|
|
23
23
|
else {
|
|
24
24
|
const [updateGroupDescription] = (0, utils_1.getUpdateGroupDescriptions)([updatesByGroup]);
|
|
@@ -5,6 +5,7 @@ import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGr
|
|
|
5
5
|
import { PaginatedQueryOptions } from '../commandUtils/pagination';
|
|
6
6
|
import { PartialManifestAsset } from '../graphql/generated';
|
|
7
7
|
import { RequestedPlatform } from '../platform';
|
|
8
|
+
import { UpdateJsonInfo } from '../update/utils';
|
|
8
9
|
import { Client } from '../vcs/vcs';
|
|
9
10
|
export type ExpoCLIExportPlatformFlag = Platform | 'all';
|
|
10
11
|
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>;
|
|
@@ -133,7 +135,7 @@ export declare function getUpdateMessageForCommandAsync(vcsClient: Client, { upd
|
|
|
133
135
|
autoFlag: boolean;
|
|
134
136
|
nonInteractive: boolean;
|
|
135
137
|
jsonFlag: boolean;
|
|
136
|
-
}): Promise<string>;
|
|
138
|
+
}): Promise<string | undefined>;
|
|
137
139
|
export declare const defaultPublishPlatforms: Platform[];
|
|
138
140
|
export declare function getRequestedPlatform(platform: ExpoCLIExportPlatformFlag): RequestedPlatform | null;
|
|
139
141
|
/** Get runtime versions grouped by platform. Runtime version is always `null` on web where the platform is always backwards compatible. */
|
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");
|
|
@@ -208,6 +208,11 @@ function loadMetadata(distRoot) {
|
|
|
208
208
|
return metadata;
|
|
209
209
|
}
|
|
210
210
|
exports.loadMetadata = loadMetadata;
|
|
211
|
+
async function generateEasMetadataAsync(distRoot, metadata) {
|
|
212
|
+
const easMetadataPath = path_1.default.join(distRoot, 'eas-update-metadata.json');
|
|
213
|
+
await json_file_1.default.writeAsync(easMetadataPath, { updates: metadata });
|
|
214
|
+
}
|
|
215
|
+
exports.generateEasMetadataAsync = generateEasMetadataAsync;
|
|
211
216
|
function filterExportedPlatformsByFlag(record, platformFlag) {
|
|
212
217
|
if (platformFlag === 'all') {
|
|
213
218
|
return record;
|
|
@@ -422,23 +427,26 @@ async function getUpdateMessageForCommandAsync(vcsClient, { updateMessageArg, au
|
|
|
422
427
|
updateMessage = (_a = (await vcsClient.getLastCommitMessageAsync())) === null || _a === void 0 ? void 0 : _a.trim();
|
|
423
428
|
}
|
|
424
429
|
if (!updateMessage) {
|
|
425
|
-
if (nonInteractive) {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
throw new Error(validationMessage);
|
|
430
|
+
if (nonInteractive || jsonFlag) {
|
|
431
|
+
if (vcsClient.canGetLastCommitMessage()) {
|
|
432
|
+
throw new Error('Must supply --message or use --auto when in non-interactive mode and VCS is available');
|
|
433
|
+
}
|
|
434
|
+
return undefined;
|
|
431
435
|
}
|
|
432
436
|
const { updateMessageLocal } = await (0, prompts_1.promptAsync)({
|
|
433
437
|
type: 'text',
|
|
434
438
|
name: 'updateMessageLocal',
|
|
435
439
|
message: `Provide an update message:`,
|
|
436
440
|
initial: (_b = (await vcsClient.getLastCommitMessageAsync())) === null || _b === void 0 ? void 0 : _b.trim(),
|
|
437
|
-
validate: (value) => (value ? true : validationMessage),
|
|
438
441
|
});
|
|
442
|
+
if (!updateMessageLocal) {
|
|
443
|
+
return undefined;
|
|
444
|
+
}
|
|
439
445
|
updateMessage = updateMessageLocal;
|
|
440
446
|
}
|
|
441
|
-
|
|
447
|
+
if (!updateMessage) {
|
|
448
|
+
return undefined;
|
|
449
|
+
}
|
|
442
450
|
const truncatedMessage = (0, utils_2.truncateString)(updateMessage, 1024);
|
|
443
451
|
if (truncatedMessage !== updateMessage) {
|
|
444
452
|
log_1.default.warn('Update message exceeds the allowed 1024 character limit. Truncating message...');
|
package/build/update/utils.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare function truncateString(originalMessage: string, length?: number)
|
|
|
49
49
|
export declare function formatUpdateMessage(update: FormatUpdateParameter): string;
|
|
50
50
|
export declare function ensureValidVersions(exp: ExpoConfig, platform: RequestedPlatform): void;
|
|
51
51
|
export declare function formatUpdateTitle(update: UpdateFragment): string;
|
|
52
|
-
export declare function
|
|
52
|
+
export declare function getUpdateJsonInfosForUpdates(updates: UpdateFragment[]): UpdateJsonInfo[];
|
|
53
53
|
export declare function getUpdateGroupDescriptions(updateGroups: UpdateFragment[][]): FormattedUpdateGroupDescription[];
|
|
54
54
|
export declare function getUpdateGroupDescriptionsWithBranch(updateGroups: UpdateFragment[][]): FormattedUpdateGroupDescriptionWithBranch[];
|
|
55
55
|
export declare function getBranchDescription(branch: UpdateBranchFragment): FormattedBranchDescription;
|
package/build/update/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateBuildProfileConfigMatchesProjectConfigAsync = exports.checkEASUpdateURLIsSetAsync = exports.getBranchDescription = exports.getUpdateGroupDescriptionsWithBranch = exports.getUpdateGroupDescriptions = exports.
|
|
3
|
+
exports.validateBuildProfileConfigMatchesProjectConfigAsync = exports.checkEASUpdateURLIsSetAsync = exports.getBranchDescription = exports.getUpdateGroupDescriptionsWithBranch = exports.getUpdateGroupDescriptions = exports.getUpdateJsonInfosForUpdates = exports.formatUpdateTitle = exports.ensureValidVersions = exports.formatUpdateMessage = exports.truncateString = exports.formatPlatformForUpdateGroup = exports.getPlatformsForGroup = exports.formatBranch = exports.formatUpdateGroup = exports.UPDATE_COLUMNS_WITH_BRANCH = exports.UPDATE_COLUMNS = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const timeago_js_1 = require("@expo/timeago.js");
|
|
6
6
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
@@ -111,8 +111,8 @@ function formatUpdateTitle(update) {
|
|
|
111
111
|
return `[${(0, dateformat_1.default)(createdAt, 'mmm dd HH:MM')} by ${actorName}, runtimeVersion: ${runtimeVersion}] ${message}`;
|
|
112
112
|
}
|
|
113
113
|
exports.formatUpdateTitle = formatUpdateTitle;
|
|
114
|
-
function
|
|
115
|
-
return
|
|
114
|
+
function getUpdateJsonInfosForUpdates(updates) {
|
|
115
|
+
return updates.map(update => ({
|
|
116
116
|
id: update.id,
|
|
117
117
|
createdAt: update.createdAt,
|
|
118
118
|
group: update.group,
|
|
@@ -125,7 +125,7 @@ function getUpdateGroupJsonInfo(updateGroups) {
|
|
|
125
125
|
gitCommitHash: update.gitCommitHash,
|
|
126
126
|
}));
|
|
127
127
|
}
|
|
128
|
-
exports.
|
|
128
|
+
exports.getUpdateJsonInfosForUpdates = getUpdateJsonInfosForUpdates;
|
|
129
129
|
function getUpdateGroupDescriptions(updateGroups) {
|
|
130
130
|
return updateGroups.map(updateGroup => {
|
|
131
131
|
var _a;
|
|
@@ -17,6 +17,7 @@ export default class GitClient extends Client {
|
|
|
17
17
|
showDiffAsync(): Promise<void>;
|
|
18
18
|
isFileUntrackedAsync(path: string): Promise<boolean>;
|
|
19
19
|
isFileIgnoredAsync(filePath: string): Promise<boolean>;
|
|
20
|
+
canGetLastCommitMessage(): boolean;
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* Checks if git is configured to be case sensitive
|
package/build/vcs/clients/git.js
CHANGED
package/build/vcs/vcs.d.ts
CHANGED
|
@@ -15,4 +15,9 @@ export declare abstract class Client {
|
|
|
15
15
|
getBranchNameAsync(): Promise<string | null>;
|
|
16
16
|
getLastCommitMessageAsync(): Promise<string | null>;
|
|
17
17
|
isFileIgnoredAsync(_filePath: string): Promise<boolean>;
|
|
18
|
+
/**
|
|
19
|
+
* Whether this VCS client can get the last commit message.
|
|
20
|
+
* Used for EAS Update - implementation can be false for noVcs client.
|
|
21
|
+
*/
|
|
22
|
+
abstract canGetLastCommitMessage(): boolean;
|
|
18
23
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
3
|
"description": "EAS command line tool",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eas": "./bin/run"
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"@expo/config": "8.1.2",
|
|
14
14
|
"@expo/config-plugins": "7.2.4",
|
|
15
15
|
"@expo/config-types": "49.0.0",
|
|
16
|
-
"@expo/eas-build-job": "1.0.
|
|
17
|
-
"@expo/eas-json": "
|
|
16
|
+
"@expo/eas-build-job": "1.0.56",
|
|
17
|
+
"@expo/eas-json": "6.0.0",
|
|
18
18
|
"@expo/json-file": "8.2.37",
|
|
19
19
|
"@expo/multipart-body-parser": "1.1.0",
|
|
20
20
|
"@expo/osascript": "2.0.33",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"typescript": "4.9.4"
|
|
119
119
|
},
|
|
120
120
|
"engines": {
|
|
121
|
-
"node": ">=
|
|
121
|
+
"node": ">=16.0.0"
|
|
122
122
|
},
|
|
123
123
|
"files": [
|
|
124
124
|
"/bin",
|
|
@@ -204,20 +204,21 @@
|
|
|
204
204
|
"scripts": {
|
|
205
205
|
"postpack": "rimraf oclif.manifest.json",
|
|
206
206
|
"prepack": "yarn rebuild && node ./scripts/prepack.js",
|
|
207
|
-
"rebuild": "rimraf build && yarn build
|
|
207
|
+
"rebuild": "rimraf build && yarn build",
|
|
208
208
|
"pretarball-ci": "./scripts/pretarball-ci.sh",
|
|
209
209
|
"build": "tsc --project tsconfig.build.json",
|
|
210
|
-
"build-
|
|
210
|
+
"build-allow-unused": "tsc --project tsconfig.allowUnused.json",
|
|
211
211
|
"watch": "yarn build --watch --preserveWatchOutput",
|
|
212
|
-
"
|
|
212
|
+
"watch-allow-unused": "yarn build-allow-unused --watch --preserveWatchOutput",
|
|
213
|
+
"typecheck": "tsc",
|
|
213
214
|
"test": "jest",
|
|
214
215
|
"version": "yarn oclif readme && node scripts/patch-readme && git add README.md",
|
|
215
216
|
"generate-graphql-code": "graphql-codegen --config graphql-codegen.yml",
|
|
216
217
|
"clean": "rimraf dist build tmp node_modules yarn-error.log"
|
|
217
218
|
},
|
|
218
219
|
"volta": {
|
|
219
|
-
"node": "
|
|
220
|
-
"yarn": "1.22.
|
|
220
|
+
"node": "20.11.0",
|
|
221
|
+
"yarn": "1.22.21"
|
|
221
222
|
},
|
|
222
|
-
"gitHead": "
|
|
223
|
+
"gitHead": "51a01d10e9edef86737d54aea2b4bcd14ffe4a7d"
|
|
223
224
|
}
|