eas-cli 0.53.0 → 0.53.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 +42 -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/graphql/queries/UpdateQuery.js +1 -1
- package/build/metadata/apple/config/reader.d.ts +25 -0
- package/build/metadata/apple/config/reader.js +94 -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 +71 -0
- package/build/metadata/apple/tasks/app-version.d.ts +27 -0
- package/build/metadata/apple/tasks/app-version.js +100 -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 +55 -0
- package/build/metadata/download.d.ts +6 -0
- package/build/metadata/download.js +58 -0
- package/build/metadata/errors.d.ts +37 -0
- package/build/metadata/errors.js +67 -0
- package/build/metadata/upload.d.ts +6 -0
- package/build/metadata/upload.js +54 -0
- package/build/metadata/utils/array.d.ts +1 -0
- package/build/metadata/utils/array.js +8 -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/submit/submit.js +1 -1
- package/build/submit/utils/errors.js +2 -0
- package/oclif.manifest.json +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -98,7 +98,7 @@ ALIASES
|
|
|
98
98
|
$ eas login
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
102
102
|
|
|
103
103
|
## `eas account:logout`
|
|
104
104
|
|
|
@@ -115,7 +115,7 @@ ALIASES
|
|
|
115
115
|
$ eas logout
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
119
119
|
|
|
120
120
|
## `eas account:view`
|
|
121
121
|
|
|
@@ -132,7 +132,7 @@ ALIASES
|
|
|
132
132
|
$ eas whoami
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
136
136
|
|
|
137
137
|
## `eas analytics [STATUS]`
|
|
138
138
|
|
|
@@ -146,7 +146,7 @@ DESCRIPTION
|
|
|
146
146
|
display or change analytics settings
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
149
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.53.1/packages/eas-cli/src/commands/analytics.ts)_
|
|
150
150
|
|
|
151
151
|
## `eas autocomplete [SHELL]`
|
|
152
152
|
|
|
@@ -195,7 +195,7 @@ DESCRIPTION
|
|
|
195
195
|
create a branch
|
|
196
196
|
```
|
|
197
197
|
|
|
198
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
199
199
|
|
|
200
200
|
## `eas branch:delete [NAME]`
|
|
201
201
|
|
|
@@ -215,7 +215,7 @@ DESCRIPTION
|
|
|
215
215
|
delete a branch
|
|
216
216
|
```
|
|
217
217
|
|
|
218
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
219
219
|
|
|
220
220
|
## `eas branch:list`
|
|
221
221
|
|
|
@@ -232,7 +232,7 @@ DESCRIPTION
|
|
|
232
232
|
list all branches
|
|
233
233
|
```
|
|
234
234
|
|
|
235
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
236
236
|
|
|
237
237
|
## `eas branch:rename`
|
|
238
238
|
|
|
@@ -251,7 +251,7 @@ DESCRIPTION
|
|
|
251
251
|
rename a branch
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
255
255
|
|
|
256
256
|
## `eas branch:view [NAME]`
|
|
257
257
|
|
|
@@ -271,7 +271,7 @@ DESCRIPTION
|
|
|
271
271
|
view a branch
|
|
272
272
|
```
|
|
273
273
|
|
|
274
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
275
275
|
|
|
276
276
|
## `eas build`
|
|
277
277
|
|
|
@@ -300,7 +300,7 @@ DESCRIPTION
|
|
|
300
300
|
start a build
|
|
301
301
|
```
|
|
302
302
|
|
|
303
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
304
304
|
|
|
305
305
|
## `eas build:cancel [BUILD_ID]`
|
|
306
306
|
|
|
@@ -314,7 +314,7 @@ DESCRIPTION
|
|
|
314
314
|
cancel a build
|
|
315
315
|
```
|
|
316
316
|
|
|
317
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
318
318
|
|
|
319
319
|
## `eas build:configure`
|
|
320
320
|
|
|
@@ -331,7 +331,7 @@ DESCRIPTION
|
|
|
331
331
|
configure the project to support EAS Build
|
|
332
332
|
```
|
|
333
333
|
|
|
334
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
335
335
|
|
|
336
336
|
## `eas build:inspect`
|
|
337
337
|
|
|
@@ -366,7 +366,7 @@ DESCRIPTION
|
|
|
366
366
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
367
367
|
```
|
|
368
368
|
|
|
369
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
370
370
|
|
|
371
371
|
## `eas build:list`
|
|
372
372
|
|
|
@@ -399,7 +399,7 @@ DESCRIPTION
|
|
|
399
399
|
list all builds for your project
|
|
400
400
|
```
|
|
401
401
|
|
|
402
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
403
403
|
|
|
404
404
|
## `eas build:submit`
|
|
405
405
|
|
|
@@ -444,7 +444,7 @@ DESCRIPTION
|
|
|
444
444
|
view a build for your project
|
|
445
445
|
```
|
|
446
446
|
|
|
447
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
448
448
|
|
|
449
449
|
## `eas channel:create [NAME]`
|
|
450
450
|
|
|
@@ -464,7 +464,7 @@ DESCRIPTION
|
|
|
464
464
|
create a channel
|
|
465
465
|
```
|
|
466
466
|
|
|
467
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
468
468
|
|
|
469
469
|
## `eas channel:edit [NAME]`
|
|
470
470
|
|
|
@@ -485,7 +485,7 @@ DESCRIPTION
|
|
|
485
485
|
point a channel at a new branch
|
|
486
486
|
```
|
|
487
487
|
|
|
488
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
489
489
|
|
|
490
490
|
## `eas channel:list`
|
|
491
491
|
|
|
@@ -502,7 +502,7 @@ DESCRIPTION
|
|
|
502
502
|
list all channels
|
|
503
503
|
```
|
|
504
504
|
|
|
505
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
506
506
|
|
|
507
507
|
## `eas channel:view [NAME]`
|
|
508
508
|
|
|
@@ -522,7 +522,7 @@ DESCRIPTION
|
|
|
522
522
|
view a channel
|
|
523
523
|
```
|
|
524
524
|
|
|
525
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
526
526
|
|
|
527
527
|
## `eas config`
|
|
528
528
|
|
|
@@ -540,7 +540,7 @@ DESCRIPTION
|
|
|
540
540
|
display project configuration (app.json + eas.json)
|
|
541
541
|
```
|
|
542
542
|
|
|
543
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
543
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.53.1/packages/eas-cli/src/commands/config.ts)_
|
|
544
544
|
|
|
545
545
|
## `eas credentials`
|
|
546
546
|
|
|
@@ -554,7 +554,7 @@ DESCRIPTION
|
|
|
554
554
|
manage credentials
|
|
555
555
|
```
|
|
556
556
|
|
|
557
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
557
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.53.1/packages/eas-cli/src/commands/credentials.ts)_
|
|
558
558
|
|
|
559
559
|
## `eas device:create`
|
|
560
560
|
|
|
@@ -568,7 +568,7 @@ DESCRIPTION
|
|
|
568
568
|
register new Apple Devices to use for internal distribution
|
|
569
569
|
```
|
|
570
570
|
|
|
571
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
572
572
|
|
|
573
573
|
## `eas device:delete`
|
|
574
574
|
|
|
@@ -586,7 +586,7 @@ DESCRIPTION
|
|
|
586
586
|
remove a registered device from your account
|
|
587
587
|
```
|
|
588
588
|
|
|
589
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
590
590
|
|
|
591
591
|
## `eas device:list`
|
|
592
592
|
|
|
@@ -603,7 +603,7 @@ DESCRIPTION
|
|
|
603
603
|
list all registered devices for your account
|
|
604
604
|
```
|
|
605
605
|
|
|
606
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
607
607
|
|
|
608
608
|
## `eas device:view [UDID]`
|
|
609
609
|
|
|
@@ -617,7 +617,7 @@ DESCRIPTION
|
|
|
617
617
|
view a device for your project
|
|
618
618
|
```
|
|
619
619
|
|
|
620
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
621
621
|
|
|
622
622
|
## `eas diagnostics`
|
|
623
623
|
|
|
@@ -631,7 +631,7 @@ DESCRIPTION
|
|
|
631
631
|
display environment info
|
|
632
632
|
```
|
|
633
633
|
|
|
634
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
634
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.53.1/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
635
635
|
|
|
636
636
|
## `eas help [COMMAND]`
|
|
637
637
|
|
|
@@ -710,7 +710,7 @@ DESCRIPTION
|
|
|
710
710
|
information about the current project
|
|
711
711
|
```
|
|
712
712
|
|
|
713
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
714
714
|
|
|
715
715
|
## `eas project:init`
|
|
716
716
|
|
|
@@ -727,7 +727,7 @@ ALIASES
|
|
|
727
727
|
$ eas init
|
|
728
728
|
```
|
|
729
729
|
|
|
730
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
731
731
|
|
|
732
732
|
## `eas secret:create`
|
|
733
733
|
|
|
@@ -747,7 +747,7 @@ DESCRIPTION
|
|
|
747
747
|
create an environment secret on the current project or owner account
|
|
748
748
|
```
|
|
749
749
|
|
|
750
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
751
751
|
|
|
752
752
|
## `eas secret:delete`
|
|
753
753
|
|
|
@@ -764,7 +764,7 @@ DESCRIPTION
|
|
|
764
764
|
delete an environment secret by ID
|
|
765
765
|
```
|
|
766
766
|
|
|
767
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
768
768
|
|
|
769
769
|
## `eas secret:list`
|
|
770
770
|
|
|
@@ -778,7 +778,7 @@ DESCRIPTION
|
|
|
778
778
|
list environment secrets available for your current app
|
|
779
779
|
```
|
|
780
780
|
|
|
781
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
782
782
|
|
|
783
783
|
## `eas submit`
|
|
784
784
|
|
|
@@ -808,7 +808,7 @@ ALIASES
|
|
|
808
808
|
$ eas build:submit
|
|
809
809
|
```
|
|
810
810
|
|
|
811
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
811
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.53.1/packages/eas-cli/src/commands/submit.ts)_
|
|
812
812
|
|
|
813
813
|
## `eas update`
|
|
814
814
|
|
|
@@ -838,7 +838,7 @@ DESCRIPTION
|
|
|
838
838
|
publish an update group
|
|
839
839
|
```
|
|
840
840
|
|
|
841
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
842
842
|
|
|
843
843
|
## `eas update:configure`
|
|
844
844
|
|
|
@@ -855,7 +855,7 @@ DESCRIPTION
|
|
|
855
855
|
configure the project to support EAS Update
|
|
856
856
|
```
|
|
857
857
|
|
|
858
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
859
859
|
|
|
860
860
|
## `eas update:delete GROUPID`
|
|
861
861
|
|
|
@@ -875,7 +875,7 @@ DESCRIPTION
|
|
|
875
875
|
delete all the updates in an update group
|
|
876
876
|
```
|
|
877
877
|
|
|
878
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
879
879
|
|
|
880
880
|
## `eas update:list`
|
|
881
881
|
|
|
@@ -894,7 +894,7 @@ DESCRIPTION
|
|
|
894
894
|
view the recent updates for a branch
|
|
895
895
|
```
|
|
896
896
|
|
|
897
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
898
898
|
|
|
899
899
|
## `eas update:view GROUPID`
|
|
900
900
|
|
|
@@ -914,7 +914,7 @@ DESCRIPTION
|
|
|
914
914
|
update group details
|
|
915
915
|
```
|
|
916
916
|
|
|
917
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
918
918
|
|
|
919
919
|
## `eas webhook:create`
|
|
920
920
|
|
|
@@ -934,7 +934,7 @@ DESCRIPTION
|
|
|
934
934
|
create a webhook
|
|
935
935
|
```
|
|
936
936
|
|
|
937
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
938
938
|
|
|
939
939
|
## `eas webhook:delete [ID]`
|
|
940
940
|
|
|
@@ -951,7 +951,7 @@ DESCRIPTION
|
|
|
951
951
|
delete a webhook
|
|
952
952
|
```
|
|
953
953
|
|
|
954
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
955
955
|
|
|
956
956
|
## `eas webhook:list`
|
|
957
957
|
|
|
@@ -968,7 +968,7 @@ DESCRIPTION
|
|
|
968
968
|
list webhooks
|
|
969
969
|
```
|
|
970
970
|
|
|
971
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
972
972
|
|
|
973
973
|
## `eas webhook:update`
|
|
974
974
|
|
|
@@ -989,7 +989,7 @@ DESCRIPTION
|
|
|
989
989
|
update a webhook
|
|
990
990
|
```
|
|
991
991
|
|
|
992
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
993
993
|
|
|
994
994
|
## `eas webhook:view ID`
|
|
995
995
|
|
|
@@ -1006,7 +1006,7 @@ DESCRIPTION
|
|
|
1006
1006
|
view a webhook
|
|
1007
1007
|
```
|
|
1008
1008
|
|
|
1009
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.53.
|
|
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)_
|
|
1010
1010
|
|
|
1011
1011
|
## `eas whoami`
|
|
1012
1012
|
|
|
@@ -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);
|
|
@@ -4,7 +4,7 @@ exports.UpdateQuery = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
6
|
const client_1 = require("../client");
|
|
7
|
-
const PAGE_LIMIT =
|
|
7
|
+
const PAGE_LIMIT = 300;
|
|
8
8
|
exports.UpdateQuery = {
|
|
9
9
|
async viewAllAsync({ appId }) {
|
|
10
10
|
return (0, client_1.withErrorHandlingAsync)(client_1.graphqlClient
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="@expo/apple-utils/ts-declarations/expo__app-store" />
|
|
2
|
+
import { AgeRatingDeclaration, AppInfoLocalization, AppStoreVersion, AppStoreVersionLocalization, CategoryIds } from '@expo/apple-utils';
|
|
3
|
+
import { AttributesOf } from '../../utils/asc';
|
|
4
|
+
import { AppleMetadata } from '../types';
|
|
5
|
+
declare type PartialExcept<T, K extends keyof T> = Pick<T, K> & Partial<Omit<T, K>>;
|
|
6
|
+
export declare const DEFAULT_WHATSNEW = "Bug fixes and improved stability";
|
|
7
|
+
/**
|
|
8
|
+
* Deserializes the metadata config schema into attributes for different models.
|
|
9
|
+
* This uses version 0 of the config schema.
|
|
10
|
+
*/
|
|
11
|
+
export declare class AppleConfigReader {
|
|
12
|
+
readonly schema: AppleMetadata;
|
|
13
|
+
constructor(schema: AppleMetadata);
|
|
14
|
+
getAgeRating(): Partial<AttributesOf<AgeRatingDeclaration>> | null;
|
|
15
|
+
getLocales(): string[];
|
|
16
|
+
getInfoLocale(locale: string): PartialExcept<AttributesOf<AppInfoLocalization>, 'locale' | 'name'> | null;
|
|
17
|
+
getCategories(): CategoryIds | null;
|
|
18
|
+
/** Get the `AppStoreVersion` object. */
|
|
19
|
+
getVersion(): Partial<Omit<AttributesOf<AppStoreVersion>, 'releaseType' | 'earliestReleaseDate'>> | null;
|
|
20
|
+
getVersionRelease(): Partial<Pick<AttributesOf<AppStoreVersion>, 'releaseType' | 'earliestReleaseDate'>> | null;
|
|
21
|
+
getVersionLocale(locale: string, context: {
|
|
22
|
+
versionIsFirst: boolean;
|
|
23
|
+
}): Partial<AttributesOf<AppStoreVersionLocalization>> | null;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppleConfigReader = exports.DEFAULT_WHATSNEW = void 0;
|
|
4
|
+
const apple_utils_1 = require("@expo/apple-utils");
|
|
5
|
+
const array_1 = require("../../utils/array");
|
|
6
|
+
const date_1 = require("../../utils/date");
|
|
7
|
+
// TODO: find out if we can move this to default JSON schema normalization
|
|
8
|
+
exports.DEFAULT_WHATSNEW = 'Bug fixes and improved stability';
|
|
9
|
+
/**
|
|
10
|
+
* Deserializes the metadata config schema into attributes for different models.
|
|
11
|
+
* This uses version 0 of the config schema.
|
|
12
|
+
*/
|
|
13
|
+
class AppleConfigReader {
|
|
14
|
+
constructor(schema) {
|
|
15
|
+
this.schema = schema;
|
|
16
|
+
}
|
|
17
|
+
getAgeRating() {
|
|
18
|
+
return this.schema.advisory || null;
|
|
19
|
+
}
|
|
20
|
+
getLocales() {
|
|
21
|
+
// TODO: filter "default" locales, add option to add non-localized info to the config
|
|
22
|
+
return (0, array_1.unique)(Object.keys(this.schema.info || {}));
|
|
23
|
+
}
|
|
24
|
+
getInfoLocale(locale) {
|
|
25
|
+
var _a;
|
|
26
|
+
const info = (_a = this.schema.info) === null || _a === void 0 ? void 0 : _a[locale];
|
|
27
|
+
if (!info) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
locale,
|
|
32
|
+
name: info.title || 'no name provided',
|
|
33
|
+
subtitle: info.subtitle,
|
|
34
|
+
privacyChoicesUrl: info.privacyChoicesUrl,
|
|
35
|
+
privacyPolicyText: info.privacyPolicyText,
|
|
36
|
+
privacyPolicyUrl: info.privacyPolicyUrl,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
getCategories() {
|
|
40
|
+
if (Array.isArray(this.schema.categories) && this.schema.categories.length > 0) {
|
|
41
|
+
return {
|
|
42
|
+
primaryCategory: this.schema.categories[0],
|
|
43
|
+
secondaryCategory: this.schema.categories[1],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
/** Get the `AppStoreVersion` object. */
|
|
49
|
+
getVersion() {
|
|
50
|
+
return this.schema.copyright ? { copyright: this.schema.copyright } : null;
|
|
51
|
+
}
|
|
52
|
+
getVersionRelease() {
|
|
53
|
+
var _a, _b;
|
|
54
|
+
const { release } = this.schema;
|
|
55
|
+
if (release === null || release === void 0 ? void 0 : release.autoReleaseDate) {
|
|
56
|
+
return {
|
|
57
|
+
releaseType: apple_utils_1.ReleaseType.SCHEDULED,
|
|
58
|
+
// Convert time format to 2020-06-17T12:00:00-07:00
|
|
59
|
+
earliestReleaseDate: (_b = (_a = (0, date_1.removeDatePrecision)(release.autoReleaseDate)) === null || _a === void 0 ? void 0 : _a.toISOString()) !== null && _b !== void 0 ? _b : null,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
if ((release === null || release === void 0 ? void 0 : release.automaticRelease) === true) {
|
|
63
|
+
return {
|
|
64
|
+
releaseType: apple_utils_1.ReleaseType.AFTER_APPROVAL,
|
|
65
|
+
earliestReleaseDate: null,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
if ((release === null || release === void 0 ? void 0 : release.automaticRelease) === false) {
|
|
69
|
+
return {
|
|
70
|
+
releaseType: apple_utils_1.ReleaseType.MANUAL,
|
|
71
|
+
earliestReleaseDate: null,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
getVersionLocale(locale, context) {
|
|
77
|
+
var _a, _b;
|
|
78
|
+
const info = (_a = this.schema.info) === null || _a === void 0 ? void 0 : _a[locale];
|
|
79
|
+
if (!info) {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
locale,
|
|
84
|
+
description: info.description,
|
|
85
|
+
keywords: (_b = info.keywords) === null || _b === void 0 ? void 0 : _b.join(', '),
|
|
86
|
+
// TODO: maybe move this to task logic, it's more an exception than data handling
|
|
87
|
+
whatsNew: context.versionIsFirst ? undefined : info.releaseNotes || exports.DEFAULT_WHATSNEW,
|
|
88
|
+
marketingUrl: info.marketingUrl,
|
|
89
|
+
promotionalText: info.promoText,
|
|
90
|
+
supportUrl: info.supportUrl,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.AppleConfigReader = AppleConfigReader;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="@expo/apple-utils/ts-declarations/expo__app-store" />
|
|
2
|
+
import { AgeRatingDeclaration, AppInfo, AppInfoLocalization, AppStoreVersion, AppStoreVersionLocalization } from '@expo/apple-utils';
|
|
3
|
+
import { AttributesOf } from '../../utils/asc';
|
|
4
|
+
import { AppleMetadata } from '../types';
|
|
5
|
+
/**
|
|
6
|
+
* Serializes the Apple ASC entities into the metadata configuration schema.
|
|
7
|
+
* This uses version 0 of the config schema.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AppleConfigWriter {
|
|
10
|
+
readonly schema: Partial<AppleMetadata>;
|
|
11
|
+
constructor(schema?: Partial<AppleMetadata>);
|
|
12
|
+
/** Get the schema result to write it to the config file */
|
|
13
|
+
toSchema(): {
|
|
14
|
+
configVersion: number;
|
|
15
|
+
apple: Partial<AppleMetadata>;
|
|
16
|
+
};
|
|
17
|
+
setAgeRating(attributes: AttributesOf<AgeRatingDeclaration>): void;
|
|
18
|
+
setInfoLocale(attributes: AttributesOf<AppInfoLocalization>): void;
|
|
19
|
+
setCategories({ primaryCategory, secondaryCategory }: AttributesOf<AppInfo>): void;
|
|
20
|
+
setVersion(attributes: Omit<AttributesOf<AppStoreVersion>, 'releaseType' | 'earliestReleaseDate'>): void;
|
|
21
|
+
setVersionRelease(attributes: Pick<AttributesOf<AppStoreVersion>, 'releaseType' | 'earliestReleaseDate'>): void;
|
|
22
|
+
setVersionLocale(attributes: AttributesOf<AppStoreVersionLocalization>): void;
|
|
23
|
+
}
|