eas-cli 1.1.1 → 2.1.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 +86 -79
- package/build/branch/queries.js +11 -8
- package/build/build/android/graphql.js +2 -1
- package/build/build/android/prepareJob.js +3 -1
- package/build/build/createContext.js +1 -0
- package/build/build/ios/graphql.js +2 -2
- package/build/build/ios/prepareJob.js +3 -1
- package/build/commandUtils/EasCommand.d.ts +2 -0
- package/build/commandUtils/EasCommand.js +44 -3
- package/build/commands/branch/delete.js +1 -1
- package/build/commands/build/index.d.ts +2 -1
- package/build/commands/build/index.js +91 -19
- package/build/commands/channel/delete.js +1 -1
- package/build/commands/device/delete.js +3 -2
- package/build/commands/open.d.ts +5 -0
- package/build/commands/open.js +40 -0
- package/build/commands/secret/delete.js +1 -1
- package/build/commands/submit.d.ts +2 -1
- package/build/commands/submit.js +28 -14
- package/build/commands/update/configure.js +58 -5
- package/build/commands/update/delete.js +1 -1
- package/build/commands/update/index.js +3 -0
- package/build/commands/webhook/delete.js +1 -1
- package/build/credentials/android/api/GraphqlClient.js +1 -1
- package/build/credentials/context.d.ts +3 -0
- package/build/credentials/context.js +1 -0
- package/build/credentials/ios/IosCredentialsProvider.d.ts +1 -0
- package/build/credentials/ios/IosCredentialsProvider.js +33 -5
- package/build/credentials/ios/actions/ConfigureProvisioningProfile.d.ts +3 -1
- package/build/credentials/ios/actions/ConfigureProvisioningProfile.js +5 -2
- package/build/credentials/ios/actions/CreateProvisioningProfile.d.ts +3 -1
- package/build/credentials/ios/actions/CreateProvisioningProfile.js +3 -2
- package/build/credentials/ios/actions/ProvisioningProfileUtils.d.ts +2 -1
- package/build/credentials/ios/actions/ProvisioningProfileUtils.js +4 -2
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.d.ts +8 -2
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +30 -18
- package/build/credentials/ios/actions/SetUpBuildCredentials.js +1 -0
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.d.ts +8 -2
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +6 -12
- package/build/credentials/ios/actions/SetUpProvisioningProfile.d.ts +3 -1
- package/build/credentials/ios/actions/SetUpProvisioningProfile.js +8 -5
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.d.ts +2 -0
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.js +5 -5
- package/build/credentials/ios/api/GraphqlClient.js +1 -1
- package/build/credentials/ios/appstore/AppStoreApi.d.ts +7 -4
- package/build/credentials/ios/appstore/AppStoreApi.js +8 -8
- package/build/credentials/ios/appstore/Credentials.types.d.ts +0 -14
- package/build/credentials/ios/appstore/Credentials.types.js +0 -6
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +176 -15
- package/build/credentials/ios/appstore/constants.d.ts +1 -0
- package/build/credentials/ios/appstore/constants.js +6 -0
- package/build/credentials/ios/appstore/distributionCertificate.js +1 -1
- package/build/credentials/ios/appstore/provisioningProfile.d.ts +5 -3
- package/build/credentials/ios/appstore/provisioningProfile.js +30 -7
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.d.ts +3 -1
- package/build/credentials/ios/appstore/provisioningProfileAdhoc.js +10 -10
- package/build/credentials/ios/validators/validateProvisioningProfile.d.ts +2 -1
- package/build/credentials/ios/validators/validateProvisioningProfile.js +6 -4
- package/build/credentials/manager/ManageAndroid.js +2 -8
- package/build/credentials/manager/ManageIos.js +10 -9
- package/build/devices/actions/create/developerPortalMethod.js +2 -2
- package/build/graphql/generated.d.ts +230 -39
- package/build/graphql/generated.js +39 -1
- package/build/{credentials/ios/api/graphql → graphql}/queries/AppQuery.d.ts +1 -1
- package/build/{credentials/ios/api/graphql → graphql}/queries/AppQuery.js +2 -2
- package/build/graphql/queries/EnvironmentSecretsQuery.d.ts +1 -1
- package/build/graphql/queries/EnvironmentSecretsQuery.js +2 -2
- package/build/graphql/queries/StatuspageServiceQuery.d.ts +4 -0
- package/build/graphql/queries/StatuspageServiceQuery.js +28 -0
- package/build/graphql/types/StatuspageService.d.ts +1 -0
- package/build/graphql/types/StatuspageService.js +19 -0
- package/build/project/ensureProjectExists.d.ts +0 -7
- package/build/project/ensureProjectExists.js +4 -14
- package/build/project/ios/target.d.ts +7 -0
- package/build/project/ios/target.js +26 -1
- package/build/project/projectUtils.d.ts +0 -1
- package/build/project/projectUtils.js +9 -29
- package/build/project/workflow.js +3 -1
- package/build/submit/android/AndroidSubmitter.js +1 -1
- package/build/submit/submit.js +2 -2
- package/build/submit/utils/errors.js +2 -0
- package/build/utils/statuspageService.d.ts +2 -0
- package/build/utils/statuspageService.js +41 -0
- package/build/vcs/clients/git.js +4 -1
- package/build/vcs/clients/gitNoCommit.js +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -6
- package/build/graphql/queries/ProjectQuery.d.ts +0 -6
- package/build/graphql/queries/ProjectQuery.js +0 -24
package/README.md
CHANGED
|
@@ -19,6 +19,28 @@ npm install -g eas-cli
|
|
|
19
19
|
yarn global add eas-cli
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
## Enforcing eas-cli version for your project
|
|
23
|
+
|
|
24
|
+
If you want to enforce the `eas-cli` version for your project, use the `"cli.version"` field in **eas.json**. Installing `eas-cli` to your project dependencies is strongly discouraged because it may cause dependency conflicts that are difficult to debug.
|
|
25
|
+
|
|
26
|
+
An example of **eas.json** that enforces `eas-cli` in version `1.0.0` or newer:
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"cli": {
|
|
31
|
+
"version": ">=1.0.0"
|
|
32
|
+
},
|
|
33
|
+
"build": {
|
|
34
|
+
// build profiles
|
|
35
|
+
},
|
|
36
|
+
"submit": {
|
|
37
|
+
// submit profiles
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Learn more: https://docs.expo.dev/build-reference/eas-json/
|
|
43
|
+
|
|
22
44
|
# Usage
|
|
23
45
|
|
|
24
46
|
```sh
|
|
@@ -58,19 +80,18 @@ eas --help COMMAND
|
|
|
58
80
|
* [`eas channel:view [NAME]`](#eas-channelview-name)
|
|
59
81
|
* [`eas config`](#eas-config)
|
|
60
82
|
* [`eas credentials`](#eas-credentials)
|
|
61
|
-
* [`eas database:create`](#eas-databasecreate)
|
|
62
83
|
* [`eas device:create`](#eas-devicecreate)
|
|
63
84
|
* [`eas device:delete`](#eas-devicedelete)
|
|
64
85
|
* [`eas device:list`](#eas-devicelist)
|
|
65
86
|
* [`eas device:view [UDID]`](#eas-deviceview-udid)
|
|
66
87
|
* [`eas diagnostics`](#eas-diagnostics)
|
|
67
|
-
* [`eas functions:start`](#eas-functionsstart)
|
|
68
88
|
* [`eas help [COMMAND]`](#eas-help-command)
|
|
69
89
|
* [`eas init`](#eas-init)
|
|
70
90
|
* [`eas login`](#eas-login)
|
|
71
91
|
* [`eas logout`](#eas-logout)
|
|
72
92
|
* [`eas metadata:pull`](#eas-metadatapull)
|
|
73
93
|
* [`eas metadata:push`](#eas-metadatapush)
|
|
94
|
+
* [`eas open`](#eas-open)
|
|
74
95
|
* [`eas project:info`](#eas-projectinfo)
|
|
75
96
|
* [`eas project:init`](#eas-projectinit)
|
|
76
97
|
* [`eas secret:create`](#eas-secretcreate)
|
|
@@ -104,7 +125,7 @@ ALIASES
|
|
|
104
125
|
$ eas login
|
|
105
126
|
```
|
|
106
127
|
|
|
107
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/
|
|
128
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
108
129
|
|
|
109
130
|
## `eas account:logout`
|
|
110
131
|
|
|
@@ -121,7 +142,7 @@ ALIASES
|
|
|
121
142
|
$ eas logout
|
|
122
143
|
```
|
|
123
144
|
|
|
124
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/
|
|
145
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
125
146
|
|
|
126
147
|
## `eas account:view`
|
|
127
148
|
|
|
@@ -138,7 +159,7 @@ ALIASES
|
|
|
138
159
|
$ eas whoami
|
|
139
160
|
```
|
|
140
161
|
|
|
141
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/
|
|
162
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
142
163
|
|
|
143
164
|
## `eas analytics [STATUS]`
|
|
144
165
|
|
|
@@ -152,7 +173,7 @@ DESCRIPTION
|
|
|
152
173
|
display or change analytics settings
|
|
153
174
|
```
|
|
154
175
|
|
|
155
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/
|
|
176
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
156
177
|
|
|
157
178
|
## `eas autocomplete [SHELL]`
|
|
158
179
|
|
|
@@ -201,7 +222,7 @@ DESCRIPTION
|
|
|
201
222
|
create a branch
|
|
202
223
|
```
|
|
203
224
|
|
|
204
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/
|
|
225
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
205
226
|
|
|
206
227
|
## `eas branch:delete [NAME]`
|
|
207
228
|
|
|
@@ -221,7 +242,7 @@ DESCRIPTION
|
|
|
221
242
|
delete a branch
|
|
222
243
|
```
|
|
223
244
|
|
|
224
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
245
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
225
246
|
|
|
226
247
|
## `eas branch:list`
|
|
227
248
|
|
|
@@ -242,7 +263,7 @@ DESCRIPTION
|
|
|
242
263
|
list all branches
|
|
243
264
|
```
|
|
244
265
|
|
|
245
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/
|
|
266
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
246
267
|
|
|
247
268
|
## `eas branch:rename`
|
|
248
269
|
|
|
@@ -261,7 +282,7 @@ DESCRIPTION
|
|
|
261
282
|
rename a branch
|
|
262
283
|
```
|
|
263
284
|
|
|
264
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/
|
|
285
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
265
286
|
|
|
266
287
|
## `eas branch:view [NAME]`
|
|
267
288
|
|
|
@@ -285,7 +306,7 @@ DESCRIPTION
|
|
|
285
306
|
view a branch
|
|
286
307
|
```
|
|
287
308
|
|
|
288
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/
|
|
309
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
289
310
|
|
|
290
311
|
## `eas build`
|
|
291
312
|
|
|
@@ -315,7 +336,7 @@ DESCRIPTION
|
|
|
315
336
|
start a build
|
|
316
337
|
```
|
|
317
338
|
|
|
318
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/
|
|
339
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
319
340
|
|
|
320
341
|
## `eas build:cancel [BUILD_ID]`
|
|
321
342
|
|
|
@@ -329,7 +350,7 @@ DESCRIPTION
|
|
|
329
350
|
cancel a build
|
|
330
351
|
```
|
|
331
352
|
|
|
332
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/
|
|
353
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
333
354
|
|
|
334
355
|
## `eas build:configure`
|
|
335
356
|
|
|
@@ -346,7 +367,7 @@ DESCRIPTION
|
|
|
346
367
|
configure the project to support EAS Build
|
|
347
368
|
```
|
|
348
369
|
|
|
349
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/
|
|
370
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
350
371
|
|
|
351
372
|
## `eas build:inspect`
|
|
352
373
|
|
|
@@ -381,7 +402,7 @@ DESCRIPTION
|
|
|
381
402
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
382
403
|
```
|
|
383
404
|
|
|
384
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/
|
|
405
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
385
406
|
|
|
386
407
|
## `eas build:list`
|
|
387
408
|
|
|
@@ -414,7 +435,7 @@ DESCRIPTION
|
|
|
414
435
|
list all builds for your project
|
|
415
436
|
```
|
|
416
437
|
|
|
417
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/
|
|
438
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
418
439
|
|
|
419
440
|
## `eas build:submit`
|
|
420
441
|
|
|
@@ -461,7 +482,7 @@ DESCRIPTION
|
|
|
461
482
|
Update version of an app.
|
|
462
483
|
```
|
|
463
484
|
|
|
464
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/
|
|
485
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
465
486
|
|
|
466
487
|
## `eas build:version:sync`
|
|
467
488
|
|
|
@@ -480,7 +501,7 @@ DESCRIPTION
|
|
|
480
501
|
Update a version in native code with a value stored on EAS servers
|
|
481
502
|
```
|
|
482
503
|
|
|
483
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/
|
|
504
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
484
505
|
|
|
485
506
|
## `eas build:view [BUILD_ID]`
|
|
486
507
|
|
|
@@ -497,7 +518,7 @@ DESCRIPTION
|
|
|
497
518
|
view a build for your project
|
|
498
519
|
```
|
|
499
520
|
|
|
500
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/
|
|
521
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
501
522
|
|
|
502
523
|
## `eas channel:create [NAME]`
|
|
503
524
|
|
|
@@ -517,7 +538,7 @@ DESCRIPTION
|
|
|
517
538
|
create a channel
|
|
518
539
|
```
|
|
519
540
|
|
|
520
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/
|
|
541
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
521
542
|
|
|
522
543
|
## `eas channel:edit [NAME]`
|
|
523
544
|
|
|
@@ -538,7 +559,7 @@ DESCRIPTION
|
|
|
538
559
|
point a channel at a new branch
|
|
539
560
|
```
|
|
540
561
|
|
|
541
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/
|
|
562
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
542
563
|
|
|
543
564
|
## `eas channel:list`
|
|
544
565
|
|
|
@@ -555,7 +576,7 @@ DESCRIPTION
|
|
|
555
576
|
list all channels
|
|
556
577
|
```
|
|
557
578
|
|
|
558
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/
|
|
579
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
559
580
|
|
|
560
581
|
## `eas channel:view [NAME]`
|
|
561
582
|
|
|
@@ -575,7 +596,7 @@ DESCRIPTION
|
|
|
575
596
|
view a channel
|
|
576
597
|
```
|
|
577
598
|
|
|
578
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/
|
|
599
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
579
600
|
|
|
580
601
|
## `eas config`
|
|
581
602
|
|
|
@@ -593,7 +614,7 @@ DESCRIPTION
|
|
|
593
614
|
display project configuration (app.json + eas.json)
|
|
594
615
|
```
|
|
595
616
|
|
|
596
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/
|
|
617
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/config.ts)_
|
|
597
618
|
|
|
598
619
|
## `eas credentials`
|
|
599
620
|
|
|
@@ -610,21 +631,7 @@ DESCRIPTION
|
|
|
610
631
|
manage credentials
|
|
611
632
|
```
|
|
612
633
|
|
|
613
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/
|
|
614
|
-
|
|
615
|
-
## `eas database:create`
|
|
616
|
-
|
|
617
|
-
create a database
|
|
618
|
-
|
|
619
|
-
```
|
|
620
|
-
USAGE
|
|
621
|
-
$ eas database:create
|
|
622
|
-
|
|
623
|
-
DESCRIPTION
|
|
624
|
-
create a database
|
|
625
|
-
```
|
|
626
|
-
|
|
627
|
-
_See code: [src/commands/database/create.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/database/create.ts)_
|
|
634
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
628
635
|
|
|
629
636
|
## `eas device:create`
|
|
630
637
|
|
|
@@ -638,7 +645,7 @@ DESCRIPTION
|
|
|
638
645
|
register new Apple Devices to use for internal distribution
|
|
639
646
|
```
|
|
640
647
|
|
|
641
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/
|
|
648
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
642
649
|
|
|
643
650
|
## `eas device:delete`
|
|
644
651
|
|
|
@@ -656,7 +663,7 @@ DESCRIPTION
|
|
|
656
663
|
remove a registered device from your account
|
|
657
664
|
```
|
|
658
665
|
|
|
659
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
666
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
660
667
|
|
|
661
668
|
## `eas device:list`
|
|
662
669
|
|
|
@@ -673,7 +680,7 @@ DESCRIPTION
|
|
|
673
680
|
list all registered devices for your account
|
|
674
681
|
```
|
|
675
682
|
|
|
676
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/
|
|
683
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
677
684
|
|
|
678
685
|
## `eas device:view [UDID]`
|
|
679
686
|
|
|
@@ -687,7 +694,7 @@ DESCRIPTION
|
|
|
687
694
|
view a device for your project
|
|
688
695
|
```
|
|
689
696
|
|
|
690
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/
|
|
697
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
691
698
|
|
|
692
699
|
## `eas diagnostics`
|
|
693
700
|
|
|
@@ -701,25 +708,11 @@ DESCRIPTION
|
|
|
701
708
|
display environment info
|
|
702
709
|
```
|
|
703
710
|
|
|
704
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/
|
|
705
|
-
|
|
706
|
-
## `eas functions:start`
|
|
707
|
-
|
|
708
|
-
start a function
|
|
709
|
-
|
|
710
|
-
```
|
|
711
|
-
USAGE
|
|
712
|
-
$ eas functions:start
|
|
713
|
-
|
|
714
|
-
DESCRIPTION
|
|
715
|
-
start a function
|
|
716
|
-
```
|
|
717
|
-
|
|
718
|
-
_See code: [src/commands/functions/start.ts](https://github.com/expo/eas-cli/blob/v1.1.1/packages/eas-cli/src/commands/functions/start.ts)_
|
|
711
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
719
712
|
|
|
720
713
|
## `eas help [COMMAND]`
|
|
721
714
|
|
|
722
|
-
|
|
715
|
+
display help for eas-cli
|
|
723
716
|
|
|
724
717
|
```
|
|
725
718
|
USAGE
|
|
@@ -732,10 +725,10 @@ FLAGS
|
|
|
732
725
|
-n, --nested-commands Include all nested commands in the output.
|
|
733
726
|
|
|
734
727
|
DESCRIPTION
|
|
735
|
-
|
|
728
|
+
display help for eas-cli
|
|
736
729
|
```
|
|
737
730
|
|
|
738
|
-
_See code: [@expo/plugin-help](https://github.com/expo/oclif-plugin-help/blob/v5.
|
|
731
|
+
_See code: [@expo/plugin-help](https://github.com/expo/oclif-plugin-help/blob/v5.3.0/src/commands/help.ts)_
|
|
739
732
|
|
|
740
733
|
## `eas init`
|
|
741
734
|
|
|
@@ -797,7 +790,7 @@ DESCRIPTION
|
|
|
797
790
|
generate the local store configuration from the app stores
|
|
798
791
|
```
|
|
799
792
|
|
|
800
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/
|
|
793
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
801
794
|
|
|
802
795
|
## `eas metadata:push`
|
|
803
796
|
|
|
@@ -814,7 +807,21 @@ DESCRIPTION
|
|
|
814
807
|
sync the local store configuration to the app stores
|
|
815
808
|
```
|
|
816
809
|
|
|
817
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/
|
|
810
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
811
|
+
|
|
812
|
+
## `eas open`
|
|
813
|
+
|
|
814
|
+
open the project page in a web browser
|
|
815
|
+
|
|
816
|
+
```
|
|
817
|
+
USAGE
|
|
818
|
+
$ eas open
|
|
819
|
+
|
|
820
|
+
DESCRIPTION
|
|
821
|
+
open the project page in a web browser
|
|
822
|
+
```
|
|
823
|
+
|
|
824
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/open.ts)_
|
|
818
825
|
|
|
819
826
|
## `eas project:info`
|
|
820
827
|
|
|
@@ -828,7 +835,7 @@ DESCRIPTION
|
|
|
828
835
|
information about the current project
|
|
829
836
|
```
|
|
830
837
|
|
|
831
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/
|
|
838
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
832
839
|
|
|
833
840
|
## `eas project:init`
|
|
834
841
|
|
|
@@ -845,7 +852,7 @@ ALIASES
|
|
|
845
852
|
$ eas init
|
|
846
853
|
```
|
|
847
854
|
|
|
848
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/
|
|
855
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
849
856
|
|
|
850
857
|
## `eas secret:create`
|
|
851
858
|
|
|
@@ -865,7 +872,7 @@ DESCRIPTION
|
|
|
865
872
|
create an environment secret on the current project or owner account
|
|
866
873
|
```
|
|
867
874
|
|
|
868
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/
|
|
875
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
869
876
|
|
|
870
877
|
## `eas secret:delete`
|
|
871
878
|
|
|
@@ -882,7 +889,7 @@ DESCRIPTION
|
|
|
882
889
|
delete an environment secret by ID
|
|
883
890
|
```
|
|
884
891
|
|
|
885
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
892
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
886
893
|
|
|
887
894
|
## `eas secret:list`
|
|
888
895
|
|
|
@@ -896,7 +903,7 @@ DESCRIPTION
|
|
|
896
903
|
list environment secrets available for your current app
|
|
897
904
|
```
|
|
898
905
|
|
|
899
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/
|
|
906
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
900
907
|
|
|
901
908
|
## `eas submit`
|
|
902
909
|
|
|
@@ -926,7 +933,7 @@ ALIASES
|
|
|
926
933
|
$ eas build:submit
|
|
927
934
|
```
|
|
928
935
|
|
|
929
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/
|
|
936
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/submit.ts)_
|
|
930
937
|
|
|
931
938
|
## `eas update`
|
|
932
939
|
|
|
@@ -956,7 +963,7 @@ DESCRIPTION
|
|
|
956
963
|
publish an update group
|
|
957
964
|
```
|
|
958
965
|
|
|
959
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/
|
|
966
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
960
967
|
|
|
961
968
|
## `eas update:configure`
|
|
962
969
|
|
|
@@ -973,7 +980,7 @@ DESCRIPTION
|
|
|
973
980
|
configure the project to support EAS Update
|
|
974
981
|
```
|
|
975
982
|
|
|
976
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/
|
|
983
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
977
984
|
|
|
978
985
|
## `eas update:delete GROUPID`
|
|
979
986
|
|
|
@@ -993,7 +1000,7 @@ DESCRIPTION
|
|
|
993
1000
|
delete all the updates in an update group
|
|
994
1001
|
```
|
|
995
1002
|
|
|
996
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1003
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
997
1004
|
|
|
998
1005
|
## `eas update:list`
|
|
999
1006
|
|
|
@@ -1012,7 +1019,7 @@ DESCRIPTION
|
|
|
1012
1019
|
view the recent updates for a branch
|
|
1013
1020
|
```
|
|
1014
1021
|
|
|
1015
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1022
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1016
1023
|
|
|
1017
1024
|
## `eas update:view GROUPID`
|
|
1018
1025
|
|
|
@@ -1032,7 +1039,7 @@ DESCRIPTION
|
|
|
1032
1039
|
update group details
|
|
1033
1040
|
```
|
|
1034
1041
|
|
|
1035
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/
|
|
1042
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1036
1043
|
|
|
1037
1044
|
## `eas webhook:create`
|
|
1038
1045
|
|
|
@@ -1052,7 +1059,7 @@ DESCRIPTION
|
|
|
1052
1059
|
create a webhook
|
|
1053
1060
|
```
|
|
1054
1061
|
|
|
1055
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/
|
|
1062
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1056
1063
|
|
|
1057
1064
|
## `eas webhook:delete [ID]`
|
|
1058
1065
|
|
|
@@ -1069,7 +1076,7 @@ DESCRIPTION
|
|
|
1069
1076
|
delete a webhook
|
|
1070
1077
|
```
|
|
1071
1078
|
|
|
1072
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/
|
|
1079
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1073
1080
|
|
|
1074
1081
|
## `eas webhook:list`
|
|
1075
1082
|
|
|
@@ -1086,7 +1093,7 @@ DESCRIPTION
|
|
|
1086
1093
|
list webhooks
|
|
1087
1094
|
```
|
|
1088
1095
|
|
|
1089
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/
|
|
1096
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1090
1097
|
|
|
1091
1098
|
## `eas webhook:update`
|
|
1092
1099
|
|
|
@@ -1107,7 +1114,7 @@ DESCRIPTION
|
|
|
1107
1114
|
update a webhook
|
|
1108
1115
|
```
|
|
1109
1116
|
|
|
1110
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/
|
|
1117
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1111
1118
|
|
|
1112
1119
|
## `eas webhook:view ID`
|
|
1113
1120
|
|
|
@@ -1124,7 +1131,7 @@ DESCRIPTION
|
|
|
1124
1131
|
view a webhook
|
|
1125
1132
|
```
|
|
1126
1133
|
|
|
1127
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/
|
|
1134
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v2.1.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1128
1135
|
|
|
1129
1136
|
## `eas whoami`
|
|
1130
1137
|
|
package/build/branch/queries.js
CHANGED
|
@@ -67,16 +67,19 @@ function renderPageOfBranches(currentPage, { json }) {
|
|
|
67
67
|
wordWrap: true,
|
|
68
68
|
});
|
|
69
69
|
table.push(...currentPage.map(branch => {
|
|
70
|
-
var _a, _b
|
|
70
|
+
var _a, _b;
|
|
71
|
+
const update = branch.updates[0];
|
|
71
72
|
return [
|
|
72
73
|
branch.name,
|
|
73
|
-
(0, utils_1.formatUpdate)(
|
|
74
|
-
(
|
|
75
|
-
(
|
|
76
|
-
(0
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
(0, utils_1.formatUpdate)(update),
|
|
75
|
+
(_a = update === null || update === void 0 ? void 0 : update.runtimeVersion) !== null && _a !== void 0 ? _a : 'N/A',
|
|
76
|
+
(_b = update === null || update === void 0 ? void 0 : update.group) !== null && _b !== void 0 ? _b : 'N/A',
|
|
77
|
+
(update === null || update === void 0 ? void 0 : update.group)
|
|
78
|
+
? (0, utils_1.getPlatformsForGroup)({
|
|
79
|
+
updates: branch.updates,
|
|
80
|
+
group: update.group,
|
|
81
|
+
})
|
|
82
|
+
: 'N/A',
|
|
80
83
|
];
|
|
81
84
|
}));
|
|
82
85
|
log_1.default.addNewLineIfNone();
|
|
@@ -17,7 +17,8 @@ function transformJob(job) {
|
|
|
17
17
|
cache: job.cache,
|
|
18
18
|
version: ((_a = job.version) === null || _a === void 0 ? void 0 : _a.versionCode) ? { versionCode: job.version.versionCode } : undefined,
|
|
19
19
|
gradleCommand: job.gradleCommand,
|
|
20
|
-
|
|
20
|
+
applicationArchivePath: job.applicationArchivePath,
|
|
21
|
+
buildArtifactPaths: job.buildArtifactPaths,
|
|
21
22
|
username: job.username,
|
|
22
23
|
buildType: job.buildType && transformBuildType(job.buildType),
|
|
23
24
|
developmentClient: job.developmentClient,
|
|
@@ -14,6 +14,7 @@ const cacheDefaults = {
|
|
|
14
14
|
cacheDefaultPaths: true,
|
|
15
15
|
};
|
|
16
16
|
async function prepareJobAsync(ctx, jobData) {
|
|
17
|
+
var _a;
|
|
17
18
|
const username = (0, projectUtils_1.getUsername)(ctx.exp, await (0, actions_1.ensureLoggedInAsync)());
|
|
18
19
|
const buildProfile = ctx.buildProfile;
|
|
19
20
|
const projectRootDirectory = (0, slash_1.default)(path_1.default.relative(await (0, vcs_1.getVcsClient)().getRootPathAsync(), ctx.projectDir)) || '.';
|
|
@@ -59,7 +60,8 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
59
60
|
updates: { channel: ctx.buildProfile.channel },
|
|
60
61
|
developmentClient: buildProfile.developmentClient,
|
|
61
62
|
gradleCommand: buildProfile.gradleCommand,
|
|
62
|
-
|
|
63
|
+
applicationArchivePath: (_a = buildProfile.applicationArchivePath) !== null && _a !== void 0 ? _a : buildProfile.artifactPath,
|
|
64
|
+
buildArtifactPaths: buildProfile.buildArtifactPaths,
|
|
63
65
|
buildType,
|
|
64
66
|
username,
|
|
65
67
|
...(ctx.android.versionCodeOverride && {
|
|
@@ -18,7 +18,8 @@ function transformJob(job) {
|
|
|
18
18
|
version: ((_a = job.version) === null || _a === void 0 ? void 0 : _a.buildNumber) ? { buildNumber: job.version.buildNumber } : undefined,
|
|
19
19
|
scheme: job.scheme,
|
|
20
20
|
buildConfiguration: job.buildConfiguration,
|
|
21
|
-
|
|
21
|
+
applicationArchivePath: job.applicationArchivePath,
|
|
22
|
+
buildArtifactPaths: job.buildArtifactPaths,
|
|
22
23
|
username: job.username,
|
|
23
24
|
developmentClient: job.developmentClient,
|
|
24
25
|
simulator: job.simulator,
|
|
@@ -40,6 +41,5 @@ function transformIosSecrets(secrets) {
|
|
|
40
41
|
}
|
|
41
42
|
return {
|
|
42
43
|
buildCredentials,
|
|
43
|
-
environmentSecrets: secrets.env,
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -14,6 +14,7 @@ const cacheDefaults = {
|
|
|
14
14
|
cacheDefaultPaths: true,
|
|
15
15
|
};
|
|
16
16
|
async function prepareJobAsync(ctx, jobData) {
|
|
17
|
+
var _a;
|
|
17
18
|
const projectRootDirectory = (0, slash_1.default)(path_1.default.relative(await (0, vcs_1.getVcsClient)().getRootPathAsync(), ctx.projectDir)) || '.';
|
|
18
19
|
const username = (0, projectUtils_1.getUsername)(ctx.exp, await (0, actions_1.ensureLoggedInAsync)());
|
|
19
20
|
const buildCredentials = {};
|
|
@@ -52,7 +53,8 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
52
53
|
simulator: ctx.buildProfile.simulator,
|
|
53
54
|
scheme: jobData.buildScheme,
|
|
54
55
|
buildConfiguration: ctx.buildProfile.buildConfiguration,
|
|
55
|
-
|
|
56
|
+
applicationArchivePath: (_a = ctx.buildProfile.applicationArchivePath) !== null && _a !== void 0 ? _a : ctx.buildProfile.artifactPath,
|
|
57
|
+
buildArtifactPaths: ctx.buildProfile.buildArtifactPaths,
|
|
56
58
|
username,
|
|
57
59
|
...(ctx.ios.buildNumberOverride && {
|
|
58
60
|
version: {
|