eas-cli 3.16.0 → 3.17.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 +55 -55
- package/build/build/build.js +1 -0
- package/build/build/errors.d.ts +2 -0
- package/build/build/errors.js +4 -1
- package/build/channel/branch-mapping.d.ts +27 -0
- package/build/channel/branch-mapping.js +49 -0
- package/build/channel/utils.d.ts +1 -11
- package/build/channel/utils.js +10 -3
- package/build/commandUtils/context/contextUtils/createGraphqlClient.d.ts +2 -2
- package/build/commandUtils/context/contextUtils/createGraphqlClient.js +0 -1
- package/build/commands/channel/rollout.js +6 -1
- package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.js +2 -2
- package/build/graphql/generated.d.ts +91 -4
- package/build/graphql/generated.js +2 -0
- package/build/graphql/types/Submission.js +1 -0
- package/build/rollout/utils.d.ts +53 -0
- package/build/rollout/utils.js +105 -0
- package/build/submit/android/AndroidSubmitCommand.d.ts +1 -0
- package/build/submit/android/AndroidSubmitCommand.js +7 -1
- package/build/submit/android/AndroidSubmitter.d.ts +1 -1
- package/build/submit/android/AndroidSubmitter.js +5 -2
- package/oclif.manifest.json +1 -1
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ ALIASES
|
|
|
133
133
|
$ eas login
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
136
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
137
137
|
|
|
138
138
|
## `eas account:logout`
|
|
139
139
|
|
|
@@ -150,7 +150,7 @@ ALIASES
|
|
|
150
150
|
$ eas logout
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
153
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
154
154
|
|
|
155
155
|
## `eas account:view`
|
|
156
156
|
|
|
@@ -167,7 +167,7 @@ ALIASES
|
|
|
167
167
|
$ eas whoami
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
170
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
171
171
|
|
|
172
172
|
## `eas analytics [STATUS]`
|
|
173
173
|
|
|
@@ -181,7 +181,7 @@ DESCRIPTION
|
|
|
181
181
|
display or change analytics settings
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
184
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
185
185
|
|
|
186
186
|
## `eas autocomplete [SHELL]`
|
|
187
187
|
|
|
@@ -231,7 +231,7 @@ DESCRIPTION
|
|
|
231
231
|
create a branch
|
|
232
232
|
```
|
|
233
233
|
|
|
234
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
234
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
235
235
|
|
|
236
236
|
## `eas branch:delete [NAME]`
|
|
237
237
|
|
|
@@ -252,7 +252,7 @@ DESCRIPTION
|
|
|
252
252
|
delete a branch
|
|
253
253
|
```
|
|
254
254
|
|
|
255
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
255
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
256
256
|
|
|
257
257
|
## `eas branch:list`
|
|
258
258
|
|
|
@@ -272,7 +272,7 @@ DESCRIPTION
|
|
|
272
272
|
list all branches
|
|
273
273
|
```
|
|
274
274
|
|
|
275
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
275
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
276
276
|
|
|
277
277
|
## `eas branch:rename`
|
|
278
278
|
|
|
@@ -292,7 +292,7 @@ DESCRIPTION
|
|
|
292
292
|
rename a branch
|
|
293
293
|
```
|
|
294
294
|
|
|
295
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
295
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
296
296
|
|
|
297
297
|
## `eas branch:view [NAME]`
|
|
298
298
|
|
|
@@ -315,7 +315,7 @@ DESCRIPTION
|
|
|
315
315
|
view a branch
|
|
316
316
|
```
|
|
317
317
|
|
|
318
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
318
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
319
319
|
|
|
320
320
|
## `eas build`
|
|
321
321
|
|
|
@@ -345,7 +345,7 @@ DESCRIPTION
|
|
|
345
345
|
start a build
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
348
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
349
349
|
|
|
350
350
|
## `eas build:cancel [BUILD_ID]`
|
|
351
351
|
|
|
@@ -362,7 +362,7 @@ DESCRIPTION
|
|
|
362
362
|
cancel a build
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
365
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
366
366
|
|
|
367
367
|
## `eas build:configure`
|
|
368
368
|
|
|
@@ -379,7 +379,7 @@ DESCRIPTION
|
|
|
379
379
|
configure the project to support EAS Build
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
382
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
383
383
|
|
|
384
384
|
## `eas build:inspect`
|
|
385
385
|
|
|
@@ -414,7 +414,7 @@ DESCRIPTION
|
|
|
414
414
|
inspect the state of the project at specific build stages, useful for troubleshooting
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
417
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
418
418
|
|
|
419
419
|
## `eas build:list`
|
|
420
420
|
|
|
@@ -452,7 +452,7 @@ DESCRIPTION
|
|
|
452
452
|
list all builds for your project
|
|
453
453
|
```
|
|
454
454
|
|
|
455
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
455
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
456
456
|
|
|
457
457
|
## `eas build:resign`
|
|
458
458
|
|
|
@@ -478,7 +478,7 @@ DESCRIPTION
|
|
|
478
478
|
re-sign a build archive
|
|
479
479
|
```
|
|
480
480
|
|
|
481
|
-
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
481
|
+
_See code: [src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/resign.ts)_
|
|
482
482
|
|
|
483
483
|
## `eas build:run`
|
|
484
484
|
|
|
@@ -502,7 +502,7 @@ DESCRIPTION
|
|
|
502
502
|
run simulator/emulator builds from eas-cli
|
|
503
503
|
```
|
|
504
504
|
|
|
505
|
-
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
505
|
+
_See code: [src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/run.ts)_
|
|
506
506
|
|
|
507
507
|
## `eas build:submit`
|
|
508
508
|
|
|
@@ -551,7 +551,7 @@ DESCRIPTION
|
|
|
551
551
|
get the latest version from EAS servers
|
|
552
552
|
```
|
|
553
553
|
|
|
554
|
-
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
554
|
+
_See code: [src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/version/get.ts)_
|
|
555
555
|
|
|
556
556
|
## `eas build:version:set`
|
|
557
557
|
|
|
@@ -570,7 +570,7 @@ DESCRIPTION
|
|
|
570
570
|
update version of an app
|
|
571
571
|
```
|
|
572
572
|
|
|
573
|
-
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
573
|
+
_See code: [src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/version/set.ts)_
|
|
574
574
|
|
|
575
575
|
## `eas build:version:sync`
|
|
576
576
|
|
|
@@ -589,7 +589,7 @@ DESCRIPTION
|
|
|
589
589
|
update a version in native code with a value stored on EAS servers
|
|
590
590
|
```
|
|
591
591
|
|
|
592
|
-
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
592
|
+
_See code: [src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/version/sync.ts)_
|
|
593
593
|
|
|
594
594
|
## `eas build:view [BUILD_ID]`
|
|
595
595
|
|
|
@@ -606,7 +606,7 @@ DESCRIPTION
|
|
|
606
606
|
view a build for your project
|
|
607
607
|
```
|
|
608
608
|
|
|
609
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
609
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
610
610
|
|
|
611
611
|
## `eas channel:create [NAME]`
|
|
612
612
|
|
|
@@ -627,7 +627,7 @@ DESCRIPTION
|
|
|
627
627
|
create a channel
|
|
628
628
|
```
|
|
629
629
|
|
|
630
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
630
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
631
631
|
|
|
632
632
|
## `eas channel:edit [NAME]`
|
|
633
633
|
|
|
@@ -649,7 +649,7 @@ DESCRIPTION
|
|
|
649
649
|
point a channel at a new branch
|
|
650
650
|
```
|
|
651
651
|
|
|
652
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
652
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
653
653
|
|
|
654
654
|
## `eas channel:list`
|
|
655
655
|
|
|
@@ -669,7 +669,7 @@ DESCRIPTION
|
|
|
669
669
|
list all channels
|
|
670
670
|
```
|
|
671
671
|
|
|
672
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
672
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
673
673
|
|
|
674
674
|
## `eas channel:rollout [CHANNEL]`
|
|
675
675
|
|
|
@@ -693,7 +693,7 @@ DESCRIPTION
|
|
|
693
693
|
Roll a new branch out on a channel incrementally.
|
|
694
694
|
```
|
|
695
695
|
|
|
696
|
-
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
696
|
+
_See code: [src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/channel/rollout.ts)_
|
|
697
697
|
|
|
698
698
|
## `eas channel:view [NAME]`
|
|
699
699
|
|
|
@@ -716,7 +716,7 @@ DESCRIPTION
|
|
|
716
716
|
view a channel
|
|
717
717
|
```
|
|
718
718
|
|
|
719
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
719
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
720
720
|
|
|
721
721
|
## `eas config`
|
|
722
722
|
|
|
@@ -737,7 +737,7 @@ DESCRIPTION
|
|
|
737
737
|
display project configuration (app.json + eas.json)
|
|
738
738
|
```
|
|
739
739
|
|
|
740
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
740
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/config.ts)_
|
|
741
741
|
|
|
742
742
|
## `eas credentials`
|
|
743
743
|
|
|
@@ -754,7 +754,7 @@ DESCRIPTION
|
|
|
754
754
|
manage credentials
|
|
755
755
|
```
|
|
756
756
|
|
|
757
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
757
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
758
758
|
|
|
759
759
|
## `eas device:create`
|
|
760
760
|
|
|
@@ -768,7 +768,7 @@ DESCRIPTION
|
|
|
768
768
|
register new Apple Devices to use for internal distribution
|
|
769
769
|
```
|
|
770
770
|
|
|
771
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
771
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
772
772
|
|
|
773
773
|
## `eas device:delete`
|
|
774
774
|
|
|
@@ -788,7 +788,7 @@ DESCRIPTION
|
|
|
788
788
|
remove a registered device from your account
|
|
789
789
|
```
|
|
790
790
|
|
|
791
|
-
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
791
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
792
792
|
|
|
793
793
|
## `eas device:list`
|
|
794
794
|
|
|
@@ -809,7 +809,7 @@ DESCRIPTION
|
|
|
809
809
|
list all registered devices for your account
|
|
810
810
|
```
|
|
811
811
|
|
|
812
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
812
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
813
813
|
|
|
814
814
|
## `eas device:rename`
|
|
815
815
|
|
|
@@ -830,7 +830,7 @@ DESCRIPTION
|
|
|
830
830
|
rename a registered device
|
|
831
831
|
```
|
|
832
832
|
|
|
833
|
-
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
833
|
+
_See code: [src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/device/rename.ts)_
|
|
834
834
|
|
|
835
835
|
## `eas device:view [UDID]`
|
|
836
836
|
|
|
@@ -844,7 +844,7 @@ DESCRIPTION
|
|
|
844
844
|
view a device for your project
|
|
845
845
|
```
|
|
846
846
|
|
|
847
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
847
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
848
848
|
|
|
849
849
|
## `eas diagnostics`
|
|
850
850
|
|
|
@@ -858,7 +858,7 @@ DESCRIPTION
|
|
|
858
858
|
display environment info
|
|
859
859
|
```
|
|
860
860
|
|
|
861
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
861
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
862
862
|
|
|
863
863
|
## `eas help [COMMAND]`
|
|
864
864
|
|
|
@@ -946,7 +946,7 @@ DESCRIPTION
|
|
|
946
946
|
validate the local store configuration
|
|
947
947
|
```
|
|
948
948
|
|
|
949
|
-
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
949
|
+
_See code: [src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/metadata/lint.ts)_
|
|
950
950
|
|
|
951
951
|
## `eas metadata:pull`
|
|
952
952
|
|
|
@@ -963,7 +963,7 @@ DESCRIPTION
|
|
|
963
963
|
generate the local store configuration from the app stores
|
|
964
964
|
```
|
|
965
965
|
|
|
966
|
-
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
966
|
+
_See code: [src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/metadata/pull.ts)_
|
|
967
967
|
|
|
968
968
|
## `eas metadata:push`
|
|
969
969
|
|
|
@@ -980,7 +980,7 @@ DESCRIPTION
|
|
|
980
980
|
sync the local store configuration to the app stores
|
|
981
981
|
```
|
|
982
982
|
|
|
983
|
-
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
983
|
+
_See code: [src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/metadata/push.ts)_
|
|
984
984
|
|
|
985
985
|
## `eas open`
|
|
986
986
|
|
|
@@ -994,7 +994,7 @@ DESCRIPTION
|
|
|
994
994
|
open the project page in a web browser
|
|
995
995
|
```
|
|
996
996
|
|
|
997
|
-
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
997
|
+
_See code: [src/commands/open.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/open.ts)_
|
|
998
998
|
|
|
999
999
|
## `eas project:info`
|
|
1000
1000
|
|
|
@@ -1008,7 +1008,7 @@ DESCRIPTION
|
|
|
1008
1008
|
information about the current project
|
|
1009
1009
|
```
|
|
1010
1010
|
|
|
1011
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1011
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
1012
1012
|
|
|
1013
1013
|
## `eas project:init`
|
|
1014
1014
|
|
|
@@ -1030,7 +1030,7 @@ ALIASES
|
|
|
1030
1030
|
$ eas init
|
|
1031
1031
|
```
|
|
1032
1032
|
|
|
1033
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1033
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
1034
1034
|
|
|
1035
1035
|
## `eas secret:create`
|
|
1036
1036
|
|
|
@@ -1053,7 +1053,7 @@ DESCRIPTION
|
|
|
1053
1053
|
create an environment secret on the current project or owner account
|
|
1054
1054
|
```
|
|
1055
1055
|
|
|
1056
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1056
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
1057
1057
|
|
|
1058
1058
|
## `eas secret:delete`
|
|
1059
1059
|
|
|
@@ -1071,7 +1071,7 @@ DESCRIPTION
|
|
|
1071
1071
|
delete an environment secret by ID
|
|
1072
1072
|
```
|
|
1073
1073
|
|
|
1074
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1074
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
1075
1075
|
|
|
1076
1076
|
## `eas secret:list`
|
|
1077
1077
|
|
|
@@ -1085,7 +1085,7 @@ DESCRIPTION
|
|
|
1085
1085
|
list environment secrets available for your current app
|
|
1086
1086
|
```
|
|
1087
1087
|
|
|
1088
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1088
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
1089
1089
|
|
|
1090
1090
|
## `eas secret:push`
|
|
1091
1091
|
|
|
@@ -1105,7 +1105,7 @@ DESCRIPTION
|
|
|
1105
1105
|
read environment secrets from env file and store on the server
|
|
1106
1106
|
```
|
|
1107
1107
|
|
|
1108
|
-
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1108
|
+
_See code: [src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/secret/push.ts)_
|
|
1109
1109
|
|
|
1110
1110
|
## `eas submit`
|
|
1111
1111
|
|
|
@@ -1135,7 +1135,7 @@ ALIASES
|
|
|
1135
1135
|
$ eas build:submit
|
|
1136
1136
|
```
|
|
1137
1137
|
|
|
1138
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1138
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/submit.ts)_
|
|
1139
1139
|
|
|
1140
1140
|
## `eas update`
|
|
1141
1141
|
|
|
@@ -1168,7 +1168,7 @@ DESCRIPTION
|
|
|
1168
1168
|
publish an update group
|
|
1169
1169
|
```
|
|
1170
1170
|
|
|
1171
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1171
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
1172
1172
|
|
|
1173
1173
|
## `eas update:configure`
|
|
1174
1174
|
|
|
@@ -1186,7 +1186,7 @@ DESCRIPTION
|
|
|
1186
1186
|
configure the project to support EAS Update
|
|
1187
1187
|
```
|
|
1188
1188
|
|
|
1189
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1189
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
1190
1190
|
|
|
1191
1191
|
## `eas update:delete GROUPID`
|
|
1192
1192
|
|
|
@@ -1207,7 +1207,7 @@ DESCRIPTION
|
|
|
1207
1207
|
delete all the updates in an update group
|
|
1208
1208
|
```
|
|
1209
1209
|
|
|
1210
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1210
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
1211
1211
|
|
|
1212
1212
|
## `eas update:list`
|
|
1213
1213
|
|
|
@@ -1229,7 +1229,7 @@ DESCRIPTION
|
|
|
1229
1229
|
view the recent updates
|
|
1230
1230
|
```
|
|
1231
1231
|
|
|
1232
|
-
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1232
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
1233
1233
|
|
|
1234
1234
|
## `eas update:republish`
|
|
1235
1235
|
|
|
@@ -1253,7 +1253,7 @@ DESCRIPTION
|
|
|
1253
1253
|
roll back to an existing update
|
|
1254
1254
|
```
|
|
1255
1255
|
|
|
1256
|
-
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1256
|
+
_See code: [src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/update/republish.ts)_
|
|
1257
1257
|
|
|
1258
1258
|
## `eas update:view GROUPID`
|
|
1259
1259
|
|
|
@@ -1273,7 +1273,7 @@ DESCRIPTION
|
|
|
1273
1273
|
update group details
|
|
1274
1274
|
```
|
|
1275
1275
|
|
|
1276
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1276
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
1277
1277
|
|
|
1278
1278
|
## `eas webhook:create`
|
|
1279
1279
|
|
|
@@ -1294,7 +1294,7 @@ DESCRIPTION
|
|
|
1294
1294
|
create a webhook
|
|
1295
1295
|
```
|
|
1296
1296
|
|
|
1297
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1297
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
1298
1298
|
|
|
1299
1299
|
## `eas webhook:delete [ID]`
|
|
1300
1300
|
|
|
@@ -1314,7 +1314,7 @@ DESCRIPTION
|
|
|
1314
1314
|
delete a webhook
|
|
1315
1315
|
```
|
|
1316
1316
|
|
|
1317
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1317
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
1318
1318
|
|
|
1319
1319
|
## `eas webhook:list`
|
|
1320
1320
|
|
|
@@ -1332,7 +1332,7 @@ DESCRIPTION
|
|
|
1332
1332
|
list webhooks
|
|
1333
1333
|
```
|
|
1334
1334
|
|
|
1335
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1335
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
1336
1336
|
|
|
1337
1337
|
## `eas webhook:update`
|
|
1338
1338
|
|
|
@@ -1354,7 +1354,7 @@ DESCRIPTION
|
|
|
1354
1354
|
update a webhook
|
|
1355
1355
|
```
|
|
1356
1356
|
|
|
1357
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1357
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
1358
1358
|
|
|
1359
1359
|
## `eas webhook:view ID`
|
|
1360
1360
|
|
|
@@ -1371,7 +1371,7 @@ DESCRIPTION
|
|
|
1371
1371
|
view a webhook
|
|
1372
1372
|
```
|
|
1373
1373
|
|
|
1374
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.
|
|
1374
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v3.17.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
1375
1375
|
|
|
1376
1376
|
## `eas whoami`
|
|
1377
1377
|
|
package/build/build/build.js
CHANGED
|
@@ -117,6 +117,7 @@ const SERVER_SIDE_DEFINED_ERRORS = {
|
|
|
117
117
|
EAS_BUILD_FREE_TIER_LIMIT_EXCEEDED: errors_1.EasBuildFreeTierLimitExceededError,
|
|
118
118
|
EAS_BUILD_FREE_TIER_IOS_LIMIT_EXCEEDED: errors_1.EasBuildFreeTierIosLimitExceededError,
|
|
119
119
|
EAS_BUILD_RESOURCE_CLASS_NOT_AVAILABLE_IN_FREE_TIER: errors_1.EasBuildResourceClassNotAvailableInFreeTierError,
|
|
120
|
+
EAS_BUILD_LEGACY_RESOURCE_CLASS_NOT_AVAILABLE: errors_1.EasBuildLegacyResourceClassNotAvailableError,
|
|
120
121
|
VALIDATION_ERROR: errors_1.RequestValidationError,
|
|
121
122
|
};
|
|
122
123
|
function handleBuildRequestError(error, platform) {
|
package/build/build/errors.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export declare class EasBuildFreeTierIosLimitExceededError extends EasCommandErr
|
|
|
13
13
|
}
|
|
14
14
|
export declare class EasBuildResourceClassNotAvailableInFreeTierError extends EasCommandError {
|
|
15
15
|
}
|
|
16
|
+
export declare class EasBuildLegacyResourceClassNotAvailableError extends EasCommandError {
|
|
17
|
+
}
|
|
16
18
|
export declare class RequestValidationError extends EasCommandError {
|
|
17
19
|
}
|
|
18
20
|
export declare class EasBuildDownForMaintenanceError extends EasCommandError {
|
package/build/build/errors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EasBuildProjectArchiveUploadError = exports.EasBuildTooManyPendingBuildsError = exports.EasBuildDownForMaintenanceError = exports.RequestValidationError = exports.EasBuildResourceClassNotAvailableInFreeTierError = exports.EasBuildFreeTierIosLimitExceededError = exports.EasBuildFreeTierLimitExceededError = exports.EasBuildFreeTierDisabledAndroidError = exports.EasBuildFreeTierDisabledIOSError = exports.EasBuildFreeTierDisabledError = exports.TurtleDeprecatedJobFormatError = void 0;
|
|
3
|
+
exports.EasBuildProjectArchiveUploadError = exports.EasBuildTooManyPendingBuildsError = exports.EasBuildDownForMaintenanceError = exports.RequestValidationError = exports.EasBuildLegacyResourceClassNotAvailableError = exports.EasBuildResourceClassNotAvailableInFreeTierError = exports.EasBuildFreeTierIosLimitExceededError = exports.EasBuildFreeTierLimitExceededError = exports.EasBuildFreeTierDisabledAndroidError = exports.EasBuildFreeTierDisabledIOSError = exports.EasBuildFreeTierDisabledError = exports.TurtleDeprecatedJobFormatError = void 0;
|
|
4
4
|
const errors_1 = require("../commandUtils/errors");
|
|
5
5
|
class TurtleDeprecatedJobFormatError extends errors_1.EasCommandError {
|
|
6
6
|
}
|
|
@@ -23,6 +23,9 @@ exports.EasBuildFreeTierIosLimitExceededError = EasBuildFreeTierIosLimitExceeded
|
|
|
23
23
|
class EasBuildResourceClassNotAvailableInFreeTierError extends errors_1.EasCommandError {
|
|
24
24
|
}
|
|
25
25
|
exports.EasBuildResourceClassNotAvailableInFreeTierError = EasBuildResourceClassNotAvailableInFreeTierError;
|
|
26
|
+
class EasBuildLegacyResourceClassNotAvailableError extends errors_1.EasCommandError {
|
|
27
|
+
}
|
|
28
|
+
exports.EasBuildLegacyResourceClassNotAvailableError = EasBuildLegacyResourceClassNotAvailableError;
|
|
26
29
|
class RequestValidationError extends errors_1.EasCommandError {
|
|
27
30
|
}
|
|
28
31
|
exports.RequestValidationError = RequestValidationError;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type BranchMappingOperator = '==' | '!=' | '<' | '>' | '<=' | '>=' | 'in' | 'regex' | 'hash_lt' | 'hash_lte' | 'hash_gt' | 'hash_gte';
|
|
2
|
+
export type BranchMappingObject = {
|
|
3
|
+
clientKey: string;
|
|
4
|
+
branchMappingOperator: BranchMappingOperator;
|
|
5
|
+
operand: number | string | string[];
|
|
6
|
+
};
|
|
7
|
+
export type BranchMappingAlwaysTrue = 'true';
|
|
8
|
+
export type BranchMappingStatement = ['and' | 'or', ...BranchMappingNode[]] | ['not', BranchMappingNode];
|
|
9
|
+
export type BranchMappingNode = BranchMappingAlwaysTrue | BranchMappingObject | BranchMappingStatement;
|
|
10
|
+
export type BranchMapping = {
|
|
11
|
+
version: number;
|
|
12
|
+
data: {
|
|
13
|
+
branchId: string;
|
|
14
|
+
branchMappingLogic: BranchMappingNode;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
export declare function getNodesFromStatement(statement: BranchMappingStatement): BranchMappingNode[];
|
|
18
|
+
export declare function isAndStatement(statement: BranchMappingStatement): statement is BranchMappingStatement;
|
|
19
|
+
export declare function isStatement(node: BranchMappingNode): node is BranchMappingStatement;
|
|
20
|
+
export declare function isNodeObject(node: BranchMappingNode): node is BranchMappingObject;
|
|
21
|
+
export declare function andStatement(nodes: BranchMappingNode[]): ['and', ...BranchMappingNode[]];
|
|
22
|
+
export declare function isAlwaysTrue(node: BranchMappingNode): boolean;
|
|
23
|
+
export declare function alwaysTrue(): BranchMappingAlwaysTrue;
|
|
24
|
+
export declare function equalsOperator(): BranchMappingOperator;
|
|
25
|
+
export declare function hashLtOperator(): BranchMappingOperator;
|
|
26
|
+
export declare function assertNodeObject(node: BranchMappingNode): asserts node is BranchMappingObject;
|
|
27
|
+
export declare function assertNumber(operand: string | number | string[]): asserts operand is number;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.assertNumber = exports.assertNodeObject = exports.hashLtOperator = exports.equalsOperator = exports.alwaysTrue = exports.isAlwaysTrue = exports.andStatement = exports.isNodeObject = exports.isStatement = exports.isAndStatement = exports.getNodesFromStatement = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
|
+
function getNodesFromStatement(statement) {
|
|
7
|
+
return statement.slice(1);
|
|
8
|
+
}
|
|
9
|
+
exports.getNodesFromStatement = getNodesFromStatement;
|
|
10
|
+
function isAndStatement(statement) {
|
|
11
|
+
return statement[0] === 'and';
|
|
12
|
+
}
|
|
13
|
+
exports.isAndStatement = isAndStatement;
|
|
14
|
+
function isStatement(node) {
|
|
15
|
+
return Array.isArray(node);
|
|
16
|
+
}
|
|
17
|
+
exports.isStatement = isStatement;
|
|
18
|
+
function isNodeObject(node) {
|
|
19
|
+
return typeof node === 'object' && !isStatement(node);
|
|
20
|
+
}
|
|
21
|
+
exports.isNodeObject = isNodeObject;
|
|
22
|
+
function andStatement(nodes) {
|
|
23
|
+
return ['and', ...nodes];
|
|
24
|
+
}
|
|
25
|
+
exports.andStatement = andStatement;
|
|
26
|
+
function isAlwaysTrue(node) {
|
|
27
|
+
return node === 'true';
|
|
28
|
+
}
|
|
29
|
+
exports.isAlwaysTrue = isAlwaysTrue;
|
|
30
|
+
function alwaysTrue() {
|
|
31
|
+
return 'true';
|
|
32
|
+
}
|
|
33
|
+
exports.alwaysTrue = alwaysTrue;
|
|
34
|
+
function equalsOperator() {
|
|
35
|
+
return '==';
|
|
36
|
+
}
|
|
37
|
+
exports.equalsOperator = equalsOperator;
|
|
38
|
+
function hashLtOperator() {
|
|
39
|
+
return 'hash_lt';
|
|
40
|
+
}
|
|
41
|
+
exports.hashLtOperator = hashLtOperator;
|
|
42
|
+
function assertNodeObject(node) {
|
|
43
|
+
(0, assert_1.default)(isNodeObject(node), 'Branch mapping node must be an object. Received: ' + JSON.stringify(node));
|
|
44
|
+
}
|
|
45
|
+
exports.assertNodeObject = assertNodeObject;
|
|
46
|
+
function assertNumber(operand) {
|
|
47
|
+
(0, assert_1.default)(typeof operand === 'number', 'Expected a number. Received: ' + JSON.stringify(operand));
|
|
48
|
+
}
|
|
49
|
+
exports.assertNumber = assertNumber;
|
package/build/channel/utils.d.ts
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
import { UpdateChannelObject } from '../graphql/queries/ChannelQuery';
|
|
2
|
-
|
|
3
|
-
version: number;
|
|
4
|
-
data: {
|
|
5
|
-
branchId: string;
|
|
6
|
-
branchMappingLogic: {
|
|
7
|
-
operand: number;
|
|
8
|
-
clientKey: string;
|
|
9
|
-
branchMappingOperator: string;
|
|
10
|
-
} & string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
2
|
+
import { BranchMapping } from './branch-mapping';
|
|
13
3
|
/**
|
|
14
4
|
* Get the branch mapping and determine whether it is a rollout.
|
|
15
5
|
* Ensure that the branch mapping is properly formatted.
|
package/build/channel/utils.js
CHANGED
|
@@ -6,6 +6,7 @@ const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
|
6
6
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
7
|
const log_1 = tslib_1.__importDefault(require("../log"));
|
|
8
8
|
const utils_1 = require("../update/utils");
|
|
9
|
+
const branch_mapping_1 = require("./branch-mapping");
|
|
9
10
|
/**
|
|
10
11
|
* Get the branch mapping and determine whether it is a rollout.
|
|
11
12
|
* Ensure that the branch mapping is properly formatted.
|
|
@@ -27,7 +28,12 @@ function getBranchMapping(branchMappingString) {
|
|
|
27
28
|
throw new Error('Branch mapping must be version 0.');
|
|
28
29
|
}
|
|
29
30
|
const isRollout = branchMapping.data.length === 2;
|
|
30
|
-
const
|
|
31
|
+
const branchMappingNode = (_a = branchMapping.data[0]) === null || _a === void 0 ? void 0 : _a.branchMappingLogic;
|
|
32
|
+
let rolloutPercent;
|
|
33
|
+
if ((0, branch_mapping_1.isNodeObject)(branchMappingNode)) {
|
|
34
|
+
(0, branch_mapping_1.assertNumber)(branchMappingNode.operand);
|
|
35
|
+
rolloutPercent = branchMappingNode.operand;
|
|
36
|
+
}
|
|
31
37
|
switch (branchMapping.data.length) {
|
|
32
38
|
case 0:
|
|
33
39
|
break;
|
|
@@ -37,10 +43,11 @@ function getBranchMapping(branchMappingString) {
|
|
|
37
43
|
}
|
|
38
44
|
break;
|
|
39
45
|
case 2:
|
|
40
|
-
|
|
46
|
+
(0, branch_mapping_1.assertNodeObject)(branchMappingNode);
|
|
47
|
+
if (branchMappingNode.clientKey !== 'rolloutToken') {
|
|
41
48
|
throw new Error('Client key of initial branch mapping must be "rolloutToken"');
|
|
42
49
|
}
|
|
43
|
-
if (
|
|
50
|
+
if (branchMappingNode.branchMappingOperator !== 'hash_lt') {
|
|
44
51
|
throw new Error('Branch mapping operator of initial branch mapping must be "hash_lt"');
|
|
45
52
|
}
|
|
46
53
|
if (rolloutPercent == null) {
|