eas-cli 0.55.1 → 0.58.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 +58 -49
- package/build/branch/queries.d.ts +5 -0
- package/build/branch/queries.js +87 -0
- package/build/build/android/build.js +17 -3
- package/build/build/android/graphql.js +2 -0
- package/build/build/android/prepareJob.js +5 -0
- package/build/build/android/syncProjectConfiguration.d.ts +3 -4
- package/build/build/android/syncProjectConfiguration.js +2 -3
- package/build/build/android/version.d.ts +16 -0
- package/build/build/android/version.js +86 -9
- package/build/build/build.js +8 -3
- package/build/build/context.d.ts +7 -3
- package/build/build/createContext.d.ts +5 -2
- package/build/build/createContext.js +9 -1
- package/build/build/ios/build.js +18 -17
- package/build/build/ios/graphql.js +2 -0
- package/build/build/ios/prepareJob.js +5 -0
- package/build/build/ios/syncProjectConfiguration.d.ts +5 -6
- package/build/build/ios/syncProjectConfiguration.js +3 -4
- package/build/build/ios/version.d.ts +23 -3
- package/build/build/ios/version.js +128 -28
- package/build/build/local.d.ts +2 -2
- package/build/build/local.js +7 -7
- package/build/build/metadata.d.ts +1 -0
- package/build/build/metadata.js +32 -6
- package/build/build/runBuildAndSubmit.d.ts +1 -0
- package/build/build/runBuildAndSubmit.js +29 -7
- package/build/build/utils/printBuildInfo.d.ts +1 -1
- package/build/build/utils/printBuildInfo.js +7 -13
- package/build/commandUtils/pagination.d.ts +13 -0
- package/build/commandUtils/pagination.js +42 -0
- package/build/commands/branch/list.d.ts +3 -4
- package/build/commands/branch/list.js +6 -69
- package/build/commands/branch/view.d.ts +3 -0
- package/build/commands/branch/view.js +15 -63
- package/build/commands/build/index.d.ts +1 -0
- package/build/commands/build/index.js +9 -0
- package/build/commands/build/version/set.d.ts +9 -0
- package/build/commands/build/version/set.js +81 -0
- package/build/commands/build/version/sync.d.ts +11 -0
- package/build/commands/build/version/sync.js +123 -0
- package/build/commands/submit.js +4 -1
- package/build/commands/update/index.d.ts +2 -2
- package/build/commands/update/index.js +24 -6
- package/build/commands/update/list.js +13 -18
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +2 -2
- package/build/credentials/ios/types.d.ts +2 -0
- package/build/devices/actions/create/action.d.ts +5 -2
- package/build/devices/actions/create/action.js +12 -2
- package/build/devices/actions/create/developerPortalMethod.d.ts +6 -0
- package/build/devices/actions/create/developerPortalMethod.js +90 -0
- package/build/devices/manager.js +4 -4
- package/build/graphql/generated.d.ts +501 -59
- package/build/graphql/generated.js +10 -1
- package/build/graphql/mutations/AppVersionMutation.d.ts +11 -0
- package/build/graphql/mutations/AppVersionMutation.js +28 -0
- package/build/graphql/mutations/PublishMutation.d.ts +2 -4
- package/build/graphql/queries/AppVersionQuery.d.ts +4 -0
- package/build/graphql/queries/AppVersionQuery.js +37 -0
- package/build/graphql/queries/BranchQuery.d.ts +2 -1
- package/build/graphql/queries/BranchQuery.js +26 -0
- package/build/graphql/queries/BuildQuery.d.ts +4 -1
- package/build/graphql/queries/BuildQuery.js +19 -0
- package/build/graphql/queries/PublishQuery.d.ts +2 -1
- package/build/graphql/queries/PublishQuery.js +16 -0
- package/build/graphql/queries/UpdateQuery.d.ts +6 -8
- package/build/graphql/queries/UpdateQuery.js +27 -23
- package/build/graphql/types/Build.d.ts +1 -0
- package/build/graphql/types/Build.js +16 -1
- package/build/metadata/apple/config/reader.d.ts +3 -2
- package/build/metadata/apple/config/reader.js +22 -5
- package/build/metadata/apple/config/writer.d.ts +3 -2
- package/build/metadata/apple/config/writer.js +22 -6
- package/build/metadata/apple/tasks/app-version.d.ts +5 -1
- package/build/metadata/apple/tasks/app-version.js +109 -8
- package/build/metadata/apple/tasks/index.d.ts +6 -1
- package/build/metadata/apple/tasks/index.js +7 -2
- package/build/metadata/apple/types.d.ts +3 -7
- package/build/metadata/upload.js +6 -1
- package/build/platform.d.ts +1 -0
- package/build/platform.js +17 -1
- package/build/project/android/applicationId.js +2 -2
- package/build/project/android/versions.d.ts +3 -0
- package/build/project/android/versions.js +23 -0
- package/build/project/applicationIdentifier.d.ts +4 -0
- package/build/project/applicationIdentifier.js +37 -0
- package/build/project/ios/bundleIdentifier.js +2 -2
- package/build/project/ios/target.js +14 -1
- package/build/project/ios/versions.d.ts +3 -0
- package/build/project/ios/versions.js +17 -0
- package/build/project/publish.d.ts +3 -2
- package/build/project/publish.js +23 -18
- package/build/project/remoteVersionSource.d.ts +8 -0
- package/build/project/remoteVersionSource.js +61 -0
- package/build/submit/submit.d.ts +2 -1
- package/build/submit/submit.js +3 -2
- package/build/submit/utils/files.d.ts +0 -6
- package/build/submit/utils/files.js +3 -16
- package/build/update/queries.d.ts +3 -0
- package/build/update/queries.js +72 -0
- package/build/update/utils.d.ts +14 -0
- package/build/update/utils.js +26 -9
- package/build/uploads.d.ts +8 -2
- package/build/uploads.js +19 -4
- package/build/utils/expodash/chunk.d.ts +1 -0
- package/build/utils/expodash/chunk.js +16 -0
- package/build/utils/queries.d.ts +25 -0
- package/build/utils/queries.js +67 -0
- package/build/vcs/clients/gitNoCommit.d.ts +1 -0
- package/build/vcs/clients/gitNoCommit.js +14 -0
- package/oclif.manifest.json +1 -1
- package/package.json +10 -5
- package/schema/metadata-0.json +38 -233
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ ALIASES
|
|
|
100
100
|
$ eas login
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
103
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
104
104
|
|
|
105
105
|
## `eas account:logout`
|
|
106
106
|
|
|
@@ -117,7 +117,7 @@ ALIASES
|
|
|
117
117
|
$ eas logout
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
120
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
121
121
|
|
|
122
122
|
## `eas account:view`
|
|
123
123
|
|
|
@@ -134,7 +134,7 @@ ALIASES
|
|
|
134
134
|
$ eas whoami
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
137
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
138
138
|
|
|
139
139
|
## `eas analytics [STATUS]`
|
|
140
140
|
|
|
@@ -148,7 +148,7 @@ DESCRIPTION
|
|
|
148
148
|
display or change analytics settings
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
151
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
152
152
|
|
|
153
153
|
## `eas autocomplete [SHELL]`
|
|
154
154
|
|
|
@@ -197,7 +197,7 @@ DESCRIPTION
|
|
|
197
197
|
create a branch
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
200
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
201
201
|
|
|
202
202
|
## `eas branch:delete [NAME]`
|
|
203
203
|
|
|
@@ -217,7 +217,7 @@ DESCRIPTION
|
|
|
217
217
|
delete a branch
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
220
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
221
221
|
|
|
222
222
|
## `eas branch:list`
|
|
223
223
|
|
|
@@ -225,16 +225,20 @@ list all branches
|
|
|
225
225
|
|
|
226
226
|
```
|
|
227
227
|
USAGE
|
|
228
|
-
$ eas branch:list [--json]
|
|
228
|
+
$ eas branch:list [--offset <value>] [--limit <value>] [--json] [--non-interactive]
|
|
229
229
|
|
|
230
230
|
FLAGS
|
|
231
|
-
--json
|
|
231
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
232
|
+
--limit=<value> The number of query items to list at once. The default value is 50 (the maximum is 100). Using a
|
|
233
|
+
lower value may help increase command speed.
|
|
234
|
+
--non-interactive Run the command in non-interactive mode.
|
|
235
|
+
--offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
|
|
232
236
|
|
|
233
237
|
DESCRIPTION
|
|
234
238
|
list all branches
|
|
235
239
|
```
|
|
236
240
|
|
|
237
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
241
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
238
242
|
|
|
239
243
|
## `eas branch:rename`
|
|
240
244
|
|
|
@@ -253,7 +257,7 @@ DESCRIPTION
|
|
|
253
257
|
rename a branch
|
|
254
258
|
```
|
|
255
259
|
|
|
256
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
260
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
257
261
|
|
|
258
262
|
## `eas branch:view [NAME]`
|
|
259
263
|
|
|
@@ -261,19 +265,23 @@ view a branch
|
|
|
261
265
|
|
|
262
266
|
```
|
|
263
267
|
USAGE
|
|
264
|
-
$ eas branch:view [NAME] [--json]
|
|
268
|
+
$ eas branch:view [NAME] [--offset <value>] [--limit <value>] [--json] [--non-interactive]
|
|
265
269
|
|
|
266
270
|
ARGUMENTS
|
|
267
271
|
NAME Name of the branch to view
|
|
268
272
|
|
|
269
273
|
FLAGS
|
|
270
|
-
--json
|
|
274
|
+
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
275
|
+
--limit=<value> The number of query items to list at once. The default value is 50 (the maximum is 100). Using a
|
|
276
|
+
lower value may help increase command speed.
|
|
277
|
+
--non-interactive Run the command in non-interactive mode.
|
|
278
|
+
--offset=<value> Start queries from specified index. Use for paginating results. Defaults to 0.
|
|
271
279
|
|
|
272
280
|
DESCRIPTION
|
|
273
281
|
view a branch
|
|
274
282
|
```
|
|
275
283
|
|
|
276
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
284
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
277
285
|
|
|
278
286
|
## `eas build`
|
|
279
287
|
|
|
@@ -282,9 +290,10 @@ start a build
|
|
|
282
290
|
```
|
|
283
291
|
USAGE
|
|
284
292
|
$ eas build [-p android|ios|all] [--json] [--profile <value>] [--non-interactive] [--local] [--output
|
|
285
|
-
<value>] [--wait] [--clear-cache] [--auto-submit | --auto-submit-with-profile <value>]
|
|
293
|
+
<value>] [--wait] [--clear-cache] [--auto-submit | --auto-submit-with-profile <value>] [-m <value>]
|
|
286
294
|
|
|
287
295
|
FLAGS
|
|
296
|
+
-m, --message=<value> A short message describing the build
|
|
288
297
|
-p, --platform=(android|ios|all)
|
|
289
298
|
--auto-submit Submit on build complete using the submit profile with the same name as the
|
|
290
299
|
build profile
|
|
@@ -302,7 +311,7 @@ DESCRIPTION
|
|
|
302
311
|
start a build
|
|
303
312
|
```
|
|
304
313
|
|
|
305
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
314
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
306
315
|
|
|
307
316
|
## `eas build:cancel [BUILD_ID]`
|
|
308
317
|
|
|
@@ -316,7 +325,7 @@ DESCRIPTION
|
|
|
316
325
|
cancel a build
|
|
317
326
|
```
|
|
318
327
|
|
|
319
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
328
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
320
329
|
|
|
321
330
|
## `eas build:configure`
|
|
322
331
|
|
|
@@ -333,7 +342,7 @@ DESCRIPTION
|
|
|
333
342
|
configure the project to support EAS Build
|
|
334
343
|
```
|
|
335
344
|
|
|
336
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
345
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
337
346
|
|
|
338
347
|
## `eas build:inspect`
|
|
339
348
|
|
|
@@ -368,7 +377,7 @@ DESCRIPTION
|
|
|
368
377
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
369
378
|
```
|
|
370
379
|
|
|
371
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
380
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
372
381
|
|
|
373
382
|
## `eas build:list`
|
|
374
383
|
|
|
@@ -401,7 +410,7 @@ DESCRIPTION
|
|
|
401
410
|
list all builds for your project
|
|
402
411
|
```
|
|
403
412
|
|
|
404
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
413
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
405
414
|
|
|
406
415
|
## `eas build:submit`
|
|
407
416
|
|
|
@@ -446,7 +455,7 @@ DESCRIPTION
|
|
|
446
455
|
view a build for your project
|
|
447
456
|
```
|
|
448
457
|
|
|
449
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
458
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
450
459
|
|
|
451
460
|
## `eas channel:create [NAME]`
|
|
452
461
|
|
|
@@ -466,7 +475,7 @@ DESCRIPTION
|
|
|
466
475
|
create a channel
|
|
467
476
|
```
|
|
468
477
|
|
|
469
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
478
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
470
479
|
|
|
471
480
|
## `eas channel:edit [NAME]`
|
|
472
481
|
|
|
@@ -487,7 +496,7 @@ DESCRIPTION
|
|
|
487
496
|
point a channel at a new branch
|
|
488
497
|
```
|
|
489
498
|
|
|
490
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
499
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
491
500
|
|
|
492
501
|
## `eas channel:list`
|
|
493
502
|
|
|
@@ -504,7 +513,7 @@ DESCRIPTION
|
|
|
504
513
|
list all channels
|
|
505
514
|
```
|
|
506
515
|
|
|
507
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
516
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
508
517
|
|
|
509
518
|
## `eas channel:view [NAME]`
|
|
510
519
|
|
|
@@ -524,7 +533,7 @@ DESCRIPTION
|
|
|
524
533
|
view a channel
|
|
525
534
|
```
|
|
526
535
|
|
|
527
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
536
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
528
537
|
|
|
529
538
|
## `eas config`
|
|
530
539
|
|
|
@@ -542,7 +551,7 @@ DESCRIPTION
|
|
|
542
551
|
display project configuration (app.json + eas.json)
|
|
543
552
|
```
|
|
544
553
|
|
|
545
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
554
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/config.ts)_
|
|
546
555
|
|
|
547
556
|
## `eas credentials`
|
|
548
557
|
|
|
@@ -556,7 +565,7 @@ DESCRIPTION
|
|
|
556
565
|
manage credentials
|
|
557
566
|
```
|
|
558
567
|
|
|
559
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
568
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
560
569
|
|
|
561
570
|
## `eas device:create`
|
|
562
571
|
|
|
@@ -570,7 +579,7 @@ DESCRIPTION
|
|
|
570
579
|
register new Apple Devices to use for internal distribution
|
|
571
580
|
```
|
|
572
581
|
|
|
573
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
582
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
574
583
|
|
|
575
584
|
## `eas device:delete`
|
|
576
585
|
|
|
@@ -588,7 +597,7 @@ DESCRIPTION
|
|
|
588
597
|
remove a registered device from your account
|
|
589
598
|
```
|
|
590
599
|
|
|
591
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
600
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
592
601
|
|
|
593
602
|
## `eas device:list`
|
|
594
603
|
|
|
@@ -605,7 +614,7 @@ DESCRIPTION
|
|
|
605
614
|
list all registered devices for your account
|
|
606
615
|
```
|
|
607
616
|
|
|
608
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
617
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
609
618
|
|
|
610
619
|
## `eas device:view [UDID]`
|
|
611
620
|
|
|
@@ -619,7 +628,7 @@ DESCRIPTION
|
|
|
619
628
|
view a device for your project
|
|
620
629
|
```
|
|
621
630
|
|
|
622
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
631
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
623
632
|
|
|
624
633
|
## `eas diagnostics`
|
|
625
634
|
|
|
@@ -633,7 +642,7 @@ DESCRIPTION
|
|
|
633
642
|
display environment info
|
|
634
643
|
```
|
|
635
644
|
|
|
636
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
645
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
637
646
|
|
|
638
647
|
## `eas help [COMMAND]`
|
|
639
648
|
|
|
@@ -715,7 +724,7 @@ DESCRIPTION
|
|
|
715
724
|
generate the local store configuration from the app stores
|
|
716
725
|
```
|
|
717
726
|
|
|
718
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
727
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
719
728
|
|
|
720
729
|
## `eas metadata:push`
|
|
721
730
|
|
|
@@ -732,7 +741,7 @@ DESCRIPTION
|
|
|
732
741
|
sync the local store configuration to the app stores
|
|
733
742
|
```
|
|
734
743
|
|
|
735
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
744
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
736
745
|
|
|
737
746
|
## `eas project:info`
|
|
738
747
|
|
|
@@ -746,7 +755,7 @@ DESCRIPTION
|
|
|
746
755
|
information about the current project
|
|
747
756
|
```
|
|
748
757
|
|
|
749
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
758
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
750
759
|
|
|
751
760
|
## `eas project:init`
|
|
752
761
|
|
|
@@ -763,7 +772,7 @@ ALIASES
|
|
|
763
772
|
$ eas init
|
|
764
773
|
```
|
|
765
774
|
|
|
766
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
775
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
767
776
|
|
|
768
777
|
## `eas secret:create`
|
|
769
778
|
|
|
@@ -783,7 +792,7 @@ DESCRIPTION
|
|
|
783
792
|
create an environment secret on the current project or owner account
|
|
784
793
|
```
|
|
785
794
|
|
|
786
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
795
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
787
796
|
|
|
788
797
|
## `eas secret:delete`
|
|
789
798
|
|
|
@@ -800,7 +809,7 @@ DESCRIPTION
|
|
|
800
809
|
delete an environment secret by ID
|
|
801
810
|
```
|
|
802
811
|
|
|
803
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
812
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
804
813
|
|
|
805
814
|
## `eas secret:list`
|
|
806
815
|
|
|
@@ -814,7 +823,7 @@ DESCRIPTION
|
|
|
814
823
|
list environment secrets available for your current app
|
|
815
824
|
```
|
|
816
825
|
|
|
817
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
826
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
818
827
|
|
|
819
828
|
## `eas submit`
|
|
820
829
|
|
|
@@ -844,7 +853,7 @@ ALIASES
|
|
|
844
853
|
$ eas build:submit
|
|
845
854
|
```
|
|
846
855
|
|
|
847
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
856
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/submit.ts)_
|
|
848
857
|
|
|
849
858
|
## `eas update`
|
|
850
859
|
|
|
@@ -874,7 +883,7 @@ DESCRIPTION
|
|
|
874
883
|
publish an update group
|
|
875
884
|
```
|
|
876
885
|
|
|
877
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
886
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
878
887
|
|
|
879
888
|
## `eas update:configure`
|
|
880
889
|
|
|
@@ -891,7 +900,7 @@ DESCRIPTION
|
|
|
891
900
|
configure the project to support EAS Update
|
|
892
901
|
```
|
|
893
902
|
|
|
894
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
903
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
895
904
|
|
|
896
905
|
## `eas update:delete GROUPID`
|
|
897
906
|
|
|
@@ -911,7 +920,7 @@ DESCRIPTION
|
|
|
911
920
|
delete all the updates in an update group
|
|
912
921
|
```
|
|
913
922
|
|
|
914
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
923
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
915
924
|
|
|
916
925
|
## `eas update:list`
|
|
917
926
|
|
|
@@ -930,7 +939,7 @@ DESCRIPTION
|
|
|
930
939
|
view the recent updates for a branch
|
|
931
940
|
```
|
|
932
941
|
|
|
933
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
942
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
934
943
|
|
|
935
944
|
## `eas update:view GROUPID`
|
|
936
945
|
|
|
@@ -950,7 +959,7 @@ DESCRIPTION
|
|
|
950
959
|
update group details
|
|
951
960
|
```
|
|
952
961
|
|
|
953
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
962
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
954
963
|
|
|
955
964
|
## `eas webhook:create`
|
|
956
965
|
|
|
@@ -970,7 +979,7 @@ DESCRIPTION
|
|
|
970
979
|
create a webhook
|
|
971
980
|
```
|
|
972
981
|
|
|
973
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
982
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
974
983
|
|
|
975
984
|
## `eas webhook:delete [ID]`
|
|
976
985
|
|
|
@@ -987,7 +996,7 @@ DESCRIPTION
|
|
|
987
996
|
delete a webhook
|
|
988
997
|
```
|
|
989
998
|
|
|
990
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
999
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
991
1000
|
|
|
992
1001
|
## `eas webhook:list`
|
|
993
1002
|
|
|
@@ -1004,7 +1013,7 @@ DESCRIPTION
|
|
|
1004
1013
|
list webhooks
|
|
1005
1014
|
```
|
|
1006
1015
|
|
|
1007
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1016
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1008
1017
|
|
|
1009
1018
|
## `eas webhook:update`
|
|
1010
1019
|
|
|
@@ -1025,7 +1034,7 @@ DESCRIPTION
|
|
|
1025
1034
|
update a webhook
|
|
1026
1035
|
```
|
|
1027
1036
|
|
|
1028
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1037
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1029
1038
|
|
|
1030
1039
|
## `eas webhook:view ID`
|
|
1031
1040
|
|
|
@@ -1042,7 +1051,7 @@ DESCRIPTION
|
|
|
1042
1051
|
view a webhook
|
|
1043
1052
|
```
|
|
1044
1053
|
|
|
1045
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
1054
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.58.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1046
1055
|
|
|
1047
1056
|
## `eas whoami`
|
|
1048
1057
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PaginatedQueryOptions } from '../commandUtils/pagination';
|
|
2
|
+
import { UpdateBranchFragment } from '../graphql/generated';
|
|
3
|
+
export declare const BRANCHES_LIMIT = 50;
|
|
4
|
+
export declare function selectBranchFromPaginatedQueryAsync(projectId: string, promptTitle: string, options: PaginatedQueryOptions): Promise<UpdateBranchFragment>;
|
|
5
|
+
export declare function listAndRenderPaginatedBranchesAsync(projectId: string, options: PaginatedQueryOptions): Promise<void>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.listAndRenderPaginatedBranchesAsync = exports.selectBranchFromPaginatedQueryAsync = exports.BRANCHES_LIMIT = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const cli_table3_1 = tslib_1.__importDefault(require("cli-table3"));
|
|
7
|
+
const BranchQuery_1 = require("../graphql/queries/BranchQuery");
|
|
8
|
+
const log_1 = tslib_1.__importDefault(require("../log"));
|
|
9
|
+
const utils_1 = require("../update/utils");
|
|
10
|
+
const json_1 = require("../utils/json");
|
|
11
|
+
const queries_1 = require("../utils/queries");
|
|
12
|
+
exports.BRANCHES_LIMIT = 50;
|
|
13
|
+
async function selectBranchFromPaginatedQueryAsync(projectId, promptTitle, options) {
|
|
14
|
+
var _a;
|
|
15
|
+
if (options.nonInteractive) {
|
|
16
|
+
throw new Error('Unable to select a branch in non-interactive mode.');
|
|
17
|
+
}
|
|
18
|
+
const selectedBranch = await (0, queries_1.paginatedQueryWithSelectPromptAsync)({
|
|
19
|
+
limit: (_a = options.limit) !== null && _a !== void 0 ? _a : exports.BRANCHES_LIMIT,
|
|
20
|
+
offset: options.offset,
|
|
21
|
+
queryToPerform: (limit, offset) => queryBranchesForProjectAsync(limit, offset, projectId),
|
|
22
|
+
promptOptions: {
|
|
23
|
+
title: promptTitle,
|
|
24
|
+
getIdentifierForQueryItem: updateBranchFragment => updateBranchFragment.id,
|
|
25
|
+
createDisplayTextForSelectionPromptListItem: updateBranchFragment => updateBranchFragment.name,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
if (!selectedBranch) {
|
|
29
|
+
throw new Error(`Could not find any branches for project "${projectId}"`);
|
|
30
|
+
}
|
|
31
|
+
return selectedBranch;
|
|
32
|
+
}
|
|
33
|
+
exports.selectBranchFromPaginatedQueryAsync = selectBranchFromPaginatedQueryAsync;
|
|
34
|
+
async function listAndRenderPaginatedBranchesAsync(projectId, options) {
|
|
35
|
+
var _a, _b;
|
|
36
|
+
if (options.nonInteractive) {
|
|
37
|
+
const branches = await queryBranchesForProjectAsync((_a = options.limit) !== null && _a !== void 0 ? _a : exports.BRANCHES_LIMIT, options.offset, projectId);
|
|
38
|
+
renderPageOfBranches(branches, options);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
await (0, queries_1.paginatedQueryWithConfirmPromptAsync)({
|
|
42
|
+
limit: (_b = options.limit) !== null && _b !== void 0 ? _b : exports.BRANCHES_LIMIT,
|
|
43
|
+
offset: options.offset,
|
|
44
|
+
queryToPerform: (limit, offset) => queryBranchesForProjectAsync(limit, offset, projectId),
|
|
45
|
+
promptOptions: {
|
|
46
|
+
title: 'Load more branches?',
|
|
47
|
+
renderListItems: branches => renderPageOfBranches(branches, options),
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.listAndRenderPaginatedBranchesAsync = listAndRenderPaginatedBranchesAsync;
|
|
53
|
+
async function queryBranchesForProjectAsync(limit, offset, projectId) {
|
|
54
|
+
return await BranchQuery_1.BranchQuery.listBranchesAsync({
|
|
55
|
+
appId: projectId,
|
|
56
|
+
limit,
|
|
57
|
+
offset,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function renderPageOfBranches(currentPage, { json }) {
|
|
61
|
+
if (json) {
|
|
62
|
+
(0, json_1.printJsonOnlyOutput)(currentPage);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const table = new cli_table3_1.default({
|
|
66
|
+
head: ['Branch', ...utils_1.UPDATE_COLUMNS],
|
|
67
|
+
wordWrap: true,
|
|
68
|
+
});
|
|
69
|
+
table.push(...currentPage.map(branch => {
|
|
70
|
+
var _a, _b, _c, _d, _e;
|
|
71
|
+
return [
|
|
72
|
+
branch.name,
|
|
73
|
+
(0, utils_1.formatUpdate)(branch.updates[0]),
|
|
74
|
+
(_b = (_a = branch.updates[0]) === null || _a === void 0 ? void 0 : _a.runtimeVersion) !== null && _b !== void 0 ? _b : 'N/A',
|
|
75
|
+
(_d = (_c = branch.updates[0]) === null || _c === void 0 ? void 0 : _c.group) !== null && _d !== void 0 ? _d : 'N/A',
|
|
76
|
+
(0, utils_1.getPlatformsForGroup)({
|
|
77
|
+
updates: branch.updates,
|
|
78
|
+
group: (_e = branch.updates[0]) === null || _e === void 0 ? void 0 : _e.group,
|
|
79
|
+
}),
|
|
80
|
+
];
|
|
81
|
+
}));
|
|
82
|
+
log_1.default.addNewLineIfNone();
|
|
83
|
+
log_1.default.log(chalk_1.default.bold('Branches:'));
|
|
84
|
+
log_1.default.addNewLineIfNone();
|
|
85
|
+
log_1.default.log(table.toString());
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.prepareAndroidBuildAsync = exports.createAndroidContextAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
|
+
const eas_json_1 = require("@expo/eas-json");
|
|
6
7
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
8
|
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
8
9
|
const AndroidCredentialsProvider_1 = tslib_1.__importDefault(require("../../credentials/android/AndroidCredentialsProvider"));
|
|
@@ -19,8 +20,9 @@ const validate_1 = require("../validate");
|
|
|
19
20
|
const graphql_2 = require("./graphql");
|
|
20
21
|
const prepareJob_1 = require("./prepareJob");
|
|
21
22
|
const syncProjectConfiguration_1 = require("./syncProjectConfiguration");
|
|
23
|
+
const version_1 = require("./version");
|
|
22
24
|
async function createAndroidContextAsync(ctx) {
|
|
23
|
-
var _a;
|
|
25
|
+
var _a, _b;
|
|
24
26
|
const { buildProfile } = ctx;
|
|
25
27
|
if (buildProfile.distribution === 'internal' && ((_a = buildProfile.gradleCommand) === null || _a === void 0 ? void 0 : _a.match(/bundle/))) {
|
|
26
28
|
log_1.default.addNewLineIfNone();
|
|
@@ -40,7 +42,16 @@ This means that it will most likely produce an AAB and you will not be able to i
|
|
|
40
42
|
await (0, applicationId_1.ensureApplicationIdIsDefinedForManagedProjectAsync)(ctx.projectDir, ctx.exp);
|
|
41
43
|
}
|
|
42
44
|
const applicationId = await (0, applicationId_1.getApplicationIdAsync)(ctx.projectDir, ctx.exp, gradleContext);
|
|
43
|
-
|
|
45
|
+
const versionCodeOverride = ((_b = ctx.easJsonCliConfig) === null || _b === void 0 ? void 0 : _b.appVersionSource) === eas_json_1.AppVersionSource.REMOTE
|
|
46
|
+
? await (0, version_1.resolveRemoteVersionCodeAsync)({
|
|
47
|
+
projectDir: ctx.projectDir,
|
|
48
|
+
projectId: ctx.projectId,
|
|
49
|
+
exp: ctx.exp,
|
|
50
|
+
applicationId,
|
|
51
|
+
buildProfile,
|
|
52
|
+
})
|
|
53
|
+
: undefined;
|
|
54
|
+
return { applicationId, gradleContext, versionCodeOverride };
|
|
44
55
|
}
|
|
45
56
|
exports.createAndroidContextAsync = createAndroidContextAsync;
|
|
46
57
|
async function prepareAndroidBuildAsync(ctx) {
|
|
@@ -50,10 +61,13 @@ async function prepareAndroidBuildAsync(ctx) {
|
|
|
50
61
|
return await ensureAndroidCredentialsAsync(ctx);
|
|
51
62
|
},
|
|
52
63
|
syncProjectConfigurationAsync: async () => {
|
|
64
|
+
var _a;
|
|
53
65
|
await (0, syncProjectConfiguration_1.syncProjectConfigurationAsync)({
|
|
54
66
|
projectDir: ctx.projectDir,
|
|
55
67
|
exp: ctx.exp,
|
|
56
|
-
|
|
68
|
+
localAutoIncrement: ((_a = ctx.easJsonCliConfig) === null || _a === void 0 ? void 0 : _a.appVersionSource) === eas_json_1.AppVersionSource.REMOTE
|
|
69
|
+
? false
|
|
70
|
+
: ctx.buildProfile.autoIncrement,
|
|
57
71
|
});
|
|
58
72
|
},
|
|
59
73
|
prepareJobAsync: async (ctx, jobData) => {
|
|
@@ -5,6 +5,7 @@ const eas_build_job_1 = require("@expo/eas-build-job");
|
|
|
5
5
|
const generated_1 = require("../../graphql/generated");
|
|
6
6
|
const graphql_1 = require("../graphql");
|
|
7
7
|
function transformJob(job) {
|
|
8
|
+
var _a;
|
|
8
9
|
return {
|
|
9
10
|
type: (0, graphql_1.transformWorkflow)(job.type),
|
|
10
11
|
projectArchive: (0, graphql_1.transformProjectArchive)(job.projectArchive),
|
|
@@ -14,6 +15,7 @@ function transformJob(job) {
|
|
|
14
15
|
secrets: job.secrets,
|
|
15
16
|
builderEnvironment: job.builderEnvironment,
|
|
16
17
|
cache: job.cache,
|
|
18
|
+
version: ((_a = job.version) === null || _a === void 0 ? void 0 : _a.versionCode) ? { versionCode: job.version.versionCode } : undefined,
|
|
17
19
|
gradleCommand: job.gradleCommand,
|
|
18
20
|
artifactPath: job.artifactPath,
|
|
19
21
|
username: job.username,
|
|
@@ -62,6 +62,11 @@ async function prepareJobAsync(ctx, jobData) {
|
|
|
62
62
|
artifactPath: buildProfile.artifactPath,
|
|
63
63
|
buildType,
|
|
64
64
|
username,
|
|
65
|
+
...(ctx.android.versionCodeOverride && {
|
|
66
|
+
version: {
|
|
67
|
+
versionCode: ctx.android.versionCodeOverride,
|
|
68
|
+
},
|
|
69
|
+
}),
|
|
65
70
|
experimental: {
|
|
66
71
|
prebuildCommand: ctx.buildProfile.prebuildCommand,
|
|
67
72
|
},
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ExpoConfig } from '@expo/config';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export declare function syncProjectConfigurationAsync({ projectDir, exp, buildProfile, }: {
|
|
2
|
+
import { AndroidVersionAutoIncrement } from '@expo/eas-json';
|
|
3
|
+
export declare function syncProjectConfigurationAsync({ projectDir, exp, localAutoIncrement, }: {
|
|
5
4
|
projectDir: string;
|
|
6
5
|
exp: ExpoConfig;
|
|
7
|
-
|
|
6
|
+
localAutoIncrement?: AndroidVersionAutoIncrement;
|
|
8
7
|
}): Promise<void>;
|
|
9
8
|
export declare function cleanUpOldEasBuildGradleScriptAsync(projectDir: string): Promise<void>;
|
|
@@ -12,10 +12,9 @@ const projectUtils_1 = require("../../project/projectUtils");
|
|
|
12
12
|
const workflow_1 = require("../../project/workflow");
|
|
13
13
|
const UpdatesModule_1 = require("../../update/android/UpdatesModule");
|
|
14
14
|
const version_1 = require("./version");
|
|
15
|
-
async function syncProjectConfigurationAsync({ projectDir, exp,
|
|
15
|
+
async function syncProjectConfigurationAsync({ projectDir, exp, localAutoIncrement, }) {
|
|
16
16
|
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.ANDROID);
|
|
17
|
-
const
|
|
18
|
-
const versionBumpStrategy = resolveVersionBumpStrategy(autoIncrement !== null && autoIncrement !== void 0 ? autoIncrement : false);
|
|
17
|
+
const versionBumpStrategy = resolveVersionBumpStrategy(localAutoIncrement !== null && localAutoIncrement !== void 0 ? localAutoIncrement : false);
|
|
19
18
|
if (workflow === eas_build_job_1.Workflow.GENERIC) {
|
|
20
19
|
await cleanUpOldEasBuildGradleScriptAsync(projectDir);
|
|
21
20
|
if ((0, projectUtils_1.isExpoUpdatesInstalled)(projectDir)) {
|
|
@@ -20,3 +20,19 @@ export declare function maybeResolveVersionsAsync(projectDir: string, exp: ExpoC
|
|
|
20
20
|
appVersion?: string;
|
|
21
21
|
appBuildVersion?: string;
|
|
22
22
|
}>;
|
|
23
|
+
export declare function updateNativeVersionsAsync({ projectDir, version, versionCode, }: {
|
|
24
|
+
projectDir: string;
|
|
25
|
+
version?: string;
|
|
26
|
+
versionCode?: number;
|
|
27
|
+
}): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns buildNumber that will be used for the next build. If current build profile
|
|
30
|
+
* has an 'autoIncrement' option set, it increments the version on server.
|
|
31
|
+
*/
|
|
32
|
+
export declare function resolveRemoteVersionCodeAsync({ projectDir, projectId, exp, applicationId, buildProfile, }: {
|
|
33
|
+
projectDir: string;
|
|
34
|
+
projectId: string;
|
|
35
|
+
exp: ExpoConfig;
|
|
36
|
+
applicationId: string;
|
|
37
|
+
buildProfile: BuildProfile<Platform.ANDROID>;
|
|
38
|
+
}): Promise<string>;
|