eas-cli 12.5.0 → 12.5.2
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 +72 -64
- package/build/build/build.js +4 -4
- package/build/build/evaluateConfigWithEnvVarsAsync.d.ts +1 -4
- package/build/build/evaluateConfigWithEnvVarsAsync.js +3 -6
- package/build/build/runBuildAndSubmit.d.ts +0 -2
- package/build/build/runBuildAndSubmit.js +0 -1
- package/build/commandUtils/flags.d.ts +9 -2
- package/build/commandUtils/flags.js +14 -21
- package/build/commands/build/index.d.ts +0 -2
- package/build/commands/build/index.js +0 -2
- package/build/commands/build/resign.d.ts +0 -1
- package/build/commands/build/resign.js +0 -2
- package/build/commands/build/version/get.d.ts +0 -1
- package/build/commands/build/version/get.js +0 -2
- package/build/commands/build/version/set.d.ts +0 -1
- package/build/commands/build/version/set.js +0 -3
- package/build/commands/build/version/sync.d.ts +0 -1
- package/build/commands/build/version/sync.js +0 -3
- package/build/commands/config.d.ts +0 -1
- package/build/commands/config.js +0 -2
- package/build/commands/env/create.d.ts +3 -1
- package/build/commands/env/create.js +106 -74
- package/build/commands/env/delete.d.ts +2 -2
- package/build/commands/env/delete.js +37 -26
- package/build/commands/env/exec.d.ts +23 -0
- package/build/commands/env/exec.js +125 -0
- package/build/commands/env/get.d.ts +2 -2
- package/build/commands/env/get.js +40 -26
- package/build/commands/env/link.d.ts +4 -2
- package/build/commands/env/link.js +53 -14
- package/build/commands/env/list.d.ts +1 -2
- package/build/commands/env/list.js +49 -42
- package/build/commands/env/pull.js +1 -1
- package/build/commands/env/unlink.d.ts +3 -2
- package/build/commands/env/unlink.js +48 -21
- package/build/commands/env/update.d.ts +4 -2
- package/build/commands/env/update.js +68 -66
- package/build/commands/update/index.js +0 -1
- package/build/commands/update/republish.d.ts +2 -0
- package/build/commands/update/republish.js +34 -4
- package/build/commands/worker/deploy.js +44 -21
- package/build/credentials/manager/Actions.d.ts +4 -2
- package/build/credentials/manager/Actions.js +2 -0
- package/build/credentials/manager/AndroidActions.js +5 -0
- package/build/credentials/manager/IosActions.js +5 -0
- package/build/credentials/manager/ManageAndroid.js +3 -0
- package/build/credentials/manager/ManageIos.js +3 -0
- package/build/graphql/generated.d.ts +103 -22
- package/build/graphql/mutations/EnvironmentVariableMutation.d.ts +13 -22
- package/build/graphql/mutations/EnvironmentVariableMutation.js +18 -2
- package/build/graphql/queries/EnvironmentVariablesQuery.d.ts +13 -7
- package/build/graphql/queries/EnvironmentVariablesQuery.js +21 -9
- package/build/graphql/types/EnvironmentVariable.js +2 -1
- package/build/graphql/types/Submission.js +1 -1
- package/build/project/publish.js +3 -2
- package/build/submit/utils/logs.js +16 -17
- package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.d.ts +5 -0
- package/build/update/{getBranchNameFromChannelNameAsync.js → getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.js} +8 -7
- package/build/update/republish.js +3 -2
- package/build/utils/prompts.d.ts +15 -3
- package/build/utils/prompts.js +33 -8
- package/build/utils/variableUtils.d.ts +4 -0
- package/build/utils/variableUtils.js +31 -0
- package/build/worker/assets.d.ts +7 -2
- package/build/worker/assets.js +5 -4
- package/build/worker/deployment.d.ts +10 -0
- package/build/worker/deployment.js +33 -22
- package/build/worker/upload.d.ts +1 -0
- package/build/worker/upload.js +29 -7
- package/build/worker/utils/logs.d.ts +14 -13
- package/build/worker/utils/logs.js +18 -18
- package/oclif.manifest.json +118 -108
- package/package.json +3 -3
- package/build/update/getBranchNameFromChannelNameAsync.d.ts +0 -2
- package/build/utils/formatVariable.d.ts +0 -2
- package/build/utils/formatVariable.js +0 -16
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ ALIASES
|
|
|
143
143
|
$ eas login
|
|
144
144
|
```
|
|
145
145
|
|
|
146
|
-
_See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
146
|
+
_See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/account/login.ts)_
|
|
147
147
|
|
|
148
148
|
## `eas account:logout`
|
|
149
149
|
|
|
@@ -160,7 +160,7 @@ ALIASES
|
|
|
160
160
|
$ eas logout
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
_See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
163
|
+
_See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/account/logout.ts)_
|
|
164
164
|
|
|
165
165
|
## `eas account:view`
|
|
166
166
|
|
|
@@ -177,7 +177,7 @@ ALIASES
|
|
|
177
177
|
$ eas whoami
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
180
|
+
_See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/account/view.ts)_
|
|
181
181
|
|
|
182
182
|
## `eas analytics [STATUS]`
|
|
183
183
|
|
|
@@ -191,7 +191,7 @@ DESCRIPTION
|
|
|
191
191
|
display or change analytics settings
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
-
_See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
194
|
+
_See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/analytics.ts)_
|
|
195
195
|
|
|
196
196
|
## `eas autocomplete [SHELL]`
|
|
197
197
|
|
|
@@ -243,7 +243,7 @@ DESCRIPTION
|
|
|
243
243
|
create a branch
|
|
244
244
|
```
|
|
245
245
|
|
|
246
|
-
_See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
246
|
+
_See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/branch/create.ts)_
|
|
247
247
|
|
|
248
248
|
## `eas branch:delete [NAME]`
|
|
249
249
|
|
|
@@ -264,7 +264,7 @@ DESCRIPTION
|
|
|
264
264
|
delete a branch
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
-
_See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
267
|
+
_See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
268
268
|
|
|
269
269
|
## `eas branch:list`
|
|
270
270
|
|
|
@@ -284,7 +284,7 @@ DESCRIPTION
|
|
|
284
284
|
list all branches
|
|
285
285
|
```
|
|
286
286
|
|
|
287
|
-
_See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
287
|
+
_See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/branch/list.ts)_
|
|
288
288
|
|
|
289
289
|
## `eas branch:rename`
|
|
290
290
|
|
|
@@ -304,7 +304,7 @@ DESCRIPTION
|
|
|
304
304
|
rename a branch
|
|
305
305
|
```
|
|
306
306
|
|
|
307
|
-
_See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
307
|
+
_See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
308
308
|
|
|
309
309
|
## `eas branch:view [NAME]`
|
|
310
310
|
|
|
@@ -327,7 +327,7 @@ DESCRIPTION
|
|
|
327
327
|
view a branch
|
|
328
328
|
```
|
|
329
329
|
|
|
330
|
-
_See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
330
|
+
_See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/branch/view.ts)_
|
|
331
331
|
|
|
332
332
|
## `eas build`
|
|
333
333
|
|
|
@@ -364,7 +364,7 @@ DESCRIPTION
|
|
|
364
364
|
start a build
|
|
365
365
|
```
|
|
366
366
|
|
|
367
|
-
_See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
367
|
+
_See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/index.ts)_
|
|
368
368
|
|
|
369
369
|
## `eas build:cancel [BUILD_ID]`
|
|
370
370
|
|
|
@@ -383,7 +383,7 @@ DESCRIPTION
|
|
|
383
383
|
cancel a build
|
|
384
384
|
```
|
|
385
385
|
|
|
386
|
-
_See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
386
|
+
_See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
387
387
|
|
|
388
388
|
## `eas build:configure`
|
|
389
389
|
|
|
@@ -400,7 +400,7 @@ DESCRIPTION
|
|
|
400
400
|
configure the project to support EAS Build
|
|
401
401
|
```
|
|
402
402
|
|
|
403
|
-
_See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
403
|
+
_See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/configure.ts)_
|
|
404
404
|
|
|
405
405
|
## `eas build:delete [BUILD_ID]`
|
|
406
406
|
|
|
@@ -419,7 +419,7 @@ DESCRIPTION
|
|
|
419
419
|
delete a build
|
|
420
420
|
```
|
|
421
421
|
|
|
422
|
-
_See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
422
|
+
_See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/delete.ts)_
|
|
423
423
|
|
|
424
424
|
## `eas build:inspect`
|
|
425
425
|
|
|
@@ -454,7 +454,7 @@ DESCRIPTION
|
|
|
454
454
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
455
455
|
```
|
|
456
456
|
|
|
457
|
-
_See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
457
|
+
_See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
458
458
|
|
|
459
459
|
## `eas build:list`
|
|
460
460
|
|
|
@@ -504,7 +504,7 @@ DESCRIPTION
|
|
|
504
504
|
list all builds for your project
|
|
505
505
|
```
|
|
506
506
|
|
|
507
|
-
_See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
507
|
+
_See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/list.ts)_
|
|
508
508
|
|
|
509
509
|
## `eas build:resign`
|
|
510
510
|
|
|
@@ -533,7 +533,7 @@ DESCRIPTION
|
|
|
533
533
|
re-sign a build archive
|
|
534
534
|
```
|
|
535
535
|
|
|
536
|
-
_See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
536
|
+
_See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/resign.ts)_
|
|
537
537
|
|
|
538
538
|
## `eas build:run`
|
|
539
539
|
|
|
@@ -559,7 +559,7 @@ DESCRIPTION
|
|
|
559
559
|
run simulator/emulator builds from eas-cli
|
|
560
560
|
```
|
|
561
561
|
|
|
562
|
-
_See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
562
|
+
_See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/run.ts)_
|
|
563
563
|
|
|
564
564
|
## `eas build:submit`
|
|
565
565
|
|
|
@@ -609,7 +609,7 @@ DESCRIPTION
|
|
|
609
609
|
get the latest version from EAS servers
|
|
610
610
|
```
|
|
611
611
|
|
|
612
|
-
_See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
612
|
+
_See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/version/get.ts)_
|
|
613
613
|
|
|
614
614
|
## `eas build:version:set`
|
|
615
615
|
|
|
@@ -628,7 +628,7 @@ DESCRIPTION
|
|
|
628
628
|
update version of an app
|
|
629
629
|
```
|
|
630
630
|
|
|
631
|
-
_See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
631
|
+
_See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
632
632
|
|
|
633
633
|
## `eas build:version:sync`
|
|
634
634
|
|
|
@@ -647,7 +647,7 @@ DESCRIPTION
|
|
|
647
647
|
update a version in native code with a value stored on EAS servers
|
|
648
648
|
```
|
|
649
649
|
|
|
650
|
-
_See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
650
|
+
_See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
651
651
|
|
|
652
652
|
## `eas build:view [BUILD_ID]`
|
|
653
653
|
|
|
@@ -664,7 +664,7 @@ DESCRIPTION
|
|
|
664
664
|
view a build for your project
|
|
665
665
|
```
|
|
666
666
|
|
|
667
|
-
_See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
667
|
+
_See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/build/view.ts)_
|
|
668
668
|
|
|
669
669
|
## `eas channel:create [NAME]`
|
|
670
670
|
|
|
@@ -685,7 +685,7 @@ DESCRIPTION
|
|
|
685
685
|
create a channel
|
|
686
686
|
```
|
|
687
687
|
|
|
688
|
-
_See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
688
|
+
_See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/channel/create.ts)_
|
|
689
689
|
|
|
690
690
|
## `eas channel:edit [NAME]`
|
|
691
691
|
|
|
@@ -707,7 +707,7 @@ DESCRIPTION
|
|
|
707
707
|
point a channel at a new branch
|
|
708
708
|
```
|
|
709
709
|
|
|
710
|
-
_See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
710
|
+
_See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
711
711
|
|
|
712
712
|
## `eas channel:list`
|
|
713
713
|
|
|
@@ -727,7 +727,7 @@ DESCRIPTION
|
|
|
727
727
|
list all channels
|
|
728
728
|
```
|
|
729
729
|
|
|
730
|
-
_See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
730
|
+
_See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/channel/list.ts)_
|
|
731
731
|
|
|
732
732
|
## `eas channel:rollout [CHANNEL]`
|
|
733
733
|
|
|
@@ -760,7 +760,7 @@ DESCRIPTION
|
|
|
760
760
|
Roll a new branch out on a channel incrementally.
|
|
761
761
|
```
|
|
762
762
|
|
|
763
|
-
_See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
763
|
+
_See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
764
764
|
|
|
765
765
|
## `eas channel:view [NAME]`
|
|
766
766
|
|
|
@@ -783,7 +783,7 @@ DESCRIPTION
|
|
|
783
783
|
view a channel
|
|
784
784
|
```
|
|
785
785
|
|
|
786
|
-
_See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
786
|
+
_See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/channel/view.ts)_
|
|
787
787
|
|
|
788
788
|
## `eas config`
|
|
789
789
|
|
|
@@ -804,7 +804,7 @@ DESCRIPTION
|
|
|
804
804
|
display project configuration (app.json + eas.json)
|
|
805
805
|
```
|
|
806
806
|
|
|
807
|
-
_See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
807
|
+
_See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/config.ts)_
|
|
808
808
|
|
|
809
809
|
## `eas credentials`
|
|
810
810
|
|
|
@@ -821,7 +821,7 @@ DESCRIPTION
|
|
|
821
821
|
manage credentials
|
|
822
822
|
```
|
|
823
823
|
|
|
824
|
-
_See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
824
|
+
_See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/credentials/index.ts)_
|
|
825
825
|
|
|
826
826
|
## `eas credentials:configure-build`
|
|
827
827
|
|
|
@@ -839,7 +839,7 @@ DESCRIPTION
|
|
|
839
839
|
Set up credentials for building your project.
|
|
840
840
|
```
|
|
841
841
|
|
|
842
|
-
_See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
842
|
+
_See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/credentials/configure-build.ts)_
|
|
843
843
|
|
|
844
844
|
## `eas device:create`
|
|
845
845
|
|
|
@@ -853,7 +853,7 @@ DESCRIPTION
|
|
|
853
853
|
register new Apple Devices to use for internal distribution
|
|
854
854
|
```
|
|
855
855
|
|
|
856
|
-
_See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
856
|
+
_See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/device/create.ts)_
|
|
857
857
|
|
|
858
858
|
## `eas device:delete`
|
|
859
859
|
|
|
@@ -873,7 +873,7 @@ DESCRIPTION
|
|
|
873
873
|
remove a registered device from your account
|
|
874
874
|
```
|
|
875
875
|
|
|
876
|
-
_See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
876
|
+
_See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/device/delete.ts)_
|
|
877
877
|
|
|
878
878
|
## `eas device:list`
|
|
879
879
|
|
|
@@ -894,7 +894,7 @@ DESCRIPTION
|
|
|
894
894
|
list all registered devices for your account
|
|
895
895
|
```
|
|
896
896
|
|
|
897
|
-
_See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
897
|
+
_See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/device/list.ts)_
|
|
898
898
|
|
|
899
899
|
## `eas device:rename`
|
|
900
900
|
|
|
@@ -915,7 +915,7 @@ DESCRIPTION
|
|
|
915
915
|
rename a registered device
|
|
916
916
|
```
|
|
917
917
|
|
|
918
|
-
_See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
918
|
+
_See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/device/rename.ts)_
|
|
919
919
|
|
|
920
920
|
## `eas device:view [UDID]`
|
|
921
921
|
|
|
@@ -929,7 +929,7 @@ DESCRIPTION
|
|
|
929
929
|
view a device for your project
|
|
930
930
|
```
|
|
931
931
|
|
|
932
|
-
_See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
932
|
+
_See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/device/view.ts)_
|
|
933
933
|
|
|
934
934
|
## `eas diagnostics`
|
|
935
935
|
|
|
@@ -943,7 +943,7 @@ DESCRIPTION
|
|
|
943
943
|
display environment info
|
|
944
944
|
```
|
|
945
945
|
|
|
946
|
-
_See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
946
|
+
_See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
947
947
|
|
|
948
948
|
## `eas help [COMMAND]`
|
|
949
949
|
|
|
@@ -1051,7 +1051,7 @@ DESCRIPTION
|
|
|
1051
1051
|
validate the local store configuration
|
|
1052
1052
|
```
|
|
1053
1053
|
|
|
1054
|
-
_See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1054
|
+
_See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
1055
1055
|
|
|
1056
1056
|
## `eas metadata:pull`
|
|
1057
1057
|
|
|
@@ -1068,7 +1068,7 @@ DESCRIPTION
|
|
|
1068
1068
|
generate the local store configuration from the app stores
|
|
1069
1069
|
```
|
|
1070
1070
|
|
|
1071
|
-
_See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1071
|
+
_See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
1072
1072
|
|
|
1073
1073
|
## `eas metadata:push`
|
|
1074
1074
|
|
|
@@ -1085,7 +1085,7 @@ DESCRIPTION
|
|
|
1085
1085
|
sync the local store configuration to the app stores
|
|
1086
1086
|
```
|
|
1087
1087
|
|
|
1088
|
-
_See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1088
|
+
_See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
1089
1089
|
|
|
1090
1090
|
## `eas onboarding [TARGET_PROJECT_DIRECTORY]`
|
|
1091
1091
|
|
|
@@ -1115,7 +1115,7 @@ DESCRIPTION
|
|
|
1115
1115
|
open the project page in a web browser
|
|
1116
1116
|
```
|
|
1117
1117
|
|
|
1118
|
-
_See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1118
|
+
_See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/open.ts)_
|
|
1119
1119
|
|
|
1120
1120
|
## `eas project:info`
|
|
1121
1121
|
|
|
@@ -1129,7 +1129,7 @@ DESCRIPTION
|
|
|
1129
1129
|
information about the current project
|
|
1130
1130
|
```
|
|
1131
1131
|
|
|
1132
|
-
_See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1132
|
+
_See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/project/info.ts)_
|
|
1133
1133
|
|
|
1134
1134
|
## `eas project:init`
|
|
1135
1135
|
|
|
@@ -1152,7 +1152,7 @@ ALIASES
|
|
|
1152
1152
|
$ eas init
|
|
1153
1153
|
```
|
|
1154
1154
|
|
|
1155
|
-
_See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1155
|
+
_See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/project/init.ts)_
|
|
1156
1156
|
|
|
1157
1157
|
## `eas project:onboarding [TARGET_PROJECT_DIRECTORY]`
|
|
1158
1158
|
|
|
@@ -1170,7 +1170,7 @@ ALIASES
|
|
|
1170
1170
|
$ eas onboarding
|
|
1171
1171
|
```
|
|
1172
1172
|
|
|
1173
|
-
_See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1173
|
+
_See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/project/onboarding.ts)_
|
|
1174
1174
|
|
|
1175
1175
|
## `eas secret:create`
|
|
1176
1176
|
|
|
@@ -1193,7 +1193,7 @@ DESCRIPTION
|
|
|
1193
1193
|
create an environment secret on the current project or owner account
|
|
1194
1194
|
```
|
|
1195
1195
|
|
|
1196
|
-
_See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1196
|
+
_See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1197
1197
|
|
|
1198
1198
|
## `eas secret:delete`
|
|
1199
1199
|
|
|
@@ -1211,7 +1211,7 @@ DESCRIPTION
|
|
|
1211
1211
|
delete an environment secret by ID
|
|
1212
1212
|
```
|
|
1213
1213
|
|
|
1214
|
-
_See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1214
|
+
_See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1215
1215
|
|
|
1216
1216
|
## `eas secret:list`
|
|
1217
1217
|
|
|
@@ -1225,7 +1225,7 @@ DESCRIPTION
|
|
|
1225
1225
|
list environment secrets available for your current app
|
|
1226
1226
|
```
|
|
1227
1227
|
|
|
1228
|
-
_See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1228
|
+
_See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1229
1229
|
|
|
1230
1230
|
## `eas secret:push`
|
|
1231
1231
|
|
|
@@ -1245,7 +1245,7 @@ DESCRIPTION
|
|
|
1245
1245
|
read environment secrets from env file and store on the server
|
|
1246
1246
|
```
|
|
1247
1247
|
|
|
1248
|
-
_See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1248
|
+
_See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1249
1249
|
|
|
1250
1250
|
## `eas submit`
|
|
1251
1251
|
|
|
@@ -1276,7 +1276,7 @@ ALIASES
|
|
|
1276
1276
|
$ eas build:submit
|
|
1277
1277
|
```
|
|
1278
1278
|
|
|
1279
|
-
_See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1279
|
+
_See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/submit.ts)_
|
|
1280
1280
|
|
|
1281
1281
|
## `eas update`
|
|
1282
1282
|
|
|
@@ -1285,8 +1285,8 @@ publish an update group
|
|
|
1285
1285
|
```
|
|
1286
1286
|
USAGE
|
|
1287
1287
|
$ eas update [--branch <value>] [--channel <value>] [-m <value>] [--input-dir <value>] [--skip-bundler]
|
|
1288
|
-
[--clear-cache] [--emit-metadata] [-p android|ios|all] [--auto] [--private-key-path
|
|
1289
|
-
--non-interactive]
|
|
1288
|
+
[--clear-cache] [--emit-metadata] [--rollout-percentage <value>] [-p android|ios|all] [--auto] [--private-key-path
|
|
1289
|
+
<value>] [--json --non-interactive]
|
|
1290
1290
|
|
|
1291
1291
|
FLAGS
|
|
1292
1292
|
-m, --message=<value> A short message describing the update
|
|
@@ -1304,13 +1304,17 @@ FLAGS
|
|
|
1304
1304
|
expo-updates' configuration. Defaults to a file named "private-key.pem" in the
|
|
1305
1305
|
certificate's directory. Only relevant if you are using code signing:
|
|
1306
1306
|
https://docs.expo.dev/eas-update/code-signing/
|
|
1307
|
+
--rollout-percentage=<value> Percentage of users this update should be immediately available to. Users not in the
|
|
1308
|
+
rollout will be served the previous latest update on the branch, even if that update
|
|
1309
|
+
is itself being rolled out. The specified number must be an integer between 1 and
|
|
1310
|
+
100. When not specified, this defaults to 100.
|
|
1307
1311
|
--skip-bundler Skip running Expo CLI to bundle the app before publishing
|
|
1308
1312
|
|
|
1309
1313
|
DESCRIPTION
|
|
1310
1314
|
publish an update group
|
|
1311
1315
|
```
|
|
1312
1316
|
|
|
1313
|
-
_See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1317
|
+
_See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/update/index.ts)_
|
|
1314
1318
|
|
|
1315
1319
|
## `eas update:configure`
|
|
1316
1320
|
|
|
@@ -1328,7 +1332,7 @@ DESCRIPTION
|
|
|
1328
1332
|
configure the project to support EAS Update
|
|
1329
1333
|
```
|
|
1330
1334
|
|
|
1331
|
-
_See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1335
|
+
_See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1332
1336
|
|
|
1333
1337
|
## `eas update:delete GROUPID`
|
|
1334
1338
|
|
|
@@ -1349,7 +1353,7 @@ DESCRIPTION
|
|
|
1349
1353
|
delete all the updates in an update group
|
|
1350
1354
|
```
|
|
1351
1355
|
|
|
1352
|
-
_See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1356
|
+
_See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1353
1357
|
|
|
1354
1358
|
## `eas update:list`
|
|
1355
1359
|
|
|
@@ -1371,7 +1375,7 @@ DESCRIPTION
|
|
|
1371
1375
|
view the recent updates
|
|
1372
1376
|
```
|
|
1373
1377
|
|
|
1374
|
-
_See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1378
|
+
_See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/update/list.ts)_
|
|
1375
1379
|
|
|
1376
1380
|
## `eas update:republish`
|
|
1377
1381
|
|
|
@@ -1379,14 +1383,18 @@ roll back to an existing update
|
|
|
1379
1383
|
|
|
1380
1384
|
```
|
|
1381
1385
|
USAGE
|
|
1382
|
-
$ eas update:republish [--channel <value> | --branch <value> | --group <value>] [-
|
|
1383
|
-
[--private-key-path <value>] [--json
|
|
1386
|
+
$ eas update:republish [--channel <value> | --branch <value> | --group <value>] [--destination-channel <value> |
|
|
1387
|
+
--destination-branch <value>] [-m <value>] [-p android|ios|all] [--private-key-path <value>] [--json
|
|
1388
|
+
--non-interactive]
|
|
1384
1389
|
|
|
1385
1390
|
FLAGS
|
|
1386
1391
|
-m, --message=<value> Short message describing the republished update group
|
|
1387
1392
|
-p, --platform=(android|ios|all) [default: all]
|
|
1388
1393
|
--branch=<value> Branch name to select an update group to republish from
|
|
1389
1394
|
--channel=<value> Channel name to select an update group to republish from
|
|
1395
|
+
--destination-branch=<value> Branch name to republish to if republishing to a different branch
|
|
1396
|
+
--destination-channel=<value> Channel name to select a branch to republish to if republishing to a different
|
|
1397
|
+
branch
|
|
1390
1398
|
--group=<value> Update group ID to republish
|
|
1391
1399
|
--json Enable JSON output, non-JSON messages will be printed to stderr.
|
|
1392
1400
|
--non-interactive Run the command in non-interactive mode.
|
|
@@ -1399,7 +1407,7 @@ DESCRIPTION
|
|
|
1399
1407
|
roll back to an existing update
|
|
1400
1408
|
```
|
|
1401
1409
|
|
|
1402
|
-
_See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1410
|
+
_See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1403
1411
|
|
|
1404
1412
|
## `eas update:roll-back-to-embedded`
|
|
1405
1413
|
|
|
@@ -1427,7 +1435,7 @@ DESCRIPTION
|
|
|
1427
1435
|
roll back to the embedded update
|
|
1428
1436
|
```
|
|
1429
1437
|
|
|
1430
|
-
_See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1438
|
+
_See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
|
|
1431
1439
|
|
|
1432
1440
|
## `eas update:rollback`
|
|
1433
1441
|
|
|
@@ -1447,7 +1455,7 @@ DESCRIPTION
|
|
|
1447
1455
|
roll back to an embedded update or an existing update
|
|
1448
1456
|
```
|
|
1449
1457
|
|
|
1450
|
-
_See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1458
|
+
_See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/update/rollback.ts)_
|
|
1451
1459
|
|
|
1452
1460
|
## `eas update:view GROUPID`
|
|
1453
1461
|
|
|
@@ -1467,7 +1475,7 @@ DESCRIPTION
|
|
|
1467
1475
|
update group details
|
|
1468
1476
|
```
|
|
1469
1477
|
|
|
1470
|
-
_See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1478
|
+
_See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/update/view.ts)_
|
|
1471
1479
|
|
|
1472
1480
|
## `eas webhook:create`
|
|
1473
1481
|
|
|
@@ -1488,7 +1496,7 @@ DESCRIPTION
|
|
|
1488
1496
|
create a webhook
|
|
1489
1497
|
```
|
|
1490
1498
|
|
|
1491
|
-
_See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1499
|
+
_See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1492
1500
|
|
|
1493
1501
|
## `eas webhook:delete [ID]`
|
|
1494
1502
|
|
|
@@ -1508,7 +1516,7 @@ DESCRIPTION
|
|
|
1508
1516
|
delete a webhook
|
|
1509
1517
|
```
|
|
1510
1518
|
|
|
1511
|
-
_See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1519
|
+
_See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1512
1520
|
|
|
1513
1521
|
## `eas webhook:list`
|
|
1514
1522
|
|
|
@@ -1526,7 +1534,7 @@ DESCRIPTION
|
|
|
1526
1534
|
list webhooks
|
|
1527
1535
|
```
|
|
1528
1536
|
|
|
1529
|
-
_See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1537
|
+
_See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1530
1538
|
|
|
1531
1539
|
## `eas webhook:update`
|
|
1532
1540
|
|
|
@@ -1548,7 +1556,7 @@ DESCRIPTION
|
|
|
1548
1556
|
update a webhook
|
|
1549
1557
|
```
|
|
1550
1558
|
|
|
1551
|
-
_See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1559
|
+
_See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1552
1560
|
|
|
1553
1561
|
## `eas webhook:view ID`
|
|
1554
1562
|
|
|
@@ -1565,7 +1573,7 @@ DESCRIPTION
|
|
|
1565
1573
|
view a webhook
|
|
1566
1574
|
```
|
|
1567
1575
|
|
|
1568
|
-
_See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v12.5.
|
|
1576
|
+
_See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v12.5.2/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1569
1577
|
|
|
1570
1578
|
## `eas whoami`
|
|
1571
1579
|
|
package/build/build/build.js
CHANGED
|
@@ -299,7 +299,7 @@ async function handleSingleBuildProgressAsync({ build, accountName, }, { spinner
|
|
|
299
299
|
spinner.succeed('Build finished');
|
|
300
300
|
return { refetch: false };
|
|
301
301
|
case generated_1.BuildStatus.New:
|
|
302
|
-
spinner.text = `Build
|
|
302
|
+
spinner.text = `Build concurrency limit reached for your account. Build will enter queue once a concurrency becomes available. Add additional concurrencies at ${(0, log_1.link)(formatAccountBillingUrl(accountName))}.`;
|
|
303
303
|
break;
|
|
304
304
|
case generated_1.BuildStatus.InQueue: {
|
|
305
305
|
spinner.text = 'Build queued...';
|
|
@@ -314,7 +314,7 @@ async function handleSingleBuildProgressAsync({ build, accountName, }, { spinner
|
|
|
314
314
|
if (build.priority !== generated_1.BuildPriority.High) {
|
|
315
315
|
log_1.default.newLine();
|
|
316
316
|
log_1.default.log('Start builds sooner in the priority queue.');
|
|
317
|
-
log_1.default.log(`Sign up for EAS Production or Enterprise at ${(0, log_1.link)(
|
|
317
|
+
log_1.default.log(`Sign up for EAS Production or Enterprise at ${(0, log_1.link)(formatAccountBillingUrl(accountName))}`);
|
|
318
318
|
}
|
|
319
319
|
log_1.default.newLine();
|
|
320
320
|
log_1.default.log(`Waiting in ${priorityToQueueDisplayName[build.priority]}`);
|
|
@@ -428,8 +428,8 @@ function formatEstimatedWaitTime(estimatedWaitTimeLeftSeconds) {
|
|
|
428
428
|
return `starting in about ${n}0 minutes...`;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
function
|
|
432
|
-
return new URL(`/accounts/${accountName}/settings/
|
|
431
|
+
function formatAccountBillingUrl(accountName) {
|
|
432
|
+
return new URL(`/accounts/${accountName}/settings/billing`, (0, api_1.getExpoWebsiteBaseUrl)()).toString();
|
|
433
433
|
}
|
|
434
434
|
async function createAndMaybeUploadFingerprintAsync(ctx) {
|
|
435
435
|
const resolvedRuntimeVersion = await (0, resolveRuntimeVersionAsync_1.resolveRuntimeVersionAsync)({
|
|
@@ -3,10 +3,7 @@ import { BuildProfile } from '@expo/eas-json';
|
|
|
3
3
|
import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
|
|
4
4
|
export declare function evaluateConfigWithEnvVarsAsync<Config extends {
|
|
5
5
|
projectId: string;
|
|
6
|
-
}, Opts>({
|
|
7
|
-
flags: {
|
|
8
|
-
environment?: string;
|
|
9
|
-
};
|
|
6
|
+
}, Opts>({ buildProfile, buildProfileName, graphqlClient, getProjectConfig, opts, }: {
|
|
10
7
|
buildProfile: BuildProfile;
|
|
11
8
|
buildProfileName: string;
|
|
12
9
|
graphqlClient: ExpoGraphqlClient | null;
|
|
@@ -8,7 +8,7 @@ const log_1 = tslib_1.__importStar(require("../log"));
|
|
|
8
8
|
function isEnvironment(env) {
|
|
9
9
|
return Object.values(generated_1.EnvironmentVariableEnvironment).includes(env);
|
|
10
10
|
}
|
|
11
|
-
async function evaluateConfigWithEnvVarsAsync({
|
|
11
|
+
async function evaluateConfigWithEnvVarsAsync({ buildProfile, buildProfileName, graphqlClient, getProjectConfig, opts, }) {
|
|
12
12
|
if (!graphqlClient) {
|
|
13
13
|
log_1.default.warn('An Expo user account is required to fetch environment variables.');
|
|
14
14
|
const config = await getProjectConfig(opts);
|
|
@@ -16,7 +16,6 @@ async function evaluateConfigWithEnvVarsAsync({ flags, buildProfile, buildProfil
|
|
|
16
16
|
}
|
|
17
17
|
const { projectId } = await getProjectConfig({ env: buildProfile.env, ...opts });
|
|
18
18
|
const env = await resolveEnvVarsAsync({
|
|
19
|
-
flags,
|
|
20
19
|
buildProfile,
|
|
21
20
|
buildProfileName,
|
|
22
21
|
graphqlClient,
|
|
@@ -26,10 +25,8 @@ async function evaluateConfigWithEnvVarsAsync({ flags, buildProfile, buildProfil
|
|
|
26
25
|
return { env, ...config };
|
|
27
26
|
}
|
|
28
27
|
exports.evaluateConfigWithEnvVarsAsync = evaluateConfigWithEnvVarsAsync;
|
|
29
|
-
async function resolveEnvVarsAsync({
|
|
30
|
-
const environment =
|
|
31
|
-
buildProfile.environment?.toUpperCase() ??
|
|
32
|
-
process.env.EAS_CURRENT_ENVIRONMENT;
|
|
28
|
+
async function resolveEnvVarsAsync({ buildProfile, buildProfileName, graphqlClient, projectId, }) {
|
|
29
|
+
const environment = buildProfile.environment?.toUpperCase() ?? process.env.EAS_CURRENT_ENVIRONMENT;
|
|
33
30
|
if (!environment || !isEnvironment(environment)) {
|
|
34
31
|
log_1.default.log(`Loaded "env" configuration for the "${buildProfileName}" profile: ${buildProfile.env && Object.keys(buildProfile.env).length > 0
|
|
35
32
|
? Object.keys(buildProfile.env).join(', ')
|