eas-cli 12.2.0 → 12.4.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 +60 -60
- package/build/build/ios/version.js +11 -6
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.d.ts +1 -0
- package/build/commandUtils/context/contextUtils/getProjectIdAsync.js +3 -1
- package/build/commands/env/pull.d.ts +1 -1
- package/build/commands/env/pull.js +15 -8
- package/build/commands/worker/alias.d.ts +22 -0
- package/build/commands/worker/alias.js +170 -0
- package/build/commands/worker/deploy.d.ts +12 -1
- package/build/commands/worker/deploy.js +173 -65
- package/build/graphql/generated.d.ts +372 -146
- package/build/graphql/generated.js +46 -44
- package/build/project/expoConfig.d.ts +1 -0
- package/build/project/expoConfig.js +1 -0
- package/build/worker/assets.d.ts +12 -0
- package/build/worker/assets.js +20 -1
- package/build/worker/deployment.d.ts +25 -2
- package/build/worker/deployment.js +102 -15
- package/build/worker/fragments/WorkerDeployment.d.ts +1 -0
- package/build/worker/fragments/WorkerDeployment.js +14 -0
- package/build/worker/fragments/WorkerDeploymentAlias.d.ts +1 -0
- package/build/worker/fragments/WorkerDeploymentAlias.js +12 -0
- package/build/worker/mutations.d.ts +6 -0
- package/build/worker/mutations.js +33 -0
- package/build/worker/queries.d.ts +7 -0
- package/build/worker/queries.js +61 -0
- package/build/worker/utils/logs.d.ts +35 -0
- package/build/worker/utils/logs.js +54 -0
- package/oclif.manifest.json +129 -3
- package/package.json +4 -3
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.
|
|
146
|
+
_See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
163
|
+
_See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
180
|
+
_See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
194
|
+
_See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
246
|
+
_See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
267
|
+
_See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
287
|
+
_See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
307
|
+
_See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
330
|
+
_See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
367
|
+
_See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
386
|
+
_See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
403
|
+
_See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
422
|
+
_See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
457
|
+
_See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
507
|
+
_See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
536
|
+
_See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
562
|
+
_See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
612
|
+
_See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
631
|
+
_See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
650
|
+
_See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
667
|
+
_See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
688
|
+
_See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
710
|
+
_See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
730
|
+
_See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
763
|
+
_See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
786
|
+
_See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
807
|
+
_See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
824
|
+
_See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
842
|
+
_See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
856
|
+
_See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
876
|
+
_See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
897
|
+
_See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
918
|
+
_See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
932
|
+
_See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
946
|
+
_See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1054
|
+
_See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1071
|
+
_See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1088
|
+
_See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1118
|
+
_See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1132
|
+
_See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1155
|
+
_See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1173
|
+
_See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1196
|
+
_See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1214
|
+
_See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1228
|
+
_See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1248
|
+
_See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v12.4.0/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.
|
|
1279
|
+
_See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1280
1280
|
|
|
1281
1281
|
## `eas update`
|
|
1282
1282
|
|
|
@@ -1310,7 +1310,7 @@ DESCRIPTION
|
|
|
1310
1310
|
publish an update group
|
|
1311
1311
|
```
|
|
1312
1312
|
|
|
1313
|
-
_See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1313
|
+
_See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1314
1314
|
|
|
1315
1315
|
## `eas update:configure`
|
|
1316
1316
|
|
|
@@ -1328,7 +1328,7 @@ DESCRIPTION
|
|
|
1328
1328
|
configure the project to support EAS Update
|
|
1329
1329
|
```
|
|
1330
1330
|
|
|
1331
|
-
_See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1331
|
+
_See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1332
1332
|
|
|
1333
1333
|
## `eas update:delete GROUPID`
|
|
1334
1334
|
|
|
@@ -1349,7 +1349,7 @@ DESCRIPTION
|
|
|
1349
1349
|
delete all the updates in an update group
|
|
1350
1350
|
```
|
|
1351
1351
|
|
|
1352
|
-
_See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1352
|
+
_See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1353
1353
|
|
|
1354
1354
|
## `eas update:list`
|
|
1355
1355
|
|
|
@@ -1371,7 +1371,7 @@ DESCRIPTION
|
|
|
1371
1371
|
view the recent updates
|
|
1372
1372
|
```
|
|
1373
1373
|
|
|
1374
|
-
_See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1374
|
+
_See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1375
1375
|
|
|
1376
1376
|
## `eas update:republish`
|
|
1377
1377
|
|
|
@@ -1399,7 +1399,7 @@ DESCRIPTION
|
|
|
1399
1399
|
roll back to an existing update
|
|
1400
1400
|
```
|
|
1401
1401
|
|
|
1402
|
-
_See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1402
|
+
_See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1403
1403
|
|
|
1404
1404
|
## `eas update:roll-back-to-embedded`
|
|
1405
1405
|
|
|
@@ -1427,7 +1427,7 @@ DESCRIPTION
|
|
|
1427
1427
|
roll back to the embedded update
|
|
1428
1428
|
```
|
|
1429
1429
|
|
|
1430
|
-
_See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1430
|
+
_See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
|
|
1431
1431
|
|
|
1432
1432
|
## `eas update:rollback`
|
|
1433
1433
|
|
|
@@ -1447,7 +1447,7 @@ DESCRIPTION
|
|
|
1447
1447
|
roll back to an embedded update or an existing update
|
|
1448
1448
|
```
|
|
1449
1449
|
|
|
1450
|
-
_See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1450
|
+
_See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/update/rollback.ts)_
|
|
1451
1451
|
|
|
1452
1452
|
## `eas update:view GROUPID`
|
|
1453
1453
|
|
|
@@ -1467,7 +1467,7 @@ DESCRIPTION
|
|
|
1467
1467
|
update group details
|
|
1468
1468
|
```
|
|
1469
1469
|
|
|
1470
|
-
_See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1470
|
+
_See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1471
1471
|
|
|
1472
1472
|
## `eas webhook:create`
|
|
1473
1473
|
|
|
@@ -1488,7 +1488,7 @@ DESCRIPTION
|
|
|
1488
1488
|
create a webhook
|
|
1489
1489
|
```
|
|
1490
1490
|
|
|
1491
|
-
_See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1491
|
+
_See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1492
1492
|
|
|
1493
1493
|
## `eas webhook:delete [ID]`
|
|
1494
1494
|
|
|
@@ -1508,7 +1508,7 @@ DESCRIPTION
|
|
|
1508
1508
|
delete a webhook
|
|
1509
1509
|
```
|
|
1510
1510
|
|
|
1511
|
-
_See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1511
|
+
_See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1512
1512
|
|
|
1513
1513
|
## `eas webhook:list`
|
|
1514
1514
|
|
|
@@ -1526,7 +1526,7 @@ DESCRIPTION
|
|
|
1526
1526
|
list webhooks
|
|
1527
1527
|
```
|
|
1528
1528
|
|
|
1529
|
-
_See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1529
|
+
_See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1530
1530
|
|
|
1531
1531
|
## `eas webhook:update`
|
|
1532
1532
|
|
|
@@ -1548,7 +1548,7 @@ DESCRIPTION
|
|
|
1548
1548
|
update a webhook
|
|
1549
1549
|
```
|
|
1550
1550
|
|
|
1551
|
-
_See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1551
|
+
_See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1552
1552
|
|
|
1553
1553
|
## `eas webhook:view ID`
|
|
1554
1554
|
|
|
@@ -1565,7 +1565,7 @@ DESCRIPTION
|
|
|
1565
1565
|
view a webhook
|
|
1566
1566
|
```
|
|
1567
1567
|
|
|
1568
|
-
_See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v12.
|
|
1568
|
+
_See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v12.4.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1569
1569
|
|
|
1570
1570
|
## `eas whoami`
|
|
1571
1571
|
|
|
@@ -9,7 +9,7 @@ const path_1 = tslib_1.__importDefault(require("path"));
|
|
|
9
9
|
const generated_1 = require("../../graphql/generated");
|
|
10
10
|
const AppVersionMutation_1 = require("../../graphql/mutations/AppVersionMutation");
|
|
11
11
|
const AppVersionQuery_1 = require("../../graphql/queries/AppVersionQuery");
|
|
12
|
-
const log_1 = tslib_1.
|
|
12
|
+
const log_1 = tslib_1.__importStar(require("../../log"));
|
|
13
13
|
const ora_1 = require("../../ora");
|
|
14
14
|
const target_1 = require("../../project/ios/target");
|
|
15
15
|
const versions_1 = require("../../project/ios/versions");
|
|
@@ -19,7 +19,7 @@ const uniqBy_1 = tslib_1.__importDefault(require("../../utils/expodash/uniqBy"))
|
|
|
19
19
|
const plist_1 = require("../../utils/plist");
|
|
20
20
|
const appJson_1 = require("../utils/appJson");
|
|
21
21
|
const version_1 = require("../utils/version");
|
|
22
|
-
const SHORT_VERSION_REGEX = /^\d
|
|
22
|
+
const SHORT_VERSION_REGEX = /^\d+(\.\d+){0,2}$/;
|
|
23
23
|
var BumpStrategy;
|
|
24
24
|
(function (BumpStrategy) {
|
|
25
25
|
BumpStrategy[BumpStrategy["APP_VERSION"] = 0] = "APP_VERSION";
|
|
@@ -75,9 +75,14 @@ async function bumpVersionInAppJsonAsync({ bumpStrategy, projectDir, exp, }) {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
exports.bumpVersionInAppJsonAsync = bumpVersionInAppJsonAsync;
|
|
78
|
-
function validateShortVersion(shortVersion) {
|
|
78
|
+
function validateShortVersion({ shortVersion, workflow, }) {
|
|
79
79
|
if (shortVersion && !SHORT_VERSION_REGEX.test(shortVersion)) {
|
|
80
|
-
|
|
80
|
+
if (workflow === eas_build_job_1.Workflow.MANAGED) {
|
|
81
|
+
throw new Error(`The required format for "version" field from app.json/app.config.ts is one to three period-separated integers, such as 10.14.1. The string can only contain numeric characters (0-9) and periods. Current value: ${shortVersion}. Edit the "version" field in your app.json/app.config.ts to match the required format. ${(0, log_1.learnMore)('https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring')}`);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
throw new Error(`The required format for "CFBundleShortVersionString" in Info.plist is one to three period-separated integers, such as 10.14.1. The string can only contain numeric characters (0-9) and periods. Current value: ${shortVersion}. Edit the "CFBundleShortVersionString" in your Info.plist to match the required format. ${(0, log_1.learnMore)('https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring')}`);
|
|
85
|
+
}
|
|
81
86
|
}
|
|
82
87
|
}
|
|
83
88
|
async function readShortVersionAsync(projectDir, exp, buildSettings, vcsClient) {
|
|
@@ -86,11 +91,11 @@ async function readShortVersionAsync(projectDir, exp, buildSettings, vcsClient)
|
|
|
86
91
|
const infoPlist = await readInfoPlistAsync(projectDir, buildSettings);
|
|
87
92
|
const shortVersion = infoPlist.CFBundleShortVersionString &&
|
|
88
93
|
evaluateTemplateString(infoPlist.CFBundleShortVersionString, buildSettings);
|
|
89
|
-
validateShortVersion(shortVersion);
|
|
94
|
+
validateShortVersion({ shortVersion, workflow });
|
|
90
95
|
return shortVersion;
|
|
91
96
|
}
|
|
92
97
|
else {
|
|
93
|
-
validateShortVersion(exp.version);
|
|
98
|
+
validateShortVersion({ shortVersion: exp.version, workflow });
|
|
94
99
|
return exp.version;
|
|
95
100
|
}
|
|
96
101
|
}
|
|
@@ -7,6 +7,7 @@ import { Actor } from '../../../user/User';
|
|
|
7
7
|
* Save an EAS project ID to the appropriate field in the app config.
|
|
8
8
|
*
|
|
9
9
|
* @deprecated Should not be used outside of context functions except in the init command.
|
|
10
|
+
* @deprecated Starting from `@expo/config` from SDK 52, the `modifyConfigAsync` function is merging existing data. Once this is released, we can use that instead of manually merging.
|
|
10
11
|
*/
|
|
11
12
|
export declare function saveProjectIdToAppConfigAsync(projectDir: string, projectId: string, options?: {
|
|
12
13
|
env?: Env;
|
|
@@ -17,9 +17,11 @@ const User_1 = require("../../../user/User");
|
|
|
17
17
|
* Save an EAS project ID to the appropriate field in the app config.
|
|
18
18
|
*
|
|
19
19
|
* @deprecated Should not be used outside of context functions except in the init command.
|
|
20
|
+
* @deprecated Starting from `@expo/config` from SDK 52, the `modifyConfigAsync` function is merging existing data. Once this is released, we can use that instead of manually merging.
|
|
20
21
|
*/
|
|
21
22
|
async function saveProjectIdToAppConfigAsync(projectDir, projectId, options = {}) {
|
|
22
|
-
|
|
23
|
+
// NOTE(cedric): we disable plugins to avoid writing plugin-generated content to `expo.extra`
|
|
24
|
+
const exp = (0, expoConfig_1.getPrivateExpoConfig)(projectDir, { skipPlugins: true, ...options });
|
|
23
25
|
const result = await (0, expoConfig_1.createOrModifyExpoConfigAsync)(projectDir, {
|
|
24
26
|
extra: { ...exp.extra, eas: { ...exp.extra?.eas, projectId } },
|
|
25
27
|
}, { skipSDKVersionRequirement: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import EasCommand from '../../commandUtils/EasCommand';
|
|
2
|
-
export default class
|
|
2
|
+
export default class EnvironmentVariablePull extends EasCommand {
|
|
3
3
|
static description: string;
|
|
4
4
|
static hidden: boolean;
|
|
5
5
|
static contextDefinition: {
|