eas-cli 0.52.0 → 0.54.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 (119) hide show
  1. package/README.md +132 -44
  2. package/build/analytics/events.d.ts +5 -1
  3. package/build/analytics/events.js +6 -1
  4. package/build/build/android/version.js +1 -1
  5. package/build/build/build.js +38 -27
  6. package/build/build/local.js +1 -1
  7. package/build/build/runBuildAndSubmit.js +4 -2
  8. package/build/build/utils/url.d.ts +1 -0
  9. package/build/build/utils/url.js +5 -1
  10. package/build/commands/branch/create.js +2 -2
  11. package/build/commands/branch/delete.js +2 -2
  12. package/build/commands/branch/list.js +2 -2
  13. package/build/commands/branch/rename.js +2 -2
  14. package/build/commands/branch/view.js +2 -2
  15. package/build/commands/build/cancel.js +3 -3
  16. package/build/commands/build/configure.js +2 -2
  17. package/build/commands/build/index.d.ts +0 -1
  18. package/build/commands/build/index.js +1 -53
  19. package/build/commands/build/inspect.js +1 -1
  20. package/build/commands/build/list.js +2 -2
  21. package/build/commands/build/view.js +2 -2
  22. package/build/commands/channel/create.js +2 -2
  23. package/build/commands/channel/delete.js +2 -2
  24. package/build/commands/channel/edit.js +2 -2
  25. package/build/commands/channel/list.js +2 -2
  26. package/build/commands/channel/rollout.js +2 -2
  27. package/build/commands/channel/view.js +3 -3
  28. package/build/commands/config.js +0 -2
  29. package/build/commands/device/delete.js +2 -2
  30. package/build/commands/device/list.js +2 -2
  31. package/build/commands/device/view.js +2 -2
  32. package/build/commands/metadata/pull.d.ts +8 -0
  33. package/build/commands/metadata/pull.js +59 -0
  34. package/build/commands/metadata/push.d.ts +8 -0
  35. package/build/commands/metadata/push.js +51 -0
  36. package/build/commands/project/info.js +2 -2
  37. package/build/commands/project/init.js +2 -2
  38. package/build/commands/secret/create.js +2 -2
  39. package/build/commands/secret/delete.js +2 -2
  40. package/build/commands/secret/list.js +2 -2
  41. package/build/commands/submit.js +4 -3
  42. package/build/commands/update/configure.js +2 -3
  43. package/build/commands/update/index.d.ts +12 -0
  44. package/build/commands/update/index.js +81 -39
  45. package/build/commands/update/list.js +2 -2
  46. package/build/commands/webhook/create.js +2 -2
  47. package/build/commands/webhook/delete.js +2 -2
  48. package/build/commands/webhook/list.js +2 -2
  49. package/build/credentials/android/utils/googleServiceAccountKey.js +1 -1
  50. package/build/credentials/android/utils/keystore.js +1 -1
  51. package/build/credentials/android/utils/keystoreNew.js +2 -2
  52. package/build/credentials/context.js +2 -3
  53. package/build/credentials/credentialsJson/read.js +1 -1
  54. package/build/credentials/ios/utils/provisioningProfile.js +1 -1
  55. package/build/credentials/ios/validators/validateProvisioningProfile.js +1 -1
  56. package/build/graphql/generated.d.ts +90 -33
  57. package/build/graphql/generated.js +5 -0
  58. package/build/graphql/queries/UpdateQuery.d.ts +4 -1
  59. package/build/graphql/queries/UpdateQuery.js +8 -7
  60. package/build/metadata/apple/config/reader.d.ts +25 -0
  61. package/build/metadata/apple/config/reader.js +95 -0
  62. package/build/metadata/apple/config/writer.d.ts +23 -0
  63. package/build/metadata/apple/config/writer.js +85 -0
  64. package/build/metadata/apple/data.d.ts +20 -0
  65. package/build/metadata/apple/data.js +2 -0
  66. package/build/metadata/apple/task.d.ts +24 -0
  67. package/build/metadata/apple/task.js +6 -0
  68. package/build/metadata/apple/tasks/age-rating.d.ts +13 -0
  69. package/build/metadata/apple/tasks/age-rating.js +39 -0
  70. package/build/metadata/apple/tasks/app-info.d.ts +15 -0
  71. package/build/metadata/apple/tasks/app-info.js +73 -0
  72. package/build/metadata/apple/tasks/app-version.d.ts +27 -0
  73. package/build/metadata/apple/tasks/app-version.js +104 -0
  74. package/build/metadata/apple/tasks/index.d.ts +6 -0
  75. package/build/metadata/apple/tasks/index.js +13 -0
  76. package/build/metadata/apple/types.d.ts +50 -0
  77. package/build/metadata/apple/types.js +2 -0
  78. package/build/metadata/config.d.ts +22 -0
  79. package/build/metadata/config.js +32 -0
  80. package/build/metadata/context.d.ts +46 -0
  81. package/build/metadata/context.js +48 -0
  82. package/build/metadata/download.d.ts +6 -0
  83. package/build/metadata/download.js +65 -0
  84. package/build/metadata/errors.d.ts +37 -0
  85. package/build/metadata/errors.js +69 -0
  86. package/build/metadata/upload.d.ts +6 -0
  87. package/build/metadata/upload.js +57 -0
  88. package/build/metadata/utils/asc.d.ts +4 -0
  89. package/build/metadata/utils/asc.js +2 -0
  90. package/build/metadata/utils/date.d.ts +12 -0
  91. package/build/metadata/utils/date.js +30 -0
  92. package/build/metadata/utils/log.d.ts +16 -0
  93. package/build/metadata/utils/log.js +23 -0
  94. package/build/metadata/utils/retry.d.ts +8 -0
  95. package/build/metadata/utils/retry.js +22 -0
  96. package/build/metadata/utils/telemetry.d.ts +20 -0
  97. package/build/metadata/utils/telemetry.js +87 -0
  98. package/build/project/android/applicationId.js +1 -1
  99. package/build/project/ensureProjectExists.js +4 -1
  100. package/build/project/ios/bundleIdentifier.js +1 -1
  101. package/build/project/publish.d.ts +6 -1
  102. package/build/project/publish.js +16 -3
  103. package/build/submit/ArchiveSource.js +1 -1
  104. package/build/submit/submit.js +1 -1
  105. package/build/submit/utils/errors.js +2 -0
  106. package/build/submit/utils/files.js +1 -1
  107. package/build/submit/utils/logs.js +1 -1
  108. package/build/update/android/UpdatesModule.js +2 -2
  109. package/build/update/ios/UpdatesModule.js +2 -2
  110. package/build/user/actions.js +1 -1
  111. package/build/utils/expodash/uniq.d.ts +1 -0
  112. package/build/utils/expodash/uniq.js +7 -0
  113. package/build/utils/profiles.d.ts +3 -3
  114. package/build/utils/profiles.js +5 -93
  115. package/build/vcs/clients/git.js +5 -5
  116. package/build/vcs/git.js +1 -1
  117. package/build/webhooks/input.js +1 -1
  118. package/oclif.manifest.json +1 -1
  119. package/package.json +43 -38
package/README.md CHANGED
@@ -51,6 +51,7 @@ eas --help COMMAND
51
51
  * [`eas build:submit`](#eas-buildsubmit)
52
52
  * [`eas build:view [BUILD_ID]`](#eas-buildview-build_id)
53
53
  * [`eas channel:create [NAME]`](#eas-channelcreate-name)
54
+ * [`eas channel:create copy [NAME]`](#eas-channelcreate-copy-name)
54
55
  * [`eas channel:edit [NAME]`](#eas-channeledit-name)
55
56
  * [`eas channel:list`](#eas-channellist)
56
57
  * [`eas channel:view [NAME]`](#eas-channelview-name)
@@ -65,6 +66,8 @@ eas --help COMMAND
65
66
  * [`eas init`](#eas-init)
66
67
  * [`eas login`](#eas-login)
67
68
  * [`eas logout`](#eas-logout)
69
+ * [`eas metadata:pull`](#eas-metadatapull)
70
+ * [`eas metadata:push`](#eas-metadatapush)
68
71
  * [`eas project:info`](#eas-projectinfo)
69
72
  * [`eas project:init`](#eas-projectinit)
70
73
  * [`eas secret:create`](#eas-secretcreate)
@@ -74,6 +77,7 @@ eas --help COMMAND
74
77
  * [`eas update`](#eas-update)
75
78
  * [`eas update:configure`](#eas-updateconfigure)
76
79
  * [`eas update:delete GROUPID`](#eas-updatedelete-groupid)
80
+ * [`eas update:index copy`](#eas-updateindex-copy)
77
81
  * [`eas update:list`](#eas-updatelist)
78
82
  * [`eas update:view GROUPID`](#eas-updateview-groupid)
79
83
  * [`eas webhook:create`](#eas-webhookcreate)
@@ -98,7 +102,7 @@ ALIASES
98
102
  $ eas login
99
103
  ```
100
104
 
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)_
105
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/account/login.ts)_
102
106
 
103
107
  ## `eas account:logout`
104
108
 
@@ -115,7 +119,7 @@ ALIASES
115
119
  $ eas logout
116
120
  ```
117
121
 
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)_
122
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/account/logout.ts)_
119
123
 
120
124
  ## `eas account:view`
121
125
 
@@ -132,7 +136,7 @@ ALIASES
132
136
  $ eas whoami
133
137
  ```
134
138
 
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)_
139
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/account/view.ts)_
136
140
 
137
141
  ## `eas analytics [STATUS]`
138
142
 
@@ -146,7 +150,7 @@ DESCRIPTION
146
150
  display or change analytics settings
147
151
  ```
148
152
 
149
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/analytics.ts)_
153
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/analytics.ts)_
150
154
 
151
155
  ## `eas autocomplete [SHELL]`
152
156
 
@@ -175,7 +179,7 @@ EXAMPLES
175
179
  $ eas autocomplete --refresh-cache
176
180
  ```
177
181
 
178
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.2.0/src/commands/autocomplete/index.ts)_
182
+ _See code: [@expo/plugin-autocomplete](https://github.com/expo/plugin-autocomplete/blob/v1.4.0/src/commands/autocomplete/index.ts)_
179
183
 
180
184
  ## `eas branch:create [NAME]`
181
185
 
@@ -195,7 +199,7 @@ DESCRIPTION
195
199
  create a branch
196
200
  ```
197
201
 
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)_
202
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/branch/create.ts)_
199
203
 
200
204
  ## `eas branch:delete [NAME]`
201
205
 
@@ -215,7 +219,7 @@ DESCRIPTION
215
219
  delete a branch
216
220
  ```
217
221
 
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)_
222
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/branch/delete.ts)_
219
223
 
220
224
  ## `eas branch:list`
221
225
 
@@ -232,7 +236,7 @@ DESCRIPTION
232
236
  list all branches
233
237
  ```
234
238
 
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)_
239
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/branch/list.ts)_
236
240
 
237
241
  ## `eas branch:rename`
238
242
 
@@ -251,7 +255,7 @@ DESCRIPTION
251
255
  rename a branch
252
256
  ```
253
257
 
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)_
258
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/branch/rename.ts)_
255
259
 
256
260
  ## `eas branch:view [NAME]`
257
261
 
@@ -271,7 +275,7 @@ DESCRIPTION
271
275
  view a branch
272
276
  ```
273
277
 
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)_
278
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/branch/view.ts)_
275
279
 
276
280
  ## `eas build`
277
281
 
@@ -300,7 +304,7 @@ DESCRIPTION
300
304
  start a build
301
305
  ```
302
306
 
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)_
307
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/build/index.ts)_
304
308
 
305
309
  ## `eas build:cancel [BUILD_ID]`
306
310
 
@@ -314,7 +318,7 @@ DESCRIPTION
314
318
  cancel a build
315
319
  ```
316
320
 
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)_
321
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/build/cancel.ts)_
318
322
 
319
323
  ## `eas build:configure`
320
324
 
@@ -331,7 +335,7 @@ DESCRIPTION
331
335
  configure the project to support EAS Build
332
336
  ```
333
337
 
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)_
338
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/build/configure.ts)_
335
339
 
336
340
  ## `eas build:inspect`
337
341
 
@@ -366,7 +370,7 @@ DESCRIPTION
366
370
  inspect the state of the project at specific build stages, useful for troubleshooting
367
371
  ```
368
372
 
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)_
373
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/build/inspect.ts)_
370
374
 
371
375
  ## `eas build:list`
372
376
 
@@ -399,7 +403,7 @@ DESCRIPTION
399
403
  list all builds for your project
400
404
  ```
401
405
 
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)_
406
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/build/list.ts)_
403
407
 
404
408
  ## `eas build:submit`
405
409
 
@@ -444,7 +448,7 @@ DESCRIPTION
444
448
  view a build for your project
445
449
  ```
446
450
 
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)_
451
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/build/view.ts)_
448
452
 
449
453
  ## `eas channel:create [NAME]`
450
454
 
@@ -464,7 +468,27 @@ DESCRIPTION
464
468
  create a channel
465
469
  ```
466
470
 
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)_
471
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/channel/create.ts)_
472
+
473
+ ## `eas channel:create copy [NAME]`
474
+
475
+ create a channel
476
+
477
+ ```
478
+ USAGE
479
+ $ eas channel:create copy [NAME] [--json]
480
+
481
+ ARGUMENTS
482
+ NAME Name of the channel to create
483
+
484
+ FLAGS
485
+ --json print output as a JSON object with the new channel ID, name and branch mapping.
486
+
487
+ DESCRIPTION
488
+ create a channel
489
+ ```
490
+
491
+ _See code: [src/commands/channel/create copy.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/channel/create copy.ts)_
468
492
 
469
493
  ## `eas channel:edit [NAME]`
470
494
 
@@ -485,7 +509,7 @@ DESCRIPTION
485
509
  point a channel at a new branch
486
510
  ```
487
511
 
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)_
512
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/channel/edit.ts)_
489
513
 
490
514
  ## `eas channel:list`
491
515
 
@@ -502,7 +526,7 @@ DESCRIPTION
502
526
  list all channels
503
527
  ```
504
528
 
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)_
529
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/channel/list.ts)_
506
530
 
507
531
  ## `eas channel:view [NAME]`
508
532
 
@@ -522,7 +546,7 @@ DESCRIPTION
522
546
  view a channel
523
547
  ```
524
548
 
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)_
549
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/channel/view.ts)_
526
550
 
527
551
  ## `eas config`
528
552
 
@@ -540,7 +564,7 @@ DESCRIPTION
540
564
  display project configuration (app.json + eas.json)
541
565
  ```
542
566
 
543
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/config.ts)_
567
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/config.ts)_
544
568
 
545
569
  ## `eas credentials`
546
570
 
@@ -554,7 +578,7 @@ DESCRIPTION
554
578
  manage credentials
555
579
  ```
556
580
 
557
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/credentials.ts)_
581
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/credentials.ts)_
558
582
 
559
583
  ## `eas device:create`
560
584
 
@@ -568,7 +592,7 @@ DESCRIPTION
568
592
  register new Apple Devices to use for internal distribution
569
593
  ```
570
594
 
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)_
595
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/device/create.ts)_
572
596
 
573
597
  ## `eas device:delete`
574
598
 
@@ -586,7 +610,7 @@ DESCRIPTION
586
610
  remove a registered device from your account
587
611
  ```
588
612
 
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)_
613
+ _See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/device/delete.ts)_
590
614
 
591
615
  ## `eas device:list`
592
616
 
@@ -603,7 +627,7 @@ DESCRIPTION
603
627
  list all registered devices for your account
604
628
  ```
605
629
 
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)_
630
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/device/list.ts)_
607
631
 
608
632
  ## `eas device:view [UDID]`
609
633
 
@@ -617,7 +641,7 @@ DESCRIPTION
617
641
  view a device for your project
618
642
  ```
619
643
 
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)_
644
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/device/view.ts)_
621
645
 
622
646
  ## `eas diagnostics`
623
647
 
@@ -631,7 +655,7 @@ DESCRIPTION
631
655
  display environment info
632
656
  ```
633
657
 
634
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/diagnostics.ts)_
658
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/diagnostics.ts)_
635
659
 
636
660
  ## `eas help [COMMAND]`
637
661
 
@@ -651,7 +675,7 @@ DESCRIPTION
651
675
  Display help for eas.
652
676
  ```
653
677
 
654
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_
678
+ _See code: [@expo/plugin-help](https://github.com/expo/oclif-plugin-help/blob/v5.2.0/src/commands/help.ts)_
655
679
 
656
680
  ## `eas init`
657
681
 
@@ -698,6 +722,40 @@ ALIASES
698
722
  $ eas logout
699
723
  ```
700
724
 
725
+ ## `eas metadata:pull`
726
+
727
+ generate the local store configuration from the app stores
728
+
729
+ ```
730
+ USAGE
731
+ $ eas metadata:pull [--profile <value>]
732
+
733
+ FLAGS
734
+ --profile=<value> Name of the submit profile from eas.json. Defaults to "production" if defined in eas.json.
735
+
736
+ DESCRIPTION
737
+ generate the local store configuration from the app stores
738
+ ```
739
+
740
+ _See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/metadata/pull.ts)_
741
+
742
+ ## `eas metadata:push`
743
+
744
+ sync the local store configuration to the app stores
745
+
746
+ ```
747
+ USAGE
748
+ $ eas metadata:push [--profile <value>]
749
+
750
+ FLAGS
751
+ --profile=<value> Name of the submit profile from eas.json. Defaults to "production" if defined in eas.json.
752
+
753
+ DESCRIPTION
754
+ sync the local store configuration to the app stores
755
+ ```
756
+
757
+ _See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/metadata/push.ts)_
758
+
701
759
  ## `eas project:info`
702
760
 
703
761
  information about the current project
@@ -710,7 +768,7 @@ DESCRIPTION
710
768
  information about the current project
711
769
  ```
712
770
 
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)_
771
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/project/info.ts)_
714
772
 
715
773
  ## `eas project:init`
716
774
 
@@ -727,7 +785,7 @@ ALIASES
727
785
  $ eas init
728
786
  ```
729
787
 
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)_
788
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/project/init.ts)_
731
789
 
732
790
  ## `eas secret:create`
733
791
 
@@ -747,7 +805,7 @@ DESCRIPTION
747
805
  create an environment secret on the current project or owner account
748
806
  ```
749
807
 
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)_
808
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/secret/create.ts)_
751
809
 
752
810
  ## `eas secret:delete`
753
811
 
@@ -764,7 +822,7 @@ DESCRIPTION
764
822
  delete an environment secret by ID
765
823
  ```
766
824
 
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)_
825
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/secret/delete.ts)_
768
826
 
769
827
  ## `eas secret:list`
770
828
 
@@ -778,7 +836,7 @@ DESCRIPTION
778
836
  list environment secrets available for your current app
779
837
  ```
780
838
 
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)_
839
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/secret/list.ts)_
782
840
 
783
841
  ## `eas submit`
784
842
 
@@ -808,7 +866,7 @@ ALIASES
808
866
  $ eas build:submit
809
867
  ```
810
868
 
811
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.52.0/packages/eas-cli/src/commands/submit.ts)_
869
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/submit.ts)_
812
870
 
813
871
  ## `eas update`
814
872
 
@@ -838,7 +896,7 @@ DESCRIPTION
838
896
  publish an update group
839
897
  ```
840
898
 
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)_
899
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/update/index.ts)_
842
900
 
843
901
  ## `eas update:configure`
844
902
 
@@ -855,7 +913,7 @@ DESCRIPTION
855
913
  configure the project to support EAS Update
856
914
  ```
857
915
 
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)_
916
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/update/configure.ts)_
859
917
 
860
918
  ## `eas update:delete GROUPID`
861
919
 
@@ -875,7 +933,37 @@ DESCRIPTION
875
933
  delete all the updates in an update group
876
934
  ```
877
935
 
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)_
936
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/update/delete.ts)_
937
+
938
+ ## `eas update:index copy`
939
+
940
+ publish an update group
941
+
942
+ ```
943
+ USAGE
944
+ $ eas update:index copy [--branch <value>] [--message <value>] [--republish | --input-dir <value> | --skip-bundler]
945
+ [--group <value> | | ] [-p android|ios|all] [--json] [--auto] [--private-key-path <value>] [--non-interactive]
946
+
947
+ FLAGS
948
+ -p, --platform=(android|ios|all) [default: all]
949
+ --auto Use the current git branch and commit message for the EAS branch and update message
950
+ --branch=<value> Branch to publish the update group on
951
+ --group=<value> Update group to republish
952
+ --input-dir=<value> [default: dist] Location of the bundle
953
+ --json Enable JSON output, non-JSON messages will be printed to stderr
954
+ --message=<value> A short message describing the update
955
+ --non-interactive Run command in non-interactive mode
956
+ --private-key-path=<value> File containing the PEM-encoded private key corresponding to the certificate in
957
+ expo-updates' configuration. Defaults to a file named "private-key.pem" in the
958
+ certificate's directory.
959
+ --republish Republish an update group
960
+ --skip-bundler Skip running Expo CLI to bundle the app before publishing
961
+
962
+ DESCRIPTION
963
+ publish an update group
964
+ ```
965
+
966
+ _See code: [src/commands/update/index copy.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/update/index copy.ts)_
879
967
 
880
968
  ## `eas update:list`
881
969
 
@@ -894,7 +982,7 @@ DESCRIPTION
894
982
  view the recent updates for a branch
895
983
  ```
896
984
 
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)_
985
+ _See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/update/list.ts)_
898
986
 
899
987
  ## `eas update:view GROUPID`
900
988
 
@@ -914,7 +1002,7 @@ DESCRIPTION
914
1002
  update group details
915
1003
  ```
916
1004
 
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)_
1005
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/update/view.ts)_
918
1006
 
919
1007
  ## `eas webhook:create`
920
1008
 
@@ -934,7 +1022,7 @@ DESCRIPTION
934
1022
  create a webhook
935
1023
  ```
936
1024
 
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)_
1025
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/webhook/create.ts)_
938
1026
 
939
1027
  ## `eas webhook:delete [ID]`
940
1028
 
@@ -951,7 +1039,7 @@ DESCRIPTION
951
1039
  delete a webhook
952
1040
  ```
953
1041
 
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)_
1042
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/webhook/delete.ts)_
955
1043
 
956
1044
  ## `eas webhook:list`
957
1045
 
@@ -968,7 +1056,7 @@ DESCRIPTION
968
1056
  list webhooks
969
1057
  ```
970
1058
 
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)_
1059
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/webhook/list.ts)_
972
1060
 
973
1061
  ## `eas webhook:update`
974
1062
 
@@ -989,7 +1077,7 @@ DESCRIPTION
989
1077
  update a webhook
990
1078
  ```
991
1079
 
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)_
1080
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/webhook/update.ts)_
993
1081
 
994
1082
  ## `eas webhook:view ID`
995
1083
 
@@ -1006,7 +1094,7 @@ DESCRIPTION
1006
1094
  view a webhook
1007
1095
  ```
1008
1096
 
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)_
1097
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.54.0/packages/eas-cli/src/commands/webhook/view.ts)_
1010
1098
 
1011
1099
  ## `eas whoami`
1012
1100
 
@@ -1,4 +1,4 @@
1
- export declare type Event = BuildEvent | SubmissionEvent;
1
+ export declare type Event = BuildEvent | SubmissionEvent | MetadataEvent;
2
2
  export declare enum SubmissionEvent {
3
3
  SUBMIT_COMMAND = "submit cli submit command",
4
4
  SUBMIT_COMMAND_ATTEMPT = "submit cli attempt",
@@ -38,6 +38,10 @@ export declare enum BuildEvent {
38
38
  CREDENTIALS_SYNC_UPDATE_REMOTE_FAIL = "build cli credentials sync update remote fail",
39
39
  ANDROID_KEYSTORE_CREATE = "build cli credentials keystore create"
40
40
  }
41
+ export declare enum MetadataEvent {
42
+ APPLE_METADATA_DOWNLOAD = "metadata cli download apple response",
43
+ APPLE_METADATA_UPLOAD = "metadata cli upload apple response"
44
+ }
41
45
  export declare class Analytics {
42
46
  static logEvent(name: Event, properties: Record<string, any>): void;
43
47
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Analytics = exports.BuildEvent = exports.SubmissionEvent = void 0;
3
+ exports.Analytics = exports.MetadataEvent = exports.BuildEvent = exports.SubmissionEvent = void 0;
4
4
  const rudderstackClient_1 = require("./rudderstackClient");
5
5
  var SubmissionEvent;
6
6
  (function (SubmissionEvent) {
@@ -43,6 +43,11 @@ var BuildEvent;
43
43
  BuildEvent["CREDENTIALS_SYNC_UPDATE_REMOTE_FAIL"] = "build cli credentials sync update remote fail";
44
44
  BuildEvent["ANDROID_KEYSTORE_CREATE"] = "build cli credentials keystore create";
45
45
  })(BuildEvent = exports.BuildEvent || (exports.BuildEvent = {}));
46
+ var MetadataEvent;
47
+ (function (MetadataEvent) {
48
+ MetadataEvent["APPLE_METADATA_DOWNLOAD"] = "metadata cli download apple response";
49
+ MetadataEvent["APPLE_METADATA_UPLOAD"] = "metadata cli upload apple response";
50
+ })(MetadataEvent = exports.MetadataEvent || (exports.MetadataEvent = {}));
46
51
  class Analytics {
47
52
  static logEvent(name, properties) {
48
53
  (0, rudderstackClient_1.logEvent)(name, properties);
@@ -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
  }
@@ -99,12 +99,14 @@ async function uploadProjectAsync(ctx) {
99
99
  let projectTarballPath;
100
100
  try {
101
101
  return await (0, common_1.withAnalyticsAsync)(async () => {
102
+ log_1.default.newLine();
103
+ log_1.default.log(`Compressing project files and uploading to EAS Build. ${(0, log_1.learnMore)('https://expo.fyi/eas-build-archive')}`);
102
104
  const projectTarball = await (0, repository_1.makeProjectTarballAsync)();
103
105
  projectTarballPath = projectTarball.path;
104
106
  const { bucketKey } = await (0, uploads_1.uploadAsync)(generated_1.UploadSessionType.EasBuildProjectSources, projectTarball.path, (0, progress_1.createProgressTracker)({
105
107
  total: projectTarball.size,
106
108
  message: ratio => `Uploading to EAS Build (${(0, files_1.formatBytes)(projectTarball.size * ratio)} / ${(0, files_1.formatBytes)(projectTarball.size)})`,
107
- completedMessage: (duration) => `Uploaded to EAS ${chalk_1.default.dim(duration)} ${(0, log_1.learnMore)('https://expo.fyi/eas-build-archive')}`,
109
+ completedMessage: (duration) => `Uploaded to EAS ${chalk_1.default.dim(duration)}`,
108
110
  }));
109
111
  return bucketKey;
110
112
  }, {
@@ -139,15 +141,23 @@ async function sendBuildRequestAsync(builder, job, metadata) {
139
141
  async function waitForBuildEndAsync({ buildIds, accountName }, {
140
142
  // 2 hours (max build time limit) + 10 minutes (possible queue time)
141
143
  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();
144
+ let spinner;
145
+ let originalSpinnerText;
146
+ if (buildIds.length === 1) {
147
+ log_1.default.log('Waiting for build to complete. You can press Ctrl+C to exit.');
148
+ originalSpinnerText = 'Waiting for build to complete.';
149
+ spinner = (0, ora_1.ora)(originalSpinnerText).start();
150
+ }
151
+ else {
152
+ originalSpinnerText = 'Waiting for builds to complete. You can press Ctrl+C to exit.';
153
+ spinner = (0, ora_1.ora)('Waiting for builds to complete. You can press Ctrl+C to exit.').start();
154
+ }
145
155
  const endTime = new Date().getTime() + timeoutSec * 1000;
146
156
  while (new Date().getTime() <= endTime) {
147
157
  const builds = await getBuildsSafelyAsync(buildIds);
148
158
  const { refetch } = builds.length === 1
149
159
  ? await handleSingleBuildProgressAsync({ build: builds[0], accountName }, { spinner })
150
- : await handleMultipleBuildsProgressAsync({ builds }, { spinner });
160
+ : await handleMultipleBuildsProgressAsync({ builds }, { spinner, originalSpinnerText });
151
161
  if (!refetch) {
152
162
  return builds;
153
163
  }
@@ -247,7 +257,7 @@ const statusToDisplayName = {
247
257
  [generated_1.BuildStatus.Errored]: 'failed',
248
258
  };
249
259
  const platforms = [generated_1.AppPlatform.Android, generated_1.AppPlatform.Ios];
250
- async function handleMultipleBuildsProgressAsync({ builds: maybeBuilds }, { spinner }) {
260
+ async function handleMultipleBuildsProgressAsync({ builds: maybeBuilds }, { spinner, originalSpinnerText }) {
251
261
  const buildCount = maybeBuilds.length;
252
262
  const builds = maybeBuilds.filter(isBuildFragment);
253
263
  const allFinished = builds.filter(build => build.status === generated_1.BuildStatus.Finished).length === buildCount;
@@ -262,7 +272,7 @@ async function handleMultipleBuildsProgressAsync({ builds: maybeBuilds }, { spin
262
272
  return { refetch: false };
263
273
  }
264
274
  else {
265
- spinner.text = formatPendingBuildsText(builds);
275
+ spinner.text = formatPendingBuildsText(originalSpinnerText, builds);
266
276
  return { refetch: true };
267
277
  }
268
278
  }
@@ -274,26 +284,27 @@ function formatSettledBuildsText(builds) {
274
284
  })
275
285
  .join('\n ');
276
286
  }
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 ');
287
+ function formatPendingBuildsText(originalSpinnerText, builds) {
288
+ return [
289
+ originalSpinnerText,
290
+ ...platforms.map(platform => {
291
+ const build = builds.find(build => build.platform === platform);
292
+ const status = build ? statusToDisplayName[build.status] : 'unknown';
293
+ let extraInfo = '';
294
+ if ((build === null || build === void 0 ? void 0 : build.status) === generated_1.BuildStatus.InQueue &&
295
+ typeof build.initialQueuePosition === 'number' &&
296
+ typeof build.queuePosition === 'number') {
297
+ const percent = Math.floor(((build.initialQueuePosition - build.queuePosition + 1) /
298
+ (build.initialQueuePosition + 1)) *
299
+ 100);
300
+ const estimatedWaitTime = typeof build.estimatedWaitTimeLeftSeconds === 'number'
301
+ ? ` - ${formatEstimatedWaitTime(build.estimatedWaitTimeLeftSeconds)}`
302
+ : '';
303
+ extraInfo = ` - queue progress: ${chalk_1.default.bold(`${percent}%`)}${estimatedWaitTime}`;
304
+ }
305
+ return `${platform_1.appPlatformEmojis[platform]} ${platform_1.appPlatformDisplayNames[platform]} build - status: ${chalk_1.default.bold(status)}${extraInfo}`;
306
+ }),
307
+ ].join('\n ');
297
308
  }
298
309
  function isBuildFragment(maybeBuild) {
299
310
  return maybeBuild !== null;