eas-cli 0.53.0 → 0.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -42
- package/build/analytics/events.d.ts +5 -1
- package/build/analytics/events.js +6 -1
- package/build/build/build.js +3 -1
- package/build/build/local.js +1 -1
- package/build/build/runBuildAndSubmit.js +4 -2
- package/build/build/utils/url.d.ts +1 -0
- package/build/build/utils/url.js +5 -1
- package/build/commands/build/index.d.ts +0 -1
- package/build/commands/build/index.js +1 -53
- package/build/commands/config.js +0 -2
- package/build/commands/metadata/pull.d.ts +8 -0
- package/build/commands/metadata/pull.js +59 -0
- package/build/commands/metadata/push.d.ts +8 -0
- package/build/commands/metadata/push.js +53 -0
- package/build/commands/submit.js +2 -1
- package/build/commands/update/index.d.ts +12 -0
- package/build/commands/update/index.js +78 -34
- package/build/graphql/generated.d.ts +24 -12
- package/build/graphql/queries/UpdateQuery.d.ts +4 -1
- package/build/graphql/queries/UpdateQuery.js +8 -7
- package/build/metadata/apple/config/reader.d.ts +25 -0
- package/build/metadata/apple/config/reader.js +95 -0
- package/build/metadata/apple/config/writer.d.ts +23 -0
- package/build/metadata/apple/config/writer.js +85 -0
- package/build/metadata/apple/data.d.ts +20 -0
- package/build/metadata/apple/data.js +2 -0
- package/build/metadata/apple/task.d.ts +24 -0
- package/build/metadata/apple/task.js +6 -0
- package/build/metadata/apple/tasks/age-rating.d.ts +13 -0
- package/build/metadata/apple/tasks/age-rating.js +39 -0
- package/build/metadata/apple/tasks/app-info.d.ts +15 -0
- package/build/metadata/apple/tasks/app-info.js +73 -0
- package/build/metadata/apple/tasks/app-version.d.ts +27 -0
- package/build/metadata/apple/tasks/app-version.js +104 -0
- package/build/metadata/apple/tasks/index.d.ts +6 -0
- package/build/metadata/apple/tasks/index.js +13 -0
- package/build/metadata/apple/types.d.ts +50 -0
- package/build/metadata/apple/types.js +2 -0
- package/build/metadata/config.d.ts +22 -0
- package/build/metadata/config.js +32 -0
- package/build/metadata/context.d.ts +46 -0
- package/build/metadata/context.js +48 -0
- package/build/metadata/download.d.ts +6 -0
- package/build/metadata/download.js +65 -0
- package/build/metadata/errors.d.ts +37 -0
- package/build/metadata/errors.js +77 -0
- package/build/metadata/upload.d.ts +8 -0
- package/build/metadata/upload.js +58 -0
- package/build/metadata/utils/asc.d.ts +4 -0
- package/build/metadata/utils/asc.js +2 -0
- package/build/metadata/utils/date.d.ts +12 -0
- package/build/metadata/utils/date.js +30 -0
- package/build/metadata/utils/log.d.ts +16 -0
- package/build/metadata/utils/log.js +23 -0
- package/build/metadata/utils/retry.d.ts +8 -0
- package/build/metadata/utils/retry.js +22 -0
- package/build/metadata/utils/telemetry.d.ts +20 -0
- package/build/metadata/utils/telemetry.js +87 -0
- package/build/project/ensureProjectExists.js +4 -1
- package/build/project/publish.d.ts +6 -1
- package/build/project/publish.js +16 -3
- package/build/submit/submit.js +1 -1
- package/build/submit/utils/errors.js +2 -0
- package/build/utils/expodash/uniq.d.ts +1 -0
- package/build/utils/expodash/uniq.js +7 -0
- package/build/utils/profiles.d.ts +3 -3
- package/build/utils/profiles.js +5 -93
- package/oclif.manifest.json +1 -1
- package/package.json +11 -5
- package/schema/metadata-0.json +928 -0
package/README.md
CHANGED
|
@@ -65,6 +65,8 @@ eas --help COMMAND
|
|
|
65
65
|
* [`eas init`](#eas-init)
|
|
66
66
|
* [`eas login`](#eas-login)
|
|
67
67
|
* [`eas logout`](#eas-logout)
|
|
68
|
+
* [`eas metadata:pull`](#eas-metadatapull)
|
|
69
|
+
* [`eas metadata:push`](#eas-metadatapush)
|
|
68
70
|
* [`eas project:info`](#eas-projectinfo)
|
|
69
71
|
* [`eas project:init`](#eas-projectinit)
|
|
70
72
|
* [`eas secret:create`](#eas-secretcreate)
|
|
@@ -98,7 +100,7 @@ ALIASES
|
|
|
98
100
|
$ eas login
|
|
99
101
|
```
|
|
100
102
|
|
|
101
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
103
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/account/login.ts)_
|
|
102
104
|
|
|
103
105
|
## `eas account:logout`
|
|
104
106
|
|
|
@@ -115,7 +117,7 @@ ALIASES
|
|
|
115
117
|
$ eas logout
|
|
116
118
|
```
|
|
117
119
|
|
|
118
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
120
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/account/logout.ts)_
|
|
119
121
|
|
|
120
122
|
## `eas account:view`
|
|
121
123
|
|
|
@@ -132,7 +134,7 @@ ALIASES
|
|
|
132
134
|
$ eas whoami
|
|
133
135
|
```
|
|
134
136
|
|
|
135
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
137
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/account/view.ts)_
|
|
136
138
|
|
|
137
139
|
## `eas analytics [STATUS]`
|
|
138
140
|
|
|
@@ -146,7 +148,7 @@ DESCRIPTION
|
|
|
146
148
|
display or change analytics settings
|
|
147
149
|
```
|
|
148
150
|
|
|
149
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
151
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/analytics.ts)_
|
|
150
152
|
|
|
151
153
|
## `eas autocomplete [SHELL]`
|
|
152
154
|
|
|
@@ -195,7 +197,7 @@ DESCRIPTION
|
|
|
195
197
|
create a branch
|
|
196
198
|
```
|
|
197
199
|
|
|
198
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
200
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/branch/create.ts)_
|
|
199
201
|
|
|
200
202
|
## `eas branch:delete [NAME]`
|
|
201
203
|
|
|
@@ -215,7 +217,7 @@ DESCRIPTION
|
|
|
215
217
|
delete a branch
|
|
216
218
|
```
|
|
217
219
|
|
|
218
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
220
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
219
221
|
|
|
220
222
|
## `eas branch:list`
|
|
221
223
|
|
|
@@ -232,7 +234,7 @@ DESCRIPTION
|
|
|
232
234
|
list all branches
|
|
233
235
|
```
|
|
234
236
|
|
|
235
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
237
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/branch/list.ts)_
|
|
236
238
|
|
|
237
239
|
## `eas branch:rename`
|
|
238
240
|
|
|
@@ -251,7 +253,7 @@ DESCRIPTION
|
|
|
251
253
|
rename a branch
|
|
252
254
|
```
|
|
253
255
|
|
|
254
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
256
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
255
257
|
|
|
256
258
|
## `eas branch:view [NAME]`
|
|
257
259
|
|
|
@@ -271,7 +273,7 @@ DESCRIPTION
|
|
|
271
273
|
view a branch
|
|
272
274
|
```
|
|
273
275
|
|
|
274
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
276
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/branch/view.ts)_
|
|
275
277
|
|
|
276
278
|
## `eas build`
|
|
277
279
|
|
|
@@ -300,7 +302,7 @@ DESCRIPTION
|
|
|
300
302
|
start a build
|
|
301
303
|
```
|
|
302
304
|
|
|
303
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
305
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/build/index.ts)_
|
|
304
306
|
|
|
305
307
|
## `eas build:cancel [BUILD_ID]`
|
|
306
308
|
|
|
@@ -314,7 +316,7 @@ DESCRIPTION
|
|
|
314
316
|
cancel a build
|
|
315
317
|
```
|
|
316
318
|
|
|
317
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
319
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
318
320
|
|
|
319
321
|
## `eas build:configure`
|
|
320
322
|
|
|
@@ -331,7 +333,7 @@ DESCRIPTION
|
|
|
331
333
|
configure the project to support EAS Build
|
|
332
334
|
```
|
|
333
335
|
|
|
334
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
336
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/build/configure.ts)_
|
|
335
337
|
|
|
336
338
|
## `eas build:inspect`
|
|
337
339
|
|
|
@@ -366,7 +368,7 @@ DESCRIPTION
|
|
|
366
368
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
367
369
|
```
|
|
368
370
|
|
|
369
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
371
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
370
372
|
|
|
371
373
|
## `eas build:list`
|
|
372
374
|
|
|
@@ -399,7 +401,7 @@ DESCRIPTION
|
|
|
399
401
|
list all builds for your project
|
|
400
402
|
```
|
|
401
403
|
|
|
402
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
404
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/build/list.ts)_
|
|
403
405
|
|
|
404
406
|
## `eas build:submit`
|
|
405
407
|
|
|
@@ -444,7 +446,7 @@ DESCRIPTION
|
|
|
444
446
|
view a build for your project
|
|
445
447
|
```
|
|
446
448
|
|
|
447
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
449
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/build/view.ts)_
|
|
448
450
|
|
|
449
451
|
## `eas channel:create [NAME]`
|
|
450
452
|
|
|
@@ -464,7 +466,7 @@ DESCRIPTION
|
|
|
464
466
|
create a channel
|
|
465
467
|
```
|
|
466
468
|
|
|
467
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
469
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/channel/create.ts)_
|
|
468
470
|
|
|
469
471
|
## `eas channel:edit [NAME]`
|
|
470
472
|
|
|
@@ -485,7 +487,7 @@ DESCRIPTION
|
|
|
485
487
|
point a channel at a new branch
|
|
486
488
|
```
|
|
487
489
|
|
|
488
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
490
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
489
491
|
|
|
490
492
|
## `eas channel:list`
|
|
491
493
|
|
|
@@ -502,7 +504,7 @@ DESCRIPTION
|
|
|
502
504
|
list all channels
|
|
503
505
|
```
|
|
504
506
|
|
|
505
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
507
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/channel/list.ts)_
|
|
506
508
|
|
|
507
509
|
## `eas channel:view [NAME]`
|
|
508
510
|
|
|
@@ -522,7 +524,7 @@ DESCRIPTION
|
|
|
522
524
|
view a channel
|
|
523
525
|
```
|
|
524
526
|
|
|
525
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
527
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/channel/view.ts)_
|
|
526
528
|
|
|
527
529
|
## `eas config`
|
|
528
530
|
|
|
@@ -540,7 +542,7 @@ DESCRIPTION
|
|
|
540
542
|
display project configuration (app.json + eas.json)
|
|
541
543
|
```
|
|
542
544
|
|
|
543
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
545
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/config.ts)_
|
|
544
546
|
|
|
545
547
|
## `eas credentials`
|
|
546
548
|
|
|
@@ -554,7 +556,7 @@ DESCRIPTION
|
|
|
554
556
|
manage credentials
|
|
555
557
|
```
|
|
556
558
|
|
|
557
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
559
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/credentials.ts)_
|
|
558
560
|
|
|
559
561
|
## `eas device:create`
|
|
560
562
|
|
|
@@ -568,7 +570,7 @@ DESCRIPTION
|
|
|
568
570
|
register new Apple Devices to use for internal distribution
|
|
569
571
|
```
|
|
570
572
|
|
|
571
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
573
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/device/create.ts)_
|
|
572
574
|
|
|
573
575
|
## `eas device:delete`
|
|
574
576
|
|
|
@@ -586,7 +588,7 @@ DESCRIPTION
|
|
|
586
588
|
remove a registered device from your account
|
|
587
589
|
```
|
|
588
590
|
|
|
589
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
591
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/device/delete.ts)_
|
|
590
592
|
|
|
591
593
|
## `eas device:list`
|
|
592
594
|
|
|
@@ -603,7 +605,7 @@ DESCRIPTION
|
|
|
603
605
|
list all registered devices for your account
|
|
604
606
|
```
|
|
605
607
|
|
|
606
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
608
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/device/list.ts)_
|
|
607
609
|
|
|
608
610
|
## `eas device:view [UDID]`
|
|
609
611
|
|
|
@@ -617,7 +619,7 @@ DESCRIPTION
|
|
|
617
619
|
view a device for your project
|
|
618
620
|
```
|
|
619
621
|
|
|
620
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
622
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/device/view.ts)_
|
|
621
623
|
|
|
622
624
|
## `eas diagnostics`
|
|
623
625
|
|
|
@@ -631,7 +633,7 @@ DESCRIPTION
|
|
|
631
633
|
display environment info
|
|
632
634
|
```
|
|
633
635
|
|
|
634
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
636
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
635
637
|
|
|
636
638
|
## `eas help [COMMAND]`
|
|
637
639
|
|
|
@@ -698,6 +700,40 @@ ALIASES
|
|
|
698
700
|
$ eas logout
|
|
699
701
|
```
|
|
700
702
|
|
|
703
|
+
## `eas metadata:pull`
|
|
704
|
+
|
|
705
|
+
generate the local store configuration from the app stores
|
|
706
|
+
|
|
707
|
+
```
|
|
708
|
+
USAGE
|
|
709
|
+
$ eas metadata:pull [--profile <value>]
|
|
710
|
+
|
|
711
|
+
FLAGS
|
|
712
|
+
--profile=<value> Name of the submit profile from eas.json. Defaults to "production" if defined in eas.json.
|
|
713
|
+
|
|
714
|
+
DESCRIPTION
|
|
715
|
+
generate the local store configuration from the app stores
|
|
716
|
+
```
|
|
717
|
+
|
|
718
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
719
|
+
|
|
720
|
+
## `eas metadata:push`
|
|
721
|
+
|
|
722
|
+
sync the local store configuration to the app stores
|
|
723
|
+
|
|
724
|
+
```
|
|
725
|
+
USAGE
|
|
726
|
+
$ eas metadata:push [--profile <value>]
|
|
727
|
+
|
|
728
|
+
FLAGS
|
|
729
|
+
--profile=<value> Name of the submit profile from eas.json. Defaults to "production" if defined in eas.json.
|
|
730
|
+
|
|
731
|
+
DESCRIPTION
|
|
732
|
+
sync the local store configuration to the app stores
|
|
733
|
+
```
|
|
734
|
+
|
|
735
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
736
|
+
|
|
701
737
|
## `eas project:info`
|
|
702
738
|
|
|
703
739
|
information about the current project
|
|
@@ -710,7 +746,7 @@ DESCRIPTION
|
|
|
710
746
|
information about the current project
|
|
711
747
|
```
|
|
712
748
|
|
|
713
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
749
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/project/info.ts)_
|
|
714
750
|
|
|
715
751
|
## `eas project:init`
|
|
716
752
|
|
|
@@ -727,7 +763,7 @@ ALIASES
|
|
|
727
763
|
$ eas init
|
|
728
764
|
```
|
|
729
765
|
|
|
730
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
766
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/project/init.ts)_
|
|
731
767
|
|
|
732
768
|
## `eas secret:create`
|
|
733
769
|
|
|
@@ -747,7 +783,7 @@ DESCRIPTION
|
|
|
747
783
|
create an environment secret on the current project or owner account
|
|
748
784
|
```
|
|
749
785
|
|
|
750
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
786
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/secret/create.ts)_
|
|
751
787
|
|
|
752
788
|
## `eas secret:delete`
|
|
753
789
|
|
|
@@ -764,7 +800,7 @@ DESCRIPTION
|
|
|
764
800
|
delete an environment secret by ID
|
|
765
801
|
```
|
|
766
802
|
|
|
767
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
803
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
768
804
|
|
|
769
805
|
## `eas secret:list`
|
|
770
806
|
|
|
@@ -778,7 +814,7 @@ DESCRIPTION
|
|
|
778
814
|
list environment secrets available for your current app
|
|
779
815
|
```
|
|
780
816
|
|
|
781
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
817
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/secret/list.ts)_
|
|
782
818
|
|
|
783
819
|
## `eas submit`
|
|
784
820
|
|
|
@@ -808,7 +844,7 @@ ALIASES
|
|
|
808
844
|
$ eas build:submit
|
|
809
845
|
```
|
|
810
846
|
|
|
811
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
847
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/submit.ts)_
|
|
812
848
|
|
|
813
849
|
## `eas update`
|
|
814
850
|
|
|
@@ -838,7 +874,7 @@ DESCRIPTION
|
|
|
838
874
|
publish an update group
|
|
839
875
|
```
|
|
840
876
|
|
|
841
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
877
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/update/index.ts)_
|
|
842
878
|
|
|
843
879
|
## `eas update:configure`
|
|
844
880
|
|
|
@@ -855,7 +891,7 @@ DESCRIPTION
|
|
|
855
891
|
configure the project to support EAS Update
|
|
856
892
|
```
|
|
857
893
|
|
|
858
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
894
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/update/configure.ts)_
|
|
859
895
|
|
|
860
896
|
## `eas update:delete GROUPID`
|
|
861
897
|
|
|
@@ -875,7 +911,7 @@ DESCRIPTION
|
|
|
875
911
|
delete all the updates in an update group
|
|
876
912
|
```
|
|
877
913
|
|
|
878
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
914
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/update/delete.ts)_
|
|
879
915
|
|
|
880
916
|
## `eas update:list`
|
|
881
917
|
|
|
@@ -894,7 +930,7 @@ DESCRIPTION
|
|
|
894
930
|
view the recent updates for a branch
|
|
895
931
|
```
|
|
896
932
|
|
|
897
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
933
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/update/list.ts)_
|
|
898
934
|
|
|
899
935
|
## `eas update:view GROUPID`
|
|
900
936
|
|
|
@@ -914,7 +950,7 @@ DESCRIPTION
|
|
|
914
950
|
update group details
|
|
915
951
|
```
|
|
916
952
|
|
|
917
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
953
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/update/view.ts)_
|
|
918
954
|
|
|
919
955
|
## `eas webhook:create`
|
|
920
956
|
|
|
@@ -934,7 +970,7 @@ DESCRIPTION
|
|
|
934
970
|
create a webhook
|
|
935
971
|
```
|
|
936
972
|
|
|
937
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
973
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
938
974
|
|
|
939
975
|
## `eas webhook:delete [ID]`
|
|
940
976
|
|
|
@@ -951,7 +987,7 @@ DESCRIPTION
|
|
|
951
987
|
delete a webhook
|
|
952
988
|
```
|
|
953
989
|
|
|
954
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
990
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
955
991
|
|
|
956
992
|
## `eas webhook:list`
|
|
957
993
|
|
|
@@ -968,7 +1004,7 @@ DESCRIPTION
|
|
|
968
1004
|
list webhooks
|
|
969
1005
|
```
|
|
970
1006
|
|
|
971
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1007
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
972
1008
|
|
|
973
1009
|
## `eas webhook:update`
|
|
974
1010
|
|
|
@@ -989,7 +1025,7 @@ DESCRIPTION
|
|
|
989
1025
|
update a webhook
|
|
990
1026
|
```
|
|
991
1027
|
|
|
992
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1028
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
993
1029
|
|
|
994
1030
|
## `eas webhook:view ID`
|
|
995
1031
|
|
|
@@ -1006,7 +1042,7 @@ DESCRIPTION
|
|
|
1006
1042
|
view a webhook
|
|
1007
1043
|
```
|
|
1008
1044
|
|
|
1009
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1045
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.54.1/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1010
1046
|
|
|
1011
1047
|
## `eas whoami`
|
|
1012
1048
|
|
|
@@ -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);
|
package/build/build/build.js
CHANGED
|
@@ -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)}
|
|
109
|
+
completedMessage: (duration) => `Uploaded to EAS ${chalk_1.default.dim(duration)}`,
|
|
108
110
|
}));
|
|
109
111
|
return bucketKey;
|
|
110
112
|
}, {
|
package/build/build/local.js
CHANGED
|
@@ -6,7 +6,7 @@ const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
|
|
|
6
6
|
const semver_1 = tslib_1.__importDefault(require("semver"));
|
|
7
7
|
const ora_1 = require("../ora");
|
|
8
8
|
const PLUGIN_PACKAGE_NAME = 'eas-cli-local-build-plugin';
|
|
9
|
-
const PLUGIN_PACKAGE_VERSION = '0.0.
|
|
9
|
+
const PLUGIN_PACKAGE_VERSION = '0.0.85';
|
|
10
10
|
async function runLocalBuildAsync(job, options) {
|
|
11
11
|
var _a;
|
|
12
12
|
const { command, args } = await getCommandAndArgsAsync(job);
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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;
|
package/build/build/utils/url.js
CHANGED
|
@@ -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;
|
|
@@ -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.
|
|
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;
|
package/build/commands/config.js
CHANGED
|
@@ -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
|
+
}
|