eas-cli 0.48.0 → 0.49.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.
- package/README.md +135 -42
- package/build/build/local.js +1 -1
- package/build/build/utils/printBuildInfo.js +1 -2
- package/build/build/utils/url.js +6 -8
- package/build/commands/update/index.js +1 -1
- package/build/credentials/context.js +2 -2
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +4 -1
- package/build/credentials/ios/appstore/capabilityIdentifiers.d.ts +2 -0
- package/build/credentials/ios/appstore/capabilityIdentifiers.js +9 -0
- package/build/credentials/ios/appstore/provisioningProfile.js +6 -0
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.js +17 -2
- package/build/credentials/ios/appstore/pushKey.d.ts +12 -0
- package/build/credentials/ios/appstore/pushKey.js +12 -0
- package/build/credentials/ios/utils/authType.d.ts +4 -0
- package/build/credentials/ios/utils/authType.js +8 -0
- package/build/fetch.d.ts +3 -0
- package/build/fetch.js +14 -2
- package/build/graphql/client.js +15 -14
- package/build/graphql/generated.d.ts +10 -0
- package/build/graphql/mutations/BuildMutation.js +2 -2
- package/build/graphql/types/Build.js +1 -0
- package/build/project/ios/target.js +37 -0
- package/build/utils/code-signing.js +5 -2
- package/oclif.manifest.json +1 -1
- package/package.json +12 -11
package/README.md
CHANGED
|
@@ -48,6 +48,7 @@ eas --help COMMAND
|
|
|
48
48
|
* [`eas build:configure`](#eas-buildconfigure)
|
|
49
49
|
* [`eas build:inspect`](#eas-buildinspect)
|
|
50
50
|
* [`eas build:list`](#eas-buildlist)
|
|
51
|
+
* [`eas build:submit`](#eas-buildsubmit)
|
|
51
52
|
* [`eas build:view [BUILD_ID]`](#eas-buildview-build_id)
|
|
52
53
|
* [`eas channel:create [NAME]`](#eas-channelcreate-name)
|
|
53
54
|
* [`eas channel:edit [NAME]`](#eas-channeledit-name)
|
|
@@ -61,6 +62,9 @@ eas --help COMMAND
|
|
|
61
62
|
* [`eas device:view [UDID]`](#eas-deviceview-udid)
|
|
62
63
|
* [`eas diagnostics`](#eas-diagnostics)
|
|
63
64
|
* [`eas help [COMMAND]`](#eas-help-command)
|
|
65
|
+
* [`eas init`](#eas-init)
|
|
66
|
+
* [`eas login`](#eas-login)
|
|
67
|
+
* [`eas logout`](#eas-logout)
|
|
64
68
|
* [`eas project:info`](#eas-projectinfo)
|
|
65
69
|
* [`eas project:init`](#eas-projectinit)
|
|
66
70
|
* [`eas secret:create`](#eas-secretcreate)
|
|
@@ -77,6 +81,7 @@ eas --help COMMAND
|
|
|
77
81
|
* [`eas webhook:list`](#eas-webhooklist)
|
|
78
82
|
* [`eas webhook:update`](#eas-webhookupdate)
|
|
79
83
|
* [`eas webhook:view ID`](#eas-webhookview-id)
|
|
84
|
+
* [`eas whoami`](#eas-whoami)
|
|
80
85
|
|
|
81
86
|
## `eas account:login`
|
|
82
87
|
|
|
@@ -93,7 +98,7 @@ ALIASES
|
|
|
93
98
|
$ eas login
|
|
94
99
|
```
|
|
95
100
|
|
|
96
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
101
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
97
102
|
|
|
98
103
|
## `eas account:logout`
|
|
99
104
|
|
|
@@ -110,7 +115,7 @@ ALIASES
|
|
|
110
115
|
$ eas logout
|
|
111
116
|
```
|
|
112
117
|
|
|
113
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
118
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
114
119
|
|
|
115
120
|
## `eas account:view`
|
|
116
121
|
|
|
@@ -127,7 +132,7 @@ ALIASES
|
|
|
127
132
|
$ eas whoami
|
|
128
133
|
```
|
|
129
134
|
|
|
130
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
135
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
131
136
|
|
|
132
137
|
## `eas analytics [STATUS]`
|
|
133
138
|
|
|
@@ -141,7 +146,7 @@ DESCRIPTION
|
|
|
141
146
|
display or change analytics settings
|
|
142
147
|
```
|
|
143
148
|
|
|
144
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
149
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
145
150
|
|
|
146
151
|
## `eas autocomplete [SHELL]`
|
|
147
152
|
|
|
@@ -190,7 +195,7 @@ DESCRIPTION
|
|
|
190
195
|
create a branch
|
|
191
196
|
```
|
|
192
197
|
|
|
193
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
198
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
194
199
|
|
|
195
200
|
## `eas branch:delete [NAME]`
|
|
196
201
|
|
|
@@ -210,7 +215,7 @@ DESCRIPTION
|
|
|
210
215
|
delete a branch
|
|
211
216
|
```
|
|
212
217
|
|
|
213
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
218
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
214
219
|
|
|
215
220
|
## `eas branch:list`
|
|
216
221
|
|
|
@@ -227,7 +232,7 @@ DESCRIPTION
|
|
|
227
232
|
list all branches
|
|
228
233
|
```
|
|
229
234
|
|
|
230
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
235
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
231
236
|
|
|
232
237
|
## `eas branch:rename`
|
|
233
238
|
|
|
@@ -246,7 +251,7 @@ DESCRIPTION
|
|
|
246
251
|
rename a branch
|
|
247
252
|
```
|
|
248
253
|
|
|
249
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
254
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
250
255
|
|
|
251
256
|
## `eas branch:view [NAME]`
|
|
252
257
|
|
|
@@ -266,7 +271,7 @@ DESCRIPTION
|
|
|
266
271
|
view a branch
|
|
267
272
|
```
|
|
268
273
|
|
|
269
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
274
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
270
275
|
|
|
271
276
|
## `eas build`
|
|
272
277
|
|
|
@@ -295,7 +300,7 @@ DESCRIPTION
|
|
|
295
300
|
start a build
|
|
296
301
|
```
|
|
297
302
|
|
|
298
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
303
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
299
304
|
|
|
300
305
|
## `eas build:cancel [BUILD_ID]`
|
|
301
306
|
|
|
@@ -309,7 +314,7 @@ DESCRIPTION
|
|
|
309
314
|
cancel a build
|
|
310
315
|
```
|
|
311
316
|
|
|
312
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
317
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
313
318
|
|
|
314
319
|
## `eas build:configure`
|
|
315
320
|
|
|
@@ -326,7 +331,7 @@ DESCRIPTION
|
|
|
326
331
|
configure the project to support EAS Build
|
|
327
332
|
```
|
|
328
333
|
|
|
329
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
334
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
330
335
|
|
|
331
336
|
## `eas build:inspect`
|
|
332
337
|
|
|
@@ -361,7 +366,7 @@ DESCRIPTION
|
|
|
361
366
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
362
367
|
```
|
|
363
368
|
|
|
364
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
369
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
365
370
|
|
|
366
371
|
## `eas build:list`
|
|
367
372
|
|
|
@@ -394,7 +399,35 @@ DESCRIPTION
|
|
|
394
399
|
list all builds for your project
|
|
395
400
|
```
|
|
396
401
|
|
|
397
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
402
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
403
|
+
|
|
404
|
+
## `eas build:submit`
|
|
405
|
+
|
|
406
|
+
submit app binary to App Store and/or Play Store
|
|
407
|
+
|
|
408
|
+
```
|
|
409
|
+
USAGE
|
|
410
|
+
$ eas build:submit [-p android|ios|all] [--profile <value>] [--latest | --id <value> | --path <value> | --url
|
|
411
|
+
<value>] [--verbose] [--wait] [--non-interactive]
|
|
412
|
+
|
|
413
|
+
FLAGS
|
|
414
|
+
-p, --platform=(android|ios|all)
|
|
415
|
+
--id=<value> ID of the build to submit
|
|
416
|
+
--latest Submit the latest build for specified platform
|
|
417
|
+
--non-interactive Run command in non-interactive mode
|
|
418
|
+
--path=<value> Path to the .apk/.aab/.ipa file
|
|
419
|
+
--profile=<value> Name of the submit profile from eas.json. Defaults to "production" if defined in
|
|
420
|
+
eas.json.
|
|
421
|
+
--url=<value> App archive url
|
|
422
|
+
--verbose Always print logs from Submission Service
|
|
423
|
+
--[no-]wait Wait for submission to complete
|
|
424
|
+
|
|
425
|
+
DESCRIPTION
|
|
426
|
+
submit app binary to App Store and/or Play Store
|
|
427
|
+
|
|
428
|
+
ALIASES
|
|
429
|
+
$ eas build:submit
|
|
430
|
+
```
|
|
398
431
|
|
|
399
432
|
## `eas build:view [BUILD_ID]`
|
|
400
433
|
|
|
@@ -411,7 +444,7 @@ DESCRIPTION
|
|
|
411
444
|
view a build for your project
|
|
412
445
|
```
|
|
413
446
|
|
|
414
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
447
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
415
448
|
|
|
416
449
|
## `eas channel:create [NAME]`
|
|
417
450
|
|
|
@@ -431,7 +464,7 @@ DESCRIPTION
|
|
|
431
464
|
create a channel
|
|
432
465
|
```
|
|
433
466
|
|
|
434
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
467
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
435
468
|
|
|
436
469
|
## `eas channel:edit [NAME]`
|
|
437
470
|
|
|
@@ -452,7 +485,7 @@ DESCRIPTION
|
|
|
452
485
|
point a channel at a new branch
|
|
453
486
|
```
|
|
454
487
|
|
|
455
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
488
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
456
489
|
|
|
457
490
|
## `eas channel:list`
|
|
458
491
|
|
|
@@ -469,7 +502,7 @@ DESCRIPTION
|
|
|
469
502
|
list all channels
|
|
470
503
|
```
|
|
471
504
|
|
|
472
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
505
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
473
506
|
|
|
474
507
|
## `eas channel:view [NAME]`
|
|
475
508
|
|
|
@@ -489,7 +522,7 @@ DESCRIPTION
|
|
|
489
522
|
view a channel
|
|
490
523
|
```
|
|
491
524
|
|
|
492
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
525
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
493
526
|
|
|
494
527
|
## `eas config`
|
|
495
528
|
|
|
@@ -507,7 +540,7 @@ DESCRIPTION
|
|
|
507
540
|
display project configuration (app.json + eas.json)
|
|
508
541
|
```
|
|
509
542
|
|
|
510
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
543
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/config.ts)_
|
|
511
544
|
|
|
512
545
|
## `eas credentials`
|
|
513
546
|
|
|
@@ -521,7 +554,7 @@ DESCRIPTION
|
|
|
521
554
|
manage credentials
|
|
522
555
|
```
|
|
523
556
|
|
|
524
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
557
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
525
558
|
|
|
526
559
|
## `eas device:create`
|
|
527
560
|
|
|
@@ -535,7 +568,7 @@ DESCRIPTION
|
|
|
535
568
|
register new Apple Devices to use for internal distribution
|
|
536
569
|
```
|
|
537
570
|
|
|
538
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
571
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
539
572
|
|
|
540
573
|
## `eas device:delete`
|
|
541
574
|
|
|
@@ -553,7 +586,7 @@ DESCRIPTION
|
|
|
553
586
|
remove a registered device from your account
|
|
554
587
|
```
|
|
555
588
|
|
|
556
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
589
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
557
590
|
|
|
558
591
|
## `eas device:list`
|
|
559
592
|
|
|
@@ -570,7 +603,7 @@ DESCRIPTION
|
|
|
570
603
|
list all registered devices for your account
|
|
571
604
|
```
|
|
572
605
|
|
|
573
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
606
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
574
607
|
|
|
575
608
|
## `eas device:view [UDID]`
|
|
576
609
|
|
|
@@ -584,7 +617,7 @@ DESCRIPTION
|
|
|
584
617
|
view a device for your project
|
|
585
618
|
```
|
|
586
619
|
|
|
587
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
620
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
588
621
|
|
|
589
622
|
## `eas diagnostics`
|
|
590
623
|
|
|
@@ -598,7 +631,7 @@ DESCRIPTION
|
|
|
598
631
|
display environment info
|
|
599
632
|
```
|
|
600
633
|
|
|
601
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
634
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
602
635
|
|
|
603
636
|
## `eas help [COMMAND]`
|
|
604
637
|
|
|
@@ -620,6 +653,51 @@ DESCRIPTION
|
|
|
620
653
|
|
|
621
654
|
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_
|
|
622
655
|
|
|
656
|
+
## `eas init`
|
|
657
|
+
|
|
658
|
+
create or link an EAS project
|
|
659
|
+
|
|
660
|
+
```
|
|
661
|
+
USAGE
|
|
662
|
+
$ eas init
|
|
663
|
+
|
|
664
|
+
DESCRIPTION
|
|
665
|
+
create or link an EAS project
|
|
666
|
+
|
|
667
|
+
ALIASES
|
|
668
|
+
$ eas init
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
## `eas login`
|
|
672
|
+
|
|
673
|
+
log in with your Expo account
|
|
674
|
+
|
|
675
|
+
```
|
|
676
|
+
USAGE
|
|
677
|
+
$ eas login
|
|
678
|
+
|
|
679
|
+
DESCRIPTION
|
|
680
|
+
log in with your Expo account
|
|
681
|
+
|
|
682
|
+
ALIASES
|
|
683
|
+
$ eas login
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
## `eas logout`
|
|
687
|
+
|
|
688
|
+
log out
|
|
689
|
+
|
|
690
|
+
```
|
|
691
|
+
USAGE
|
|
692
|
+
$ eas logout
|
|
693
|
+
|
|
694
|
+
DESCRIPTION
|
|
695
|
+
log out
|
|
696
|
+
|
|
697
|
+
ALIASES
|
|
698
|
+
$ eas logout
|
|
699
|
+
```
|
|
700
|
+
|
|
623
701
|
## `eas project:info`
|
|
624
702
|
|
|
625
703
|
information about the current project
|
|
@@ -632,7 +710,7 @@ DESCRIPTION
|
|
|
632
710
|
information about the current project
|
|
633
711
|
```
|
|
634
712
|
|
|
635
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
713
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
636
714
|
|
|
637
715
|
## `eas project:init`
|
|
638
716
|
|
|
@@ -649,7 +727,7 @@ ALIASES
|
|
|
649
727
|
$ eas init
|
|
650
728
|
```
|
|
651
729
|
|
|
652
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
730
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
653
731
|
|
|
654
732
|
## `eas secret:create`
|
|
655
733
|
|
|
@@ -669,7 +747,7 @@ DESCRIPTION
|
|
|
669
747
|
create an environment secret on the current project or owner account
|
|
670
748
|
```
|
|
671
749
|
|
|
672
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
750
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
673
751
|
|
|
674
752
|
## `eas secret:delete`
|
|
675
753
|
|
|
@@ -686,7 +764,7 @@ DESCRIPTION
|
|
|
686
764
|
delete an environment secret by ID
|
|
687
765
|
```
|
|
688
766
|
|
|
689
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
767
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
690
768
|
|
|
691
769
|
## `eas secret:list`
|
|
692
770
|
|
|
@@ -700,7 +778,7 @@ DESCRIPTION
|
|
|
700
778
|
list environment secrets available for your current app
|
|
701
779
|
```
|
|
702
780
|
|
|
703
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
781
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
704
782
|
|
|
705
783
|
## `eas submit`
|
|
706
784
|
|
|
@@ -730,7 +808,7 @@ ALIASES
|
|
|
730
808
|
$ eas build:submit
|
|
731
809
|
```
|
|
732
810
|
|
|
733
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
811
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/submit.ts)_
|
|
734
812
|
|
|
735
813
|
## `eas update`
|
|
736
814
|
|
|
@@ -759,7 +837,7 @@ DESCRIPTION
|
|
|
759
837
|
publish an update group
|
|
760
838
|
```
|
|
761
839
|
|
|
762
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
840
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
763
841
|
|
|
764
842
|
## `eas update:configure`
|
|
765
843
|
|
|
@@ -776,7 +854,7 @@ DESCRIPTION
|
|
|
776
854
|
configure the project to support EAS Update
|
|
777
855
|
```
|
|
778
856
|
|
|
779
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
857
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
780
858
|
|
|
781
859
|
## `eas update:delete GROUPID`
|
|
782
860
|
|
|
@@ -796,7 +874,7 @@ DESCRIPTION
|
|
|
796
874
|
delete all the updates in an update group
|
|
797
875
|
```
|
|
798
876
|
|
|
799
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
877
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
800
878
|
|
|
801
879
|
## `eas update:list`
|
|
802
880
|
|
|
@@ -815,7 +893,7 @@ DESCRIPTION
|
|
|
815
893
|
view the recent updates for a branch
|
|
816
894
|
```
|
|
817
895
|
|
|
818
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
896
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
819
897
|
|
|
820
898
|
## `eas update:view GROUPID`
|
|
821
899
|
|
|
@@ -835,7 +913,7 @@ DESCRIPTION
|
|
|
835
913
|
update group details
|
|
836
914
|
```
|
|
837
915
|
|
|
838
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
916
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
839
917
|
|
|
840
918
|
## `eas webhook:create`
|
|
841
919
|
|
|
@@ -855,7 +933,7 @@ DESCRIPTION
|
|
|
855
933
|
create a webhook
|
|
856
934
|
```
|
|
857
935
|
|
|
858
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
936
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
859
937
|
|
|
860
938
|
## `eas webhook:delete [ID]`
|
|
861
939
|
|
|
@@ -872,7 +950,7 @@ DESCRIPTION
|
|
|
872
950
|
delete a webhook
|
|
873
951
|
```
|
|
874
952
|
|
|
875
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
953
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
876
954
|
|
|
877
955
|
## `eas webhook:list`
|
|
878
956
|
|
|
@@ -889,7 +967,7 @@ DESCRIPTION
|
|
|
889
967
|
list webhooks
|
|
890
968
|
```
|
|
891
969
|
|
|
892
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
970
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
893
971
|
|
|
894
972
|
## `eas webhook:update`
|
|
895
973
|
|
|
@@ -910,7 +988,7 @@ DESCRIPTION
|
|
|
910
988
|
update a webhook
|
|
911
989
|
```
|
|
912
990
|
|
|
913
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
991
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
914
992
|
|
|
915
993
|
## `eas webhook:view ID`
|
|
916
994
|
|
|
@@ -927,5 +1005,20 @@ DESCRIPTION
|
|
|
927
1005
|
view a webhook
|
|
928
1006
|
```
|
|
929
1007
|
|
|
930
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1008
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.49.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1009
|
+
|
|
1010
|
+
## `eas whoami`
|
|
1011
|
+
|
|
1012
|
+
show the username you are logged in as
|
|
1013
|
+
|
|
1014
|
+
```
|
|
1015
|
+
USAGE
|
|
1016
|
+
$ eas whoami
|
|
1017
|
+
|
|
1018
|
+
DESCRIPTION
|
|
1019
|
+
show the username you are logged in as
|
|
1020
|
+
|
|
1021
|
+
ALIASES
|
|
1022
|
+
$ eas whoami
|
|
1023
|
+
```
|
|
931
1024
|
<!-- commandsstop -->
|
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.74';
|
|
10
10
|
async function runLocalBuildAsync(job, options) {
|
|
11
11
|
var _a;
|
|
12
12
|
const { command, args } = await getCommandAndArgsAsync(job);
|
|
@@ -82,8 +82,7 @@ function printDeprecationWarnings(deprecationInfo) {
|
|
|
82
82
|
log_1.default.warn(deprecationInfo.message);
|
|
83
83
|
}
|
|
84
84
|
else if (deprecationInfo.type === generated_1.EasBuildDeprecationInfoType.UserFacing) {
|
|
85
|
-
log_1.default.warn('This command is using API that soon will be deprecated
|
|
86
|
-
log_1.default.warn('There might be some changes necessary to your project config, latest eas-cli will provide more specific error messages.');
|
|
85
|
+
log_1.default.warn('This command is using API that soon will be deprecated.');
|
|
87
86
|
log_1.default.warn(deprecationInfo.message);
|
|
88
87
|
}
|
|
89
88
|
else {
|
package/build/build/utils/url.js
CHANGED
|
@@ -6,21 +6,19 @@ const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
|
6
6
|
const api_1 = require("../../api");
|
|
7
7
|
const generated_1 = require("../../graphql/generated");
|
|
8
8
|
function getProjectDashboardUrl(accountName, projectName) {
|
|
9
|
-
return
|
|
9
|
+
return new URL(`/accounts/${accountName}/projects/${projectName}`, (0, api_1.getExpoWebsiteBaseUrl)()).toString();
|
|
10
10
|
}
|
|
11
11
|
exports.getProjectDashboardUrl = getProjectDashboardUrl;
|
|
12
12
|
function getBuildLogsUrl(build) {
|
|
13
13
|
const { project } = build;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return `${(0, api_1.getExpoWebsiteBaseUrl)()}/builds/${build.id}`;
|
|
19
|
-
}
|
|
14
|
+
const url = project.__typename !== 'App'
|
|
15
|
+
? `/builds/${build.id}`
|
|
16
|
+
: `/accounts/${project.ownerAccount.name}/projects/${project.slug}/builds/${build.id}`;
|
|
17
|
+
return new URL(url, (0, api_1.getExpoWebsiteBaseUrl)()).toString();
|
|
20
18
|
}
|
|
21
19
|
exports.getBuildLogsUrl = getBuildLogsUrl;
|
|
22
20
|
function getArtifactUrl(artifactId) {
|
|
23
|
-
return
|
|
21
|
+
return new URL(`/artifacts/${artifactId}`, (0, api_1.getExpoWebsiteBaseUrl)()).toString();
|
|
24
22
|
}
|
|
25
23
|
exports.getArtifactUrl = getArtifactUrl;
|
|
26
24
|
function getInternalDistributionInstallUrl(build) {
|
|
@@ -101,6 +101,7 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
101
101
|
skipSDKVersionRequirement: true,
|
|
102
102
|
isPublicConfig: true,
|
|
103
103
|
});
|
|
104
|
+
const codeSigningInfo = await (0, code_signing_1.getCodeSigningInfoAsync)(exp, privateKeyPath);
|
|
104
105
|
if (!(0, projectUtils_1.isExpoUpdatesInstalledOrAvailable)(projectDir, exp.sdkVersion)) {
|
|
105
106
|
const install = await (0, prompts_1.confirmAsync)({
|
|
106
107
|
message: `You are creating an update which requires ${chalk_1.default.bold('expo-updates')} to be installed in your app.\n Do you want EAS CLI to install it for you?`,
|
|
@@ -272,7 +273,6 @@ class UpdatePublish extends EasCommand_1.default {
|
|
|
272
273
|
.filter(pair => pair[1] === runtime)
|
|
273
274
|
.map(pair => pair[0]);
|
|
274
275
|
}
|
|
275
|
-
const codeSigningInfo = await (0, code_signing_1.getCodeSigningInfoAsync)(exp, privateKeyPath);
|
|
276
276
|
// Sort the updates into different groups based on their platform specific runtime versions
|
|
277
277
|
const updateGroups = Object.entries(runtimeToPlatformMapping).map(([runtime, platforms]) => {
|
|
278
278
|
const localUpdateInfoGroup = Object.fromEntries(platforms.map(platform => [
|
|
@@ -74,7 +74,7 @@ class CredentialsContext {
|
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
76
|
log_1.default.log(chalk_1.default.green('If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.'));
|
|
77
|
-
log_1.default.log(chalk_1.default.green('This is optional, but without Apple account access you will need to provide all the values manually and we can only run minimal validation on them.'));
|
|
77
|
+
log_1.default.log(chalk_1.default.green('This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.'));
|
|
78
78
|
const confirm = await (0, prompts_1.confirmAsync)({
|
|
79
79
|
message: `Do you want to log in to your Apple account?`,
|
|
80
80
|
});
|
|
@@ -82,7 +82,7 @@ class CredentialsContext {
|
|
|
82
82
|
await this.appStore.ensureAuthenticatedAsync();
|
|
83
83
|
}
|
|
84
84
|
else {
|
|
85
|
-
log_1.default.log(chalk_1.default.green('No problem! 👌 If
|
|
85
|
+
log_1.default.log(chalk_1.default.green('No problem! 👌 If any of the next steps will require Apple account access we will ask you again about it.'));
|
|
86
86
|
}
|
|
87
87
|
this.shouldAskAuthenticateAppStore = false;
|
|
88
88
|
}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SetUpInternalProvisioningProfile = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const generated_1 = require("../../../graphql/generated");
|
|
6
|
-
const log_1 = tslib_1.
|
|
6
|
+
const log_1 = tslib_1.__importStar(require("../../../log"));
|
|
7
7
|
const prompts_1 = require("../../../prompts");
|
|
8
8
|
const BuildCredentialsUtils_1 = require("./BuildCredentialsUtils");
|
|
9
9
|
const SetUpAdhocProvisioningProfile_1 = require("./SetUpAdhocProvisioningProfile");
|
|
@@ -44,6 +44,9 @@ class SetUpInternalProvisioningProfile {
|
|
|
44
44
|
return await this.setupUniversalProvisioningProfileAsync(ctx);
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
|
+
log_1.default.addNewLineIfNone();
|
|
48
|
+
log_1.default.log('You need to log in to your Apple Developer account to generate credentials for internal distribution builds, or provide credentials via credentials.json');
|
|
49
|
+
log_1.default.log((0, log_1.learnMore)('https://docs.expo.dev/app-signing/local-credentials/'));
|
|
47
50
|
const { team } = await ctx.appStore.ensureAuthenticatedAsync();
|
|
48
51
|
if (team.inHouse) {
|
|
49
52
|
return await this.askForDistributionTypeAndSetupAsync(ctx, 'Which credentials would you like to set up?');
|
|
@@ -6,6 +6,8 @@ import { JSONObject } from '@expo/json-file';
|
|
|
6
6
|
* If a capability identifier is missing, then attempt to create it.
|
|
7
7
|
* Link all of the capability identifiers at the same time after parsing the entitlements file.
|
|
8
8
|
*
|
|
9
|
+
* **Does not support App Store Connect API (CI).**
|
|
10
|
+
*
|
|
9
11
|
* @param bundleId Bundle identifier object.
|
|
10
12
|
* @param entitlements JSON representation of the iOS entitlements plist
|
|
11
13
|
*
|
|
@@ -4,12 +4,15 @@ exports.syncCapabilityIdentifiersForEntitlementsAsync = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
6
|
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
7
|
+
const authType_1 = require("../utils/authType");
|
|
7
8
|
const bundleIdCapabilities_1 = require("./bundleIdCapabilities");
|
|
8
9
|
/**
|
|
9
10
|
* Sync the capability identifiers with the bundle identifier capabilities.
|
|
10
11
|
* If a capability identifier is missing, then attempt to create it.
|
|
11
12
|
* Link all of the capability identifiers at the same time after parsing the entitlements file.
|
|
12
13
|
*
|
|
14
|
+
* **Does not support App Store Connect API (CI).**
|
|
15
|
+
*
|
|
13
16
|
* @param bundleId Bundle identifier object.
|
|
14
17
|
* @param entitlements JSON representation of the iOS entitlements plist
|
|
15
18
|
*
|
|
@@ -19,6 +22,12 @@ async function syncCapabilityIdentifiersForEntitlementsAsync(bundleId, entitleme
|
|
|
19
22
|
if (bundleIdCapabilities_1.EXPO_NO_CAPABILITY_SYNC) {
|
|
20
23
|
return { created: [], linked: [] };
|
|
21
24
|
}
|
|
25
|
+
// App Store Connect token authentication is not currently supported,
|
|
26
|
+
// the team ID is required to create capability identifiers.
|
|
27
|
+
if ((0, authType_1.isAppStoreConnectTokenOnlyContext)(bundleId.context)) {
|
|
28
|
+
log_1.default.warn(`Skipping capability identifier syncing because the current Apple authentication session is not using Cookies (username/password).`);
|
|
29
|
+
return { created: [], linked: [] };
|
|
30
|
+
}
|
|
22
31
|
const createdIds = [];
|
|
23
32
|
const linkedIds = [];
|
|
24
33
|
const CapabilityIdMapping = bundleIdCapabilities_1.CapabilityMapping.filter(capability => capability.capabilityIdModel);
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.revokeProvisioningProfileAsync = exports.createProvisioningProfileAsync = exports.listProvisioningProfilesAsync = exports.useExistingProvisioningProfileAsync = exports.ProfileClass = void 0;
|
|
4
4
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
5
5
|
const ora_1 = require("../../../ora");
|
|
6
|
+
const authType_1 = require("../utils/authType");
|
|
6
7
|
const p12Certificate_1 = require("../utils/p12Certificate");
|
|
7
8
|
const authenticate_1 = require("./authenticate");
|
|
8
9
|
const bundleId_1 = require("./bundleId");
|
|
@@ -47,6 +48,11 @@ async function addCertificateToProfileAsync(context, { serialNumber, profileId,
|
|
|
47
48
|
}
|
|
48
49
|
// Assign the new certificate
|
|
49
50
|
profile.attributes.certificates = [cert];
|
|
51
|
+
// Experimentally regenerate the provisioning profile using App Store Connect API.
|
|
52
|
+
if ((0, authType_1.isAppStoreConnectTokenOnlyContext)(profile.context)) {
|
|
53
|
+
return await profile.regenerateManuallyAsync();
|
|
54
|
+
}
|
|
55
|
+
// This method does not support App Store Connect API.
|
|
50
56
|
return await profile.regenerateAsync();
|
|
51
57
|
}
|
|
52
58
|
async function useExistingProvisioningProfileAsync(authCtx, bundleIdentifier, provisioningProfile, distCert) {
|