eas-cli 2.5.1 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/README.md +89 -49
  2. package/build/branch/queries.js +3 -22
  3. package/build/build/queries.d.ts +11 -1
  4. package/build/build/queries.js +39 -1
  5. package/build/channel/queries.js +5 -8
  6. package/build/channel/utils.js +22 -22
  7. package/build/commandUtils/context/LoggedInContextField.d.ts +3 -0
  8. package/build/commandUtils/context/LoggedInContextField.js +9 -1
  9. package/build/commandUtils/context/MaybeLoggedInContextField.d.ts +3 -0
  10. package/build/commandUtils/context/MaybeLoggedInContextField.js +9 -1
  11. package/build/commandUtils/context/contextUtils/createGraphqlClient.d.ts +2 -2
  12. package/build/commandUtils/gating/FeatureGateEnvOverrides.d.ts +7 -0
  13. package/build/commandUtils/gating/FeatureGateEnvOverrides.js +35 -0
  14. package/build/commandUtils/gating/FeatureGateKey.d.ts +4 -0
  15. package/build/commandUtils/gating/FeatureGateKey.js +11 -0
  16. package/build/commandUtils/gating/FeatureGateTestOverrides.d.ts +5 -0
  17. package/build/commandUtils/gating/FeatureGateTestOverrides.js +17 -0
  18. package/build/commandUtils/gating/FeatureGating.d.ts +16 -0
  19. package/build/commandUtils/gating/FeatureGating.js +55 -0
  20. package/build/commandUtils/pagination.d.ts +4 -3
  21. package/build/commands/branch/list.d.ts +1 -1
  22. package/build/commands/branch/view.d.ts +1 -1
  23. package/build/commands/build/configure.d.ts +1 -1
  24. package/build/commands/build/index.d.ts +2 -2
  25. package/build/commands/build/list.d.ts +4 -4
  26. package/build/commands/build/list.js +2 -15
  27. package/build/commands/build/run.d.ts +21 -0
  28. package/build/commands/build/run.js +149 -0
  29. package/build/commands/build/version/set.d.ts +1 -1
  30. package/build/commands/build/version/sync.d.ts +1 -1
  31. package/build/commands/channel/list.d.ts +1 -1
  32. package/build/commands/channel/view.d.ts +1 -1
  33. package/build/commands/config.d.ts +1 -1
  34. package/build/commands/credentials.d.ts +1 -1
  35. package/build/commands/device/list.d.ts +1 -1
  36. package/build/commands/metadata/lint.d.ts +12 -0
  37. package/build/commands/metadata/lint.js +72 -0
  38. package/build/commands/metadata/pull.js +20 -9
  39. package/build/commands/metadata/push.js +20 -9
  40. package/build/commands/secret/create.d.ts +1 -1
  41. package/build/commands/secret/list.js +12 -17
  42. package/build/commands/submit.d.ts +1 -1
  43. package/build/commands/update/configure.js +2 -0
  44. package/build/commands/update/list.d.ts +1 -1
  45. package/build/commands/webhook/create.d.ts +1 -1
  46. package/build/commands/webhook/list.d.ts +1 -1
  47. package/build/commands/webhook/update.d.ts +1 -1
  48. package/build/devices/actions/create/inputMethod.js +2 -15
  49. package/build/devices/utils/formatDevice.d.ts +2 -0
  50. package/build/devices/utils/formatDevice.js +32 -7
  51. package/build/env.d.ts +8 -0
  52. package/build/env.js +8 -0
  53. package/build/graphql/generated.d.ts +74 -6
  54. package/build/graphql/generated.js +10 -2
  55. package/build/graphql/mutations/KeystoreGenerationUrlMutation.js +1 -1
  56. package/build/graphql/queries/UserQuery.js +2 -2
  57. package/build/graphql/types/Build.js +1 -0
  58. package/build/metadata/apple/rules/index.d.ts +1 -0
  59. package/build/metadata/apple/rules/index.js +6 -0
  60. package/build/metadata/apple/rules/infoKeywordLength.d.ts +6 -0
  61. package/build/metadata/apple/rules/infoKeywordLength.js +35 -0
  62. package/build/metadata/apple/rules/infoRestrictedWords.d.ts +6 -0
  63. package/build/metadata/apple/rules/infoRestrictedWords.js +57 -0
  64. package/build/metadata/apple/tasks/index.d.ts +1 -2
  65. package/build/metadata/apple/tasks/index.js +1 -1
  66. package/build/metadata/auth.d.ts +21 -0
  67. package/build/metadata/auth.js +33 -0
  68. package/build/metadata/config/issue.d.ts +21 -0
  69. package/build/metadata/config/issue.js +9 -0
  70. package/build/metadata/config/resolve.d.ts +27 -0
  71. package/build/metadata/{config.js → config/resolve.js} +24 -25
  72. package/build/metadata/config/schema.d.ts +7 -0
  73. package/build/metadata/config/schema.js +2 -0
  74. package/build/metadata/config/validate.d.ts +3 -0
  75. package/build/metadata/config/validate.js +47 -0
  76. package/build/metadata/download.d.ts +11 -2
  77. package/build/metadata/download.js +14 -9
  78. package/build/metadata/errors.d.ts +3 -3
  79. package/build/metadata/errors.js +3 -1
  80. package/build/metadata/upload.d.ts +11 -2
  81. package/build/metadata/upload.js +16 -11
  82. package/build/metadata/utils/ajv.d.ts +10 -0
  83. package/build/metadata/utils/ajv.js +30 -0
  84. package/build/metadata/utils/telemetry.js +6 -6
  85. package/build/run/android/run.d.ts +1 -0
  86. package/build/run/android/run.js +9 -0
  87. package/build/run/ios/run.d.ts +1 -0
  88. package/build/run/ios/run.js +31 -0
  89. package/build/run/ios/simctl.d.ts +2 -0
  90. package/build/run/ios/simctl.js +8 -0
  91. package/build/run/ios/simulator.d.ts +21 -0
  92. package/build/run/ios/simulator.js +161 -0
  93. package/build/run/ios/systemRequirements.d.ts +1 -0
  94. package/build/run/ios/systemRequirements.js +82 -0
  95. package/build/run/ios/xcode.d.ts +4 -0
  96. package/build/run/ios/xcode.js +41 -0
  97. package/build/run/ios/xcrun.d.ts +4 -0
  98. package/build/run/ios/xcrun.js +68 -0
  99. package/build/run/run.d.ts +8 -0
  100. package/build/run/run.js +15 -0
  101. package/build/submit/utils/summary.d.ts +1 -1
  102. package/build/update/queries.js +30 -39
  103. package/build/update/utils.d.ts +8 -1
  104. package/build/update/utils.js +35 -1
  105. package/build/utils/buildDistribution.d.ts +3 -0
  106. package/build/utils/buildDistribution.js +20 -0
  107. package/build/utils/download.d.ts +2 -0
  108. package/build/utils/download.js +114 -0
  109. package/build/utils/expodash/filter.d.ts +2 -0
  110. package/build/utils/expodash/filter.js +8 -0
  111. package/build/utils/formatFields.d.ts +3 -2
  112. package/oclif.manifest.json +1 -1
  113. package/package.json +32 -30
  114. package/schema/metadata-0.json +1 -1
  115. package/build/metadata/config.d.ts +0 -41
  116. package/build/metadata/context.d.ts +0 -50
  117. package/build/metadata/context.js +0 -47
package/README.md CHANGED
@@ -89,6 +89,7 @@ eas --help COMMAND
89
89
  * [`eas init`](#eas-init)
90
90
  * [`eas login`](#eas-login)
91
91
  * [`eas logout`](#eas-logout)
92
+ * [`eas metadata:lint`](#eas-metadatalint)
92
93
  * [`eas metadata:pull`](#eas-metadatapull)
93
94
  * [`eas metadata:push`](#eas-metadatapush)
94
95
  * [`eas open`](#eas-open)
@@ -97,6 +98,7 @@ eas --help COMMAND
97
98
  * [`eas secret:create`](#eas-secretcreate)
98
99
  * [`eas secret:delete`](#eas-secretdelete)
99
100
  * [`eas secret:list`](#eas-secretlist)
101
+ * [`eas secret:push`](#eas-secretpush)
100
102
  * [`eas submit`](#eas-submit)
101
103
  * [`eas update`](#eas-update)
102
104
  * [`eas update:configure`](#eas-updateconfigure)
@@ -125,7 +127,7 @@ ALIASES
125
127
  $ eas login
126
128
  ```
127
129
 
128
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/account/login.ts)_
130
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/account/login.ts)_
129
131
 
130
132
  ## `eas account:logout`
131
133
 
@@ -142,7 +144,7 @@ ALIASES
142
144
  $ eas logout
143
145
  ```
144
146
 
145
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/account/logout.ts)_
147
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/account/logout.ts)_
146
148
 
147
149
  ## `eas account:view`
148
150
 
@@ -159,7 +161,7 @@ ALIASES
159
161
  $ eas whoami
160
162
  ```
161
163
 
162
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/account/view.ts)_
164
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/account/view.ts)_
163
165
 
164
166
  ## `eas analytics [STATUS]`
165
167
 
@@ -173,7 +175,7 @@ DESCRIPTION
173
175
  display or change analytics settings
174
176
  ```
175
177
 
176
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/analytics.ts)_
178
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/analytics.ts)_
177
179
 
178
180
  ## `eas autocomplete [SHELL]`
179
181
 
@@ -202,7 +204,7 @@ EXAMPLES
202
204
  $ eas autocomplete --refresh-cache
203
205
  ```
204
206
 
205
- _See code: [@expo/plugin-autocomplete](https://github.com/expo/plugin-autocomplete/blob/v1.4.0/src/commands/autocomplete/index.ts)_
207
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.3.4/src/commands/autocomplete/index.ts)_
206
208
 
207
209
  ## `eas branch:create [NAME]`
208
210
 
@@ -223,7 +225,7 @@ DESCRIPTION
223
225
  create a branch
224
226
  ```
225
227
 
226
- _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/branch/create.ts)_
228
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/branch/create.ts)_
227
229
 
228
230
  ## `eas branch:delete [NAME]`
229
231
 
@@ -244,7 +246,7 @@ DESCRIPTION
244
246
  delete a branch
245
247
  ```
246
248
 
247
- _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/branch/delete.ts)_
249
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/branch/delete.ts)_
248
250
 
249
251
  ## `eas branch:list`
250
252
 
@@ -264,7 +266,7 @@ DESCRIPTION
264
266
  list all branches
265
267
  ```
266
268
 
267
- _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/branch/list.ts)_
269
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/branch/list.ts)_
268
270
 
269
271
  ## `eas branch:rename`
270
272
 
@@ -284,7 +286,7 @@ DESCRIPTION
284
286
  rename a branch
285
287
  ```
286
288
 
287
- _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/branch/rename.ts)_
289
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/branch/rename.ts)_
288
290
 
289
291
  ## `eas branch:view [NAME]`
290
292
 
@@ -307,7 +309,7 @@ DESCRIPTION
307
309
  view a branch
308
310
  ```
309
311
 
310
- _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/branch/view.ts)_
312
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/branch/view.ts)_
311
313
 
312
314
  ## `eas build`
313
315
 
@@ -337,7 +339,7 @@ DESCRIPTION
337
339
  start a build
338
340
  ```
339
341
 
340
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/build/index.ts)_
342
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/build/index.ts)_
341
343
 
342
344
  ## `eas build:cancel [BUILD_ID]`
343
345
 
@@ -354,7 +356,7 @@ DESCRIPTION
354
356
  cancel a build
355
357
  ```
356
358
 
357
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/build/cancel.ts)_
359
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/build/cancel.ts)_
358
360
 
359
361
  ## `eas build:configure`
360
362
 
@@ -371,7 +373,7 @@ DESCRIPTION
371
373
  configure the project to support EAS Build
372
374
  ```
373
375
 
374
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/build/configure.ts)_
376
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/build/configure.ts)_
375
377
 
376
378
  ## `eas build:inspect`
377
379
 
@@ -406,7 +408,7 @@ DESCRIPTION
406
408
  inspect the state of the project at specific build stages, useful for troubleshooting
407
409
  ```
408
410
 
409
- _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/build/inspect.ts)_
411
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/build/inspect.ts)_
410
412
 
411
413
  ## `eas build:list`
412
414
 
@@ -443,7 +445,7 @@ DESCRIPTION
443
445
  list all builds for your project
444
446
  ```
445
447
 
446
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/build/list.ts)_
448
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/build/list.ts)_
447
449
 
448
450
  ## `eas build:submit`
449
451
 
@@ -490,7 +492,7 @@ DESCRIPTION
490
492
  Update version of an app.
491
493
  ```
492
494
 
493
- _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/build/version/set.ts)_
495
+ _See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/build/version/set.ts)_
494
496
 
495
497
  ## `eas build:version:sync`
496
498
 
@@ -509,7 +511,7 @@ DESCRIPTION
509
511
  Update a version in native code with a value stored on EAS servers
510
512
  ```
511
513
 
512
- _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/build/version/sync.ts)_
514
+ _See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/build/version/sync.ts)_
513
515
 
514
516
  ## `eas build:view [BUILD_ID]`
515
517
 
@@ -526,7 +528,7 @@ DESCRIPTION
526
528
  view a build for your project
527
529
  ```
528
530
 
529
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/build/view.ts)_
531
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/build/view.ts)_
530
532
 
531
533
  ## `eas channel:create [NAME]`
532
534
 
@@ -547,7 +549,7 @@ DESCRIPTION
547
549
  create a channel
548
550
  ```
549
551
 
550
- _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/channel/create.ts)_
552
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/channel/create.ts)_
551
553
 
552
554
  ## `eas channel:edit [NAME]`
553
555
 
@@ -569,7 +571,7 @@ DESCRIPTION
569
571
  point a channel at a new branch
570
572
  ```
571
573
 
572
- _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/channel/edit.ts)_
574
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/channel/edit.ts)_
573
575
 
574
576
  ## `eas channel:list`
575
577
 
@@ -589,7 +591,7 @@ DESCRIPTION
589
591
  list all channels
590
592
  ```
591
593
 
592
- _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/channel/list.ts)_
594
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/channel/list.ts)_
593
595
 
594
596
  ## `eas channel:view [NAME]`
595
597
 
@@ -612,7 +614,7 @@ DESCRIPTION
612
614
  view a channel
613
615
  ```
614
616
 
615
- _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/channel/view.ts)_
617
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/channel/view.ts)_
616
618
 
617
619
  ## `eas config`
618
620
 
@@ -631,7 +633,7 @@ DESCRIPTION
631
633
  display project configuration (app.json + eas.json)
632
634
  ```
633
635
 
634
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/config.ts)_
636
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/config.ts)_
635
637
 
636
638
  ## `eas credentials`
637
639
 
@@ -648,7 +650,7 @@ DESCRIPTION
648
650
  manage credentials
649
651
  ```
650
652
 
651
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/credentials.ts)_
653
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/credentials.ts)_
652
654
 
653
655
  ## `eas device:create`
654
656
 
@@ -662,7 +664,7 @@ DESCRIPTION
662
664
  register new Apple Devices to use for internal distribution
663
665
  ```
664
666
 
665
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/device/create.ts)_
667
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/device/create.ts)_
666
668
 
667
669
  ## `eas device:delete`
668
670
 
@@ -682,7 +684,7 @@ DESCRIPTION
682
684
  remove a registered device from your account
683
685
  ```
684
686
 
685
- _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/device/delete.ts)_
687
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/device/delete.ts)_
686
688
 
687
689
  ## `eas device:list`
688
690
 
@@ -703,7 +705,7 @@ DESCRIPTION
703
705
  list all registered devices for your account
704
706
  ```
705
707
 
706
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/device/list.ts)_
708
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/device/list.ts)_
707
709
 
708
710
  ## `eas device:view [UDID]`
709
711
 
@@ -717,7 +719,7 @@ DESCRIPTION
717
719
  view a device for your project
718
720
  ```
719
721
 
720
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/device/view.ts)_
722
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/device/view.ts)_
721
723
 
722
724
  ## `eas diagnostics`
723
725
 
@@ -731,7 +733,7 @@ DESCRIPTION
731
733
  display environment info
732
734
  ```
733
735
 
734
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/diagnostics.ts)_
736
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/diagnostics.ts)_
735
737
 
736
738
  ## `eas help [COMMAND]`
737
739
 
@@ -751,7 +753,7 @@ DESCRIPTION
751
753
  display help for eas-cli
752
754
  ```
753
755
 
754
- _See code: [@expo/plugin-help](https://github.com/expo/oclif-plugin-help/blob/v5.3.0/src/commands/help.ts)_
756
+ _See code: [@expo/plugin-help](https://github.com/expo/oclif-plugin-help/blob/v5.1.16/src/commands/help.ts)_
755
757
 
756
758
  ## `eas init`
757
759
 
@@ -803,6 +805,24 @@ ALIASES
803
805
  $ eas logout
804
806
  ```
805
807
 
808
+ ## `eas metadata:lint`
809
+
810
+ validate the local store configuration
811
+
812
+ ```
813
+ USAGE
814
+ $ eas metadata:lint [--json] [--profile <value>]
815
+
816
+ FLAGS
817
+ --json Enable JSON output, non-JSON messages will be printed to stderr
818
+ --profile=<value> Name of the submit profile from eas.json. Defaults to "production" if defined in eas.json.
819
+
820
+ DESCRIPTION
821
+ validate the local store configuration
822
+ ```
823
+
824
+ _See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/metadata/lint.ts)_
825
+
806
826
  ## `eas metadata:pull`
807
827
 
808
828
  generate the local store configuration from the app stores
@@ -818,7 +838,7 @@ DESCRIPTION
818
838
  generate the local store configuration from the app stores
819
839
  ```
820
840
 
821
- _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/metadata/pull.ts)_
841
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/metadata/pull.ts)_
822
842
 
823
843
  ## `eas metadata:push`
824
844
 
@@ -835,7 +855,7 @@ DESCRIPTION
835
855
  sync the local store configuration to the app stores
836
856
  ```
837
857
 
838
- _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/metadata/push.ts)_
858
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/metadata/push.ts)_
839
859
 
840
860
  ## `eas open`
841
861
 
@@ -849,7 +869,7 @@ DESCRIPTION
849
869
  open the project page in a web browser
850
870
  ```
851
871
 
852
- _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/open.ts)_
872
+ _See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/open.ts)_
853
873
 
854
874
  ## `eas project:info`
855
875
 
@@ -863,7 +883,7 @@ DESCRIPTION
863
883
  information about the current project
864
884
  ```
865
885
 
866
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/project/info.ts)_
886
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/project/info.ts)_
867
887
 
868
888
  ## `eas project:init`
869
889
 
@@ -885,7 +905,7 @@ ALIASES
885
905
  $ eas init
886
906
  ```
887
907
 
888
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/project/init.ts)_
908
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/project/init.ts)_
889
909
 
890
910
  ## `eas secret:create`
891
911
 
@@ -908,7 +928,7 @@ DESCRIPTION
908
928
  create an environment secret on the current project or owner account
909
929
  ```
910
930
 
911
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/secret/create.ts)_
931
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/secret/create.ts)_
912
932
 
913
933
  ## `eas secret:delete`
914
934
 
@@ -926,7 +946,7 @@ DESCRIPTION
926
946
  delete an environment secret by ID
927
947
  ```
928
948
 
929
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/secret/delete.ts)_
949
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/secret/delete.ts)_
930
950
 
931
951
  ## `eas secret:list`
932
952
 
@@ -940,7 +960,27 @@ DESCRIPTION
940
960
  list environment secrets available for your current app
941
961
  ```
942
962
 
943
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/secret/list.ts)_
963
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/secret/list.ts)_
964
+
965
+ ## `eas secret:push`
966
+
967
+ read environment secrets from env file and store on the server
968
+
969
+ ```
970
+ USAGE
971
+ $ eas secret:push [--scope account|project] [--env-file <value>] [--force] [--non-interactive]
972
+
973
+ FLAGS
974
+ --env-file=<value> Env file with secrets
975
+ --force Delete and recreate existing secrets
976
+ --non-interactive Run the command in non-interactive mode.
977
+ --scope=(account|project) [default: project] Scope for the secrets
978
+
979
+ DESCRIPTION
980
+ read environment secrets from env file and store on the server
981
+ ```
982
+
983
+ _See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/secret/push.ts)_
944
984
 
945
985
  ## `eas submit`
946
986
 
@@ -970,7 +1010,7 @@ ALIASES
970
1010
  $ eas build:submit
971
1011
  ```
972
1012
 
973
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/submit.ts)_
1013
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/submit.ts)_
974
1014
 
975
1015
  ## `eas update`
976
1016
 
@@ -1000,7 +1040,7 @@ DESCRIPTION
1000
1040
  publish an update group
1001
1041
  ```
1002
1042
 
1003
- _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/update/index.ts)_
1043
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/update/index.ts)_
1004
1044
 
1005
1045
  ## `eas update:configure`
1006
1046
 
@@ -1017,7 +1057,7 @@ DESCRIPTION
1017
1057
  configure the project to support EAS Update
1018
1058
  ```
1019
1059
 
1020
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/update/configure.ts)_
1060
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/update/configure.ts)_
1021
1061
 
1022
1062
  ## `eas update:delete GROUPID`
1023
1063
 
@@ -1038,7 +1078,7 @@ DESCRIPTION
1038
1078
  delete all the updates in an update group
1039
1079
  ```
1040
1080
 
1041
- _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/update/delete.ts)_
1081
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/update/delete.ts)_
1042
1082
 
1043
1083
  ## `eas update:list`
1044
1084
 
@@ -1060,7 +1100,7 @@ DESCRIPTION
1060
1100
  view the recent updates
1061
1101
  ```
1062
1102
 
1063
- _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/update/list.ts)_
1103
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/update/list.ts)_
1064
1104
 
1065
1105
  ## `eas update:view GROUPID`
1066
1106
 
@@ -1080,7 +1120,7 @@ DESCRIPTION
1080
1120
  update group details
1081
1121
  ```
1082
1122
 
1083
- _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/update/view.ts)_
1123
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/update/view.ts)_
1084
1124
 
1085
1125
  ## `eas webhook:create`
1086
1126
 
@@ -1101,7 +1141,7 @@ DESCRIPTION
1101
1141
  create a webhook
1102
1142
  ```
1103
1143
 
1104
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/webhook/create.ts)_
1144
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/webhook/create.ts)_
1105
1145
 
1106
1146
  ## `eas webhook:delete [ID]`
1107
1147
 
@@ -1121,7 +1161,7 @@ DESCRIPTION
1121
1161
  delete a webhook
1122
1162
  ```
1123
1163
 
1124
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/webhook/delete.ts)_
1164
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1125
1165
 
1126
1166
  ## `eas webhook:list`
1127
1167
 
@@ -1138,7 +1178,7 @@ DESCRIPTION
1138
1178
  list webhooks
1139
1179
  ```
1140
1180
 
1141
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/webhook/list.ts)_
1181
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/webhook/list.ts)_
1142
1182
 
1143
1183
  ## `eas webhook:update`
1144
1184
 
@@ -1160,7 +1200,7 @@ DESCRIPTION
1160
1200
  update a webhook
1161
1201
  ```
1162
1202
 
1163
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/webhook/update.ts)_
1203
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/webhook/update.ts)_
1164
1204
 
1165
1205
  ## `eas webhook:view ID`
1166
1206
 
@@ -1177,7 +1217,7 @@ DESCRIPTION
1177
1217
  view a webhook
1178
1218
  ```
1179
1219
 
1180
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v2.5.1/packages/eas-cli/src/commands/webhook/view.ts)_
1220
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v2.6.0/packages/eas-cli/src/commands/webhook/view.ts)_
1181
1221
 
1182
1222
  ## `eas whoami`
1183
1223
 
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.listAndRenderBranchesOnAppAsync = exports.selectBranchOnAppAsync = exports.BRANCHES_LIMIT = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
6
- const cli_table3_1 = tslib_1.__importDefault(require("cli-table3"));
7
6
  const BranchQuery_1 = require("../graphql/queries/BranchQuery");
8
7
  const log_1 = tslib_1.__importDefault(require("../log"));
9
8
  const utils_1 = require("../update/utils");
@@ -62,29 +61,11 @@ function renderPageOfBranches(currentPage, { json }) {
62
61
  (0, json_1.printJsonOnlyOutput)(currentPage);
63
62
  }
64
63
  else {
65
- const table = new cli_table3_1.default({
66
- head: ['Branch', ...utils_1.UPDATE_COLUMNS],
67
- wordWrap: true,
68
- });
69
- table.push(...currentPage.map(branch => {
70
- if (branch.updates.length === 0) {
71
- return [branch.name, 'N/A', 'N/A', 'N/A', 'N/A'];
72
- }
73
- const latestUpdateOnBranch = branch.updates[0];
74
- return [
75
- branch.name,
76
- (0, utils_1.formatUpdateMessage)(latestUpdateOnBranch),
77
- latestUpdateOnBranch.runtimeVersion,
78
- latestUpdateOnBranch.group,
79
- (0, utils_1.getPlatformsForGroup)({
80
- group: latestUpdateOnBranch.group,
81
- updates: branch.updates,
82
- }),
83
- ];
84
- }));
85
64
  log_1.default.addNewLineIfNone();
86
65
  log_1.default.log(chalk_1.default.bold('Branches:'));
87
66
  log_1.default.addNewLineIfNone();
88
- log_1.default.log(table.toString());
67
+ log_1.default.log(currentPage
68
+ .map(branch => (0, utils_1.formatBranch)((0, utils_1.getBranchDescription)(branch)))
69
+ .join(`\n\n${chalk_1.default.dim('———')}\n\n`));
89
70
  }
90
71
  }
@@ -1,6 +1,6 @@
1
1
  import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
2
2
  import { PaginatedQueryOptions } from '../commandUtils/pagination';
3
- import { BuildFilter } from '../graphql/generated';
3
+ import { BuildFilter, BuildFragment } from '../graphql/generated';
4
4
  export declare const BUILDS_LIMIT = 50;
5
5
  export declare function listAndRenderBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, { projectId, projectDisplayName, filter, paginatedQueryOptions, }: {
6
6
  projectId: string;
@@ -8,3 +8,13 @@ export declare function listAndRenderBuildsOnAppAsync(graphqlClient: ExpoGraphql
8
8
  filter?: BuildFilter;
9
9
  paginatedQueryOptions: PaginatedQueryOptions;
10
10
  }): Promise<void>;
11
+ export declare function listAndSelectBuildsOnAppAsync(graphqlClient: ExpoGraphqlClient, { projectId, projectDisplayName, filter, queryOptions, }: {
12
+ projectId: string;
13
+ projectDisplayName: string;
14
+ filter?: BuildFilter;
15
+ queryOptions: PaginatedQueryOptions;
16
+ }): Promise<BuildFragment>;
17
+ export declare function getLatestBuildAsync(graphqlClient: ExpoGraphqlClient, { projectId, filter, }: {
18
+ projectId: string;
19
+ filter?: BuildFilter;
20
+ }): Promise<BuildFragment>;
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.listAndRenderBuildsOnAppAsync = exports.BUILDS_LIMIT = void 0;
3
+ exports.getLatestBuildAsync = exports.listAndSelectBuildsOnAppAsync = exports.listAndRenderBuildsOnAppAsync = exports.BUILDS_LIMIT = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
6
6
  const BuildQuery_1 = require("../graphql/queries/BuildQuery");
7
7
  const log_1 = tslib_1.__importDefault(require("../log"));
8
+ const platform_1 = require("../platform");
9
+ const prompts_1 = require("../prompts");
8
10
  const json_1 = require("../utils/json");
9
11
  const queries_1 = require("../utils/queries");
10
12
  const formatBuild_1 = require("./utils/formatBuild");
@@ -38,6 +40,42 @@ async function listAndRenderBuildsOnAppAsync(graphqlClient, { projectId, project
38
40
  }
39
41
  }
40
42
  exports.listAndRenderBuildsOnAppAsync = listAndRenderBuildsOnAppAsync;
43
+ async function listAndSelectBuildsOnAppAsync(graphqlClient, { projectId, projectDisplayName, filter, queryOptions, }) {
44
+ var _a;
45
+ const builds = await BuildQuery_1.BuildQuery.viewBuildsOnAppAsync(graphqlClient, {
46
+ appId: projectId,
47
+ limit: (_a = queryOptions.limit) !== null && _a !== void 0 ? _a : exports.BUILDS_LIMIT,
48
+ offset: queryOptions.offset,
49
+ filter,
50
+ });
51
+ if (builds.length === 0) {
52
+ throw new Error('Found no builds matching the provided criteria.');
53
+ }
54
+ const { selectedSimulatorBuild } = await (0, prompts_1.promptAsync)({
55
+ type: 'select',
56
+ message: `Select simulator build to run for ${projectDisplayName} app`,
57
+ name: 'selectedSimulatorBuild',
58
+ choices: builds.map(build => ({
59
+ title: `id: ${build.id}, platform: ${platform_1.appPlatformDisplayNames[build.platform]}, version: ${build.appVersion}, build number: ${build.appBuildVersion}`,
60
+ value: build,
61
+ })),
62
+ });
63
+ return selectedSimulatorBuild;
64
+ }
65
+ exports.listAndSelectBuildsOnAppAsync = listAndSelectBuildsOnAppAsync;
66
+ async function getLatestBuildAsync(graphqlClient, { projectId, filter, }) {
67
+ const builds = await BuildQuery_1.BuildQuery.viewBuildsOnAppAsync(graphqlClient, {
68
+ appId: projectId,
69
+ limit: 1,
70
+ offset: 0,
71
+ filter,
72
+ });
73
+ if (builds.length === 0) {
74
+ throw new Error('Found no build matching the provided criteria.');
75
+ }
76
+ return builds[0];
77
+ }
78
+ exports.getLatestBuildAsync = getLatestBuildAsync;
41
79
  function renderPageOfBuilds({ builds, projectDisplayName, paginatedQueryOptions, }) {
42
80
  if (paginatedQueryOptions.json) {
43
81
  (0, json_1.printJsonOnlyOutput)(builds);
@@ -102,12 +102,12 @@ function renderPageOfChannels(currentPage, { json }) {
102
102
  }
103
103
  else {
104
104
  for (const channel of currentPage) {
105
+ renderChannelHeaderContent({ channelName: channel.name, channelId: channel.id });
105
106
  log_1.default.addNewLineIfNone();
106
- log_1.default.log((0, formatFields_1.default)([
107
- { label: 'Name', value: channel.name },
108
- { label: 'ID', value: channel.id },
109
- ]));
110
107
  (0, utils_1.logChannelDetails)(channel);
108
+ if (currentPage.indexOf(channel) < currentPage.length - 1) {
109
+ log_1.default.log(`\n${chalk_1.default.dim('———')}\n`);
110
+ }
111
111
  }
112
112
  }
113
113
  }
@@ -117,11 +117,8 @@ function renderPageOfBranchesOnChannel(channel, currentPage, { json }) {
117
117
  (0, json_1.printJsonOnlyOutput)({ currentPage: channelWithNewBranches });
118
118
  }
119
119
  else {
120
+ // The channel details contain both the branch and latest update group
120
121
  log_1.default.addNewLineIfNone();
121
- log_1.default.log((0, formatFields_1.default)([
122
- { label: 'Name', value: channel.name },
123
- { label: 'ID', value: channel.id },
124
- ]));
125
122
  (0, utils_1.logChannelDetails)(channelWithNewBranches);
126
123
  }
127
124
  }