eas-cli 12.1.0 → 12.2.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 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.1.0/packages/eas-cli/src/commands/account/login.ts)_
146
+ _See code: [packages/eas-cli/src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/account/logout.ts)_
163
+ _See code: [packages/eas-cli/src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/account/view.ts)_
180
+ _See code: [packages/eas-cli/src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/analytics.ts)_
194
+ _See code: [packages/eas-cli/src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/branch/create.ts)_
246
+ _See code: [packages/eas-cli/src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/branch/delete.ts)_
267
+ _See code: [packages/eas-cli/src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/branch/list.ts)_
287
+ _See code: [packages/eas-cli/src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/branch/rename.ts)_
307
+ _See code: [packages/eas-cli/src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/branch/view.ts)_
330
+ _See code: [packages/eas-cli/src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/index.ts)_
367
+ _See code: [packages/eas-cli/src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/cancel.ts)_
386
+ _See code: [packages/eas-cli/src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/configure.ts)_
403
+ _See code: [packages/eas-cli/src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/delete.ts)_
422
+ _See code: [packages/eas-cli/src/commands/build/delete.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/inspect.ts)_
457
+ _See code: [packages/eas-cli/src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/list.ts)_
507
+ _See code: [packages/eas-cli/src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/resign.ts)_
536
+ _See code: [packages/eas-cli/src/commands/build/resign.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/run.ts)_
562
+ _See code: [packages/eas-cli/src/commands/build/run.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/version/get.ts)_
612
+ _See code: [packages/eas-cli/src/commands/build/version/get.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/version/set.ts)_
631
+ _See code: [packages/eas-cli/src/commands/build/version/set.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/version/sync.ts)_
650
+ _See code: [packages/eas-cli/src/commands/build/version/sync.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/build/view.ts)_
667
+ _See code: [packages/eas-cli/src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/channel/create.ts)_
688
+ _See code: [packages/eas-cli/src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/channel/edit.ts)_
710
+ _See code: [packages/eas-cli/src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/channel/list.ts)_
730
+ _See code: [packages/eas-cli/src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/channel/rollout.ts)_
763
+ _See code: [packages/eas-cli/src/commands/channel/rollout.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/channel/view.ts)_
786
+ _See code: [packages/eas-cli/src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/config.ts)_
807
+ _See code: [packages/eas-cli/src/commands/config.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/credentials/index.ts)_
824
+ _See code: [packages/eas-cli/src/commands/credentials/index.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/credentials/configure-build.ts)_
842
+ _See code: [packages/eas-cli/src/commands/credentials/configure-build.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/device/create.ts)_
856
+ _See code: [packages/eas-cli/src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/device/delete.ts)_
876
+ _See code: [packages/eas-cli/src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/device/list.ts)_
897
+ _See code: [packages/eas-cli/src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/device/rename.ts)_
918
+ _See code: [packages/eas-cli/src/commands/device/rename.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/device/view.ts)_
932
+ _See code: [packages/eas-cli/src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v12.2.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.1.0/packages/eas-cli/src/commands/diagnostics.ts)_
946
+ _See code: [packages/eas-cli/src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/diagnostics.ts)_
947
947
 
948
948
  ## `eas help [COMMAND]`
949
949
 
@@ -971,10 +971,11 @@ create or link an EAS project
971
971
 
972
972
  ```
973
973
  USAGE
974
- $ eas init [--force --id <value>] [--non-interactive ]
974
+ $ eas init [--id <value>] [--force] [--non-interactive]
975
975
 
976
976
  FLAGS
977
- --force Whether to overwrite any existing project ID
977
+ --force Whether to create a new project/link an existing project without additional prompts or overwrite
978
+ any existing project ID when running with --id flag
978
979
  --id=<value> ID of the EAS project to link
979
980
  --non-interactive Run the command in non-interactive mode.
980
981
 
@@ -1050,7 +1051,7 @@ DESCRIPTION
1050
1051
  validate the local store configuration
1051
1052
  ```
1052
1053
 
1053
- _See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/metadata/lint.ts)_
1054
+ _See code: [packages/eas-cli/src/commands/metadata/lint.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/metadata/lint.ts)_
1054
1055
 
1055
1056
  ## `eas metadata:pull`
1056
1057
 
@@ -1067,7 +1068,7 @@ DESCRIPTION
1067
1068
  generate the local store configuration from the app stores
1068
1069
  ```
1069
1070
 
1070
- _See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/metadata/pull.ts)_
1071
+ _See code: [packages/eas-cli/src/commands/metadata/pull.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/metadata/pull.ts)_
1071
1072
 
1072
1073
  ## `eas metadata:push`
1073
1074
 
@@ -1084,7 +1085,7 @@ DESCRIPTION
1084
1085
  sync the local store configuration to the app stores
1085
1086
  ```
1086
1087
 
1087
- _See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/metadata/push.ts)_
1088
+ _See code: [packages/eas-cli/src/commands/metadata/push.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/metadata/push.ts)_
1088
1089
 
1089
1090
  ## `eas onboarding [TARGET_PROJECT_DIRECTORY]`
1090
1091
 
@@ -1114,7 +1115,7 @@ DESCRIPTION
1114
1115
  open the project page in a web browser
1115
1116
  ```
1116
1117
 
1117
- _See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/open.ts)_
1118
+ _See code: [packages/eas-cli/src/commands/open.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/open.ts)_
1118
1119
 
1119
1120
  ## `eas project:info`
1120
1121
 
@@ -1128,7 +1129,7 @@ DESCRIPTION
1128
1129
  information about the current project
1129
1130
  ```
1130
1131
 
1131
- _See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/project/info.ts)_
1132
+ _See code: [packages/eas-cli/src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/project/info.ts)_
1132
1133
 
1133
1134
  ## `eas project:init`
1134
1135
 
@@ -1136,10 +1137,11 @@ create or link an EAS project
1136
1137
 
1137
1138
  ```
1138
1139
  USAGE
1139
- $ eas project:init [--force --id <value>] [--non-interactive ]
1140
+ $ eas project:init [--id <value>] [--force] [--non-interactive]
1140
1141
 
1141
1142
  FLAGS
1142
- --force Whether to overwrite any existing project ID
1143
+ --force Whether to create a new project/link an existing project without additional prompts or overwrite
1144
+ any existing project ID when running with --id flag
1143
1145
  --id=<value> ID of the EAS project to link
1144
1146
  --non-interactive Run the command in non-interactive mode.
1145
1147
 
@@ -1150,7 +1152,7 @@ ALIASES
1150
1152
  $ eas init
1151
1153
  ```
1152
1154
 
1153
- _See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/project/init.ts)_
1155
+ _See code: [packages/eas-cli/src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/project/init.ts)_
1154
1156
 
1155
1157
  ## `eas project:onboarding [TARGET_PROJECT_DIRECTORY]`
1156
1158
 
@@ -1168,7 +1170,7 @@ ALIASES
1168
1170
  $ eas onboarding
1169
1171
  ```
1170
1172
 
1171
- _See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/project/onboarding.ts)_
1173
+ _See code: [packages/eas-cli/src/commands/project/onboarding.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/project/onboarding.ts)_
1172
1174
 
1173
1175
  ## `eas secret:create`
1174
1176
 
@@ -1191,7 +1193,7 @@ DESCRIPTION
1191
1193
  create an environment secret on the current project or owner account
1192
1194
  ```
1193
1195
 
1194
- _See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/secret/create.ts)_
1196
+ _See code: [packages/eas-cli/src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/secret/create.ts)_
1195
1197
 
1196
1198
  ## `eas secret:delete`
1197
1199
 
@@ -1209,7 +1211,7 @@ DESCRIPTION
1209
1211
  delete an environment secret by ID
1210
1212
  ```
1211
1213
 
1212
- _See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/secret/delete.ts)_
1214
+ _See code: [packages/eas-cli/src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/secret/delete.ts)_
1213
1215
 
1214
1216
  ## `eas secret:list`
1215
1217
 
@@ -1223,7 +1225,7 @@ DESCRIPTION
1223
1225
  list environment secrets available for your current app
1224
1226
  ```
1225
1227
 
1226
- _See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/secret/list.ts)_
1228
+ _See code: [packages/eas-cli/src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/secret/list.ts)_
1227
1229
 
1228
1230
  ## `eas secret:push`
1229
1231
 
@@ -1243,7 +1245,7 @@ DESCRIPTION
1243
1245
  read environment secrets from env file and store on the server
1244
1246
  ```
1245
1247
 
1246
- _See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/secret/push.ts)_
1248
+ _See code: [packages/eas-cli/src/commands/secret/push.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/secret/push.ts)_
1247
1249
 
1248
1250
  ## `eas submit`
1249
1251
 
@@ -1274,7 +1276,7 @@ ALIASES
1274
1276
  $ eas build:submit
1275
1277
  ```
1276
1278
 
1277
- _See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/submit.ts)_
1279
+ _See code: [packages/eas-cli/src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/submit.ts)_
1278
1280
 
1279
1281
  ## `eas update`
1280
1282
 
@@ -1308,7 +1310,7 @@ DESCRIPTION
1308
1310
  publish an update group
1309
1311
  ```
1310
1312
 
1311
- _See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/update/index.ts)_
1313
+ _See code: [packages/eas-cli/src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/update/index.ts)_
1312
1314
 
1313
1315
  ## `eas update:configure`
1314
1316
 
@@ -1326,7 +1328,7 @@ DESCRIPTION
1326
1328
  configure the project to support EAS Update
1327
1329
  ```
1328
1330
 
1329
- _See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/update/configure.ts)_
1331
+ _See code: [packages/eas-cli/src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/update/configure.ts)_
1330
1332
 
1331
1333
  ## `eas update:delete GROUPID`
1332
1334
 
@@ -1347,7 +1349,7 @@ DESCRIPTION
1347
1349
  delete all the updates in an update group
1348
1350
  ```
1349
1351
 
1350
- _See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/update/delete.ts)_
1352
+ _See code: [packages/eas-cli/src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/update/delete.ts)_
1351
1353
 
1352
1354
  ## `eas update:list`
1353
1355
 
@@ -1369,7 +1371,7 @@ DESCRIPTION
1369
1371
  view the recent updates
1370
1372
  ```
1371
1373
 
1372
- _See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/update/list.ts)_
1374
+ _See code: [packages/eas-cli/src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/update/list.ts)_
1373
1375
 
1374
1376
  ## `eas update:republish`
1375
1377
 
@@ -1397,7 +1399,7 @@ DESCRIPTION
1397
1399
  roll back to an existing update
1398
1400
  ```
1399
1401
 
1400
- _See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/update/republish.ts)_
1402
+ _See code: [packages/eas-cli/src/commands/update/republish.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/update/republish.ts)_
1401
1403
 
1402
1404
  ## `eas update:roll-back-to-embedded`
1403
1405
 
@@ -1425,7 +1427,7 @@ DESCRIPTION
1425
1427
  roll back to the embedded update
1426
1428
  ```
1427
1429
 
1428
- _See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
1430
+ _See code: [packages/eas-cli/src/commands/update/roll-back-to-embedded.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/update/roll-back-to-embedded.ts)_
1429
1431
 
1430
1432
  ## `eas update:rollback`
1431
1433
 
@@ -1445,7 +1447,7 @@ DESCRIPTION
1445
1447
  roll back to an embedded update or an existing update
1446
1448
  ```
1447
1449
 
1448
- _See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/update/rollback.ts)_
1450
+ _See code: [packages/eas-cli/src/commands/update/rollback.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/update/rollback.ts)_
1449
1451
 
1450
1452
  ## `eas update:view GROUPID`
1451
1453
 
@@ -1465,7 +1467,7 @@ DESCRIPTION
1465
1467
  update group details
1466
1468
  ```
1467
1469
 
1468
- _See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/update/view.ts)_
1470
+ _See code: [packages/eas-cli/src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/update/view.ts)_
1469
1471
 
1470
1472
  ## `eas webhook:create`
1471
1473
 
@@ -1486,7 +1488,7 @@ DESCRIPTION
1486
1488
  create a webhook
1487
1489
  ```
1488
1490
 
1489
- _See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/webhook/create.ts)_
1491
+ _See code: [packages/eas-cli/src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/webhook/create.ts)_
1490
1492
 
1491
1493
  ## `eas webhook:delete [ID]`
1492
1494
 
@@ -1506,7 +1508,7 @@ DESCRIPTION
1506
1508
  delete a webhook
1507
1509
  ```
1508
1510
 
1509
- _See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1511
+ _See code: [packages/eas-cli/src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/webhook/delete.ts)_
1510
1512
 
1511
1513
  ## `eas webhook:list`
1512
1514
 
@@ -1524,7 +1526,7 @@ DESCRIPTION
1524
1526
  list webhooks
1525
1527
  ```
1526
1528
 
1527
- _See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/webhook/list.ts)_
1529
+ _See code: [packages/eas-cli/src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/webhook/list.ts)_
1528
1530
 
1529
1531
  ## `eas webhook:update`
1530
1532
 
@@ -1546,7 +1548,7 @@ DESCRIPTION
1546
1548
  update a webhook
1547
1549
  ```
1548
1550
 
1549
- _See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/webhook/update.ts)_
1551
+ _See code: [packages/eas-cli/src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/webhook/update.ts)_
1550
1552
 
1551
1553
  ## `eas webhook:view ID`
1552
1554
 
@@ -1563,7 +1565,7 @@ DESCRIPTION
1563
1565
  view a webhook
1564
1566
  ```
1565
1567
 
1566
- _See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v12.1.0/packages/eas-cli/src/commands/webhook/view.ts)_
1568
+ _See code: [packages/eas-cli/src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v12.2.0/packages/eas-cli/src/commands/webhook/view.ts)_
1567
1569
 
1568
1570
  ## `eas whoami`
1569
1571
 
@@ -3,9 +3,9 @@ export default class ProjectInit extends EasCommand {
3
3
  static description: string;
4
4
  static aliases: string[];
5
5
  static flags: {
6
+ 'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
6
7
  id: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
7
8
  force: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
8
- 'non-interactive': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
9
  };
10
10
  static contextDefinition: {
11
11
  projectDir: import("../../commandUtils/context/ProjectDirContextField").default;
@@ -16,7 +16,7 @@ export default class ProjectInit extends EasCommand {
16
16
  private static ensureOwnerSlugConsistencyAsync;
17
17
  private static setExplicitIDAsync;
18
18
  private static initializeWithExplicitIDAsync;
19
- private static initializeWithInteractiveSelectionAsync;
19
+ private static initializeWithoutExplicitIDAsync;
20
20
  private static getAccountChoices;
21
21
  runAsync(): Promise<void>;
22
22
  }
@@ -9,6 +9,7 @@ const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
9
9
  const url_1 = require("../../build/utils/url");
10
10
  const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
11
11
  const getProjectIdAsync_1 = require("../../commandUtils/context/contextUtils/getProjectIdAsync");
12
+ const flags_1 = require("../../commandUtils/flags");
12
13
  const generated_1 = require("../../graphql/generated");
13
14
  const AppMutation_1 = require("../../graphql/mutations/AppMutation");
14
15
  const AppQuery_1 = require("../../graphql/queries/AppQuery");
@@ -139,7 +140,7 @@ class ProjectInit extends EasCommand_1.default {
139
140
  nonInteractive,
140
141
  });
141
142
  }
142
- static async initializeWithInteractiveSelectionAsync(graphqlClient, actor, projectDir) {
143
+ static async initializeWithoutExplicitIDAsync(graphqlClient, actor, projectDir, { force, nonInteractive }) {
143
144
  const exp = (0, expoConfig_1.getPrivateExpoConfig)(projectDir);
144
145
  const existingProjectId = exp.extra?.eas?.projectId;
145
146
  if (existingProjectId) {
@@ -156,6 +157,15 @@ class ProjectInit extends EasCommand_1.default {
156
157
  if (allAccounts.length === 1) {
157
158
  accountName = allAccounts[0].name;
158
159
  }
160
+ else if (nonInteractive) {
161
+ if (!force) {
162
+ throw new Error(`There are multiple accounts that you have access to: ${allAccounts
163
+ .map(a => a.name)
164
+ .join(', ')}. Explicitly set the owner property in your app config or run this command with the --force flag to proceed with a default account: ${allAccounts[0].name}.`);
165
+ }
166
+ accountName = allAccounts[0].name;
167
+ log_1.default.log(`Using default account ${accountName} for non-interactive and force mode`);
168
+ }
159
169
  else {
160
170
  const choices = _a.getAccountChoices(actor, accountNamesWhereUserHasSufficientPermissionsToCreateApp);
161
171
  accountName = (await (0, prompts_1.promptAsync)({
@@ -173,11 +183,16 @@ class ProjectInit extends EasCommand_1.default {
173
183
  const projectFullName = `@${accountName}/${projectName}`;
174
184
  const existingProjectIdOnServer = await (0, fetchOrCreateProjectIDForWriteToConfigWithConfirmationAsync_1.findProjectIdByAccountNameAndSlugNullableAsync)(graphqlClient, accountName, projectName);
175
185
  if (existingProjectIdOnServer) {
176
- const affirmedLink = await (0, prompts_1.confirmAsync)({
177
- message: `Existing project found: ${projectFullName} (ID: ${existingProjectIdOnServer}). Link this project?`,
178
- });
179
- if (!affirmedLink) {
180
- throw new Error(`Project ID configuration canceled. Re-run the command to select a different account/project.`);
186
+ if (!force) {
187
+ if (nonInteractive) {
188
+ throw new Error(`Existing project found: ${projectFullName} (ID: ${existingProjectIdOnServer}). Use --force flag to continue with this project.`);
189
+ }
190
+ const affirmedLink = await (0, prompts_1.confirmAsync)({
191
+ message: `Existing project found: ${projectFullName} (ID: ${existingProjectIdOnServer}). Link this project?`,
192
+ });
193
+ if (!affirmedLink) {
194
+ throw new Error(`Project ID configuration canceled. Re-run the command to select a different account/project.`);
195
+ }
181
196
  }
182
197
  await _a.saveProjectIdAndLogSuccessAsync(projectDir, existingProjectIdOnServer);
183
198
  return existingProjectIdOnServer;
@@ -185,11 +200,16 @@ class ProjectInit extends EasCommand_1.default {
185
200
  if (!accountNamesWhereUserHasSufficientPermissionsToCreateApp.has(accountName)) {
186
201
  throw new Error(`You don't have permission to create a new project on the ${accountName} account and no matching project already exists on the account.`);
187
202
  }
188
- const affirmedCreate = await (0, prompts_1.confirmAsync)({
189
- message: `Would you like to create a project for ${projectFullName}?`,
190
- });
191
- if (!affirmedCreate) {
192
- throw new Error(`Project ID configuration canceled for ${projectFullName}.`);
203
+ if (!force) {
204
+ if (nonInteractive) {
205
+ throw new Error(`Project does not exist: ${projectFullName}. Use --force flag to create this project.`);
206
+ }
207
+ const affirmedCreate = await (0, prompts_1.confirmAsync)({
208
+ message: `Would you like to create a project for ${projectFullName}?`,
209
+ });
210
+ if (!affirmedCreate) {
211
+ throw new Error(`Project ID configuration canceled for ${projectFullName}.`);
212
+ }
193
213
  }
194
214
  const projectDashboardUrl = (0, url_1.getProjectDashboardUrl)(accountName, projectName);
195
215
  const projectLink = (0, log_1.link)(projectDashboardUrl, { text: projectFullName });
@@ -269,7 +289,10 @@ class ProjectInit extends EasCommand_1.default {
269
289
  idForConsistency = idArgument;
270
290
  }
271
291
  else {
272
- idForConsistency = await _a.initializeWithInteractiveSelectionAsync(graphqlClient, actor, projectDir);
292
+ idForConsistency = await _a.initializeWithoutExplicitIDAsync(graphqlClient, actor, projectDir, {
293
+ force,
294
+ nonInteractive,
295
+ });
273
296
  }
274
297
  await _a.ensureOwnerSlugConsistencyAsync(graphqlClient, idForConsistency, projectDir, {
275
298
  force,
@@ -285,14 +308,9 @@ ProjectInit.flags = {
285
308
  description: 'ID of the EAS project to link',
286
309
  }),
287
310
  force: core_1.Flags.boolean({
288
- description: 'Whether to overwrite any existing project ID',
289
- dependsOn: ['id'],
290
- }),
291
- // this is the same as EASNonInteractiveFlag but with the dependsOn
292
- 'non-interactive': core_1.Flags.boolean({
293
- description: 'Run the command in non-interactive mode.',
294
- dependsOn: ['id'],
311
+ description: 'Whether to create a new project/link an existing project without additional prompts or overwrite any existing project ID when running with --id flag',
295
312
  }),
313
+ ...flags_1.EASNonInteractiveFlag,
296
314
  };
297
315
  ProjectInit.contextDefinition = {
298
316
  ..._a.ContextOptions.LoggedIn,
@@ -109,7 +109,7 @@ async function resolveBareProjectDependenciesAsync({ exp, projectDir, buildConfi
109
109
  buildConfiguration,
110
110
  });
111
111
  const entitlements = await (0, entitlements_1.getNativeTargetEntitlementsAsync)(projectDir, {
112
- targetName: target.name,
112
+ targetName: dependency.name,
113
113
  buildConfiguration,
114
114
  });
115
115
  result.push({
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "12.1.0",
2
+ "version": "12.2.0",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
@@ -2494,20 +2494,14 @@
2494
2494
  "force": {
2495
2495
  "name": "force",
2496
2496
  "type": "boolean",
2497
- "description": "Whether to overwrite any existing project ID",
2498
- "allowNo": false,
2499
- "dependsOn": [
2500
- "id"
2501
- ]
2497
+ "description": "Whether to create a new project/link an existing project without additional prompts or overwrite any existing project ID when running with --id flag",
2498
+ "allowNo": false
2502
2499
  },
2503
2500
  "non-interactive": {
2504
2501
  "name": "non-interactive",
2505
2502
  "type": "boolean",
2506
2503
  "description": "Run the command in non-interactive mode.",
2507
- "allowNo": false,
2508
- "dependsOn": [
2509
- "id"
2510
- ]
2504
+ "allowNo": false
2511
2505
  }
2512
2506
  },
2513
2507
  "args": {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "12.1.0",
4
+ "version": "12.2.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
@@ -226,5 +226,5 @@
226
226
  "node": "20.11.0",
227
227
  "yarn": "1.22.21"
228
228
  },
229
- "gitHead": "e993e9a370e5823d3c413f7edf0cbec7a6395c32"
229
+ "gitHead": "a2219beaba502c258c86a07b5f18d17713cb0165"
230
230
  }