eas-cli 3.12.0 → 3.13.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 +58 -57
- package/build/build/context.d.ts +2 -0
- package/build/build/createContext.d.ts +3 -1
- package/build/build/createContext.js +2 -1
- package/build/build/metadata.js +6 -2
- package/build/build/runBuildAndSubmit.js +10 -3
- package/build/commandUtils/EasCommand.d.ts +2 -3
- package/build/commands/update/index.d.ts +1 -0
- package/build/commands/update/index.js +7 -2
- package/build/graphql/generated.d.ts +76 -48
- package/build/graphql/generated.js +10 -2
- package/build/graphql/types/Build.js +1 -0
- package/build/platform.js +1 -1
- package/build/project/customBuildConfig.d.ts +4 -1
- package/build/project/customBuildConfig.js +7 -2
- package/build/project/ios/target.js +3 -0
- package/build/project/publish.d.ts +2 -1
- package/build/project/publish.js +3 -1
- package/build/submit/ArchiveSource.js +12 -0
- package/build/update/ios/UpdatesModule.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ ALIASES
|
|
|
133
133
|
$ eas login
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
136
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
137
137
|
|
|
138
138
|
## `eas account:logout`
|
|
139
139
|
|
|
@@ -150,7 +150,7 @@ ALIASES
|
|
|
150
150
|
$ eas logout
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
153
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
154
154
|
|
|
155
155
|
## `eas account:view`
|
|
156
156
|
|
|
@@ -167,7 +167,7 @@ ALIASES
|
|
|
167
167
|
$ eas whoami
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
170
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
171
171
|
|
|
172
172
|
## `eas analytics [STATUS]`
|
|
173
173
|
|
|
@@ -181,7 +181,7 @@ DESCRIPTION
|
|
|
181
181
|
display or change analytics settings
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
184
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
185
185
|
|
|
186
186
|
## `eas autocomplete [SHELL]`
|
|
187
187
|
|
|
@@ -231,7 +231,7 @@ DESCRIPTION
|
|
|
231
231
|
create a branch
|
|
232
232
|
```
|
|
233
233
|
|
|
234
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
234
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
235
235
|
|
|
236
236
|
## `eas branch:delete [NAME]`
|
|
237
237
|
|
|
@@ -252,7 +252,7 @@ DESCRIPTION
|
|
|
252
252
|
delete a branch
|
|
253
253
|
```
|
|
254
254
|
|
|
255
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
255
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
256
256
|
|
|
257
257
|
## `eas branch:list`
|
|
258
258
|
|
|
@@ -272,7 +272,7 @@ DESCRIPTION
|
|
|
272
272
|
list all branches
|
|
273
273
|
```
|
|
274
274
|
|
|
275
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
275
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
276
276
|
|
|
277
277
|
## `eas branch:rename`
|
|
278
278
|
|
|
@@ -292,7 +292,7 @@ DESCRIPTION
|
|
|
292
292
|
rename a branch
|
|
293
293
|
```
|
|
294
294
|
|
|
295
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
295
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
296
296
|
|
|
297
297
|
## `eas branch:view [NAME]`
|
|
298
298
|
|
|
@@ -315,7 +315,7 @@ DESCRIPTION
|
|
|
315
315
|
view a branch
|
|
316
316
|
```
|
|
317
317
|
|
|
318
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
318
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
319
319
|
|
|
320
320
|
## `eas build`
|
|
321
321
|
|
|
@@ -345,7 +345,7 @@ DESCRIPTION
|
|
|
345
345
|
start a build
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
348
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
349
349
|
|
|
350
350
|
## `eas build:cancel [BUILD_ID]`
|
|
351
351
|
|
|
@@ -362,7 +362,7 @@ DESCRIPTION
|
|
|
362
362
|
cancel a build
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
365
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
366
366
|
|
|
367
367
|
## `eas build:configure`
|
|
368
368
|
|
|
@@ -379,7 +379,7 @@ DESCRIPTION
|
|
|
379
379
|
configure the project to support EAS Build
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
382
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
383
383
|
|
|
384
384
|
## `eas build:inspect`
|
|
385
385
|
|
|
@@ -414,7 +414,7 @@ DESCRIPTION
|
|
|
414
414
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
417
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
418
418
|
|
|
419
419
|
## `eas build:list`
|
|
420
420
|
|
|
@@ -451,7 +451,7 @@ DESCRIPTION
|
|
|
451
451
|
list all builds for your project
|
|
452
452
|
```
|
|
453
453
|
|
|
454
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
454
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
455
455
|
|
|
456
456
|
## `eas build:resign`
|
|
457
457
|
|
|
@@ -477,7 +477,7 @@ DESCRIPTION
|
|
|
477
477
|
re-sign a build archive
|
|
478
478
|
```
|
|
479
479
|
|
|
480
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
480
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/resign.ts)_
|
|
481
481
|
|
|
482
482
|
## `eas build:run`
|
|
483
483
|
|
|
@@ -501,7 +501,7 @@ DESCRIPTION
|
|
|
501
501
|
run simulator/emulator builds from eas-cli
|
|
502
502
|
```
|
|
503
503
|
|
|
504
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
504
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
505
505
|
|
|
506
506
|
## `eas build:submit`
|
|
507
507
|
|
|
@@ -550,7 +550,7 @@ DESCRIPTION
|
|
|
550
550
|
get the latest version from EAS servers
|
|
551
551
|
```
|
|
552
552
|
|
|
553
|
-
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
553
|
+
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/version/get.ts)_
|
|
554
554
|
|
|
555
555
|
## `eas build:version:set`
|
|
556
556
|
|
|
@@ -569,7 +569,7 @@ DESCRIPTION
|
|
|
569
569
|
update version of an app
|
|
570
570
|
```
|
|
571
571
|
|
|
572
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
572
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
573
573
|
|
|
574
574
|
## `eas build:version:sync`
|
|
575
575
|
|
|
@@ -588,7 +588,7 @@ DESCRIPTION
|
|
|
588
588
|
update a version in native code with a value stored on EAS servers
|
|
589
589
|
```
|
|
590
590
|
|
|
591
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
591
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
592
592
|
|
|
593
593
|
## `eas build:view [BUILD_ID]`
|
|
594
594
|
|
|
@@ -605,7 +605,7 @@ DESCRIPTION
|
|
|
605
605
|
view a build for your project
|
|
606
606
|
```
|
|
607
607
|
|
|
608
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
608
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
609
609
|
|
|
610
610
|
## `eas channel:create [NAME]`
|
|
611
611
|
|
|
@@ -626,7 +626,7 @@ DESCRIPTION
|
|
|
626
626
|
create a channel
|
|
627
627
|
```
|
|
628
628
|
|
|
629
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
629
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
630
630
|
|
|
631
631
|
## `eas channel:edit [NAME]`
|
|
632
632
|
|
|
@@ -648,7 +648,7 @@ DESCRIPTION
|
|
|
648
648
|
point a channel at a new branch
|
|
649
649
|
```
|
|
650
650
|
|
|
651
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
651
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
652
652
|
|
|
653
653
|
## `eas channel:list`
|
|
654
654
|
|
|
@@ -668,7 +668,7 @@ DESCRIPTION
|
|
|
668
668
|
list all channels
|
|
669
669
|
```
|
|
670
670
|
|
|
671
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
671
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
672
672
|
|
|
673
673
|
## `eas channel:rollout [CHANNEL]`
|
|
674
674
|
|
|
@@ -692,7 +692,7 @@ DESCRIPTION
|
|
|
692
692
|
Roll a new branch out on a channel incrementally.
|
|
693
693
|
```
|
|
694
694
|
|
|
695
|
-
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
695
|
+
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
696
696
|
|
|
697
697
|
## `eas channel:view [NAME]`
|
|
698
698
|
|
|
@@ -715,7 +715,7 @@ DESCRIPTION
|
|
|
715
715
|
view a channel
|
|
716
716
|
```
|
|
717
717
|
|
|
718
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
718
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
719
719
|
|
|
720
720
|
## `eas config`
|
|
721
721
|
|
|
@@ -736,7 +736,7 @@ DESCRIPTION
|
|
|
736
736
|
display project configuration (app.json + eas.json)
|
|
737
737
|
```
|
|
738
738
|
|
|
739
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
739
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/config.ts)_
|
|
740
740
|
|
|
741
741
|
## `eas credentials`
|
|
742
742
|
|
|
@@ -753,7 +753,7 @@ DESCRIPTION
|
|
|
753
753
|
manage credentials
|
|
754
754
|
```
|
|
755
755
|
|
|
756
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
756
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
757
757
|
|
|
758
758
|
## `eas device:create`
|
|
759
759
|
|
|
@@ -767,7 +767,7 @@ DESCRIPTION
|
|
|
767
767
|
register new Apple Devices to use for internal distribution
|
|
768
768
|
```
|
|
769
769
|
|
|
770
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
770
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
771
771
|
|
|
772
772
|
## `eas device:delete`
|
|
773
773
|
|
|
@@ -787,7 +787,7 @@ DESCRIPTION
|
|
|
787
787
|
remove a registered device from your account
|
|
788
788
|
```
|
|
789
789
|
|
|
790
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
790
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
791
791
|
|
|
792
792
|
## `eas device:list`
|
|
793
793
|
|
|
@@ -808,7 +808,7 @@ DESCRIPTION
|
|
|
808
808
|
list all registered devices for your account
|
|
809
809
|
```
|
|
810
810
|
|
|
811
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
811
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
812
812
|
|
|
813
813
|
## `eas device:rename`
|
|
814
814
|
|
|
@@ -829,7 +829,7 @@ DESCRIPTION
|
|
|
829
829
|
rename a registered device
|
|
830
830
|
```
|
|
831
831
|
|
|
832
|
-
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
832
|
+
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/device/rename.ts)_
|
|
833
833
|
|
|
834
834
|
## `eas device:view [UDID]`
|
|
835
835
|
|
|
@@ -843,7 +843,7 @@ DESCRIPTION
|
|
|
843
843
|
view a device for your project
|
|
844
844
|
```
|
|
845
845
|
|
|
846
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
846
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
847
847
|
|
|
848
848
|
## `eas diagnostics`
|
|
849
849
|
|
|
@@ -857,7 +857,7 @@ DESCRIPTION
|
|
|
857
857
|
display environment info
|
|
858
858
|
```
|
|
859
859
|
|
|
860
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
860
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
861
861
|
|
|
862
862
|
## `eas help [COMMAND]`
|
|
863
863
|
|
|
@@ -945,7 +945,7 @@ DESCRIPTION
|
|
|
945
945
|
validate the local store configuration
|
|
946
946
|
```
|
|
947
947
|
|
|
948
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
948
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
949
949
|
|
|
950
950
|
## `eas metadata:pull`
|
|
951
951
|
|
|
@@ -962,7 +962,7 @@ DESCRIPTION
|
|
|
962
962
|
generate the local store configuration from the app stores
|
|
963
963
|
```
|
|
964
964
|
|
|
965
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
965
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
966
966
|
|
|
967
967
|
## `eas metadata:push`
|
|
968
968
|
|
|
@@ -979,7 +979,7 @@ DESCRIPTION
|
|
|
979
979
|
sync the local store configuration to the app stores
|
|
980
980
|
```
|
|
981
981
|
|
|
982
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
982
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
983
983
|
|
|
984
984
|
## `eas open`
|
|
985
985
|
|
|
@@ -993,7 +993,7 @@ DESCRIPTION
|
|
|
993
993
|
open the project page in a web browser
|
|
994
994
|
```
|
|
995
995
|
|
|
996
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
996
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/open.ts)_
|
|
997
997
|
|
|
998
998
|
## `eas project:info`
|
|
999
999
|
|
|
@@ -1007,7 +1007,7 @@ DESCRIPTION
|
|
|
1007
1007
|
information about the current project
|
|
1008
1008
|
```
|
|
1009
1009
|
|
|
1010
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1010
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
1011
1011
|
|
|
1012
1012
|
## `eas project:init`
|
|
1013
1013
|
|
|
@@ -1029,7 +1029,7 @@ ALIASES
|
|
|
1029
1029
|
$ eas init
|
|
1030
1030
|
```
|
|
1031
1031
|
|
|
1032
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1032
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
1033
1033
|
|
|
1034
1034
|
## `eas secret:create`
|
|
1035
1035
|
|
|
@@ -1052,7 +1052,7 @@ DESCRIPTION
|
|
|
1052
1052
|
create an environment secret on the current project or owner account
|
|
1053
1053
|
```
|
|
1054
1054
|
|
|
1055
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1055
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1056
1056
|
|
|
1057
1057
|
## `eas secret:delete`
|
|
1058
1058
|
|
|
@@ -1070,7 +1070,7 @@ DESCRIPTION
|
|
|
1070
1070
|
delete an environment secret by ID
|
|
1071
1071
|
```
|
|
1072
1072
|
|
|
1073
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1073
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1074
1074
|
|
|
1075
1075
|
## `eas secret:list`
|
|
1076
1076
|
|
|
@@ -1084,7 +1084,7 @@ DESCRIPTION
|
|
|
1084
1084
|
list environment secrets available for your current app
|
|
1085
1085
|
```
|
|
1086
1086
|
|
|
1087
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1087
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1088
1088
|
|
|
1089
1089
|
## `eas secret:push`
|
|
1090
1090
|
|
|
@@ -1104,7 +1104,7 @@ DESCRIPTION
|
|
|
1104
1104
|
read environment secrets from env file and store on the server
|
|
1105
1105
|
```
|
|
1106
1106
|
|
|
1107
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1107
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1108
1108
|
|
|
1109
1109
|
## `eas submit`
|
|
1110
1110
|
|
|
@@ -1134,7 +1134,7 @@ ALIASES
|
|
|
1134
1134
|
$ eas build:submit
|
|
1135
1135
|
```
|
|
1136
1136
|
|
|
1137
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1137
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1138
1138
|
|
|
1139
1139
|
## `eas update`
|
|
1140
1140
|
|
|
@@ -1143,14 +1143,15 @@ publish an update group
|
|
|
1143
1143
|
```
|
|
1144
1144
|
USAGE
|
|
1145
1145
|
$ eas update [--branch <value>] [--channel <value>] [--message <value>] [--republish | --input-dir <value>
|
|
1146
|
-
| --skip-bundler] [--group <value> | | ] [-p android|ios|all] [--auto] [--private-key-path <value>]
|
|
1147
|
-
--non-interactive]
|
|
1146
|
+
| --skip-bundler] [--group <value> | | ] [--clear-cache] [-p android|ios|all] [--auto] [--private-key-path <value>]
|
|
1147
|
+
[--json --non-interactive]
|
|
1148
1148
|
|
|
1149
1149
|
FLAGS
|
|
1150
1150
|
-p, --platform=(android|ios|all) [default: all]
|
|
1151
1151
|
--auto Use the current git branch and commit message for the EAS branch and update message
|
|
1152
1152
|
--branch=<value> Branch to publish the update group on
|
|
1153
1153
|
--channel=<value> Channel that the published update should affect
|
|
1154
|
+
--clear-cache Clear the bundler cache before publishing
|
|
1154
1155
|
--group=<value> Update group to republish (deprecated, see republish command)
|
|
1155
1156
|
--input-dir=<value> [default: dist] Location of the bundle
|
|
1156
1157
|
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
@@ -1166,7 +1167,7 @@ DESCRIPTION
|
|
|
1166
1167
|
publish an update group
|
|
1167
1168
|
```
|
|
1168
1169
|
|
|
1169
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1170
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1170
1171
|
|
|
1171
1172
|
## `eas update:configure`
|
|
1172
1173
|
|
|
@@ -1184,7 +1185,7 @@ DESCRIPTION
|
|
|
1184
1185
|
configure the project to support EAS Update
|
|
1185
1186
|
```
|
|
1186
1187
|
|
|
1187
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1188
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1188
1189
|
|
|
1189
1190
|
## `eas update:delete GROUPID`
|
|
1190
1191
|
|
|
@@ -1205,7 +1206,7 @@ DESCRIPTION
|
|
|
1205
1206
|
delete all the updates in an update group
|
|
1206
1207
|
```
|
|
1207
1208
|
|
|
1208
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1209
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1209
1210
|
|
|
1210
1211
|
## `eas update:list`
|
|
1211
1212
|
|
|
@@ -1227,7 +1228,7 @@ DESCRIPTION
|
|
|
1227
1228
|
view the recent updates
|
|
1228
1229
|
```
|
|
1229
1230
|
|
|
1230
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1231
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1231
1232
|
|
|
1232
1233
|
## `eas update:republish`
|
|
1233
1234
|
|
|
@@ -1251,7 +1252,7 @@ DESCRIPTION
|
|
|
1251
1252
|
roll back to an existing update
|
|
1252
1253
|
```
|
|
1253
1254
|
|
|
1254
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1255
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1255
1256
|
|
|
1256
1257
|
## `eas update:view GROUPID`
|
|
1257
1258
|
|
|
@@ -1271,7 +1272,7 @@ DESCRIPTION
|
|
|
1271
1272
|
update group details
|
|
1272
1273
|
```
|
|
1273
1274
|
|
|
1274
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1275
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1275
1276
|
|
|
1276
1277
|
## `eas webhook:create`
|
|
1277
1278
|
|
|
@@ -1292,7 +1293,7 @@ DESCRIPTION
|
|
|
1292
1293
|
create a webhook
|
|
1293
1294
|
```
|
|
1294
1295
|
|
|
1295
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1296
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1296
1297
|
|
|
1297
1298
|
## `eas webhook:delete [ID]`
|
|
1298
1299
|
|
|
@@ -1312,7 +1313,7 @@ DESCRIPTION
|
|
|
1312
1313
|
delete a webhook
|
|
1313
1314
|
```
|
|
1314
1315
|
|
|
1315
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1316
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1316
1317
|
|
|
1317
1318
|
## `eas webhook:list`
|
|
1318
1319
|
|
|
@@ -1330,7 +1331,7 @@ DESCRIPTION
|
|
|
1330
1331
|
list webhooks
|
|
1331
1332
|
```
|
|
1332
1333
|
|
|
1333
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1334
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1334
1335
|
|
|
1335
1336
|
## `eas webhook:update`
|
|
1336
1337
|
|
|
@@ -1352,7 +1353,7 @@ DESCRIPTION
|
|
|
1352
1353
|
update a webhook
|
|
1353
1354
|
```
|
|
1354
1355
|
|
|
1355
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1356
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1356
1357
|
|
|
1357
1358
|
## `eas webhook:view ID`
|
|
1358
1359
|
|
|
@@ -1369,7 +1370,7 @@ DESCRIPTION
|
|
|
1369
1370
|
view a webhook
|
|
1370
1371
|
```
|
|
1371
1372
|
|
|
1372
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1373
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.13.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1373
1374
|
|
|
1374
1375
|
## `eas whoami`
|
|
1375
1376
|
|
package/build/build/context.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { CredentialsContext } from '../credentials/context';
|
|
|
7
7
|
import { Target } from '../credentials/ios/types';
|
|
8
8
|
import { BuildResourceClass } from '../graphql/generated';
|
|
9
9
|
import { GradleBuildContext } from '../project/android/gradle';
|
|
10
|
+
import { CustomBuildConfigMetadata } from '../project/customBuildConfig';
|
|
10
11
|
import { XcodeBuildContext } from '../project/ios/scheme';
|
|
11
12
|
import { Actor } from '../user/User';
|
|
12
13
|
import { LocalBuildOptions } from './local';
|
|
@@ -46,6 +47,7 @@ export interface BuildContext<T extends Platform> {
|
|
|
46
47
|
graphqlClient: ExpoGraphqlClient;
|
|
47
48
|
analytics: Analytics;
|
|
48
49
|
workflow: Workflow;
|
|
50
|
+
customBuildConfigMetadata?: CustomBuildConfigMetadata;
|
|
49
51
|
android: T extends Platform.ANDROID ? AndroidBuildContext : undefined;
|
|
50
52
|
ios: T extends Platform.IOS ? IosBuildContext : undefined;
|
|
51
53
|
}
|
|
@@ -3,10 +3,11 @@ import { BuildProfile, EasJson, ResourceClass } from '@expo/eas-json';
|
|
|
3
3
|
import { Analytics } from '../analytics/AnalyticsManager';
|
|
4
4
|
import { DynamicConfigContextFn } from '../commandUtils/context/DynamicProjectConfigContextField';
|
|
5
5
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
6
|
+
import { CustomBuildConfigMetadata } from '../project/customBuildConfig';
|
|
6
7
|
import { Actor } from '../user/User';
|
|
7
8
|
import { BuildContext } from './context';
|
|
8
9
|
import { LocalBuildOptions } from './local';
|
|
9
|
-
export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, easJsonCliConfig, clearCache, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, }: {
|
|
10
|
+
export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, easJsonCliConfig, clearCache, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, customBuildConfigMetadata, }: {
|
|
10
11
|
buildProfileName: string;
|
|
11
12
|
buildProfile: BuildProfile<T>;
|
|
12
13
|
easJsonCliConfig: EasJson['cli'];
|
|
@@ -22,4 +23,5 @@ export declare function createBuildContextAsync<T extends Platform>({ buildProfi
|
|
|
22
23
|
graphqlClient: ExpoGraphqlClient;
|
|
23
24
|
analytics: Analytics;
|
|
24
25
|
getDynamicProjectConfigAsync: DynamicConfigContextFn;
|
|
26
|
+
customBuildConfigMetadata?: CustomBuildConfigMetadata;
|
|
25
27
|
}): Promise<BuildContext<T>>;
|
|
@@ -14,7 +14,7 @@ const workflow_1 = require("../project/workflow");
|
|
|
14
14
|
const build_1 = require("./android/build");
|
|
15
15
|
const build_2 = require("./ios/build");
|
|
16
16
|
const resourceClass_1 = require("./utils/resourceClass");
|
|
17
|
-
async function createBuildContextAsync({ buildProfileName, buildProfile, easJsonCliConfig, clearCache = false, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, }) {
|
|
17
|
+
async function createBuildContextAsync({ buildProfileName, buildProfile, easJsonCliConfig, clearCache = false, localBuildOptions, nonInteractive, noWait, platform, projectDir, resourceClassFlag, message, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, customBuildConfigMetadata, }) {
|
|
18
18
|
const { exp, projectId } = await getDynamicProjectConfigAsync({ env: buildProfile.env });
|
|
19
19
|
const projectName = exp.slug;
|
|
20
20
|
const account = await (0, projectUtils_1.getOwnerAccountForProjectIdAsync)(graphqlClient, projectId);
|
|
@@ -72,6 +72,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, easJson
|
|
|
72
72
|
workflow,
|
|
73
73
|
message,
|
|
74
74
|
runFromCI,
|
|
75
|
+
customBuildConfigMetadata,
|
|
75
76
|
};
|
|
76
77
|
if (platform === eas_build_job_1.Platform.ANDROID) {
|
|
77
78
|
const common = commonContext;
|
package/build/build/metadata.js
CHANGED
|
@@ -14,8 +14,9 @@ const easCli_1 = require("../utils/easCli");
|
|
|
14
14
|
const vcs_1 = require("../vcs");
|
|
15
15
|
const version_1 = require("./android/version");
|
|
16
16
|
const version_2 = require("./ios/version");
|
|
17
|
+
const local_1 = require("./local");
|
|
17
18
|
async function collectMetadataAsync(ctx) {
|
|
18
|
-
var _a, _b, _c;
|
|
19
|
+
var _a, _b, _c, _d;
|
|
19
20
|
const vcsClient = (0, vcs_1.getVcsClient)();
|
|
20
21
|
const channelOrReleaseChannel = await resolveChannelOrReleaseChannelAsync(ctx);
|
|
21
22
|
const distribution = (_a = ('simulator' in ctx.buildProfile && ctx.buildProfile.simulator
|
|
@@ -37,7 +38,9 @@ async function collectMetadataAsync(ctx) {
|
|
|
37
38
|
buildProfile: ctx.buildProfileName,
|
|
38
39
|
gitCommitHash: await vcsClient.getCommitHashAsync(),
|
|
39
40
|
gitCommitMessage: truncateGitCommitMessage((_c = (await vcsClient.getLastCommitMessageAsync())) !== null && _c !== void 0 ? _c : undefined),
|
|
40
|
-
isGitWorkingTreeDirty:
|
|
41
|
+
isGitWorkingTreeDirty: ctx.localBuildOptions.localBuildMode === local_1.LocalBuildMode.INTERNAL
|
|
42
|
+
? false
|
|
43
|
+
: await vcsClient.hasUncommittedChangesAsync(),
|
|
41
44
|
username: (0, projectUtils_1.getUsername)(ctx.exp, ctx.user),
|
|
42
45
|
message: ctx.message,
|
|
43
46
|
...(ctx.platform === eas_build_job_1.Platform.IOS && {
|
|
@@ -46,6 +49,7 @@ async function collectMetadataAsync(ctx) {
|
|
|
46
49
|
runWithNoWaitFlag: ctx.noWait,
|
|
47
50
|
runFromCI: ctx.runFromCI,
|
|
48
51
|
buildMode: ctx.buildProfile.config ? eas_build_job_1.BuildMode.CUSTOM : eas_build_job_1.BuildMode.BUILD,
|
|
52
|
+
customWorkflowName: (_d = ctx.customBuildConfigMetadata) === null || _d === void 0 ? void 0 : _d.workflowName,
|
|
49
53
|
};
|
|
50
54
|
return (0, eas_build_job_1.sanitizeMetadata)(metadata);
|
|
51
55
|
}
|
|
@@ -61,13 +61,18 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
61
61
|
nonInteractive: flags.nonInteractive,
|
|
62
62
|
buildProfiles,
|
|
63
63
|
});
|
|
64
|
+
const customBuildConfigMetadataByPlatform = {};
|
|
64
65
|
for (const buildProfile of buildProfiles) {
|
|
65
66
|
(0, remoteVersionSource_1.validateBuildProfileVersionSettings)(buildProfile, easJsonCliConfig);
|
|
66
|
-
await (0, customBuildConfig_1.validateCustomBuildConfigAsync)(projectDir, buildProfile.profile);
|
|
67
|
+
const maybeMetadata = await (0, customBuildConfig_1.validateCustomBuildConfigAsync)(projectDir, buildProfile.profile);
|
|
68
|
+
if (maybeMetadata) {
|
|
69
|
+
customBuildConfigMetadataByPlatform[(0, AppPlatform_1.toAppPlatform)(buildProfile.platform)] = maybeMetadata;
|
|
70
|
+
}
|
|
67
71
|
}
|
|
68
72
|
const startedBuilds = [];
|
|
69
73
|
const buildCtxByPlatform = {};
|
|
70
74
|
for (const buildProfile of buildProfiles) {
|
|
75
|
+
const platform = (0, AppPlatform_1.toAppPlatform)(buildProfile.platform);
|
|
71
76
|
const { build: maybeBuild, buildCtx } = await prepareAndStartBuildAsync({
|
|
72
77
|
projectDir,
|
|
73
78
|
flags,
|
|
@@ -78,11 +83,12 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
78
83
|
graphqlClient,
|
|
79
84
|
analytics,
|
|
80
85
|
getDynamicProjectConfigAsync,
|
|
86
|
+
customBuildConfigMetadata: customBuildConfigMetadataByPlatform[platform],
|
|
81
87
|
});
|
|
82
88
|
if (maybeBuild) {
|
|
83
89
|
startedBuilds.push({ build: maybeBuild, buildProfile });
|
|
84
90
|
}
|
|
85
|
-
buildCtxByPlatform[
|
|
91
|
+
buildCtxByPlatform[platform] = buildCtx;
|
|
86
92
|
}
|
|
87
93
|
if (flags.localBuildOptions.localBuildMode) {
|
|
88
94
|
return;
|
|
@@ -151,7 +157,7 @@ async function runBuildAndSubmitAsync(graphqlClient, analytics, projectDir, flag
|
|
|
151
157
|
}
|
|
152
158
|
}
|
|
153
159
|
exports.runBuildAndSubmitAsync = runBuildAndSubmitAsync;
|
|
154
|
-
async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildProfile, easJsonCliConfig, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, }) {
|
|
160
|
+
async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildProfile, easJsonCliConfig, actor, graphqlClient, analytics, getDynamicProjectConfigAsync, customBuildConfigMetadata, }) {
|
|
155
161
|
const buildCtx = await (0, createContext_1.createBuildContextAsync)({
|
|
156
162
|
buildProfileName: buildProfile.profileName,
|
|
157
163
|
resourceClassFlag: flags.resourceClass,
|
|
@@ -168,6 +174,7 @@ async function prepareAndStartBuildAsync({ projectDir, flags, moreBuilds, buildP
|
|
|
168
174
|
graphqlClient,
|
|
169
175
|
analytics,
|
|
170
176
|
getDynamicProjectConfigAsync,
|
|
177
|
+
customBuildConfigMetadata,
|
|
171
178
|
});
|
|
172
179
|
if (moreBuilds) {
|
|
173
180
|
log_1.default.newLine();
|
|
@@ -8,12 +8,12 @@ import { OptionalProjectConfigContextField } from './context/OptionalProjectConf
|
|
|
8
8
|
import ProjectConfigContextField from './context/ProjectConfigContextField';
|
|
9
9
|
import ProjectDirContextField from './context/ProjectDirContextField';
|
|
10
10
|
import SessionManagementContextField from './context/SessionManagementContextField';
|
|
11
|
-
type ContextInput<T extends {
|
|
11
|
+
export type ContextInput<T extends {
|
|
12
12
|
[name: string]: any;
|
|
13
13
|
} = object> = {
|
|
14
14
|
[P in keyof T]: ContextField<T[P]>;
|
|
15
15
|
};
|
|
16
|
-
type ContextOutput<T extends {
|
|
16
|
+
export type ContextOutput<T extends {
|
|
17
17
|
[name: string]: any;
|
|
18
18
|
} = object> = {
|
|
19
19
|
[P in keyof T]: T[P];
|
|
@@ -112,4 +112,3 @@ export default abstract class EasCommand extends Command {
|
|
|
112
112
|
finally(err: Error): Promise<any>;
|
|
113
113
|
protected catch(err: Error): Promise<any>;
|
|
114
114
|
}
|
|
115
|
-
export {};
|