eas-cli 3.5.1 → 3.6.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 +54 -54
- package/build/build/android/build.js +1 -1
- package/build/build/ios/build.js +1 -1
- package/build/build/utils/formatBuild.js +4 -0
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +6 -1
- package/build/commands/build/version/set.js +9 -2
- package/build/commands/build/version/sync.js +9 -2
- package/build/commands/project/init.js +14 -11
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +12 -12
- package/build/graphql/generated.d.ts +69 -0
- package/build/graphql/generated.js +7 -2
- package/build/graphql/types/Build.js +1 -0
- package/build/metadata/apple/rules/infoKeywordLength.d.ts +1 -1
- package/build/metadata/apple/rules/infoKeywordLength.js +1 -1
- package/build/metadata/apple/types.d.ts +1 -1
- package/build/project/android/applicationId.d.ts +7 -2
- package/build/project/android/applicationId.js +7 -7
- package/build/project/applicationIdentifier.d.ts +9 -2
- package/build/project/applicationIdentifier.js +13 -3
- package/build/project/ios/bundleIdentifier.d.ts +7 -2
- package/build/project/ios/bundleIdentifier.js +12 -7
- package/build/project/ios/target.d.ts +1 -1
- package/build/project/ios/target.js +1 -1
- package/build/update/configure.d.ts +1 -1
- package/build/update/configure.js +1 -1
- package/build/user/User.d.ts +2 -1
- package/build/user/User.js +16 -6
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
- package/schema/metadata-0.json +2 -2
package/README.md
CHANGED
|
@@ -132,7 +132,7 @@ ALIASES
|
|
|
132
132
|
$ eas login
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
135
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
136
136
|
|
|
137
137
|
## `eas account:logout`
|
|
138
138
|
|
|
@@ -149,7 +149,7 @@ ALIASES
|
|
|
149
149
|
$ eas logout
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
152
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
153
153
|
|
|
154
154
|
## `eas account:view`
|
|
155
155
|
|
|
@@ -166,7 +166,7 @@ ALIASES
|
|
|
166
166
|
$ eas whoami
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
169
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
170
170
|
|
|
171
171
|
## `eas analytics [STATUS]`
|
|
172
172
|
|
|
@@ -180,7 +180,7 @@ DESCRIPTION
|
|
|
180
180
|
display or change analytics settings
|
|
181
181
|
```
|
|
182
182
|
|
|
183
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
183
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
184
184
|
|
|
185
185
|
## `eas autocomplete [SHELL]`
|
|
186
186
|
|
|
@@ -230,7 +230,7 @@ DESCRIPTION
|
|
|
230
230
|
create a branch
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
233
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
234
234
|
|
|
235
235
|
## `eas branch:delete [NAME]`
|
|
236
236
|
|
|
@@ -251,7 +251,7 @@ DESCRIPTION
|
|
|
251
251
|
delete a branch
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
254
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
255
255
|
|
|
256
256
|
## `eas branch:list`
|
|
257
257
|
|
|
@@ -271,7 +271,7 @@ DESCRIPTION
|
|
|
271
271
|
list all branches
|
|
272
272
|
```
|
|
273
273
|
|
|
274
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
274
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
275
275
|
|
|
276
276
|
## `eas branch:rename`
|
|
277
277
|
|
|
@@ -291,7 +291,7 @@ DESCRIPTION
|
|
|
291
291
|
rename a branch
|
|
292
292
|
```
|
|
293
293
|
|
|
294
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
294
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
295
295
|
|
|
296
296
|
## `eas branch:view [NAME]`
|
|
297
297
|
|
|
@@ -314,7 +314,7 @@ DESCRIPTION
|
|
|
314
314
|
view a branch
|
|
315
315
|
```
|
|
316
316
|
|
|
317
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
317
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
318
318
|
|
|
319
319
|
## `eas build`
|
|
320
320
|
|
|
@@ -344,7 +344,7 @@ DESCRIPTION
|
|
|
344
344
|
start a build
|
|
345
345
|
```
|
|
346
346
|
|
|
347
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
347
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
348
348
|
|
|
349
349
|
## `eas build:cancel [BUILD_ID]`
|
|
350
350
|
|
|
@@ -361,7 +361,7 @@ DESCRIPTION
|
|
|
361
361
|
cancel a build
|
|
362
362
|
```
|
|
363
363
|
|
|
364
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
364
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
365
365
|
|
|
366
366
|
## `eas build:configure`
|
|
367
367
|
|
|
@@ -378,7 +378,7 @@ DESCRIPTION
|
|
|
378
378
|
configure the project to support EAS Build
|
|
379
379
|
```
|
|
380
380
|
|
|
381
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
381
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
382
382
|
|
|
383
383
|
## `eas build:inspect`
|
|
384
384
|
|
|
@@ -413,7 +413,7 @@ DESCRIPTION
|
|
|
413
413
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
414
414
|
```
|
|
415
415
|
|
|
416
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
416
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
417
417
|
|
|
418
418
|
## `eas build:list`
|
|
419
419
|
|
|
@@ -450,7 +450,7 @@ DESCRIPTION
|
|
|
450
450
|
list all builds for your project
|
|
451
451
|
```
|
|
452
452
|
|
|
453
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
453
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
454
454
|
|
|
455
455
|
## `eas build:resign`
|
|
456
456
|
|
|
@@ -476,7 +476,7 @@ DESCRIPTION
|
|
|
476
476
|
re-sign a build archive
|
|
477
477
|
```
|
|
478
478
|
|
|
479
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
479
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/resign.ts)_
|
|
480
480
|
|
|
481
481
|
## `eas build:run`
|
|
482
482
|
|
|
@@ -500,7 +500,7 @@ DESCRIPTION
|
|
|
500
500
|
run simulator/emulator builds from eas-cli
|
|
501
501
|
```
|
|
502
502
|
|
|
503
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
503
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
504
504
|
|
|
505
505
|
## `eas build:submit`
|
|
506
506
|
|
|
@@ -547,7 +547,7 @@ DESCRIPTION
|
|
|
547
547
|
Update version of an app.
|
|
548
548
|
```
|
|
549
549
|
|
|
550
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
550
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
551
551
|
|
|
552
552
|
## `eas build:version:sync`
|
|
553
553
|
|
|
@@ -566,7 +566,7 @@ DESCRIPTION
|
|
|
566
566
|
Update a version in native code with a value stored on EAS servers
|
|
567
567
|
```
|
|
568
568
|
|
|
569
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
569
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
570
570
|
|
|
571
571
|
## `eas build:view [BUILD_ID]`
|
|
572
572
|
|
|
@@ -583,7 +583,7 @@ DESCRIPTION
|
|
|
583
583
|
view a build for your project
|
|
584
584
|
```
|
|
585
585
|
|
|
586
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
586
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
587
587
|
|
|
588
588
|
## `eas channel:create [NAME]`
|
|
589
589
|
|
|
@@ -604,7 +604,7 @@ DESCRIPTION
|
|
|
604
604
|
create a channel
|
|
605
605
|
```
|
|
606
606
|
|
|
607
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
607
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
608
608
|
|
|
609
609
|
## `eas channel:edit [NAME]`
|
|
610
610
|
|
|
@@ -626,7 +626,7 @@ DESCRIPTION
|
|
|
626
626
|
point a channel at a new branch
|
|
627
627
|
```
|
|
628
628
|
|
|
629
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
629
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
630
630
|
|
|
631
631
|
## `eas channel:list`
|
|
632
632
|
|
|
@@ -646,7 +646,7 @@ DESCRIPTION
|
|
|
646
646
|
list all channels
|
|
647
647
|
```
|
|
648
648
|
|
|
649
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
649
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
650
650
|
|
|
651
651
|
## `eas channel:view [NAME]`
|
|
652
652
|
|
|
@@ -669,7 +669,7 @@ DESCRIPTION
|
|
|
669
669
|
view a channel
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
672
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
673
673
|
|
|
674
674
|
## `eas config`
|
|
675
675
|
|
|
@@ -690,7 +690,7 @@ DESCRIPTION
|
|
|
690
690
|
display project configuration (app.json + eas.json)
|
|
691
691
|
```
|
|
692
692
|
|
|
693
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
693
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/config.ts)_
|
|
694
694
|
|
|
695
695
|
## `eas credentials`
|
|
696
696
|
|
|
@@ -707,7 +707,7 @@ DESCRIPTION
|
|
|
707
707
|
manage credentials
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
710
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
711
711
|
|
|
712
712
|
## `eas device:create`
|
|
713
713
|
|
|
@@ -721,7 +721,7 @@ DESCRIPTION
|
|
|
721
721
|
register new Apple Devices to use for internal distribution
|
|
722
722
|
```
|
|
723
723
|
|
|
724
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
724
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
725
725
|
|
|
726
726
|
## `eas device:delete`
|
|
727
727
|
|
|
@@ -741,7 +741,7 @@ DESCRIPTION
|
|
|
741
741
|
remove a registered device from your account
|
|
742
742
|
```
|
|
743
743
|
|
|
744
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
744
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
745
745
|
|
|
746
746
|
## `eas device:list`
|
|
747
747
|
|
|
@@ -762,7 +762,7 @@ DESCRIPTION
|
|
|
762
762
|
list all registered devices for your account
|
|
763
763
|
```
|
|
764
764
|
|
|
765
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
765
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
766
766
|
|
|
767
767
|
## `eas device:view [UDID]`
|
|
768
768
|
|
|
@@ -776,7 +776,7 @@ DESCRIPTION
|
|
|
776
776
|
view a device for your project
|
|
777
777
|
```
|
|
778
778
|
|
|
779
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
779
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
780
780
|
|
|
781
781
|
## `eas diagnostics`
|
|
782
782
|
|
|
@@ -790,7 +790,7 @@ DESCRIPTION
|
|
|
790
790
|
display environment info
|
|
791
791
|
```
|
|
792
792
|
|
|
793
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
793
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
794
794
|
|
|
795
795
|
## `eas help [COMMAND]`
|
|
796
796
|
|
|
@@ -878,7 +878,7 @@ DESCRIPTION
|
|
|
878
878
|
validate the local store configuration
|
|
879
879
|
```
|
|
880
880
|
|
|
881
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
881
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
882
882
|
|
|
883
883
|
## `eas metadata:pull`
|
|
884
884
|
|
|
@@ -895,7 +895,7 @@ DESCRIPTION
|
|
|
895
895
|
generate the local store configuration from the app stores
|
|
896
896
|
```
|
|
897
897
|
|
|
898
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
898
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
899
899
|
|
|
900
900
|
## `eas metadata:push`
|
|
901
901
|
|
|
@@ -912,7 +912,7 @@ DESCRIPTION
|
|
|
912
912
|
sync the local store configuration to the app stores
|
|
913
913
|
```
|
|
914
914
|
|
|
915
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
915
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
916
916
|
|
|
917
917
|
## `eas open`
|
|
918
918
|
|
|
@@ -926,7 +926,7 @@ DESCRIPTION
|
|
|
926
926
|
open the project page in a web browser
|
|
927
927
|
```
|
|
928
928
|
|
|
929
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
929
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/open.ts)_
|
|
930
930
|
|
|
931
931
|
## `eas project:info`
|
|
932
932
|
|
|
@@ -940,7 +940,7 @@ DESCRIPTION
|
|
|
940
940
|
information about the current project
|
|
941
941
|
```
|
|
942
942
|
|
|
943
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
943
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
944
944
|
|
|
945
945
|
## `eas project:init`
|
|
946
946
|
|
|
@@ -962,7 +962,7 @@ ALIASES
|
|
|
962
962
|
$ eas init
|
|
963
963
|
```
|
|
964
964
|
|
|
965
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
965
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
966
966
|
|
|
967
967
|
## `eas run`
|
|
968
968
|
|
|
@@ -986,7 +986,7 @@ DESCRIPTION
|
|
|
986
986
|
run simulator build
|
|
987
987
|
```
|
|
988
988
|
|
|
989
|
-
_See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
989
|
+
_See code: [src/commands/run/index.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/run/index.ts)_
|
|
990
990
|
|
|
991
991
|
## `eas run:run`
|
|
992
992
|
|
|
@@ -1010,7 +1010,7 @@ DESCRIPTION
|
|
|
1010
1010
|
run simulator build
|
|
1011
1011
|
```
|
|
1012
1012
|
|
|
1013
|
-
_See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1013
|
+
_See code: [src/commands/run/run.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/run/run.ts)_
|
|
1014
1014
|
|
|
1015
1015
|
## `eas secret:create`
|
|
1016
1016
|
|
|
@@ -1033,7 +1033,7 @@ DESCRIPTION
|
|
|
1033
1033
|
create an environment secret on the current project or owner account
|
|
1034
1034
|
```
|
|
1035
1035
|
|
|
1036
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1036
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1037
1037
|
|
|
1038
1038
|
## `eas secret:delete`
|
|
1039
1039
|
|
|
@@ -1051,7 +1051,7 @@ DESCRIPTION
|
|
|
1051
1051
|
delete an environment secret by ID
|
|
1052
1052
|
```
|
|
1053
1053
|
|
|
1054
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1054
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1055
1055
|
|
|
1056
1056
|
## `eas secret:list`
|
|
1057
1057
|
|
|
@@ -1065,7 +1065,7 @@ DESCRIPTION
|
|
|
1065
1065
|
list environment secrets available for your current app
|
|
1066
1066
|
```
|
|
1067
1067
|
|
|
1068
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1068
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1069
1069
|
|
|
1070
1070
|
## `eas secret:push`
|
|
1071
1071
|
|
|
@@ -1085,7 +1085,7 @@ DESCRIPTION
|
|
|
1085
1085
|
read environment secrets from env file and store on the server
|
|
1086
1086
|
```
|
|
1087
1087
|
|
|
1088
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1088
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1089
1089
|
|
|
1090
1090
|
## `eas submit`
|
|
1091
1091
|
|
|
@@ -1115,7 +1115,7 @@ ALIASES
|
|
|
1115
1115
|
$ eas build:submit
|
|
1116
1116
|
```
|
|
1117
1117
|
|
|
1118
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1118
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1119
1119
|
|
|
1120
1120
|
## `eas update`
|
|
1121
1121
|
|
|
@@ -1147,7 +1147,7 @@ DESCRIPTION
|
|
|
1147
1147
|
publish an update group
|
|
1148
1148
|
```
|
|
1149
1149
|
|
|
1150
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1150
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1151
1151
|
|
|
1152
1152
|
## `eas update:configure`
|
|
1153
1153
|
|
|
@@ -1165,7 +1165,7 @@ DESCRIPTION
|
|
|
1165
1165
|
configure the project to support EAS Update
|
|
1166
1166
|
```
|
|
1167
1167
|
|
|
1168
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1168
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1169
1169
|
|
|
1170
1170
|
## `eas update:delete GROUPID`
|
|
1171
1171
|
|
|
@@ -1186,7 +1186,7 @@ DESCRIPTION
|
|
|
1186
1186
|
delete all the updates in an update group
|
|
1187
1187
|
```
|
|
1188
1188
|
|
|
1189
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1189
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1190
1190
|
|
|
1191
1191
|
## `eas update:list`
|
|
1192
1192
|
|
|
@@ -1208,7 +1208,7 @@ DESCRIPTION
|
|
|
1208
1208
|
view the recent updates
|
|
1209
1209
|
```
|
|
1210
1210
|
|
|
1211
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1211
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1212
1212
|
|
|
1213
1213
|
## `eas update:republish`
|
|
1214
1214
|
|
|
@@ -1232,7 +1232,7 @@ DESCRIPTION
|
|
|
1232
1232
|
rollback to an existing update
|
|
1233
1233
|
```
|
|
1234
1234
|
|
|
1235
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1235
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1236
1236
|
|
|
1237
1237
|
## `eas update:view GROUPID`
|
|
1238
1238
|
|
|
@@ -1252,7 +1252,7 @@ DESCRIPTION
|
|
|
1252
1252
|
update group details
|
|
1253
1253
|
```
|
|
1254
1254
|
|
|
1255
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1255
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1256
1256
|
|
|
1257
1257
|
## `eas webhook:create`
|
|
1258
1258
|
|
|
@@ -1273,7 +1273,7 @@ DESCRIPTION
|
|
|
1273
1273
|
create a webhook
|
|
1274
1274
|
```
|
|
1275
1275
|
|
|
1276
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1276
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1277
1277
|
|
|
1278
1278
|
## `eas webhook:delete [ID]`
|
|
1279
1279
|
|
|
@@ -1293,7 +1293,7 @@ DESCRIPTION
|
|
|
1293
1293
|
delete a webhook
|
|
1294
1294
|
```
|
|
1295
1295
|
|
|
1296
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1296
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1297
1297
|
|
|
1298
1298
|
## `eas webhook:list`
|
|
1299
1299
|
|
|
@@ -1311,7 +1311,7 @@ DESCRIPTION
|
|
|
1311
1311
|
list webhooks
|
|
1312
1312
|
```
|
|
1313
1313
|
|
|
1314
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1314
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1315
1315
|
|
|
1316
1316
|
## `eas webhook:update`
|
|
1317
1317
|
|
|
@@ -1333,7 +1333,7 @@ DESCRIPTION
|
|
|
1333
1333
|
update a webhook
|
|
1334
1334
|
```
|
|
1335
1335
|
|
|
1336
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1336
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1337
1337
|
|
|
1338
1338
|
## `eas webhook:view ID`
|
|
1339
1339
|
|
|
@@ -1350,7 +1350,7 @@ DESCRIPTION
|
|
|
1350
1350
|
view a webhook
|
|
1351
1351
|
```
|
|
1352
1352
|
|
|
1353
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1353
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.6.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1354
1354
|
|
|
1355
1355
|
## `eas whoami`
|
|
1356
1356
|
|
|
@@ -39,7 +39,7 @@ This means that it will most likely produce an AAB and you will not be able to i
|
|
|
39
39
|
await (0, validate_1.validatePNGsForManagedProjectAsync)(ctx);
|
|
40
40
|
const gradleContext = await (0, gradle_1.resolveGradleBuildContextAsync)(ctx.projectDir, buildProfile);
|
|
41
41
|
if (ctx.workflow === eas_build_job_1.Workflow.MANAGED) {
|
|
42
|
-
await (0, applicationId_1.ensureApplicationIdIsDefinedForManagedProjectAsync)(ctx
|
|
42
|
+
await (0, applicationId_1.ensureApplicationIdIsDefinedForManagedProjectAsync)(ctx);
|
|
43
43
|
}
|
|
44
44
|
const applicationId = await (0, applicationId_1.getApplicationIdAsync)(ctx.projectDir, ctx.exp, gradleContext);
|
|
45
45
|
const versionCodeOverride = ((_b = ctx.easJsonCliConfig) === null || _b === void 0 ? void 0 : _b.appVersionSource) === eas_json_1.AppVersionSource.REMOTE
|
package/build/build/ios/build.js
CHANGED
|
@@ -19,7 +19,7 @@ async function createIosContextAsync(ctx) {
|
|
|
19
19
|
var _a;
|
|
20
20
|
const { buildProfile } = ctx;
|
|
21
21
|
if (ctx.workflow === eas_build_job_1.Workflow.MANAGED) {
|
|
22
|
-
await (0, bundleIdentifier_1.ensureBundleIdentifierIsDefinedForManagedProjectAsync)(ctx
|
|
22
|
+
await (0, bundleIdentifier_1.ensureBundleIdentifierIsDefinedForManagedProjectAsync)(ctx);
|
|
23
23
|
}
|
|
24
24
|
(0, validate_1.checkNodeEnvVariable)(ctx);
|
|
25
25
|
await (0, validate_1.checkGoogleServicesFileAsync)(ctx);
|
|
@@ -10,6 +10,7 @@ const ora_1 = require("../../../ora");
|
|
|
10
10
|
const expoConfig_1 = require("../../../project/expoConfig");
|
|
11
11
|
const fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync_1 = require("../../../project/fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync");
|
|
12
12
|
const projectUtils_1 = require("../../../project/projectUtils");
|
|
13
|
+
const User_1 = require("../../../user/User");
|
|
13
14
|
const createGraphqlClient_1 = require("./createGraphqlClient");
|
|
14
15
|
const findProjectDirAndVerifyProjectSetupAsync_1 = require("./findProjectDirAndVerifyProjectSetupAsync");
|
|
15
16
|
/**
|
|
@@ -68,7 +69,11 @@ async function getProjectIdAsync(sessionManager, exp, options) {
|
|
|
68
69
|
// check that the local project ID matches account and slug
|
|
69
70
|
const appForProjectId = await AppQuery_1.AppQuery.byIdAsync(graphqlClient, localProjectId);
|
|
70
71
|
if (exp.owner && exp.owner !== appForProjectId.ownerAccount.name) {
|
|
71
|
-
throw new Error(`Project config:
|
|
72
|
+
throw new Error(`Project config: Owner of project identified by "extra.eas.projectId" (${appForProjectId.ownerAccount.name}) does not match owner specified in the "owner" field (${exp.owner}). ${(0, log_1.learnMore)('https://expo.fyi/eas-project-id')}`);
|
|
73
|
+
}
|
|
74
|
+
const actorUsername = (0, User_1.getActorUsername)(actor);
|
|
75
|
+
if (!exp.owner && appForProjectId.ownerAccount.name !== actorUsername) {
|
|
76
|
+
throw new Error(`Project config: Owner of project identified by "extra.eas.projectId" (${appForProjectId.ownerAccount.name}) does not match the logged in user (${actorUsername}) and the "owner" field is not specified. To ensure all libraries work correctly, "owner": "${appForProjectId.ownerAccount.name}" should be added to the project config, which can be done automatically by re-running "eas init". ${(0, log_1.learnMore)('https://expo.fyi/eas-project-id')}`);
|
|
72
77
|
}
|
|
73
78
|
if (exp.slug && exp.slug !== appForProjectId.slug) {
|
|
74
79
|
throw new Error(`Project config: Slug for project identified by "extra.eas.projectId" (${appForProjectId.slug}) does not match the "slug" field (${exp.slug}). ${(0, log_1.learnMore)('https://expo.fyi/eas-project-id')}`);
|
|
@@ -23,7 +23,7 @@ class BuildVersionSetView extends EasCommand_1.default {
|
|
|
23
23
|
async runAsync() {
|
|
24
24
|
var _b, _c, _d;
|
|
25
25
|
const { flags } = await this.parse(BuildVersionSetView);
|
|
26
|
-
const { loggedIn: {
|
|
26
|
+
const { loggedIn: { graphqlClient }, getDynamicProjectConfigAsync, projectDir, } = await this.getContextAsync(BuildVersionSetView, {
|
|
27
27
|
nonInteractive: false,
|
|
28
28
|
});
|
|
29
29
|
const platform = await (0, platform_1.selectPlatformAsync)(flags.platform);
|
|
@@ -33,7 +33,14 @@ class BuildVersionSetView extends EasCommand_1.default {
|
|
|
33
33
|
const { exp, projectId } = await getDynamicProjectConfigAsync({ env: profile.env });
|
|
34
34
|
const displayName = await (0, projectUtils_1.getDisplayNameForProjectIdAsync)(graphqlClient, projectId);
|
|
35
35
|
(0, remoteVersionSource_1.validateAppConfigForRemoteVersionSource)(exp, platform);
|
|
36
|
-
const applicationIdentifier = await (0, applicationIdentifier_1.getApplicationIdentifierAsync)(
|
|
36
|
+
const applicationIdentifier = await (0, applicationIdentifier_1.getApplicationIdentifierAsync)({
|
|
37
|
+
graphqlClient,
|
|
38
|
+
projectDir,
|
|
39
|
+
projectId,
|
|
40
|
+
exp,
|
|
41
|
+
buildProfile: profile,
|
|
42
|
+
platform,
|
|
43
|
+
});
|
|
37
44
|
const remoteVersions = await AppVersionQuery_1.AppVersionQuery.latestVersionAsync(graphqlClient, projectId, (0, AppPlatform_1.toAppPlatform)(platform), applicationIdentifier);
|
|
38
45
|
const currentStateMessage = (remoteVersions === null || remoteVersions === void 0 ? void 0 : remoteVersions.buildVersion)
|
|
39
46
|
? `Project ${chalk_1.default.bold(displayName)} with ${getApplicationIdentifierName(platform)} "${applicationIdentifier}" is configured with ${(0, remoteVersionSource_1.getBuildVersionName)(platform)} ${remoteVersions.buildVersion}.`
|
|
@@ -26,7 +26,7 @@ class BuildVersionSyncView extends EasCommand_1.default {
|
|
|
26
26
|
async runAsync() {
|
|
27
27
|
var _b;
|
|
28
28
|
const { flags } = await this.parse(BuildVersionSyncView);
|
|
29
|
-
const { loggedIn: {
|
|
29
|
+
const { loggedIn: { graphqlClient }, getDynamicProjectConfigAsync, projectDir, } = await this.getContextAsync(BuildVersionSyncView, {
|
|
30
30
|
nonInteractive: true,
|
|
31
31
|
});
|
|
32
32
|
const requestedPlatform = await (0, platform_1.selectRequestedPlatformAsync)(flags.platform);
|
|
@@ -45,7 +45,14 @@ class BuildVersionSyncView extends EasCommand_1.default {
|
|
|
45
45
|
});
|
|
46
46
|
(0, remoteVersionSource_1.validateAppConfigForRemoteVersionSource)(exp, profileInfo.platform);
|
|
47
47
|
const platformDisplayName = platform_1.appPlatformDisplayNames[(0, AppPlatform_1.toAppPlatform)(profileInfo.platform)];
|
|
48
|
-
const applicationIdentifier = await (0, applicationIdentifier_1.getApplicationIdentifierAsync)(
|
|
48
|
+
const applicationIdentifier = await (0, applicationIdentifier_1.getApplicationIdentifierAsync)({
|
|
49
|
+
graphqlClient,
|
|
50
|
+
projectDir,
|
|
51
|
+
projectId,
|
|
52
|
+
exp,
|
|
53
|
+
buildProfile: profileInfo.profile,
|
|
54
|
+
platform: profileInfo.platform,
|
|
55
|
+
});
|
|
49
56
|
const remoteVersions = await AppVersionQuery_1.AppVersionQuery.latestVersionAsync(graphqlClient, projectId, (0, AppPlatform_1.toAppPlatform)(profileInfo.platform), applicationIdentifier);
|
|
50
57
|
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, profileInfo.platform);
|
|
51
58
|
if (!(remoteVersions === null || remoteVersions === void 0 ? void 0 : remoteVersions.buildVersion)) {
|
|
@@ -122,15 +122,11 @@ class ProjectInit extends EasCommand_1.default {
|
|
|
122
122
|
await ProjectInit.saveProjectIdAndLogSuccessAsync(projectDir, projectId);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
static async initializeWithExplicitIDAsync(
|
|
125
|
+
static async initializeWithExplicitIDAsync(projectId, projectDir, { force, nonInteractive }) {
|
|
126
126
|
await this.setExplicitIDAsync(projectId, projectDir, {
|
|
127
127
|
force,
|
|
128
128
|
nonInteractive,
|
|
129
129
|
});
|
|
130
|
-
await this.ensureOwnerSlugConsistencyAsync(graphqlClient, projectId, projectDir, {
|
|
131
|
-
force,
|
|
132
|
-
nonInteractive,
|
|
133
|
-
});
|
|
134
130
|
}
|
|
135
131
|
static async initializeWithInteractiveSelectionAsync(graphqlClient, actor, projectDir) {
|
|
136
132
|
var _c, _d, _e;
|
|
@@ -138,7 +134,7 @@ class ProjectInit extends EasCommand_1.default {
|
|
|
138
134
|
const existingProjectId = (_d = (_c = exp.extra) === null || _c === void 0 ? void 0 : _c.eas) === null || _d === void 0 ? void 0 : _d.projectId;
|
|
139
135
|
if (existingProjectId) {
|
|
140
136
|
log_1.default.succeed(`Project already linked (ID: ${chalk_1.default.bold(existingProjectId)}). To re-configure, remove the "extra.eas.projectId" field from your app config.`);
|
|
141
|
-
return;
|
|
137
|
+
return existingProjectId;
|
|
142
138
|
}
|
|
143
139
|
const allAccounts = actor.accounts;
|
|
144
140
|
const accountNamesWhereUserHasSufficientPermissionsToCreateApp = new Set(allAccounts
|
|
@@ -184,7 +180,7 @@ class ProjectInit extends EasCommand_1.default {
|
|
|
184
180
|
throw new Error(`Project ID configuration canceled. Re-run the command to select a different account/project.`);
|
|
185
181
|
}
|
|
186
182
|
await ProjectInit.saveProjectIdAndLogSuccessAsync(projectDir, existingProjectIdOnServer);
|
|
187
|
-
return;
|
|
183
|
+
return existingProjectIdOnServer;
|
|
188
184
|
}
|
|
189
185
|
if (!accountNamesWhereUserHasSufficientPermissionsToCreateApp.has(accountName)) {
|
|
190
186
|
throw new Error(`You don't have permission to create a new project on the ${accountName} account and no matching project already exists on the account.`);
|
|
@@ -213,19 +209,26 @@ class ProjectInit extends EasCommand_1.default {
|
|
|
213
209
|
throw err;
|
|
214
210
|
}
|
|
215
211
|
await ProjectInit.saveProjectIdAndLogSuccessAsync(projectDir, createdProjectId);
|
|
212
|
+
return createdProjectId;
|
|
216
213
|
}
|
|
217
214
|
async runAsync() {
|
|
218
|
-
const { flags: { id, force, 'non-interactive': nonInteractive }, } = await this.parse(ProjectInit);
|
|
215
|
+
const { flags: { id: idArgument, force, 'non-interactive': nonInteractive }, } = await this.parse(ProjectInit);
|
|
219
216
|
const { loggedIn: { actor, graphqlClient }, projectDir, } = await this.getContextAsync(ProjectInit, { nonInteractive });
|
|
220
|
-
|
|
221
|
-
|
|
217
|
+
let idForConsistency;
|
|
218
|
+
if (idArgument) {
|
|
219
|
+
await ProjectInit.initializeWithExplicitIDAsync(idArgument, projectDir, {
|
|
222
220
|
force,
|
|
223
221
|
nonInteractive,
|
|
224
222
|
});
|
|
223
|
+
idForConsistency = idArgument;
|
|
225
224
|
}
|
|
226
225
|
else {
|
|
227
|
-
await ProjectInit.initializeWithInteractiveSelectionAsync(graphqlClient, actor, projectDir);
|
|
226
|
+
idForConsistency = await ProjectInit.initializeWithInteractiveSelectionAsync(graphqlClient, actor, projectDir);
|
|
228
227
|
}
|
|
228
|
+
await ProjectInit.ensureOwnerSlugConsistencyAsync(graphqlClient, idForConsistency, projectDir, {
|
|
229
|
+
force,
|
|
230
|
+
nonInteractive,
|
|
231
|
+
});
|
|
229
232
|
}
|
|
230
233
|
}
|
|
231
234
|
exports.default = ProjectInit;
|