eas-cli 0.50.0 → 0.53.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.
Files changed (79) hide show
  1. package/README.md +46 -45
  2. package/build/build/android/version.js +1 -1
  3. package/build/build/build.js +36 -27
  4. package/build/build/ios/build.js +3 -1
  5. package/build/build/ios/credentials.js +2 -6
  6. package/build/build/local.js +1 -1
  7. package/build/commands/branch/create.js +2 -2
  8. package/build/commands/branch/delete.js +2 -2
  9. package/build/commands/branch/list.js +2 -2
  10. package/build/commands/branch/rename.js +2 -2
  11. package/build/commands/branch/view.js +2 -2
  12. package/build/commands/build/cancel.js +3 -3
  13. package/build/commands/build/configure.js +2 -2
  14. package/build/commands/build/inspect.js +1 -1
  15. package/build/commands/build/list.js +2 -2
  16. package/build/commands/build/view.js +2 -2
  17. package/build/commands/channel/create.js +2 -2
  18. package/build/commands/channel/delete.js +2 -2
  19. package/build/commands/channel/edit.js +2 -2
  20. package/build/commands/channel/list.js +2 -2
  21. package/build/commands/channel/rollout.js +2 -2
  22. package/build/commands/channel/view.js +3 -3
  23. package/build/commands/device/delete.js +2 -2
  24. package/build/commands/device/list.js +2 -2
  25. package/build/commands/device/view.js +2 -2
  26. package/build/commands/project/info.js +2 -2
  27. package/build/commands/project/init.js +2 -2
  28. package/build/commands/secret/create.js +2 -2
  29. package/build/commands/secret/delete.js +2 -2
  30. package/build/commands/secret/list.js +2 -2
  31. package/build/commands/submit.js +2 -2
  32. package/build/commands/update/configure.js +2 -3
  33. package/build/commands/update/index.d.ts +1 -0
  34. package/build/commands/update/index.js +28 -6
  35. package/build/commands/update/list.js +2 -2
  36. package/build/commands/webhook/create.js +2 -2
  37. package/build/commands/webhook/delete.js +2 -2
  38. package/build/commands/webhook/list.js +2 -2
  39. package/build/credentials/android/actions/CreateGoogleServiceAccountKey.js +24 -9
  40. package/build/credentials/android/utils/googleServiceAccountKey.js +1 -1
  41. package/build/credentials/android/utils/keystore.js +1 -1
  42. package/build/credentials/android/utils/keystoreNew.js +2 -2
  43. package/build/credentials/context.js +2 -3
  44. package/build/credentials/credentialsJson/read.js +1 -1
  45. package/build/credentials/ios/IosCredentialsProvider.d.ts +0 -2
  46. package/build/credentials/ios/IosCredentialsProvider.js +0 -1
  47. package/build/credentials/ios/actions/SetUpBuildCredentials.d.ts +0 -2
  48. package/build/credentials/ios/actions/SetUpBuildCredentials.js +3 -1
  49. package/build/credentials/ios/actions/SetUpTargetBuildCredentials.d.ts +2 -2
  50. package/build/credentials/ios/actions/SetUpTargetBuildCredentials.js +2 -2
  51. package/build/credentials/ios/types.d.ts +2 -0
  52. package/build/credentials/ios/utils/printCredentials.d.ts +1 -1
  53. package/build/credentials/ios/utils/provisioningProfile.js +1 -1
  54. package/build/credentials/ios/validators/validateProvisioningProfile.js +1 -1
  55. package/build/credentials/manager/ManageIos.js +8 -7
  56. package/build/graphql/generated.d.ts +66 -21
  57. package/build/graphql/generated.js +5 -0
  58. package/build/project/android/applicationId.js +1 -1
  59. package/build/project/ios/bundleIdentifier.js +1 -1
  60. package/build/project/ios/entitlements.d.ts +8 -0
  61. package/build/{credentials/ios/appstore → project/ios}/entitlements.js +7 -19
  62. package/build/project/ios/target.d.ts +9 -3
  63. package/build/project/ios/target.js +68 -47
  64. package/build/project/publish.js +2 -1
  65. package/build/submit/ArchiveSource.js +1 -1
  66. package/build/submit/android/ServiceAccountSource.js +1 -1
  67. package/build/submit/utils/errors.js +6 -2
  68. package/build/submit/utils/files.js +1 -1
  69. package/build/submit/utils/logs.js +1 -1
  70. package/build/update/android/UpdatesModule.js +2 -2
  71. package/build/update/ios/UpdatesModule.js +2 -2
  72. package/build/user/actions.js +1 -1
  73. package/build/utils/code-signing.js +11 -14
  74. package/build/vcs/clients/git.js +5 -5
  75. package/build/vcs/git.js +1 -1
  76. package/build/webhooks/input.js +1 -1
  77. package/oclif.manifest.json +1 -1
  78. package/package.json +38 -38
  79. package/build/credentials/ios/appstore/entitlements.d.ts +0 -4
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.50.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.53.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.50.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.53.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.50.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.53.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.50.0/packages/eas-cli/src/commands/analytics.ts)_
149
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.53.0/packages/eas-cli/src/commands/analytics.ts)_
150
150
 
151
151
  ## `eas autocomplete [SHELL]`
152
152
 
@@ -175,7 +175,7 @@ EXAMPLES
175
175
  $ eas autocomplete --refresh-cache
176
176
  ```
177
177
 
178
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.2.0/src/commands/autocomplete/index.ts)_
178
+ _See code: [@expo/plugin-autocomplete](https://github.com/expo/plugin-autocomplete/blob/v1.4.0/src/commands/autocomplete/index.ts)_
179
179
 
180
180
  ## `eas branch:create [NAME]`
181
181
 
@@ -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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.0/packages/eas-cli/src/commands/config.ts)_
543
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.53.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.50.0/packages/eas-cli/src/commands/credentials.ts)_
557
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.0/packages/eas-cli/src/commands/diagnostics.ts)_
634
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.53.0/packages/eas-cli/src/commands/diagnostics.ts)_
635
635
 
636
636
  ## `eas help [COMMAND]`
637
637
 
@@ -651,7 +651,7 @@ DESCRIPTION
651
651
  Display help for eas.
652
652
  ```
653
653
 
654
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_
654
+ _See code: [@expo/plugin-help](https://github.com/expo/oclif-plugin-help/blob/v5.2.0/src/commands/help.ts)_
655
655
 
656
656
  ## `eas init`
657
657
 
@@ -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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.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.53.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.50.0/packages/eas-cli/src/commands/submit.ts)_
811
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.53.0/packages/eas-cli/src/commands/submit.ts)_
812
812
 
813
813
  ## `eas update`
814
814
 
@@ -817,7 +817,7 @@ publish an update group
817
817
  ```
818
818
  USAGE
819
819
  $ eas update [--branch <value>] [--message <value>] [--republish | --input-dir <value> | --skip-bundler]
820
- [--group <value> | | ] [-p android|ios|all] [--json] [--auto] [--private-key-path <value>]
820
+ [--group <value> | | ] [-p android|ios|all] [--json] [--auto] [--private-key-path <value>] [--non-interactive]
821
821
 
822
822
  FLAGS
823
823
  -p, --platform=(android|ios|all) [default: all]
@@ -827,6 +827,7 @@ FLAGS
827
827
  --input-dir=<value> [default: dist] Location of the bundle
828
828
  --json Enable JSON output, non-JSON messages will be printed to stderr
829
829
  --message=<value> A short message describing the update
830
+ --non-interactive Run command in non-interactive mode
830
831
  --private-key-path=<value> File containing the PEM-encoded private key corresponding to the certificate in
831
832
  expo-updates' configuration. Defaults to a file named "private-key.pem" in the
832
833
  certificate's directory.
@@ -837,7 +838,7 @@ DESCRIPTION
837
838
  publish an update group
838
839
  ```
839
840
 
840
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/update/index.ts)_
841
842
 
842
843
  ## `eas update:configure`
843
844
 
@@ -854,7 +855,7 @@ DESCRIPTION
854
855
  configure the project to support EAS Update
855
856
  ```
856
857
 
857
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/update/configure.ts)_
858
859
 
859
860
  ## `eas update:delete GROUPID`
860
861
 
@@ -874,7 +875,7 @@ DESCRIPTION
874
875
  delete all the updates in an update group
875
876
  ```
876
877
 
877
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/update/delete.ts)_
878
879
 
879
880
  ## `eas update:list`
880
881
 
@@ -893,7 +894,7 @@ DESCRIPTION
893
894
  view the recent updates for a branch
894
895
  ```
895
896
 
896
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/update/list.ts)_
897
898
 
898
899
  ## `eas update:view GROUPID`
899
900
 
@@ -913,7 +914,7 @@ DESCRIPTION
913
914
  update group details
914
915
  ```
915
916
 
916
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/update/view.ts)_
917
918
 
918
919
  ## `eas webhook:create`
919
920
 
@@ -933,7 +934,7 @@ DESCRIPTION
933
934
  create a webhook
934
935
  ```
935
936
 
936
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/webhook/create.ts)_
937
938
 
938
939
  ## `eas webhook:delete [ID]`
939
940
 
@@ -950,7 +951,7 @@ DESCRIPTION
950
951
  delete a webhook
951
952
  ```
952
953
 
953
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/webhook/delete.ts)_
954
955
 
955
956
  ## `eas webhook:list`
956
957
 
@@ -967,7 +968,7 @@ DESCRIPTION
967
968
  list webhooks
968
969
  ```
969
970
 
970
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/webhook/list.ts)_
971
972
 
972
973
  ## `eas webhook:update`
973
974
 
@@ -988,7 +989,7 @@ DESCRIPTION
988
989
  update a webhook
989
990
  ```
990
991
 
991
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/webhook/update.ts)_
992
993
 
993
994
  ## `eas webhook:view ID`
994
995
 
@@ -1005,7 +1006,7 @@ DESCRIPTION
1005
1006
  view a webhook
1006
1007
  ```
1007
1008
 
1008
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.50.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.53.0/packages/eas-cli/src/commands/webhook/view.ts)_
1009
1010
 
1010
1011
  ## `eas whoami`
1011
1012
 
@@ -72,7 +72,7 @@ async function maybeResolveVersionsAsync(projectDir, exp, buildProfile) {
72
72
  appBuildVersion: (_b = (0, gradleUtils_1.resolveConfigValue)(buildGradle, 'versionCode', parsedGradleCommand === null || parsedGradleCommand === void 0 ? void 0 : parsedGradleCommand.flavor)) !== null && _b !== void 0 ? _b : '1',
73
73
  };
74
74
  }
75
- catch (err) {
75
+ catch {
76
76
  return {};
77
77
  }
78
78
  }
@@ -137,17 +137,25 @@ async function sendBuildRequestAsync(builder, job, metadata) {
137
137
  });
138
138
  }
139
139
  async function waitForBuildEndAsync({ buildIds, accountName }, {
140
- // 2 hours (max build time limit) + 10 minutes (possible queue time )
140
+ // 2 hours (max build time limit) + 10 minutes (possible queue time)
141
141
  timeoutSec = 2 * 60 * 60 + 10 * 60, intervalSec = 10, } = {}) {
142
- const b = `build${buildIds.length > 1 ? 's' : ''}`;
143
- log_1.default.log(`Waiting for ${b} to complete. You can press Ctrl+C to exit.`);
144
- const spinner = (0, ora_1.ora)(`Waiting for ${b} to complete.`).start();
142
+ let spinner;
143
+ let originalSpinnerText;
144
+ if (buildIds.length === 1) {
145
+ log_1.default.log('Waiting for build to complete. You can press Ctrl+C to exit.');
146
+ originalSpinnerText = 'Waiting for build to complete.';
147
+ spinner = (0, ora_1.ora)(originalSpinnerText).start();
148
+ }
149
+ else {
150
+ originalSpinnerText = 'Waiting for builds to complete. You can press Ctrl+C to exit.';
151
+ spinner = (0, ora_1.ora)('Waiting for builds to complete. You can press Ctrl+C to exit.').start();
152
+ }
145
153
  const endTime = new Date().getTime() + timeoutSec * 1000;
146
154
  while (new Date().getTime() <= endTime) {
147
155
  const builds = await getBuildsSafelyAsync(buildIds);
148
156
  const { refetch } = builds.length === 1
149
157
  ? await handleSingleBuildProgressAsync({ build: builds[0], accountName }, { spinner })
150
- : await handleMultipleBuildsProgressAsync({ builds }, { spinner });
158
+ : await handleMultipleBuildsProgressAsync({ builds }, { spinner, originalSpinnerText });
151
159
  if (!refetch) {
152
160
  return builds;
153
161
  }
@@ -247,7 +255,7 @@ const statusToDisplayName = {
247
255
  [generated_1.BuildStatus.Errored]: 'failed',
248
256
  };
249
257
  const platforms = [generated_1.AppPlatform.Android, generated_1.AppPlatform.Ios];
250
- async function handleMultipleBuildsProgressAsync({ builds: maybeBuilds }, { spinner }) {
258
+ async function handleMultipleBuildsProgressAsync({ builds: maybeBuilds }, { spinner, originalSpinnerText }) {
251
259
  const buildCount = maybeBuilds.length;
252
260
  const builds = maybeBuilds.filter(isBuildFragment);
253
261
  const allFinished = builds.filter(build => build.status === generated_1.BuildStatus.Finished).length === buildCount;
@@ -262,7 +270,7 @@ async function handleMultipleBuildsProgressAsync({ builds: maybeBuilds }, { spin
262
270
  return { refetch: false };
263
271
  }
264
272
  else {
265
- spinner.text = formatPendingBuildsText(builds);
273
+ spinner.text = formatPendingBuildsText(originalSpinnerText, builds);
266
274
  return { refetch: true };
267
275
  }
268
276
  }
@@ -274,26 +282,27 @@ function formatSettledBuildsText(builds) {
274
282
  })
275
283
  .join('\n ');
276
284
  }
277
- function formatPendingBuildsText(builds) {
278
- return platforms
279
- .map(platform => {
280
- const build = builds.find(build => build.platform === platform);
281
- const status = build ? statusToDisplayName[build.status] : 'unknown';
282
- let extraInfo = '';
283
- if ((build === null || build === void 0 ? void 0 : build.status) === generated_1.BuildStatus.InQueue &&
284
- typeof build.initialQueuePosition === 'number' &&
285
- typeof build.queuePosition === 'number') {
286
- const percent = Math.floor(((build.initialQueuePosition - build.queuePosition + 1) /
287
- (build.initialQueuePosition + 1)) *
288
- 100);
289
- const estimatedWaitTime = typeof build.estimatedWaitTimeLeftSeconds === 'number'
290
- ? ` - ${formatEstimatedWaitTime(build.estimatedWaitTimeLeftSeconds)}`
291
- : '';
292
- extraInfo = ` - queue progress: ${chalk_1.default.bold(`${percent}%`)}${estimatedWaitTime}`;
293
- }
294
- return `${platform_1.appPlatformEmojis[platform]} ${platform_1.appPlatformDisplayNames[platform]} build - status: ${chalk_1.default.bold(status)}${extraInfo}`;
295
- })
296
- .join('\n ');
285
+ function formatPendingBuildsText(originalSpinnerText, builds) {
286
+ return [
287
+ originalSpinnerText,
288
+ ...platforms.map(platform => {
289
+ const build = builds.find(build => build.platform === platform);
290
+ const status = build ? statusToDisplayName[build.status] : 'unknown';
291
+ let extraInfo = '';
292
+ if ((build === null || build === void 0 ? void 0 : build.status) === generated_1.BuildStatus.InQueue &&
293
+ typeof build.initialQueuePosition === 'number' &&
294
+ typeof build.queuePosition === 'number') {
295
+ const percent = Math.floor(((build.initialQueuePosition - build.queuePosition + 1) /
296
+ (build.initialQueuePosition + 1)) *
297
+ 100);
298
+ const estimatedWaitTime = typeof build.estimatedWaitTimeLeftSeconds === 'number'
299
+ ? ` - ${formatEstimatedWaitTime(build.estimatedWaitTimeLeftSeconds)}`
300
+ : '';
301
+ extraInfo = ` - queue progress: ${chalk_1.default.bold(`${percent}%`)}${estimatedWaitTime}`;
302
+ }
303
+ return `${platform_1.appPlatformEmojis[platform]} ${platform_1.appPlatformDisplayNames[platform]} build - status: ${chalk_1.default.bold(status)}${extraInfo}`;
304
+ }),
305
+ ].join('\n ');
297
306
  }
298
307
  function isBuildFragment(maybeBuild) {
299
308
  return maybeBuild !== null;
@@ -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.82';
10
10
  async function runLocalBuildAsync(job, options) {
11
11
  var _a;
12
12
  const { command, args } = await getCommandAndArgsAsync(job);
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createUpdateBranchOnAppAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const config_1 = require("@expo/config");
6
5
  const core_1 = require("@oclif/core");
7
6
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
8
7
  const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
9
8
  const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
10
9
  const client_1 = require("../../graphql/client");
11
10
  const log_1 = tslib_1.__importDefault(require("../../log"));
11
+ const expoConfig_1 = require("../../project/expoConfig");
12
12
  const projectUtils_1 = require("../../project/projectUtils");
13
13
  const prompts_1 = require("../../prompts");
14
14
  const json_1 = require("../../utils/json");
@@ -43,7 +43,7 @@ class BranchCreate extends EasCommand_1.default {
43
43
  (0, json_1.enableJsonOutput)();
44
44
  }
45
45
  const projectDir = await (0, projectUtils_1.findProjectRootAsync)();
46
- const { exp } = (0, config_1.getConfig)(projectDir, { skipSDKVersionRequirement: true });
46
+ const exp = (0, expoConfig_1.getExpoConfig)(projectDir);
47
47
  const fullName = await (0, projectUtils_1.getProjectFullNameAsync)(exp);
48
48
  const projectId = await (0, projectUtils_1.getProjectIdAsync)(exp);
49
49
  if (!name) {
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const config_1 = require("@expo/config");
5
4
  const core_1 = require("@oclif/core");
6
5
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
7
6
  const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
8
7
  const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
9
8
  const client_1 = require("../../graphql/client");
10
9
  const log_1 = tslib_1.__importDefault(require("../../log"));
10
+ const expoConfig_1 = require("../../project/expoConfig");
11
11
  const projectUtils_1 = require("../../project/projectUtils");
12
12
  const prompts_1 = require("../../prompts");
13
13
  const json_1 = require("../../utils/json");
@@ -56,7 +56,7 @@ class BranchDelete extends EasCommand_1.default {
56
56
  (0, json_1.enableJsonOutput)();
57
57
  }
58
58
  const projectDir = await (0, projectUtils_1.findProjectRootAsync)();
59
- const { exp } = (0, config_1.getConfig)(projectDir, { skipSDKVersionRequirement: true });
59
+ const exp = (0, expoConfig_1.getExpoConfig)(projectDir);
60
60
  const fullName = await (0, projectUtils_1.getProjectFullNameAsync)(exp);
61
61
  const projectId = await (0, projectUtils_1.getProjectIdAsync)(exp);
62
62
  if (!name) {
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.listBranchesAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const config_1 = require("@expo/config");
6
5
  const core_1 = require("@oclif/core");
7
6
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
8
7
  const cli_table3_1 = tslib_1.__importDefault(require("cli-table3"));
@@ -12,6 +11,7 @@ const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasComm
12
11
  const client_1 = require("../../graphql/client");
13
12
  const UpdateBranch_1 = require("../../graphql/types/UpdateBranch");
14
13
  const log_1 = tslib_1.__importDefault(require("../../log"));
14
+ const expoConfig_1 = require("../../project/expoConfig");
15
15
  const projectUtils_1 = require("../../project/projectUtils");
16
16
  const utils_1 = require("../../update/utils");
17
17
  const json_1 = require("../../utils/json");
@@ -47,7 +47,7 @@ class BranchList extends EasCommand_1.default {
47
47
  (0, json_1.enableJsonOutput)();
48
48
  }
49
49
  const projectDir = await (0, projectUtils_1.findProjectRootAsync)();
50
- const { exp } = (0, config_1.getConfig)(projectDir, { skipSDKVersionRequirement: true });
50
+ const exp = (0, expoConfig_1.getExpoConfig)(projectDir);
51
51
  const projectId = await (0, projectUtils_1.getProjectIdAsync)(exp);
52
52
  const branches = await listBranchesAsync({ projectId });
53
53
  if (flags.json) {