eas-cli 0.53.1 → 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 (36) hide show
  1. package/README.md +130 -42
  2. package/build/build/runBuildAndSubmit.js +4 -2
  3. package/build/build/utils/url.d.ts +1 -0
  4. package/build/build/utils/url.js +5 -1
  5. package/build/commands/build/index.d.ts +0 -1
  6. package/build/commands/build/index.js +1 -53
  7. package/build/commands/config.js +0 -2
  8. package/build/commands/metadata/pull.d.ts +8 -0
  9. package/build/commands/metadata/pull.js +59 -0
  10. package/build/commands/metadata/push.d.ts +8 -0
  11. package/build/commands/metadata/push.js +51 -0
  12. package/build/commands/submit.js +2 -1
  13. package/build/commands/update/index.d.ts +12 -0
  14. package/build/commands/update/index.js +78 -34
  15. package/build/graphql/generated.d.ts +24 -12
  16. package/build/graphql/queries/UpdateQuery.d.ts +4 -1
  17. package/build/graphql/queries/UpdateQuery.js +8 -7
  18. package/build/metadata/apple/config/reader.js +5 -4
  19. package/build/metadata/apple/tasks/app-info.js +8 -6
  20. package/build/metadata/apple/tasks/app-version.js +16 -12
  21. package/build/metadata/context.js +7 -14
  22. package/build/metadata/download.js +9 -2
  23. package/build/metadata/errors.d.ts +2 -2
  24. package/build/metadata/errors.js +4 -2
  25. package/build/metadata/upload.js +3 -0
  26. package/build/metadata/utils/date.d.ts +1 -1
  27. package/build/project/ensureProjectExists.js +4 -1
  28. package/build/project/publish.d.ts +6 -1
  29. package/build/project/publish.js +16 -3
  30. package/build/utils/expodash/uniq.d.ts +1 -0
  31. package/build/{metadata/utils/array.js → utils/expodash/uniq.js} +2 -3
  32. package/build/utils/profiles.d.ts +3 -3
  33. package/build/utils/profiles.js +5 -93
  34. package/oclif.manifest.json +1 -1
  35. package/package.json +8 -4
  36. package/build/metadata/utils/array.d.ts +0 -1
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.53.1/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.53.1/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.53.1/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.53.1/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
 
@@ -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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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
 
@@ -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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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.53.1/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
 
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.runBuildAndSubmitAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const eas_build_job_1 = require("@expo/eas-build-job");
6
+ const eas_json_1 = require("@expo/eas-json");
6
7
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
7
8
  const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
8
9
  const generated_1 = require("../graphql/generated");
@@ -35,10 +36,11 @@ async function runBuildAndSubmitAsync(projectDir, flags) {
35
36
  projectDir,
36
37
  nonInteractive: flags.nonInteractive,
37
38
  });
39
+ const easJsonReader = new eas_json_1.EasJsonReader(projectDir);
38
40
  const platforms = (0, platform_1.toPlatforms)(flags.requestedPlatform);
39
41
  const buildProfiles = await (0, profiles_1.getProfilesAsync)({
40
42
  type: 'build',
41
- projectDir,
43
+ easJsonReader,
42
44
  platforms,
43
45
  profileName: (_a = flags.profile) !== null && _a !== void 0 ? _a : undefined,
44
46
  });
@@ -70,7 +72,7 @@ async function runBuildAndSubmitAsync(projectDir, flags) {
70
72
  const submissions = [];
71
73
  if (flags.autoSubmit) {
72
74
  const submitProfiles = await (0, profiles_1.getProfilesAsync)({
73
- projectDir,
75
+ easJsonReader,
74
76
  platforms,
75
77
  profileName: flags.submitProfile,
76
78
  type: 'submit',
@@ -3,3 +3,4 @@ export declare function getProjectDashboardUrl(accountName: string, projectName:
3
3
  export declare function getBuildLogsUrl(build: BuildFragment): string;
4
4
  export declare function getArtifactUrl(artifactId: string): string;
5
5
  export declare function getInternalDistributionInstallUrl(build: BuildFragment): string;
6
+ export declare function getUpdateGroupUrl(accountName: string, projectName: string, updateGroupId: string): string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getInternalDistributionInstallUrl = exports.getArtifactUrl = exports.getBuildLogsUrl = exports.getProjectDashboardUrl = void 0;
3
+ exports.getUpdateGroupUrl = exports.getInternalDistributionInstallUrl = exports.getArtifactUrl = exports.getBuildLogsUrl = exports.getProjectDashboardUrl = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const assert_1 = tslib_1.__importDefault(require("assert"));
6
6
  const api_1 = require("../../api");
@@ -30,3 +30,7 @@ function getInternalDistributionInstallUrl(build) {
30
30
  return build.artifacts.buildUrl;
31
31
  }
32
32
  exports.getInternalDistributionInstallUrl = getInternalDistributionInstallUrl;
33
+ function getUpdateGroupUrl(accountName, projectName, updateGroupId) {
34
+ return new URL(`/accounts/${encodeURIComponent(accountName)}/projects/${encodeURIComponent(projectName)}/updates/${encodeURIComponent(updateGroupId)}`, (0, api_1.getExpoWebsiteBaseUrl)()).toString();
35
+ }
36
+ exports.getUpdateGroupUrl = getUpdateGroupUrl;
@@ -18,4 +18,3 @@ export default class Build extends EasCommand {
18
18
  runAsync(): Promise<void>;
19
19
  private sanitizeFlagsAsync;
20
20
  }
21
- export declare function handleDeprecatedEasJsonAsync(projectDir: string, nonInteractive: boolean): Promise<void>;
@@ -1,24 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.handleDeprecatedEasJsonAsync = void 0;
4
3
  const tslib_1 = require("tslib");
5
- const eas_json_1 = require("@expo/eas-json");
6
4
  const core_1 = require("@oclif/core");
7
- const chalk_1 = tslib_1.__importDefault(require("chalk"));
8
- const figures_1 = tslib_1.__importDefault(require("figures"));
9
- const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
10
5
  const path_1 = tslib_1.__importDefault(require("path"));
11
6
  const runBuildAndSubmit_1 = require("../../build/runBuildAndSubmit");
12
- const repository_1 = require("../../build/utils/repository");
13
7
  const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
14
- const log_1 = tslib_1.__importStar(require("../../log"));
8
+ const log_1 = tslib_1.__importDefault(require("../../log"));
15
9
  const platform_1 = require("../../platform");
16
10
  const projectUtils_1 = require("../../project/projectUtils");
17
- const prompts_1 = require("../../prompts");
18
- const easCli_1 = require("../../utils/easCli");
19
11
  const json_1 = require("../../utils/json");
20
- const vcs_1 = require("../../vcs");
21
- const git_1 = tslib_1.__importDefault(require("../../vcs/clients/git"));
22
12
  class Build extends EasCommand_1.default {
23
13
  async runAsync() {
24
14
  const { flags: rawFlags } = await this.parse(Build);
@@ -27,7 +17,6 @@ class Build extends EasCommand_1.default {
27
17
  }
28
18
  const flags = await this.sanitizeFlagsAsync(rawFlags);
29
19
  const projectDir = await (0, projectUtils_1.findProjectRootAsync)();
30
- await handleDeprecatedEasJsonAsync(projectDir, flags.nonInteractive);
31
20
  await (0, runBuildAndSubmit_1.runBuildAndSubmitAsync)(projectDir, flags);
32
21
  }
33
22
  async sanitizeFlagsAsync(flags) {
@@ -141,44 +130,3 @@ Build.flags = {
141
130
  exclusive: ['auto-submit'],
142
131
  }),
143
132
  };
144
- async function handleDeprecatedEasJsonAsync(projectDir, nonInteractive) {
145
- const easJsonPath = eas_json_1.EasJsonReader.formatEasJsonPath(projectDir);
146
- if (!(await fs_extra_1.default.pathExists(easJsonPath))) {
147
- return;
148
- }
149
- const easJsonReader = new eas_json_1.EasJsonReader(projectDir);
150
- const rawEasJson = await easJsonReader.readAsync();
151
- if (rawEasJson === null || rawEasJson === void 0 ? void 0 : rawEasJson.cli) {
152
- return;
153
- }
154
- if (nonInteractive) {
155
- log_1.default.warn(`${figures_1.default.warning} Action required: the default behavior of EAS CLI has changed and your eas.json must be updated to remove ambiguity around which Git integration workflow to use. Refer to ${(0, log_1.link)('https://expo.fyi/eas-vcs-workflow')} for more information.`);
156
- log_1.default.warn('This warning will become an error in an upcoming EAS CLI release. For now, we will proceed with the old default behavior to avoid disruption of your builds.');
157
- (0, vcs_1.setVcsClient)(new git_1.default());
158
- return;
159
- }
160
- log_1.default.log(`${chalk_1.default.bold('eas-cli@>=0.34.0 no longer requires that you commit changes to Git before starting a build.')} ${(0, log_1.learnMore)('https://expo.fyi/eas-vcs-workflow')}`);
161
- log_1.default.log(`If you want to continue using the Git integration, you can opt in with ${chalk_1.default.bold('cli.requireCommit')} in ${chalk_1.default.bold('eas.json')} or with the following prompt.`);
162
- log_1.default.newLine();
163
- const mode = await (0, prompts_1.selectAsync)('Select your preferred Git integration', [
164
- { title: 'Require changes to be committed in Git (old default)', value: 'requireCommit' },
165
- { title: 'Allow builds with dirty Git working tree (new default)', value: 'noCommit' },
166
- ]);
167
- if (mode === 'requireCommit') {
168
- (0, vcs_1.setVcsClient)(new git_1.default());
169
- await (0, repository_1.ensureRepoIsCleanAsync)(nonInteractive);
170
- }
171
- rawEasJson.cli =
172
- mode === 'requireCommit'
173
- ? { version: `>= ${easCli_1.easCliVersion}`, requireCommit: true }
174
- : { version: `>= ${easCli_1.easCliVersion}` };
175
- await fs_extra_1.default.writeJSON(easJsonPath, rawEasJson, { spaces: 2 });
176
- log_1.default.withTick('Updated eas.json');
177
- if (mode === 'requireCommit') {
178
- await (0, vcs_1.getVcsClient)().trackFileAsync(easJsonPath);
179
- await (0, repository_1.reviewAndCommitChangesAsync)('Set cli.requireCommit to true in eas.json', {
180
- nonInteractive,
181
- });
182
- }
183
- }
184
- exports.handleDeprecatedEasJsonAsync = handleDeprecatedEasJsonAsync;
@@ -13,7 +13,6 @@ const platform_1 = require("../platform");
13
13
  const expoConfig_1 = require("../project/expoConfig");
14
14
  const projectUtils_1 = require("../project/projectUtils");
15
15
  const prompts_1 = require("../prompts");
16
- const build_1 = require("./build");
17
16
  class Config extends EasCommand_1.default {
18
17
  constructor() {
19
18
  super(...arguments);
@@ -23,7 +22,6 @@ class Config extends EasCommand_1.default {
23
22
  const { flags } = await this.parse(Config);
24
23
  const { platform: maybePlatform, profile: maybeProfile } = flags;
25
24
  const projectDir = await (0, projectUtils_1.findProjectRootAsync)();
26
- await (0, build_1.handleDeprecatedEasJsonAsync)(projectDir, false);
27
25
  const reader = new eas_json_1.EasJsonReader(projectDir);
28
26
  const profileName = maybeProfile !== null && maybeProfile !== void 0 ? maybeProfile : (await (0, prompts_1.selectAsync)('Select build profile', (await reader.getBuildProfileNamesAsync()).map(profileName => ({
29
27
  title: profileName,
@@ -0,0 +1,8 @@
1
+ import EasCommand from '../../commandUtils/EasCommand';
2
+ export default class MetadataPull extends EasCommand {
3
+ static description: string;
4
+ static flags: {
5
+ profile: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
6
+ };
7
+ runAsync(): Promise<void>;
8
+ }