eas-cli 0.51.0 → 0.52.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 CHANGED
@@ -98,7 +98,7 @@ ALIASES
98
98
  $ eas login
99
99
  ```
100
100
 
101
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/account/login.ts)_
101
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/account/login.ts)_
102
102
 
103
103
  ## `eas account:logout`
104
104
 
@@ -115,7 +115,7 @@ ALIASES
115
115
  $ eas logout
116
116
  ```
117
117
 
118
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/account/logout.ts)_
118
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/account/logout.ts)_
119
119
 
120
120
  ## `eas account:view`
121
121
 
@@ -132,7 +132,7 @@ ALIASES
132
132
  $ eas whoami
133
133
  ```
134
134
 
135
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/account/view.ts)_
135
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/account/view.ts)_
136
136
 
137
137
  ## `eas analytics [STATUS]`
138
138
 
@@ -146,7 +146,7 @@ DESCRIPTION
146
146
  display or change analytics settings
147
147
  ```
148
148
 
149
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/analytics.ts)_
149
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/analytics.ts)_
150
150
 
151
151
  ## `eas autocomplete [SHELL]`
152
152
 
@@ -195,7 +195,7 @@ DESCRIPTION
195
195
  create a branch
196
196
  ```
197
197
 
198
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/branch/create.ts)_
198
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/branch/create.ts)_
199
199
 
200
200
  ## `eas branch:delete [NAME]`
201
201
 
@@ -215,7 +215,7 @@ DESCRIPTION
215
215
  delete a branch
216
216
  ```
217
217
 
218
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/branch/delete.ts)_
218
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/branch/delete.ts)_
219
219
 
220
220
  ## `eas branch:list`
221
221
 
@@ -232,7 +232,7 @@ DESCRIPTION
232
232
  list all branches
233
233
  ```
234
234
 
235
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/branch/list.ts)_
235
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/branch/list.ts)_
236
236
 
237
237
  ## `eas branch:rename`
238
238
 
@@ -251,7 +251,7 @@ DESCRIPTION
251
251
  rename a branch
252
252
  ```
253
253
 
254
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/branch/rename.ts)_
254
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/branch/rename.ts)_
255
255
 
256
256
  ## `eas branch:view [NAME]`
257
257
 
@@ -271,7 +271,7 @@ DESCRIPTION
271
271
  view a branch
272
272
  ```
273
273
 
274
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/branch/view.ts)_
274
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/branch/view.ts)_
275
275
 
276
276
  ## `eas build`
277
277
 
@@ -300,7 +300,7 @@ DESCRIPTION
300
300
  start a build
301
301
  ```
302
302
 
303
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/build/index.ts)_
303
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/build/index.ts)_
304
304
 
305
305
  ## `eas build:cancel [BUILD_ID]`
306
306
 
@@ -314,7 +314,7 @@ DESCRIPTION
314
314
  cancel a build
315
315
  ```
316
316
 
317
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/build/cancel.ts)_
317
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/build/cancel.ts)_
318
318
 
319
319
  ## `eas build:configure`
320
320
 
@@ -331,7 +331,7 @@ DESCRIPTION
331
331
  configure the project to support EAS Build
332
332
  ```
333
333
 
334
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/build/configure.ts)_
334
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/build/configure.ts)_
335
335
 
336
336
  ## `eas build:inspect`
337
337
 
@@ -366,7 +366,7 @@ DESCRIPTION
366
366
  inspect the state of the project at specific build stages, useful for troubleshooting
367
367
  ```
368
368
 
369
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/build/inspect.ts)_
369
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/build/inspect.ts)_
370
370
 
371
371
  ## `eas build:list`
372
372
 
@@ -399,7 +399,7 @@ DESCRIPTION
399
399
  list all builds for your project
400
400
  ```
401
401
 
402
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/build/list.ts)_
402
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/build/list.ts)_
403
403
 
404
404
  ## `eas build:submit`
405
405
 
@@ -444,7 +444,7 @@ DESCRIPTION
444
444
  view a build for your project
445
445
  ```
446
446
 
447
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/build/view.ts)_
447
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/build/view.ts)_
448
448
 
449
449
  ## `eas channel:create [NAME]`
450
450
 
@@ -464,7 +464,7 @@ DESCRIPTION
464
464
  create a channel
465
465
  ```
466
466
 
467
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/channel/create.ts)_
467
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/channel/create.ts)_
468
468
 
469
469
  ## `eas channel:edit [NAME]`
470
470
 
@@ -485,7 +485,7 @@ DESCRIPTION
485
485
  point a channel at a new branch
486
486
  ```
487
487
 
488
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/channel/edit.ts)_
488
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/channel/edit.ts)_
489
489
 
490
490
  ## `eas channel:list`
491
491
 
@@ -502,7 +502,7 @@ DESCRIPTION
502
502
  list all channels
503
503
  ```
504
504
 
505
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/channel/list.ts)_
505
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/channel/list.ts)_
506
506
 
507
507
  ## `eas channel:view [NAME]`
508
508
 
@@ -522,7 +522,7 @@ DESCRIPTION
522
522
  view a channel
523
523
  ```
524
524
 
525
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/channel/view.ts)_
525
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/channel/view.ts)_
526
526
 
527
527
  ## `eas config`
528
528
 
@@ -540,7 +540,7 @@ DESCRIPTION
540
540
  display project configuration (app.json + eas.json)
541
541
  ```
542
542
 
543
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/config.ts)_
543
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/config.ts)_
544
544
 
545
545
  ## `eas credentials`
546
546
 
@@ -554,7 +554,7 @@ DESCRIPTION
554
554
  manage credentials
555
555
  ```
556
556
 
557
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/credentials.ts)_
557
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/credentials.ts)_
558
558
 
559
559
  ## `eas device:create`
560
560
 
@@ -568,7 +568,7 @@ DESCRIPTION
568
568
  register new Apple Devices to use for internal distribution
569
569
  ```
570
570
 
571
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/device/create.ts)_
571
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/device/create.ts)_
572
572
 
573
573
  ## `eas device:delete`
574
574
 
@@ -586,7 +586,7 @@ DESCRIPTION
586
586
  remove a registered device from your account
587
587
  ```
588
588
 
589
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/device/delete.ts)_
589
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/device/delete.ts)_
590
590
 
591
591
  ## `eas device:list`
592
592
 
@@ -603,7 +603,7 @@ DESCRIPTION
603
603
  list all registered devices for your account
604
604
  ```
605
605
 
606
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/device/list.ts)_
606
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/device/list.ts)_
607
607
 
608
608
  ## `eas device:view [UDID]`
609
609
 
@@ -617,7 +617,7 @@ DESCRIPTION
617
617
  view a device for your project
618
618
  ```
619
619
 
620
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/device/view.ts)_
620
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/device/view.ts)_
621
621
 
622
622
  ## `eas diagnostics`
623
623
 
@@ -631,7 +631,7 @@ DESCRIPTION
631
631
  display environment info
632
632
  ```
633
633
 
634
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/diagnostics.ts)_
634
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/diagnostics.ts)_
635
635
 
636
636
  ## `eas help [COMMAND]`
637
637
 
@@ -710,7 +710,7 @@ DESCRIPTION
710
710
  information about the current project
711
711
  ```
712
712
 
713
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/project/info.ts)_
713
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/project/info.ts)_
714
714
 
715
715
  ## `eas project:init`
716
716
 
@@ -727,7 +727,7 @@ ALIASES
727
727
  $ eas init
728
728
  ```
729
729
 
730
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/project/init.ts)_
730
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/project/init.ts)_
731
731
 
732
732
  ## `eas secret:create`
733
733
 
@@ -747,7 +747,7 @@ DESCRIPTION
747
747
  create an environment secret on the current project or owner account
748
748
  ```
749
749
 
750
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/secret/create.ts)_
750
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/secret/create.ts)_
751
751
 
752
752
  ## `eas secret:delete`
753
753
 
@@ -764,7 +764,7 @@ DESCRIPTION
764
764
  delete an environment secret by ID
765
765
  ```
766
766
 
767
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/secret/delete.ts)_
767
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/secret/delete.ts)_
768
768
 
769
769
  ## `eas secret:list`
770
770
 
@@ -778,7 +778,7 @@ DESCRIPTION
778
778
  list environment secrets available for your current app
779
779
  ```
780
780
 
781
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/secret/list.ts)_
781
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/secret/list.ts)_
782
782
 
783
783
  ## `eas submit`
784
784
 
@@ -808,7 +808,7 @@ ALIASES
808
808
  $ eas build:submit
809
809
  ```
810
810
 
811
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/submit.ts)_
811
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/submit.ts)_
812
812
 
813
813
  ## `eas update`
814
814
 
@@ -838,7 +838,7 @@ DESCRIPTION
838
838
  publish an update group
839
839
  ```
840
840
 
841
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/update/index.ts)_
841
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/update/index.ts)_
842
842
 
843
843
  ## `eas update:configure`
844
844
 
@@ -855,7 +855,7 @@ DESCRIPTION
855
855
  configure the project to support EAS Update
856
856
  ```
857
857
 
858
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/update/configure.ts)_
858
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/update/configure.ts)_
859
859
 
860
860
  ## `eas update:delete GROUPID`
861
861
 
@@ -875,7 +875,7 @@ DESCRIPTION
875
875
  delete all the updates in an update group
876
876
  ```
877
877
 
878
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/update/delete.ts)_
878
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/update/delete.ts)_
879
879
 
880
880
  ## `eas update:list`
881
881
 
@@ -894,7 +894,7 @@ DESCRIPTION
894
894
  view the recent updates for a branch
895
895
  ```
896
896
 
897
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/update/list.ts)_
897
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/update/list.ts)_
898
898
 
899
899
  ## `eas update:view GROUPID`
900
900
 
@@ -914,7 +914,7 @@ DESCRIPTION
914
914
  update group details
915
915
  ```
916
916
 
917
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/update/view.ts)_
917
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/update/view.ts)_
918
918
 
919
919
  ## `eas webhook:create`
920
920
 
@@ -934,7 +934,7 @@ DESCRIPTION
934
934
  create a webhook
935
935
  ```
936
936
 
937
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/webhook/create.ts)_
937
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/webhook/create.ts)_
938
938
 
939
939
  ## `eas webhook:delete [ID]`
940
940
 
@@ -951,7 +951,7 @@ DESCRIPTION
951
951
  delete a webhook
952
952
  ```
953
953
 
954
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/webhook/delete.ts)_
954
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/webhook/delete.ts)_
955
955
 
956
956
  ## `eas webhook:list`
957
957
 
@@ -968,7 +968,7 @@ DESCRIPTION
968
968
  list webhooks
969
969
  ```
970
970
 
971
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/webhook/list.ts)_
971
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/webhook/list.ts)_
972
972
 
973
973
  ## `eas webhook:update`
974
974
 
@@ -989,7 +989,7 @@ DESCRIPTION
989
989
  update a webhook
990
990
  ```
991
991
 
992
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/webhook/update.ts)_
992
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/webhook/update.ts)_
993
993
 
994
994
  ## `eas webhook:view ID`
995
995
 
@@ -1006,7 +1006,7 @@ DESCRIPTION
1006
1006
  view a webhook
1007
1007
  ```
1008
1008
 
1009
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.51.0/packages/eas-cli/src/commands/webhook/view.ts)_
1009
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/webhook/view.ts)_
1010
1010
 
1011
1011
  ## `eas whoami`
1012
1012
 
@@ -29,7 +29,9 @@ async function createIosContextAsync(ctx) {
29
29
  const targets = await (0, target_1.resolveTargetsAsync)({
30
30
  projectDir: ctx.projectDir,
31
31
  exp: ctx.exp,
32
- }, xcodeBuildContext);
32
+ xcodeBuildContext,
33
+ env: buildProfile.env,
34
+ });
33
35
  const applicationTarget = (0, target_1.findApplicationTarget)(targets);
34
36
  const applicationTargetBuildSettings = resolveBuildSettings(ctx, applicationTarget);
35
37
  return {
@@ -5,20 +5,16 @@ const tslib_1 = require("tslib");
5
5
  const eas_build_job_1 = require("@expo/eas-build-job");
6
6
  const IosCredentialsProvider_1 = tslib_1.__importDefault(require("../../credentials/ios/IosCredentialsProvider"));
7
7
  const BuildCredentialsUtils_1 = require("../../credentials/ios/actions/BuildCredentialsUtils");
8
- const entitlements_1 = require("../../credentials/ios/appstore/entitlements");
9
8
  const credentials_1 = require("../utils/credentials");
10
9
  async function ensureIosCredentialsAsync(buildCtx, targets) {
11
- var _a, _b;
10
+ var _a;
12
11
  if (!shouldProvideCredentials(buildCtx)) {
13
12
  return;
14
13
  }
15
14
  const provider = new IosCredentialsProvider_1.default(buildCtx.credentialsCtx, {
16
15
  app: (0, BuildCredentialsUtils_1.getAppFromContext)(buildCtx.credentialsCtx),
17
16
  targets,
18
- iosCapabilitiesOptions: {
19
- entitlements: await (0, entitlements_1.resolveEntitlementsJsonAsync)(buildCtx.projectDir, buildCtx.workflow, (_a = buildCtx.buildProfile.env) !== null && _a !== void 0 ? _a : {}),
20
- },
21
- distribution: (_b = buildCtx.buildProfile.distribution) !== null && _b !== void 0 ? _b : 'store',
17
+ distribution: (_a = buildCtx.buildProfile.distribution) !== null && _a !== void 0 ? _a : 'store',
22
18
  enterpriseProvisioning: buildCtx.buildProfile.enterpriseProvisioning,
23
19
  });
24
20
  const { credentialsSource } = buildCtx.buildProfile;
@@ -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 = '0.0.74';
9
+ const PLUGIN_PACKAGE_VERSION = '0.0.78';
10
10
  async function runLocalBuildAsync(job, options) {
11
11
  var _a;
12
12
  const { command, args } = await getCommandAndArgsAsync(job);
@@ -1,14 +1,12 @@
1
1
  import { Platform } from '@expo/eas-build-job';
2
2
  import { CredentialsSource, DistributionType, IosEnterpriseProvisioning } from '@expo/eas-json';
3
3
  import { CredentialsContext } from '../context';
4
- import { IosCapabilitiesOptions } from './appstore/ensureAppExists';
5
4
  import { App, IosCredentials, Target } from './types';
6
5
  interface Options {
7
6
  app: App;
8
7
  targets: Target[];
9
8
  distribution: DistributionType;
10
9
  enterpriseProvisioning?: IosEnterpriseProvisioning;
11
- iosCapabilitiesOptions?: IosCapabilitiesOptions;
12
10
  }
13
11
  export default class IosCredentialsProvider {
14
12
  private ctx;
@@ -44,7 +44,6 @@ class IosCredentialsProvider {
44
44
  targets: this.options.targets,
45
45
  distribution: this.options.distribution,
46
46
  enterpriseProvisioning: this.options.enterpriseProvisioning,
47
- iosCapabilitiesOptions: this.options.iosCapabilitiesOptions,
48
47
  }).runAsync(this.ctx);
49
48
  }
50
49
  async getPushKeyAsync(ctx, targets) {
@@ -1,13 +1,11 @@
1
1
  import { DistributionType, IosEnterpriseProvisioning } from '@expo/eas-json';
2
2
  import { CredentialsContext } from '../../context';
3
- import { IosCapabilitiesOptions } from '../appstore/ensureAppExists';
4
3
  import { App, IosCredentials, Target } from '../types';
5
4
  interface Options {
6
5
  app: App;
7
6
  targets: Target[];
8
7
  distribution: DistributionType;
9
8
  enterpriseProvisioning?: IosEnterpriseProvisioning;
10
- iosCapabilitiesOptions?: IosCapabilitiesOptions;
11
9
  }
12
10
  export declare class SetUpBuildCredentials {
13
11
  private options;
@@ -36,7 +36,9 @@ class SetUpBuildCredentials {
36
36
  log_1.default.newLine();
37
37
  }
38
38
  const action = new SetUpTargetBuildCredentials_1.SetUpTargetBuildCredentials({
39
- ...this.options,
39
+ enterpriseProvisioning: this.options.enterpriseProvisioning,
40
+ distribution: this.options.distribution,
41
+ entitlements: target.entitlements,
40
42
  app: {
41
43
  ...this.options.app,
42
44
  bundleIdentifier: target.bundleIdentifier,
@@ -1,13 +1,13 @@
1
1
  import { DistributionType, IosEnterpriseProvisioning } from '@expo/eas-json';
2
+ import { JSONObject } from '@expo/json-file';
2
3
  import { IosAppBuildCredentialsFragment } from '../../../graphql/generated';
3
4
  import { CredentialsContext } from '../../context';
4
5
  import { AppLookupParams as GraphQLAppLookupParams } from '../api/GraphqlClient';
5
- import { IosCapabilitiesOptions } from '../appstore/ensureAppExists';
6
6
  interface Options {
7
7
  app: GraphQLAppLookupParams;
8
8
  distribution: DistributionType;
9
9
  enterpriseProvisioning?: IosEnterpriseProvisioning;
10
- iosCapabilitiesOptions?: IosCapabilitiesOptions;
10
+ entitlements: JSONObject;
11
11
  }
12
12
  export declare class SetUpTargetBuildCredentials {
13
13
  private options;
@@ -12,14 +12,14 @@ class SetUpTargetBuildCredentials {
12
12
  this.options = options;
13
13
  }
14
14
  async runAsync(ctx) {
15
- const { app, iosCapabilitiesOptions } = this.options;
15
+ const { app, entitlements } = this.options;
16
16
  await ctx.bestEffortAppStoreAuthenticateAsync();
17
17
  if (ctx.appStore.authCtx) {
18
18
  await ctx.appStore.ensureBundleIdExistsAsync({
19
19
  accountName: app.account.name,
20
20
  bundleIdentifier: app.bundleIdentifier,
21
21
  projectName: app.projectName,
22
- }, iosCapabilitiesOptions);
22
+ }, { entitlements });
23
23
  }
24
24
  try {
25
25
  return await this.setupBuildCredentialsAsync(ctx);
@@ -1,3 +1,4 @@
1
+ import { JSONObject } from '@expo/json-file';
1
2
  import { CommonIosAppCredentialsFragment, IosAppBuildCredentialsFragment } from '../../graphql/generated';
2
3
  import { Account } from '../../user/Account';
3
4
  export interface App {
@@ -9,6 +10,7 @@ export interface Target {
9
10
  buildConfiguration?: string;
10
11
  bundleIdentifier: string;
11
12
  parentBundleIdentifier?: string;
13
+ entitlements: JSONObject;
12
14
  }
13
15
  export interface TargetCredentials {
14
16
  distributionCertificate: {
@@ -2,4 +2,4 @@ import { AppLookupParams } from '../api/GraphqlClient';
2
2
  import { App, IosAppBuildCredentialsMap, IosAppCredentialsMap, Target } from '../types';
3
3
  export declare function displayEmptyIosCredentials(appLookupParams: AppLookupParams): void;
4
4
  export declare function displayIosCredentials(app: App, appCredentialsMap: IosAppCredentialsMap, targets: Target[]): void;
5
- export declare function displayProjectCredentials(app: App, appBuildCredentials: IosAppBuildCredentialsMap, targets: Target[]): void;
5
+ export declare function displayProjectCredentials(app: App, appBuildCredentials: IosAppBuildCredentialsMap, targets: Omit<Target, 'entitlements'>[]): void;
@@ -34,7 +34,6 @@ const SetUpBuildCredentialsFromCredentialsJson_1 = require("../ios/actions/SetUp
34
34
  const SetUpProvisioningProfile_1 = require("../ios/actions/SetUpProvisioningProfile");
35
35
  const SetUpPushKey_1 = require("../ios/actions/SetUpPushKey");
36
36
  const UpdateCredentialsJson_1 = require("../ios/actions/UpdateCredentialsJson");
37
- const entitlements_1 = require("../ios/appstore/entitlements");
38
37
  const printCredentials_1 = require("../ios/utils/printCredentials");
39
38
  const Actions_1 = require("./Actions");
40
39
  const HelperActions_1 = require("./HelperActions");
@@ -158,7 +157,12 @@ class ManageIos {
158
157
  nonInteractive: ctx.nonInteractive,
159
158
  exp: ctx.exp,
160
159
  }, buildProfile);
161
- const targets = await (0, target_1.resolveTargetsAsync)({ exp: ctx.exp, projectDir: ctx.projectDir }, xcodeBuildContext);
160
+ const targets = await (0, target_1.resolveTargetsAsync)({
161
+ exp: ctx.exp,
162
+ projectDir: ctx.projectDir,
163
+ xcodeBuildContext,
164
+ env: buildProfile.env,
165
+ });
162
166
  return {
163
167
  app,
164
168
  targets,
@@ -185,16 +189,13 @@ class ManageIos {
185
189
  }
186
190
  }
187
191
  async runProjectSpecificActionAsync(ctx, app, targets, buildProfile, action) {
188
- var _a, _b;
192
+ var _a;
189
193
  if (action === Actions_1.IosActionType.SetUpBuildCredentials) {
190
194
  await new SetUpBuildCredentials_1.SetUpBuildCredentials({
191
195
  app,
192
196
  targets,
193
197
  distribution: buildProfile.distribution,
194
198
  enterpriseProvisioning: buildProfile.enterpriseProvisioning,
195
- iosCapabilitiesOptions: {
196
- entitlements: await (0, entitlements_1.getManagedEntitlementsJsonAsync)(ctx.projectDir, (_a = buildProfile.env) !== null && _a !== void 0 ? _a : {}),
197
- },
198
199
  }).runAsync(ctx);
199
200
  return;
200
201
  }
@@ -230,7 +231,7 @@ class ManageIos {
230
231
  }
231
232
  case Actions_1.IosActionType.RemoveProvisioningProfile: {
232
233
  const iosAppCredentials = await ctx.ios.getIosAppCredentialsWithCommonFieldsAsync(appLookupParams);
233
- const provisioningProfile = (_b = iosAppCredentials === null || iosAppCredentials === void 0 ? void 0 : iosAppCredentials.iosAppBuildCredentialsList.find(buildCredentials => buildCredentials.iosDistributionType === distributionType)) === null || _b === void 0 ? void 0 : _b.provisioningProfile;
234
+ const provisioningProfile = (_a = iosAppCredentials === null || iosAppCredentials === void 0 ? void 0 : iosAppCredentials.iosAppBuildCredentialsList.find(buildCredentials => buildCredentials.iosDistributionType === distributionType)) === null || _a === void 0 ? void 0 : _a.provisioningProfile;
234
235
  if (!provisioningProfile) {
235
236
  log_1.default.log(`No provisioning profile associated with the ${distributionType} configuration of ${appLookupParams.projectName}`);
236
237
  return;
@@ -0,0 +1,8 @@
1
+ import { JSONObject } from '@expo/json-file';
2
+ interface Target {
3
+ buildConfiguration?: string;
4
+ targetName: string;
5
+ }
6
+ export declare function getManagedApplicationTargetEntitlementsAsync(projectDir: string, env: Record<string, string>): Promise<JSONObject>;
7
+ export declare function getNativeTargetEntitlementsAsync(projectDir: string, target: Target): Promise<JSONObject | null>;
8
+ export {};
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveEntitlementsJsonAsync = exports.getManagedEntitlementsJsonAsync = void 0;
3
+ exports.getNativeTargetEntitlementsAsync = exports.getManagedApplicationTargetEntitlementsAsync = void 0;
4
4
  const config_plugins_1 = require("@expo/config-plugins");
5
- const eas_build_job_1 = require("@expo/eas-build-job");
6
5
  const prebuild_config_1 = require("@expo/prebuild-config");
7
- const plist_1 = require("../../../utils/plist");
8
- async function getManagedEntitlementsJsonAsync(projectDir, env) {
6
+ const plist_1 = require("../../utils/plist");
7
+ async function getManagedApplicationTargetEntitlementsAsync(projectDir, env) {
9
8
  var _a;
10
9
  const originalProcessEnv = process.env;
11
10
  try {
@@ -25,21 +24,9 @@ async function getManagedEntitlementsJsonAsync(projectDir, env) {
25
24
  process.env = originalProcessEnv;
26
25
  }
27
26
  }
28
- exports.getManagedEntitlementsJsonAsync = getManagedEntitlementsJsonAsync;
29
- async function resolveEntitlementsJsonAsync(projectDir, workflow, env) {
30
- if (workflow === eas_build_job_1.Workflow.GENERIC) {
31
- return (await getEntitlementsJsonAsync(projectDir)) || {};
32
- }
33
- else if (workflow === eas_build_job_1.Workflow.MANAGED) {
34
- return await getManagedEntitlementsJsonAsync(projectDir, env);
35
- }
36
- else {
37
- throw new Error(`Unknown workflow: ${workflow}`);
38
- }
39
- }
40
- exports.resolveEntitlementsJsonAsync = resolveEntitlementsJsonAsync;
41
- async function getEntitlementsJsonAsync(projectDir) {
42
- const entitlementsPath = config_plugins_1.IOSConfig.Paths.getEntitlementsPath(projectDir);
27
+ exports.getManagedApplicationTargetEntitlementsAsync = getManagedApplicationTargetEntitlementsAsync;
28
+ async function getNativeTargetEntitlementsAsync(projectDir, target) {
29
+ const entitlementsPath = config_plugins_1.IOSConfig.Entitlements.getEntitlementsPath(projectDir, target);
43
30
  if (entitlementsPath) {
44
31
  const plist = await (0, plist_1.readPlistAsync)(entitlementsPath);
45
32
  return plist ? plist : null;
@@ -48,3 +35,4 @@ async function getEntitlementsJsonAsync(projectDir) {
48
35
  return null;
49
36
  }
50
37
  }
38
+ exports.getNativeTargetEntitlementsAsync = getNativeTargetEntitlementsAsync;
@@ -1,9 +1,15 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
2
  import { Target } from '../../credentials/ios/types';
3
3
  import { XcodeBuildContext } from './scheme';
4
- export declare function resolveTargetsAsync({ exp, projectDir }: {
5
- exp: ExpoConfig;
4
+ interface ResolveTargetOptions {
6
5
  projectDir: string;
7
- }, { buildConfiguration, buildScheme }: XcodeBuildContext): Promise<Target[]>;
6
+ exp: ExpoConfig;
7
+ env?: Record<string, string>;
8
+ xcodeBuildContext: XcodeBuildContext;
9
+ }
10
+ export declare function resolveMangedProjectTargetsAsync({ exp, projectDir, xcodeBuildContext, env, }: ResolveTargetOptions): Promise<Target[]>;
11
+ export declare function resolveBareProjectTargetsAsync({ exp, projectDir, xcodeBuildContext, }: ResolveTargetOptions): Promise<Target[]>;
12
+ export declare function resolveTargetsAsync(opts: ResolveTargetOptions): Promise<Target[]>;
8
13
  export declare function findApplicationTarget(targets: Target[]): Target;
9
14
  export declare function findTargetByName(targets: Target[], name: string): Target;
15
+ export {};
@@ -1,30 +1,76 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.findTargetByName = exports.findApplicationTarget = exports.resolveTargetsAsync = void 0;
3
+ exports.findTargetByName = exports.findApplicationTarget = exports.resolveTargetsAsync = exports.resolveBareProjectTargetsAsync = exports.resolveMangedProjectTargetsAsync = 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");
7
7
  const joi_1 = tslib_1.__importDefault(require("joi"));
8
8
  const workflow_1 = require("../workflow");
9
9
  const bundleIdentifier_1 = require("./bundleIdentifier");
10
+ const entitlements_1 = require("./entitlements");
10
11
  const AppExtensionsConfigSchema = joi_1.default.array().items(joi_1.default.object({
11
12
  targetName: joi_1.default.string().required(),
12
13
  bundleIdentifier: joi_1.default.string().required(),
13
14
  parentBundleIdentifier: joi_1.default.string(),
15
+ entitlements: joi_1.default.object(),
14
16
  }));
15
- async function resolveTargetsAsync({ exp, projectDir }, { buildConfiguration, buildScheme }) {
17
+ async function resolveMangedProjectTargetsAsync({ exp, projectDir, xcodeBuildContext, env, }) {
18
+ var _a, _b, _c, _d, _e, _f;
19
+ const { buildScheme, buildConfiguration } = xcodeBuildContext;
20
+ const applicationTargetName = buildScheme;
21
+ const applicationTargetBundleIdentifier = await (0, bundleIdentifier_1.getBundleIdentifierAsync)(projectDir, exp, {
22
+ targetName: applicationTargetName,
23
+ buildConfiguration,
24
+ });
25
+ const applicationTargetEntitlements = await (0, entitlements_1.getManagedApplicationTargetEntitlementsAsync)(projectDir, env !== null && env !== void 0 ? env : {});
26
+ const appExtensions = (_f = (_e = (_d = (_c = (_b = (_a = exp.extra) === null || _a === void 0 ? void 0 : _a.eas) === null || _b === void 0 ? void 0 : _b.build) === null || _c === void 0 ? void 0 : _c.experimental) === null || _d === void 0 ? void 0 : _d.ios) === null || _e === void 0 ? void 0 : _e.appExtensions) !== null && _f !== void 0 ? _f : [];
27
+ const { error } = AppExtensionsConfigSchema.validate(appExtensions, {
28
+ allowUnknown: false,
29
+ abortEarly: false,
30
+ });
31
+ if (error) {
32
+ throw new Error(`Failed to validate "extra.eas.build.experimental.ios.appExtensions" in you app config.\n${error.message}`);
33
+ }
34
+ const extensionsTargets = appExtensions.map(extension => {
35
+ var _a, _b;
36
+ return ({
37
+ targetName: extension.targetName,
38
+ buildConfiguration,
39
+ bundleIdentifier: extension.bundleIdentifier,
40
+ parentBundleIdentifier: (_a = extension.parentBundleIdentifier) !== null && _a !== void 0 ? _a : applicationTargetBundleIdentifier,
41
+ entitlements: (_b = extension.entitlements) !== null && _b !== void 0 ? _b : {},
42
+ });
43
+ });
44
+ return [
45
+ {
46
+ targetName: applicationTargetName,
47
+ bundleIdentifier: applicationTargetBundleIdentifier,
48
+ buildConfiguration,
49
+ entitlements: applicationTargetEntitlements,
50
+ },
51
+ ...extensionsTargets,
52
+ ];
53
+ }
54
+ exports.resolveMangedProjectTargetsAsync = resolveMangedProjectTargetsAsync;
55
+ async function resolveBareProjectTargetsAsync({ exp, projectDir, xcodeBuildContext, }) {
56
+ const { buildScheme, buildConfiguration } = xcodeBuildContext;
16
57
  const result = [];
17
- const applicationTarget = await readApplicationTargetForSchemeAsync(projectDir, buildScheme);
58
+ const applicationTarget = await config_plugins_1.IOSConfig.Target.findApplicationTargetWithDependenciesAsync(projectDir, buildScheme);
18
59
  const bundleIdentifier = await (0, bundleIdentifier_1.getBundleIdentifierAsync)(projectDir, exp, {
19
60
  targetName: applicationTarget.name,
20
61
  buildConfiguration,
21
62
  });
63
+ const entitlements = await (0, entitlements_1.getNativeTargetEntitlementsAsync)(projectDir, {
64
+ targetName: applicationTarget.name,
65
+ buildConfiguration,
66
+ });
22
67
  result.push({
23
68
  targetName: applicationTarget.name,
24
69
  bundleIdentifier,
25
70
  buildConfiguration,
71
+ entitlements: entitlements !== null && entitlements !== void 0 ? entitlements : {},
26
72
  });
27
- const dependencies = await resolveDependenciesAsync({
73
+ const dependencies = await resolveBareProjectDependenciesAsync({
28
74
  exp,
29
75
  projectDir,
30
76
  buildConfiguration,
@@ -34,40 +80,23 @@ async function resolveTargetsAsync({ exp, projectDir }, { buildConfiguration, bu
34
80
  if (dependencies.length > 0) {
35
81
  result.push(...dependencies);
36
82
  }
37
- result.push(...(await resolveManagedAppExtensionsAsync({
38
- exp,
39
- projectDir,
40
- buildConfiguration,
41
- applicationTargetBundleIdentifier: bundleIdentifier,
42
- })));
43
83
  return result;
44
84
  }
45
- exports.resolveTargetsAsync = resolveTargetsAsync;
46
- async function resolveManagedAppExtensionsAsync({ exp, projectDir, buildConfiguration, applicationTargetBundleIdentifier, }) {
47
- var _a, _b, _c, _d, _e;
48
- const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.IOS);
49
- const managedAppExtensions = (_e = (_d = (_c = (_b = (_a = exp.extra) === null || _a === void 0 ? void 0 : _a.eas) === null || _b === void 0 ? void 0 : _b.build) === null || _c === void 0 ? void 0 : _c.experimental) === null || _d === void 0 ? void 0 : _d.ios) === null || _e === void 0 ? void 0 : _e.appExtensions;
50
- if (workflow === eas_build_job_1.Workflow.GENERIC || !managedAppExtensions) {
51
- return [];
85
+ exports.resolveBareProjectTargetsAsync = resolveBareProjectTargetsAsync;
86
+ async function resolveTargetsAsync(opts) {
87
+ const workflow = await (0, workflow_1.resolveWorkflowAsync)(opts.projectDir, eas_build_job_1.Platform.IOS);
88
+ if (workflow === eas_build_job_1.Workflow.GENERIC) {
89
+ return await resolveBareProjectTargetsAsync(opts);
52
90
  }
53
- const { error } = AppExtensionsConfigSchema.validate(managedAppExtensions, {
54
- allowUnknown: false,
55
- abortEarly: false,
56
- });
57
- if (error) {
58
- throw new Error(`Failed to validate "extra.eas.build.experimental.ios.appExtensions" in you app config\n${error.message}`);
91
+ else if (workflow === eas_build_job_1.Workflow.MANAGED) {
92
+ return await resolveMangedProjectTargetsAsync(opts);
93
+ }
94
+ else {
95
+ throw new Error(`Unknown workflow: ${workflow}`);
59
96
  }
60
- return managedAppExtensions.map(extension => {
61
- var _a;
62
- return ({
63
- targetName: extension.targetName,
64
- buildConfiguration,
65
- bundleIdentifier: extension.bundleIdentifier,
66
- parentBundleIdentifier: (_a = extension.parentBundleIdentifier) !== null && _a !== void 0 ? _a : applicationTargetBundleIdentifier,
67
- });
68
- });
69
97
  }
70
- async function resolveDependenciesAsync({ exp, projectDir, buildConfiguration, target, bundleIdentifier, }) {
98
+ exports.resolveTargetsAsync = resolveTargetsAsync;
99
+ async function resolveBareProjectDependenciesAsync({ exp, projectDir, buildConfiguration, target, bundleIdentifier, }) {
71
100
  const result = [];
72
101
  if (target.dependencies && target.dependencies.length > 0) {
73
102
  for (const dependency of target.dependencies) {
@@ -75,13 +104,18 @@ async function resolveDependenciesAsync({ exp, projectDir, buildConfiguration, t
75
104
  targetName: dependency.name,
76
105
  buildConfiguration,
77
106
  });
107
+ const entitlements = await (0, entitlements_1.getNativeTargetEntitlementsAsync)(projectDir, {
108
+ targetName: target.name,
109
+ buildConfiguration,
110
+ });
78
111
  result.push({
79
112
  targetName: dependency.name,
80
113
  buildConfiguration,
81
114
  bundleIdentifier: dependencyBundleIdentifier,
82
115
  parentBundleIdentifier: bundleIdentifier,
116
+ entitlements: entitlements !== null && entitlements !== void 0 ? entitlements : {},
83
117
  });
84
- const dependencyDependencies = await resolveDependenciesAsync({
118
+ const dependencyDependencies = await resolveBareProjectDependenciesAsync({
85
119
  exp,
86
120
  projectDir,
87
121
  buildConfiguration,
@@ -95,19 +129,6 @@ async function resolveDependenciesAsync({ exp, projectDir, buildConfiguration, t
95
129
  }
96
130
  return result;
97
131
  }
98
- async function readApplicationTargetForSchemeAsync(projectDir, scheme) {
99
- const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.IOS);
100
- if (workflow === eas_build_job_1.Workflow.GENERIC) {
101
- return await config_plugins_1.IOSConfig.Target.findApplicationTargetWithDependenciesAsync(projectDir, scheme);
102
- }
103
- else {
104
- return {
105
- name: scheme,
106
- type: config_plugins_1.IOSConfig.Target.TargetType.APPLICATION,
107
- dependencies: [],
108
- };
109
- }
110
- }
111
132
  function findApplicationTarget(targets) {
112
133
  const applicationTarget = targets.find(({ parentBundleIdentifier }) => !parentBundleIdentifier);
113
134
  if (!applicationTarget) {
@@ -1 +1 @@
1
- {"version":"0.51.0","commands":{"analytics":{"id":"analytics","description":"display or change analytics settings","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"STATUS","options":["on","off"]}]},"config":{"id":"config","description":"display project configuration (app.json + eas.json)","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios)","multiple":false,"options":["android","ios"]},"profile":{"name":"profile","type":"option","multiple":false}},"args":[],"_globalFlags":{}},"credentials":{"id":"credentials","description":"manage credentials","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"diagnostics":{"id":"diagnostics","description":"display environment info","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"submit":{"id":"submit","description":"submit app binary to App Store and/or Play Store","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["build:submit"],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]},"profile":{"name":"profile","type":"option","description":"Name of the submit profile from eas.json. Defaults to \"production\" if defined in eas.json.","multiple":false},"latest":{"name":"latest","type":"boolean","description":"Submit the latest build for specified platform","allowNo":false,"exclusive":["id","path","url"]},"id":{"name":"id","type":"option","description":"ID of the build to submit","multiple":false,"exclusive":["latest, path, url"]},"path":{"name":"path","type":"option","description":"Path to the .apk/.aab/.ipa file","multiple":false,"exclusive":["latest","id","url"]},"url":{"name":"url","type":"option","description":"App archive url","multiple":false,"exclusive":["latest","id","path"]},"verbose":{"name":"verbose","type":"boolean","description":"Always print logs from Submission Service","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for submission to complete","allowNo":true},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[],"_globalFlags":{}},"account:login":{"id":"account:login","description":"log in with your Expo account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["login"],"flags":{},"args":[]},"account:logout":{"id":"account:logout","description":"log out","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["logout"],"flags":{},"args":[]},"account:view":{"id":"account:view","description":"show the username you are logged in as","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["whoami"],"flags":{},"args":[]},"branch:create":{"id":"branch:create","description":"create a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the new branch ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to create","required":false}],"_globalFlags":{}},"branch:delete":{"id":"branch:delete","description":"delete a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return JSON with the edited branch's ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to delete","required":false}],"_globalFlags":{}},"branch:list":{"id":"branch:list","description":"list all branches","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return output as JSON","allowNo":false}},"args":[],"_globalFlags":{}},"branch:publish":{"id":"branch:publish","description":"deprecated, use \"eas update\"","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[]},"branch:rename":{"id":"branch:rename","description":"rename a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"from":{"name":"from","type":"option","description":"current name of the branch.","required":false,"multiple":false},"to":{"name":"to","type":"option","description":"new name of the branch.","required":false,"multiple":false},"json":{"name":"json","type":"boolean","description":"return a json with the edited branch's ID and name.","allowNo":false}},"args":[],"_globalFlags":{}},"branch:view":{"id":"branch:view","description":"view a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the branch's ID name and recent update groups.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to view","required":false}],"_globalFlags":{}},"build:cancel":{"id":"build:cancel","description":"cancel a build","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"BUILD_ID"}]},"build:configure":{"id":"build:configure","description":"configure the project to support EAS Build","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","description":"Platform to configure","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]}},"args":[],"_globalFlags":{}},"build":{"id":"build","description":"start a build","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]},"skip-credentials-check":{"name":"skip-credentials-check","type":"boolean","hidden":true,"allowNo":false},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"skip-project-configuration":{"name":"skip-project-configuration","type":"boolean","hidden":true,"allowNo":false},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME","multiple":false},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run build locally [experimental]","allowNo":false},"output":{"name":"output","type":"option","description":"Output path for local build","multiple":false},"wait":{"name":"wait","type":"boolean","description":"Wait for build(s) to complete","allowNo":true},"clear-cache":{"name":"clear-cache","type":"boolean","description":"Clear cache before the build","allowNo":false},"auto-submit":{"name":"auto-submit","type":"boolean","description":"Submit on build complete using the submit profile with the same name as the build profile","allowNo":false,"exclusive":["auto-submit-with-profile"]},"auto-submit-with-profile":{"name":"auto-submit-with-profile","type":"option","description":"Submit on build complete using the submit profile with provided name","helpValue":"PROFILE_NAME","multiple":false,"exclusive":["auto-submit"]}},"args":[],"_globalFlags":{}},"build:inspect":{"id":"build:inspect","description":"inspect the state of the project at specific build stages, useful for troubleshooting","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","required":true,"helpValue":"(android|ios)","multiple":false,"options":["android","ios"]},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME","multiple":false},"stage":{"name":"stage","type":"option","char":"s","description":"Stage of the build you want to inspect.\n archive - builds the project archive that would be uploaded to EAS when building\n pre-build - prepares the project to be built with Gradle/Xcode. Does not run the native build.\n post-build - builds the native project and leaves the output directory for inspection","required":true,"helpValue":"(archive|pre-build|post-build)","multiple":false,"options":["archive","pre-build","post-build"]},"output":{"name":"output","type":"option","char":"o","description":"Output directory.","required":true,"helpValue":"OUTPUT_DIRECTORY","multiple":false},"force":{"name":"force","type":"boolean","description":"Delete OUTPUT_DIRECTORY if it already exists.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"build:list":{"id":"build:list","description":"list all builds for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","helpValue":"(all|android|ios)","multiple":false,"options":["all","android","ios"]},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"status":{"name":"status","type":"option","helpValue":"(new|in-queue|in-progress|errored|finished|canceled)","multiple":false,"options":["new","in-queue","in-progress","errored","finished","canceled"]},"distribution":{"name":"distribution","type":"option","helpValue":"(store|internal|simulator)","multiple":false,"options":["store","internal","simulator"]},"channel":{"name":"channel","type":"option","multiple":false},"appVersion":{"name":"appVersion","type":"option","multiple":false},"appBuildVersion":{"name":"appBuildVersion","type":"option","multiple":false},"sdkVersion":{"name":"sdkVersion","type":"option","multiple":false},"runtimeVersion":{"name":"runtimeVersion","type":"option","multiple":false},"appIdentifier":{"name":"appIdentifier","type":"option","multiple":false},"buildProfile":{"name":"buildProfile","type":"option","multiple":false},"gitCommitHash":{"name":"gitCommitHash","type":"option","multiple":false},"limit":{"name":"limit","type":"option","multiple":false}},"args":[],"_globalFlags":{}},"build:view":{"id":"build:view","description":"view a build for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false}},"args":[{"name":"BUILD_ID"}],"_globalFlags":{}},"channel:create":{"id":"channel:create","description":"create a channel","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to create","required":false}],"_globalFlags":{}},"channel:delete":{"id":"channel:delete","description":"Delete a channel","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object","allowNo":false},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to delete","required":false}],"_globalFlags":{}},"channel:edit":{"id":"channel:edit","description":"point a channel at a new branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Name of the branch to point to","multiple":false},"json":{"name":"json","type":"boolean","description":"Print output as a JSON object with the channel ID, name and branch mapping","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to edit","required":false}],"_globalFlags":{}},"channel:list":{"id":"channel:list","description":"list all channels","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[],"_globalFlags":{}},"channel:rollout":{"id":"channel:rollout","description":"Rollout a new branch out to a channel incrementally.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"branch to rollout","required":false,"multiple":false},"percent":{"name":"percent","type":"option","description":"percent of traffic to redirect to the new branch","required":false,"multiple":false},"end":{"name":"end","type":"boolean","description":"end the rollout","allowNo":false},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping","allowNo":false}},"args":[{"name":"channel","description":"rollout that the channel is on","required":true}],"_globalFlags":{}},"channel:view":{"id":"channel:view","description":"view a channel","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to view","required":false}],"_globalFlags":{}},"device:create":{"id":"device:create","description":"register new Apple Devices to use for internal distribution","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"device:delete":{"id":"device:delete","description":"remove a registered device from your account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"apple-team-id":{"name":"apple-team-id","type":"option","multiple":false},"udid":{"name":"udid","type":"option","multiple":true}},"args":[],"_globalFlags":{}},"device:list":{"id":"device:list","description":"list all registered devices for your account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"apple-team-id":{"name":"apple-team-id","type":"option","multiple":false}},"args":[],"_globalFlags":{}},"device:view":{"id":"device:view","description":"view a device for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"UDID"}]},"project:info":{"id":"project:info","description":"information about the current project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"project:init":{"id":"project:init","description":"create or link an EAS project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["init"],"flags":{},"args":[]},"secret:create":{"id":"secret:create","description":"create an environment secret on the current project or owner account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"scope":{"name":"scope","type":"option","description":"Scope for the secret","helpValue":"(account|project)","multiple":false,"options":["account","project"],"default":"project"},"name":{"name":"name","type":"option","description":"Name of the secret","multiple":false},"value":{"name":"value","type":"option","description":"Value of the secret","multiple":false},"force":{"name":"force","type":"boolean","description":"Delete and recreate existing secrets","allowNo":false}},"args":[],"_globalFlags":{}},"secret:delete":{"id":"secret:delete","description":"delete an environment secret by ID","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"ID of the secret to delete","multiple":false}},"args":[],"_globalFlags":{}},"secret:list":{"id":"secret:list","description":"list environment secrets available for your current app","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:configure":{"id":"update:configure","description":"configure the project to support EAS Update","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","description":"Platform to configure","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"],"default":"all"}},"args":[],"_globalFlags":{}},"update:delete":{"id":"update:delete","description":"delete all the updates in an update group","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the group ID of the deleted updates.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group to delete.","required":true}],"_globalFlags":{}},"update":{"id":"update","description":"publish an update group","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Branch to publish the update group on","required":false,"multiple":false},"message":{"name":"message","type":"option","description":"A short message describing the update","required":false,"multiple":false},"republish":{"name":"republish","type":"boolean","description":"Republish an update group","allowNo":false,"exclusive":["input-dir","skip-bundler"]},"group":{"name":"group","type":"option","description":"Update group to republish","multiple":false,"exclusive":["input-dir","skip-bundler"]},"input-dir":{"name":"input-dir","type":"option","description":"Location of the bundle","required":false,"multiple":false,"default":"dist"},"skip-bundler":{"name":"skip-bundler","type":"boolean","description":"Skip running Expo CLI to bundle the app before publishing","allowNo":false},"platform":{"name":"platform","type":"option","char":"p","required":false,"helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"],"default":"all"},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"auto":{"name":"auto","type":"boolean","description":"Use the current git branch and commit message for the EAS branch and update message","allowNo":false},"private-key-path":{"name":"private-key-path","type":"option","description":"File containing the PEM-encoded private key corresponding to the certificate in expo-updates' configuration. Defaults to a file named \"private-key.pem\" in the certificate's directory.","required":false,"multiple":false},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[],"_globalFlags":{}},"update:list":{"id":"update:list","description":"view the recent updates for a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"List all updates on this branch","multiple":false,"exclusive":["all"]},"all":{"name":"all","type":"boolean","description":"List all updates associated with this project","allowNo":false,"exclusive":["branch"]},"json":{"name":"json","type":"boolean","description":"Return a json with all of the recent update groups.","allowNo":false}},"args":[],"_globalFlags":{}},"update:view":{"id":"update:view","description":"update group details","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the updates belonging to the group.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group.","required":true}],"_globalFlags":{}},"webhook:create":{"id":"webhook:create","description":"create a webhook","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL","multiple":false},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header.","multiple":false}},"args":[],"_globalFlags":{}},"webhook:delete":{"id":"webhook:delete","description":"delete a webhook","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to delete","required":false}]},"webhook:list":{"id":"webhook:list","description":"list webhooks","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]}},"args":[],"_globalFlags":{}},"webhook:update":{"id":"webhook:update","description":"update a webhook","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"Webhook ID","required":true,"multiple":false},"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL","multiple":false},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header.","multiple":false}},"args":[],"_globalFlags":{}},"webhook:view":{"id":"webhook:view","description":"view a webhook","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to view","required":true}]}}}
1
+ {"version":"0.52.0","commands":{"analytics":{"id":"analytics","description":"display or change analytics settings","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"STATUS","options":["on","off"]}]},"config":{"id":"config","description":"display project configuration (app.json + eas.json)","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios)","multiple":false,"options":["android","ios"]},"profile":{"name":"profile","type":"option","multiple":false}},"args":[],"_globalFlags":{}},"credentials":{"id":"credentials","description":"manage credentials","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"diagnostics":{"id":"diagnostics","description":"display environment info","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"submit":{"id":"submit","description":"submit app binary to App Store and/or Play Store","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["build:submit"],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]},"profile":{"name":"profile","type":"option","description":"Name of the submit profile from eas.json. Defaults to \"production\" if defined in eas.json.","multiple":false},"latest":{"name":"latest","type":"boolean","description":"Submit the latest build for specified platform","allowNo":false,"exclusive":["id","path","url"]},"id":{"name":"id","type":"option","description":"ID of the build to submit","multiple":false,"exclusive":["latest, path, url"]},"path":{"name":"path","type":"option","description":"Path to the .apk/.aab/.ipa file","multiple":false,"exclusive":["latest","id","url"]},"url":{"name":"url","type":"option","description":"App archive url","multiple":false,"exclusive":["latest","id","path"]},"verbose":{"name":"verbose","type":"boolean","description":"Always print logs from Submission Service","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for submission to complete","allowNo":true},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[],"_globalFlags":{}},"account:login":{"id":"account:login","description":"log in with your Expo account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["login"],"flags":{},"args":[]},"account:logout":{"id":"account:logout","description":"log out","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["logout"],"flags":{},"args":[]},"account:view":{"id":"account:view","description":"show the username you are logged in as","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["whoami"],"flags":{},"args":[]},"branch:create":{"id":"branch:create","description":"create a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the new branch ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to create","required":false}],"_globalFlags":{}},"branch:delete":{"id":"branch:delete","description":"delete a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return JSON with the edited branch's ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to delete","required":false}],"_globalFlags":{}},"branch:list":{"id":"branch:list","description":"list all branches","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return output as JSON","allowNo":false}},"args":[],"_globalFlags":{}},"branch:publish":{"id":"branch:publish","description":"deprecated, use \"eas update\"","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[]},"branch:rename":{"id":"branch:rename","description":"rename a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"from":{"name":"from","type":"option","description":"current name of the branch.","required":false,"multiple":false},"to":{"name":"to","type":"option","description":"new name of the branch.","required":false,"multiple":false},"json":{"name":"json","type":"boolean","description":"return a json with the edited branch's ID and name.","allowNo":false}},"args":[],"_globalFlags":{}},"branch:view":{"id":"branch:view","description":"view a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the branch's ID name and recent update groups.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to view","required":false}],"_globalFlags":{}},"build:cancel":{"id":"build:cancel","description":"cancel a build","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"BUILD_ID"}]},"build:configure":{"id":"build:configure","description":"configure the project to support EAS Build","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","description":"Platform to configure","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]}},"args":[],"_globalFlags":{}},"build":{"id":"build","description":"start a build","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]},"skip-credentials-check":{"name":"skip-credentials-check","type":"boolean","hidden":true,"allowNo":false},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"skip-project-configuration":{"name":"skip-project-configuration","type":"boolean","hidden":true,"allowNo":false},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME","multiple":false},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run build locally [experimental]","allowNo":false},"output":{"name":"output","type":"option","description":"Output path for local build","multiple":false},"wait":{"name":"wait","type":"boolean","description":"Wait for build(s) to complete","allowNo":true},"clear-cache":{"name":"clear-cache","type":"boolean","description":"Clear cache before the build","allowNo":false},"auto-submit":{"name":"auto-submit","type":"boolean","description":"Submit on build complete using the submit profile with the same name as the build profile","allowNo":false,"exclusive":["auto-submit-with-profile"]},"auto-submit-with-profile":{"name":"auto-submit-with-profile","type":"option","description":"Submit on build complete using the submit profile with provided name","helpValue":"PROFILE_NAME","multiple":false,"exclusive":["auto-submit"]}},"args":[],"_globalFlags":{}},"build:inspect":{"id":"build:inspect","description":"inspect the state of the project at specific build stages, useful for troubleshooting","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","required":true,"helpValue":"(android|ios)","multiple":false,"options":["android","ios"]},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME","multiple":false},"stage":{"name":"stage","type":"option","char":"s","description":"Stage of the build you want to inspect.\n archive - builds the project archive that would be uploaded to EAS when building\n pre-build - prepares the project to be built with Gradle/Xcode. Does not run the native build.\n post-build - builds the native project and leaves the output directory for inspection","required":true,"helpValue":"(archive|pre-build|post-build)","multiple":false,"options":["archive","pre-build","post-build"]},"output":{"name":"output","type":"option","char":"o","description":"Output directory.","required":true,"helpValue":"OUTPUT_DIRECTORY","multiple":false},"force":{"name":"force","type":"boolean","description":"Delete OUTPUT_DIRECTORY if it already exists.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","char":"v","allowNo":false}},"args":[],"_globalFlags":{}},"build:list":{"id":"build:list","description":"list all builds for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","helpValue":"(all|android|ios)","multiple":false,"options":["all","android","ios"]},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"status":{"name":"status","type":"option","helpValue":"(new|in-queue|in-progress|errored|finished|canceled)","multiple":false,"options":["new","in-queue","in-progress","errored","finished","canceled"]},"distribution":{"name":"distribution","type":"option","helpValue":"(store|internal|simulator)","multiple":false,"options":["store","internal","simulator"]},"channel":{"name":"channel","type":"option","multiple":false},"appVersion":{"name":"appVersion","type":"option","multiple":false},"appBuildVersion":{"name":"appBuildVersion","type":"option","multiple":false},"sdkVersion":{"name":"sdkVersion","type":"option","multiple":false},"runtimeVersion":{"name":"runtimeVersion","type":"option","multiple":false},"appIdentifier":{"name":"appIdentifier","type":"option","multiple":false},"buildProfile":{"name":"buildProfile","type":"option","multiple":false},"gitCommitHash":{"name":"gitCommitHash","type":"option","multiple":false},"limit":{"name":"limit","type":"option","multiple":false}},"args":[],"_globalFlags":{}},"build:view":{"id":"build:view","description":"view a build for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false}},"args":[{"name":"BUILD_ID"}],"_globalFlags":{}},"channel:create":{"id":"channel:create","description":"create a channel","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to create","required":false}],"_globalFlags":{}},"channel:delete":{"id":"channel:delete","description":"Delete a channel","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object","allowNo":false},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to delete","required":false}],"_globalFlags":{}},"channel:edit":{"id":"channel:edit","description":"point a channel at a new branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Name of the branch to point to","multiple":false},"json":{"name":"json","type":"boolean","description":"Print output as a JSON object with the channel ID, name and branch mapping","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to edit","required":false}],"_globalFlags":{}},"channel:list":{"id":"channel:list","description":"list all channels","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[],"_globalFlags":{}},"channel:rollout":{"id":"channel:rollout","description":"Rollout a new branch out to a channel incrementally.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"branch to rollout","required":false,"multiple":false},"percent":{"name":"percent","type":"option","description":"percent of traffic to redirect to the new branch","required":false,"multiple":false},"end":{"name":"end","type":"boolean","description":"end the rollout","allowNo":false},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping","allowNo":false}},"args":[{"name":"channel","description":"rollout that the channel is on","required":true}],"_globalFlags":{}},"channel:view":{"id":"channel:view","description":"view a channel","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to view","required":false}],"_globalFlags":{}},"device:create":{"id":"device:create","description":"register new Apple Devices to use for internal distribution","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"device:delete":{"id":"device:delete","description":"remove a registered device from your account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"apple-team-id":{"name":"apple-team-id","type":"option","multiple":false},"udid":{"name":"udid","type":"option","multiple":true}},"args":[],"_globalFlags":{}},"device:list":{"id":"device:list","description":"list all registered devices for your account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"apple-team-id":{"name":"apple-team-id","type":"option","multiple":false}},"args":[],"_globalFlags":{}},"device:view":{"id":"device:view","description":"view a device for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"UDID"}]},"project:info":{"id":"project:info","description":"information about the current project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"project:init":{"id":"project:init","description":"create or link an EAS project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["init"],"flags":{},"args":[]},"secret:create":{"id":"secret:create","description":"create an environment secret on the current project or owner account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"scope":{"name":"scope","type":"option","description":"Scope for the secret","helpValue":"(account|project)","multiple":false,"options":["account","project"],"default":"project"},"name":{"name":"name","type":"option","description":"Name of the secret","multiple":false},"value":{"name":"value","type":"option","description":"Value of the secret","multiple":false},"force":{"name":"force","type":"boolean","description":"Delete and recreate existing secrets","allowNo":false}},"args":[],"_globalFlags":{}},"secret:delete":{"id":"secret:delete","description":"delete an environment secret by ID","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"ID of the secret to delete","multiple":false}},"args":[],"_globalFlags":{}},"secret:list":{"id":"secret:list","description":"list environment secrets available for your current app","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:configure":{"id":"update:configure","description":"configure the project to support EAS Update","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","description":"Platform to configure","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"],"default":"all"}},"args":[],"_globalFlags":{}},"update:delete":{"id":"update:delete","description":"delete all the updates in an update group","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the group ID of the deleted updates.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group to delete.","required":true}],"_globalFlags":{}},"update":{"id":"update","description":"publish an update group","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Branch to publish the update group on","required":false,"multiple":false},"message":{"name":"message","type":"option","description":"A short message describing the update","required":false,"multiple":false},"republish":{"name":"republish","type":"boolean","description":"Republish an update group","allowNo":false,"exclusive":["input-dir","skip-bundler"]},"group":{"name":"group","type":"option","description":"Update group to republish","multiple":false,"exclusive":["input-dir","skip-bundler"]},"input-dir":{"name":"input-dir","type":"option","description":"Location of the bundle","required":false,"multiple":false,"default":"dist"},"skip-bundler":{"name":"skip-bundler","type":"boolean","description":"Skip running Expo CLI to bundle the app before publishing","allowNo":false},"platform":{"name":"platform","type":"option","char":"p","required":false,"helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"],"default":"all"},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"auto":{"name":"auto","type":"boolean","description":"Use the current git branch and commit message for the EAS branch and update message","allowNo":false},"private-key-path":{"name":"private-key-path","type":"option","description":"File containing the PEM-encoded private key corresponding to the certificate in expo-updates' configuration. Defaults to a file named \"private-key.pem\" in the certificate's directory.","required":false,"multiple":false},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[],"_globalFlags":{}},"update:list":{"id":"update:list","description":"view the recent updates for a branch","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"List all updates on this branch","multiple":false,"exclusive":["all"]},"all":{"name":"all","type":"boolean","description":"List all updates associated with this project","allowNo":false,"exclusive":["branch"]},"json":{"name":"json","type":"boolean","description":"Return a json with all of the recent update groups.","allowNo":false}},"args":[],"_globalFlags":{}},"update:view":{"id":"update:view","description":"update group details","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the updates belonging to the group.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group.","required":true}],"_globalFlags":{}},"webhook:create":{"id":"webhook:create","description":"create a webhook","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL","multiple":false},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header.","multiple":false}},"args":[],"_globalFlags":{}},"webhook:delete":{"id":"webhook:delete","description":"delete a webhook","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to delete","required":false}]},"webhook:list":{"id":"webhook:list","description":"list webhooks","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]}},"args":[],"_globalFlags":{}},"webhook:update":{"id":"webhook:update","description":"update a webhook","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"Webhook ID","required":true,"multiple":false},"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL","multiple":false},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header.","multiple":false}},"args":[],"_globalFlags":{}},"webhook:view":{"id":"webhook:view","description":"view a webhook","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to view","required":true}]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "0.51.0",
4
+ "version": "0.52.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
@@ -10,17 +10,17 @@
10
10
  "dependencies": {
11
11
  "@expo/apple-utils": "0.0.0-alpha.31",
12
12
  "@expo/code-signing-certificates": "0.0.2",
13
- "@expo/config": "6.0.19",
14
- "@expo/config-plugins": "4.1.0",
13
+ "@expo/config": "6.0.21",
14
+ "@expo/config-plugins": "4.1.2",
15
15
  "@expo/config-types": "44.0.0",
16
- "@expo/eas-build-job": "0.2.68",
17
- "@expo/eas-json": "0.51.0",
16
+ "@expo/eas-build-job": "0.2.71",
17
+ "@expo/eas-json": "0.52.0",
18
18
  "@expo/json-file": "8.2.34",
19
19
  "@expo/multipart-body-parser": "1.1.0",
20
20
  "@expo/pkcs12": "0.0.7",
21
21
  "@expo/plist": "0.0.17",
22
22
  "@expo/plugin-warn-if-update-available": "2.1.0",
23
- "@expo/prebuild-config": "3.1.0",
23
+ "@expo/prebuild-config": "3.1.2",
24
24
  "@expo/results": "1.0.0",
25
25
  "@expo/rudder-sdk-node": "1.1.1",
26
26
  "@expo/spawn-async": "1.6.0",
@@ -195,5 +195,5 @@
195
195
  "generate-graphql-code": "graphql-codegen --config graphql-codegen.yml",
196
196
  "clean": "rm -rf dist build tmp node_modules yarn-error.log"
197
197
  },
198
- "gitHead": "b591698c31c986945b231642d88fc36e0f0eed24"
198
+ "gitHead": "bbc8b1ac762e655d492660cd246e9b263d022241"
199
199
  }
@@ -1,4 +0,0 @@
1
- import { Workflow } from '@expo/eas-build-job';
2
- import { JSONObject } from '@expo/json-file';
3
- export declare function getManagedEntitlementsJsonAsync(projectDir: string, env: Record<string, string>): Promise<JSONObject>;
4
- export declare function resolveEntitlementsJsonAsync(projectDir: string, workflow: Workflow, env: Record<string, string>): Promise<JSONObject>;