eas-cli 0.38.3 → 0.41.1

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.
Files changed (78) hide show
  1. package/README.md +277 -29
  2. package/build/api.d.ts +1 -0
  3. package/build/api.js +13 -1
  4. package/build/build/build.js +3 -3
  5. package/build/build/context.d.ts +2 -1
  6. package/build/build/createContext.d.ts +3 -2
  7. package/build/build/createContext.js +3 -3
  8. package/build/build/local.d.ts +9 -1
  9. package/build/build/local.js +35 -5
  10. package/build/build/metadata.js +14 -0
  11. package/build/build/runBuildAndSubmit.d.ts +15 -0
  12. package/build/build/runBuildAndSubmit.js +173 -0
  13. package/build/commands/branch/create.d.ts +0 -1
  14. package/build/commands/branch/create.js +0 -1
  15. package/build/commands/branch/delete.d.ts +0 -1
  16. package/build/commands/branch/delete.js +1 -2
  17. package/build/commands/branch/list.d.ts +0 -1
  18. package/build/commands/branch/list.js +1 -2
  19. package/build/commands/branch/publish.d.ts +1 -18
  20. package/build/commands/branch/publish.js +2 -354
  21. package/build/commands/branch/rename.d.ts +0 -1
  22. package/build/commands/branch/rename.js +0 -1
  23. package/build/commands/branch/view.d.ts +0 -1
  24. package/build/commands/branch/view.js +0 -1
  25. package/build/commands/build/configure.js +1 -1
  26. package/build/commands/build/index.d.ts +0 -5
  27. package/build/commands/build/index.js +8 -159
  28. package/build/commands/build/inspect.d.ts +22 -0
  29. package/build/commands/build/inspect.js +129 -0
  30. package/build/commands/channel/create.d.ts +0 -1
  31. package/build/commands/channel/create.js +0 -1
  32. package/build/commands/channel/edit.d.ts +0 -1
  33. package/build/commands/channel/edit.js +1 -2
  34. package/build/commands/channel/list.d.ts +0 -1
  35. package/build/commands/channel/list.js +0 -1
  36. package/build/commands/channel/view.d.ts +0 -1
  37. package/build/commands/channel/view.js +3 -4
  38. package/build/commands/credentials.js +1 -7
  39. package/build/commands/diagnostics.d.ts +1 -0
  40. package/build/commands/diagnostics.js +20 -1
  41. package/build/commands/submit.js +1 -1
  42. package/build/commands/update/configure.d.ts +0 -2
  43. package/build/commands/update/configure.js +23 -15
  44. package/build/commands/update/delete.d.ts +0 -1
  45. package/build/commands/update/delete.js +0 -1
  46. package/build/commands/update/index.d.ts +19 -0
  47. package/build/commands/update/index.js +384 -0
  48. package/build/commands/update/view.d.ts +0 -1
  49. package/build/commands/update/view.js +0 -1
  50. package/build/credentials/context.d.ts +5 -0
  51. package/build/credentials/context.js +12 -7
  52. package/build/credentials/ios/actions/AscApiKeyUtils.js +1 -1
  53. package/build/credentials/ios/appstore/ensureAppExists.js +3 -3
  54. package/build/credentials/manager/ManageAndroid.d.ts +3 -3
  55. package/build/credentials/manager/ManageAndroid.js +21 -13
  56. package/build/credentials/manager/ManageIos.d.ts +3 -3
  57. package/build/credentials/manager/ManageIos.js +23 -13
  58. package/build/credentials/manager/SelectBuildProfileFromEasJson.d.ts +2 -3
  59. package/build/credentials/manager/SelectBuildProfileFromEasJson.js +3 -6
  60. package/build/credentials/manager/SelectPlatform.d.ts +1 -2
  61. package/build/credentials/manager/SelectPlatform.js +3 -3
  62. package/build/graphql/generated.d.ts +31 -11
  63. package/build/graphql/generated.js +6 -1
  64. package/build/graphql/types/Submission.js +1 -0
  65. package/build/project/expoSdk.d.ts +3 -0
  66. package/build/project/expoSdk.js +30 -0
  67. package/build/project/ios/target.js +32 -7
  68. package/build/prompts.d.ts +3 -3
  69. package/build/submit/context.js +0 -1
  70. package/build/submit/ios/AppProduce.js +3 -3
  71. package/build/submit/ios/IosSubmitCommand.js +7 -2
  72. package/build/submit/utils/urls.js +1 -1
  73. package/build/submit/utils/wait.js +1 -1
  74. package/build/update/utils.js +5 -5
  75. package/build/utils/profiles.d.ts +1 -1
  76. package/build/utils/profiles.js +80 -30
  77. package/oclif.manifest.json +1 -1
  78. package/package.json +7 -7
package/README.md CHANGED
@@ -37,11 +37,21 @@ eas --help COMMAND
37
37
  * [`eas account:logout`](#eas-accountlogout)
38
38
  * [`eas account:view`](#eas-accountview)
39
39
  * [`eas analytics [STATUS]`](#eas-analytics-status)
40
+ * [`eas branch:create [NAME]`](#eas-branchcreate-name)
41
+ * [`eas branch:delete [NAME]`](#eas-branchdelete-name)
42
+ * [`eas branch:list`](#eas-branchlist)
43
+ * [`eas branch:rename`](#eas-branchrename)
44
+ * [`eas branch:view [NAME]`](#eas-branchview-name)
40
45
  * [`eas build`](#eas-build)
41
46
  * [`eas build:cancel [BUILD_ID]`](#eas-buildcancel-build_id)
42
47
  * [`eas build:configure`](#eas-buildconfigure)
48
+ * [`eas build:inspect`](#eas-buildinspect)
43
49
  * [`eas build:list`](#eas-buildlist)
44
50
  * [`eas build:view [BUILD_ID]`](#eas-buildview-build_id)
51
+ * [`eas channel:create [NAME]`](#eas-channelcreate-name)
52
+ * [`eas channel:edit [NAME]`](#eas-channeledit-name)
53
+ * [`eas channel:list`](#eas-channellist)
54
+ * [`eas channel:view [NAME]`](#eas-channelview-name)
45
55
  * [`eas config`](#eas-config)
46
56
  * [`eas credentials`](#eas-credentials)
47
57
  * [`eas device:create`](#eas-devicecreate)
@@ -55,7 +65,10 @@ eas --help COMMAND
55
65
  * [`eas secret:delete`](#eas-secretdelete)
56
66
  * [`eas secret:list`](#eas-secretlist)
57
67
  * [`eas submit`](#eas-submit)
68
+ * [`eas update`](#eas-update)
58
69
  * [`eas update:configure`](#eas-updateconfigure)
70
+ * [`eas update:delete GROUPID`](#eas-updatedelete-groupid)
71
+ * [`eas update:view GROUPID`](#eas-updateview-groupid)
59
72
  * [`eas webhook:create`](#eas-webhookcreate)
60
73
  * [`eas webhook:delete [ID]`](#eas-webhookdelete-id)
61
74
  * [`eas webhook:list`](#eas-webhooklist)
@@ -74,7 +87,7 @@ ALIASES
74
87
  $ eas login
75
88
  ```
76
89
 
77
- _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/account/login.ts)_
90
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/account/login.ts)_
78
91
 
79
92
  ## `eas account:logout`
80
93
 
@@ -88,7 +101,7 @@ ALIASES
88
101
  $ eas logout
89
102
  ```
90
103
 
91
- _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/account/logout.ts)_
104
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/account/logout.ts)_
92
105
 
93
106
  ## `eas account:view`
94
107
 
@@ -102,7 +115,7 @@ ALIASES
102
115
  $ eas whoami
103
116
  ```
104
117
 
105
- _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/account/view.ts)_
118
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/account/view.ts)_
106
119
 
107
120
  ## `eas analytics [STATUS]`
108
121
 
@@ -113,11 +126,92 @@ USAGE
113
126
  $ eas analytics [STATUS]
114
127
  ```
115
128
 
116
- _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/analytics.ts)_
129
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/analytics.ts)_
130
+
131
+ ## `eas branch:create [NAME]`
132
+
133
+ Create a branch on the current project.
134
+
135
+ ```
136
+ USAGE
137
+ $ eas branch:create [NAME]
138
+
139
+ ARGUMENTS
140
+ NAME Name of the branch to create
141
+
142
+ OPTIONS
143
+ --json return a json with the new branch ID and name.
144
+ ```
145
+
146
+ _See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/branch/create.ts)_
147
+
148
+ ## `eas branch:delete [NAME]`
149
+
150
+ Delete a branch on the current project
151
+
152
+ ```
153
+ USAGE
154
+ $ eas branch:delete [NAME]
155
+
156
+ ARGUMENTS
157
+ NAME Name of the branch to delete
158
+
159
+ OPTIONS
160
+ --json return JSON with the edited branch's ID and name.
161
+ ```
162
+
163
+ _See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/branch/delete.ts)_
164
+
165
+ ## `eas branch:list`
166
+
167
+ List all branches on this project.
168
+
169
+ ```
170
+ USAGE
171
+ $ eas branch:list
172
+
173
+ OPTIONS
174
+ --json return output as JSON
175
+ ```
176
+
177
+ _See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/branch/list.ts)_
178
+
179
+ ## `eas branch:rename`
180
+
181
+ Rename a branch.
182
+
183
+ ```
184
+ USAGE
185
+ $ eas branch:rename
186
+
187
+ OPTIONS
188
+ --from=from current name of the branch.
189
+ --json return a json with the edited branch's ID and name.
190
+ --to=to new name of the branch.
191
+ ```
192
+
193
+ _See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/branch/rename.ts)_
194
+
195
+ ## `eas branch:view [NAME]`
196
+
197
+ View a branch.
198
+
199
+ ```
200
+ USAGE
201
+ $ eas branch:view [NAME]
202
+
203
+ ARGUMENTS
204
+ NAME Name of the branch to view
205
+
206
+ OPTIONS
207
+ --json return a json with the branch's ID name and recent update groups.
208
+ ```
209
+
210
+ _See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/branch/view.ts)_
117
211
 
118
212
  ## `eas build`
119
213
 
120
- start a build
214
+ Start a build
121
215
 
122
216
  ```
123
217
  USAGE
@@ -147,7 +241,7 @@ OPTIONS
147
241
  --[no-]wait Wait for build(s) to complete
148
242
  ```
149
243
 
150
- _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/build/index.ts)_
244
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/build/index.ts)_
151
245
 
152
246
  ## `eas build:cancel [BUILD_ID]`
153
247
 
@@ -158,7 +252,7 @@ USAGE
158
252
  $ eas build:cancel [BUILD_ID]
159
253
  ```
160
254
 
161
- _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/build/cancel.ts)_
255
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/build/cancel.ts)_
162
256
 
163
257
  ## `eas build:configure`
164
258
 
@@ -172,7 +266,39 @@ OPTIONS
172
266
  -p, --platform=(android|ios|all) Platform to configure
173
267
  ```
174
268
 
175
- _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/build/configure.ts)_
269
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/build/configure.ts)_
270
+
271
+ ## `eas build:inspect`
272
+
273
+ Inspect the state of the project at specific build stages. Useful for troubleshooting.
274
+
275
+ ```
276
+ USAGE
277
+ $ eas build:inspect
278
+
279
+ OPTIONS
280
+ -p, --platform=(android|ios)
281
+ (required)
282
+
283
+ -s, --stage=(archive|pre-build|post-build)
284
+ (required) Stage of the build you want to inspect.
285
+ archive - builds the project archive that would be uploaded to EAS when building
286
+ pre-build - prepares the project to be built with Gradle/Xcode. Does not run the native build.
287
+ post-build - builds the native project and leaves the output directory for inspection
288
+
289
+ --force
290
+ Delete OUTPUT_DIRECTORY if it already exists.
291
+
292
+ --output=OUTPUT_DIRECTORY
293
+ (required) Output directory.
294
+
295
+ --profile=PROFILE_NAME
296
+ Name of the build profile from eas.json. Defaults to "production" if defined in eas.json.
297
+
298
+ --verbose
299
+ ```
300
+
301
+ _See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/build/inspect.ts)_
176
302
 
177
303
  ## `eas build:list`
178
304
 
@@ -205,7 +331,7 @@ OPTIONS
205
331
  --status=(new|in-queue|in-progress|errored|finished|canceled)
206
332
  ```
207
333
 
208
- _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/build/list.ts)_
334
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/build/list.ts)_
209
335
 
210
336
  ## `eas build:view [BUILD_ID]`
211
337
 
@@ -219,7 +345,73 @@ OPTIONS
219
345
  --json Enable JSON output, non-JSON messages will be printed to stderr
220
346
  ```
221
347
 
222
- _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/build/view.ts)_
348
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/build/view.ts)_
349
+
350
+ ## `eas channel:create [NAME]`
351
+
352
+ Create a channel on the current project.
353
+
354
+ ```
355
+ USAGE
356
+ $ eas channel:create [NAME]
357
+
358
+ ARGUMENTS
359
+ NAME Name of the channel to create
360
+
361
+ OPTIONS
362
+ --json print output as a JSON object with the new channel ID, name and branch mapping.
363
+ ```
364
+
365
+ _See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/channel/create.ts)_
366
+
367
+ ## `eas channel:edit [NAME]`
368
+
369
+ Point a channel at a new branch.
370
+
371
+ ```
372
+ USAGE
373
+ $ eas channel:edit [NAME]
374
+
375
+ ARGUMENTS
376
+ NAME Name of the channel to edit
377
+
378
+ OPTIONS
379
+ --branch=branch Name of the branch to point to
380
+ --json print output as a JSON object with the channel ID, name and branch mapping.
381
+ ```
382
+
383
+ _See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/channel/edit.ts)_
384
+
385
+ ## `eas channel:list`
386
+
387
+ List all channels on the current project.
388
+
389
+ ```
390
+ USAGE
391
+ $ eas channel:list
392
+
393
+ OPTIONS
394
+ --json print output as a JSON object with the channel ID, name and branch mapping.
395
+ ```
396
+
397
+ _See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/channel/list.ts)_
398
+
399
+ ## `eas channel:view [NAME]`
400
+
401
+ View a channel on the current project.
402
+
403
+ ```
404
+ USAGE
405
+ $ eas channel:view [NAME]
406
+
407
+ ARGUMENTS
408
+ NAME Name of the channel to view
409
+
410
+ OPTIONS
411
+ --json print output as a JSON object with the channel ID, name and branch mapping.
412
+ ```
413
+
414
+ _See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/channel/view.ts)_
223
415
 
224
416
  ## `eas config`
225
417
 
@@ -234,7 +426,7 @@ OPTIONS
234
426
  --profile=profile
235
427
  ```
236
428
 
237
- _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/config.ts)_
429
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/config.ts)_
238
430
 
239
431
  ## `eas credentials`
240
432
 
@@ -245,7 +437,7 @@ USAGE
245
437
  $ eas credentials
246
438
  ```
247
439
 
248
- _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/credentials.ts)_
440
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/credentials.ts)_
249
441
 
250
442
  ## `eas device:create`
251
443
 
@@ -256,7 +448,7 @@ USAGE
256
448
  $ eas device:create
257
449
  ```
258
450
 
259
- _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/device/create.ts)_
451
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/device/create.ts)_
260
452
 
261
453
  ## `eas device:list`
262
454
 
@@ -270,7 +462,7 @@ OPTIONS
270
462
  --apple-team-id=apple-team-id
271
463
  ```
272
464
 
273
- _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/device/list.ts)_
465
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/device/list.ts)_
274
466
 
275
467
  ## `eas device:view [UDID]`
276
468
 
@@ -281,7 +473,7 @@ USAGE
281
473
  $ eas device:view [UDID]
282
474
  ```
283
475
 
284
- _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/device/view.ts)_
476
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/device/view.ts)_
285
477
 
286
478
  ## `eas diagnostics`
287
479
 
@@ -292,7 +484,7 @@ USAGE
292
484
  $ eas diagnostics
293
485
  ```
294
486
 
295
- _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/diagnostics.ts)_
487
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/diagnostics.ts)_
296
488
 
297
489
  ## `eas help [COMMAND]`
298
490
 
@@ -320,7 +512,7 @@ USAGE
320
512
  $ eas project:info
321
513
  ```
322
514
 
323
- _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/project/info.ts)_
515
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/project/info.ts)_
324
516
 
325
517
  ## `eas project:init`
326
518
 
@@ -334,7 +526,7 @@ ALIASES
334
526
  $ eas init
335
527
  ```
336
528
 
337
- _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/project/init.ts)_
529
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/project/init.ts)_
338
530
 
339
531
  ## `eas secret:create`
340
532
 
@@ -351,7 +543,7 @@ OPTIONS
351
543
  --value=value Value of the secret
352
544
  ```
353
545
 
354
- _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/secret/create.ts)_
546
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/secret/create.ts)_
355
547
 
356
548
  ## `eas secret:delete`
357
549
 
@@ -368,7 +560,7 @@ DESCRIPTION
368
560
  Unsure where to find the secret's ID? Run eas secret:list
369
561
  ```
370
562
 
371
- _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/secret/delete.ts)_
563
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/secret/delete.ts)_
372
564
 
373
565
  ## `eas secret:list`
374
566
 
@@ -379,11 +571,11 @@ USAGE
379
571
  $ eas secret:list
380
572
  ```
381
573
 
382
- _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/secret/list.ts)_
574
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/secret/list.ts)_
383
575
 
384
576
  ## `eas submit`
385
577
 
386
- submit build archive to app store
578
+ Submit build archive to App Store Connect
387
579
 
388
580
  ```
389
581
  USAGE
@@ -412,7 +604,29 @@ ALIASES
412
604
  $ eas build:submit
413
605
  ```
414
606
 
415
- _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/submit.ts)_
607
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/submit.ts)_
608
+
609
+ ## `eas update`
610
+
611
+ Publish an update group.
612
+
613
+ ```
614
+ USAGE
615
+ $ eas update
616
+
617
+ OPTIONS
618
+ -p, --platform=(android|ios|all) [default: all]
619
+ --auto Use the current git branch and commit message for the EAS branch and update message
620
+ --branch=branch Branch to publish the update group on
621
+ --group=group Update group to republish
622
+ --input-dir=input-dir [default: dist] Location of the bundle
623
+ --json Enable JSON output, non-JSON messages will be printed to stderr
624
+ --message=message A short message describing the update
625
+ --republish Republish an update group
626
+ --skip-bundler Skip running Expo CLI to bundle the app before publishing
627
+ ```
628
+
629
+ _See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/update/index.ts)_
416
630
 
417
631
  ## `eas update:configure`
418
632
 
@@ -423,7 +637,41 @@ USAGE
423
637
  $ eas update:configure
424
638
  ```
425
639
 
426
- _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/update/configure.ts)_
640
+ _See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/update/configure.ts)_
641
+
642
+ ## `eas update:delete GROUPID`
643
+
644
+ Delete all the updates in an update Group.
645
+
646
+ ```
647
+ USAGE
648
+ $ eas update:delete GROUPID
649
+
650
+ ARGUMENTS
651
+ GROUPID The ID of an update group to delete.
652
+
653
+ OPTIONS
654
+ --json Return a json with the group ID of the deleted updates.
655
+ ```
656
+
657
+ _See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/update/delete.ts)_
658
+
659
+ ## `eas update:view GROUPID`
660
+
661
+ Update group details.
662
+
663
+ ```
664
+ USAGE
665
+ $ eas update:view GROUPID
666
+
667
+ ARGUMENTS
668
+ GROUPID The ID of an update group.
669
+
670
+ OPTIONS
671
+ --json Return a json with the updates belonging to the group.
672
+ ```
673
+
674
+ _See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/update/view.ts)_
427
675
 
428
676
  ## `eas webhook:create`
429
677
 
@@ -442,7 +690,7 @@ OPTIONS
442
690
  --url=url Webhook URL
443
691
  ```
444
692
 
445
- _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/webhook/create.ts)_
693
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/webhook/create.ts)_
446
694
 
447
695
  ## `eas webhook:delete [ID]`
448
696
 
@@ -456,7 +704,7 @@ ARGUMENTS
456
704
  ID ID of the webhook to delete
457
705
  ```
458
706
 
459
- _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/webhook/delete.ts)_
707
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/webhook/delete.ts)_
460
708
 
461
709
  ## `eas webhook:list`
462
710
 
@@ -470,7 +718,7 @@ OPTIONS
470
718
  --event=(BUILD|SUBMIT) Event type that triggers the webhook
471
719
  ```
472
720
 
473
- _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/webhook/list.ts)_
721
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/webhook/list.ts)_
474
722
 
475
723
  ## `eas webhook:update`
476
724
 
@@ -490,7 +738,7 @@ OPTIONS
490
738
  --url=url Webhook URL
491
739
  ```
492
740
 
493
- _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/webhook/update.ts)_
741
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/webhook/update.ts)_
494
742
 
495
743
  ## `eas webhook:view ID`
496
744
 
@@ -504,5 +752,5 @@ ARGUMENTS
504
752
  ID ID of the webhook to view
505
753
  ```
506
754
 
507
- _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.38.3/packages/eas-cli/src/commands/webhook/view.ts)_
755
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.41.1/packages/eas-cli/src/commands/webhook/view.ts)_
508
756
  <!-- commandsstop -->
package/build/api.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export declare const apiClient: import("got").Got;
2
2
  export declare function getExpoApiBaseUrl(): string;
3
3
  export declare function getExpoWebsiteBaseUrl(): string;
4
+ export declare function getEASUpdateURL(projectId: string): string;
package/build/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getExpoWebsiteBaseUrl = exports.getExpoApiBaseUrl = exports.apiClient = void 0;
3
+ exports.getEASUpdateURL = exports.getExpoWebsiteBaseUrl = exports.getExpoApiBaseUrl = exports.apiClient = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const got_1 = (0, tslib_1.__importStar)(require("got"));
6
6
  const ApiV2Error_1 = (0, tslib_1.__importDefault)(require("./ApiV2Error"));
@@ -65,3 +65,15 @@ function getExpoWebsiteBaseUrl() {
65
65
  }
66
66
  }
67
67
  exports.getExpoWebsiteBaseUrl = getExpoWebsiteBaseUrl;
68
+ function getEASUpdateURL(projectId) {
69
+ if (process.env.EXPO_STAGING) {
70
+ return new URL(projectId, `https://staging-u.expo.dev`).href;
71
+ }
72
+ else if (process.env.EXPO_LOCAL) {
73
+ return new URL(`expo-updates/${projectId}`, `http://127.0.0.1:3000`).href;
74
+ }
75
+ else {
76
+ return new URL(projectId, `https://u.expo.dev`).href;
77
+ }
78
+ }
79
+ exports.getEASUpdateURL = getEASUpdateURL;
@@ -41,7 +41,7 @@ async function prepareBuildRequestForPlatformAsync(builder) {
41
41
  log_1.default.addNewLineIfNone();
42
42
  await (0, repository_1.reviewAndCommitChangesAsync)(`[EAS Build] Run EAS Build for ${platform_1.requestedPlatformDisplayNames[ctx.platform]}`, { nonInteractive: ctx.nonInteractive });
43
43
  }
44
- const projectArchive = ctx.local
44
+ const projectArchive = ctx.localBuildOptions.enable
45
45
  ? {
46
46
  type: eas_build_job_1.ArchiveSourceType.PATH,
47
47
  path: (await (0, repository_1.makeProjectTarballAsync)()).path,
@@ -57,8 +57,8 @@ async function prepareBuildRequestForPlatformAsync(builder) {
57
57
  });
58
58
  return async () => {
59
59
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
60
- if (ctx.local) {
61
- await (0, local_1.runLocalBuildAsync)(job);
60
+ if (ctx.localBuildOptions.enable) {
61
+ await (0, local_1.runLocalBuildAsync)(job, ctx.localBuildOptions);
62
62
  return undefined;
63
63
  }
64
64
  else {
@@ -9,6 +9,7 @@ import { RequestedPlatform } from '../platform';
9
9
  import { GradleBuildContext } from '../project/android/gradle';
10
10
  import { XcodeBuildContext } from '../project/ios/scheme';
11
11
  import { Actor } from '../user/User';
12
+ import { LocalBuildOptions } from './local';
12
13
  export interface ConfigureContext {
13
14
  user: Actor;
14
15
  projectDir: string;
@@ -38,7 +39,7 @@ export interface BuildContext<T extends Platform> {
38
39
  clearCache: boolean;
39
40
  credentialsCtx: CredentialsContext;
40
41
  exp: ExpoConfig;
41
- local: boolean;
42
+ localBuildOptions: LocalBuildOptions;
42
43
  nonInteractive: boolean;
43
44
  platform: T;
44
45
  projectDir: string;
@@ -1,11 +1,12 @@
1
1
  import { Platform } from '@expo/eas-build-job';
2
2
  import { BuildProfile } from '@expo/eas-json';
3
3
  import { BuildContext } from './context';
4
- export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, clearCache, local, nonInteractive, platform, projectDir, skipProjectConfiguration, }: {
4
+ import { LocalBuildOptions } from './local';
5
+ export declare function createBuildContextAsync<T extends Platform>({ buildProfileName, buildProfile, clearCache, localBuildOptions, nonInteractive, platform, projectDir, skipProjectConfiguration, }: {
5
6
  buildProfileName: string;
6
7
  buildProfile: BuildProfile<T>;
7
8
  clearCache: boolean;
8
- local: boolean;
9
+ localBuildOptions: LocalBuildOptions;
9
10
  nonInteractive: boolean;
10
11
  platform: T;
11
12
  projectDir: string;
@@ -15,7 +15,7 @@ const Account_1 = require("../user/Account");
15
15
  const actions_1 = require("../user/actions");
16
16
  const build_1 = require("./android/build");
17
17
  const build_2 = require("./ios/build");
18
- async function createBuildContextAsync({ buildProfileName, buildProfile, clearCache = false, local, nonInteractive = false, platform, projectDir, skipProjectConfiguration = false, }) {
18
+ async function createBuildContextAsync({ buildProfileName, buildProfile, clearCache = false, localBuildOptions, nonInteractive = false, platform, projectDir, skipProjectConfiguration = false, }) {
19
19
  var _a;
20
20
  const exp = (0, expoConfig_1.getExpoConfig)(projectDir, { env: buildProfile.env });
21
21
  const user = await (0, actions_1.ensureLoggedInAsync)();
@@ -29,6 +29,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, clearCa
29
29
  nonInteractive,
30
30
  projectDir,
31
31
  user,
32
+ env: buildProfile.env,
32
33
  });
33
34
  const devClientProperties = getDevClientEventProperties({
34
35
  platform,
@@ -39,7 +40,6 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, clearCa
39
40
  tracking_id: (0, uuid_1.v4)(),
40
41
  platform,
41
42
  ...(accountId && { account_id: accountId }),
42
- account_name: accountName,
43
43
  project_id: projectId,
44
44
  project_type: workflow,
45
45
  ...devClientProperties,
@@ -52,7 +52,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, clearCa
52
52
  clearCache,
53
53
  credentialsCtx,
54
54
  exp,
55
- local,
55
+ localBuildOptions,
56
56
  nonInteractive,
57
57
  platform,
58
58
  projectDir,
@@ -1,2 +1,10 @@
1
1
  import { Job } from '@expo/eas-build-job';
2
- export declare function runLocalBuildAsync(job: Job): Promise<void>;
2
+ export interface LocalBuildOptions {
3
+ enable: boolean;
4
+ skipCleanup?: boolean;
5
+ skipNativeBuild?: boolean;
6
+ artifactsDir?: string;
7
+ workingdir?: string;
8
+ verbose?: boolean;
9
+ }
10
+ export declare function runLocalBuildAsync(job: Job, options: LocalBuildOptions): Promise<void>;