eas-cli 0.42.4 → 0.45.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 +120 -50
- package/bin/dev +17 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +4 -3
- package/build/build/android/UpdatesModule.d.ts +0 -1
- package/build/build/android/UpdatesModule.js +4 -37
- package/build/build/android/build.js +3 -3
- package/build/build/android/{configure.d.ts → syncProjectConfiguration.d.ts} +2 -3
- package/build/build/android/{configure.js → syncProjectConfiguration.js} +22 -23
- package/build/build/build.d.ts +1 -1
- package/build/build/build.js +6 -8
- package/build/build/configure.d.ts +12 -7
- package/build/build/configure.js +25 -99
- package/build/build/context.d.ts +0 -12
- package/build/build/createContext.d.ts +1 -2
- package/build/build/createContext.js +1 -2
- package/build/build/ios/UpdatesModule.d.ts +0 -1
- package/build/build/ios/UpdatesModule.js +8 -39
- package/build/build/ios/build.js +3 -3
- package/build/build/ios/{configure.d.ts → syncProjectConfiguration.d.ts} +1 -3
- package/build/build/ios/{configure.js → syncProjectConfiguration.js} +3 -18
- package/build/build/local.d.ts +1 -0
- package/build/build/local.js +2 -1
- package/build/build/runBuildAndSubmit.d.ts +0 -1
- package/build/build/runBuildAndSubmit.js +4 -2
- package/build/commands/branch/create.js +8 -3
- package/build/commands/branch/delete.js +8 -2
- package/build/commands/branch/list.js +5 -1
- package/build/commands/branch/rename.js +8 -3
- package/build/commands/branch/view.d.ts +0 -2
- package/build/commands/branch/view.js +32 -71
- package/build/commands/build/configure.js +43 -25
- package/build/commands/build/index.d.ts +1 -0
- package/build/commands/build/index.js +12 -2
- package/build/commands/build/inspect.d.ts +1 -0
- package/build/commands/build/inspect.js +23 -17
- package/build/commands/channel/create.js +21 -16
- package/build/commands/channel/delete.d.ts +15 -0
- package/build/commands/channel/delete.js +124 -0
- package/build/commands/channel/edit.js +10 -5
- package/build/commands/channel/list.js +14 -9
- package/build/commands/channel/rollout.js +8 -3
- package/build/commands/channel/view.js +16 -11
- package/build/commands/device/delete.d.ts +17 -0
- package/build/commands/device/delete.js +181 -0
- package/build/commands/device/list.js +1 -1
- package/build/commands/update/configure.js +1 -1
- package/build/commands/update/delete.js +9 -4
- package/build/commands/update/index.js +7 -3
- package/build/commands/update/list.d.ts +10 -0
- package/build/commands/update/list.js +114 -0
- package/build/commands/update/view.js +22 -17
- package/build/commands/webhook/update.js +1 -1
- package/build/credentials/ios/actions/DeviceUtils.d.ts +1 -0
- package/build/credentials/ios/actions/DeviceUtils.js +16 -1
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.d.ts +1 -0
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.js +16 -0
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +0 -2
- package/build/credentials/ios/appstore/ensureAppExists.js +3 -1
- package/build/graphql/generated.d.ts +5848 -3500
- package/build/graphql/generated.js +223 -223
- package/build/graphql/queries/UpdateQuery.d.ts +7 -0
- package/build/graphql/queries/UpdateQuery.js +85 -0
- package/build/submit/ArchiveSource.js +0 -1
- package/build/vcs/local.js +5 -1
- package/oclif.manifest.json +1 -1
- package/package.json +43 -42
package/README.md
CHANGED
|
@@ -37,6 +37,7 @@ 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 autocomplete [SHELL]`](#eas-autocomplete-shell)
|
|
40
41
|
* [`eas branch:create [NAME]`](#eas-branchcreate-name)
|
|
41
42
|
* [`eas branch:delete [NAME]`](#eas-branchdelete-name)
|
|
42
43
|
* [`eas branch:list`](#eas-branchlist)
|
|
@@ -55,6 +56,7 @@ eas --help COMMAND
|
|
|
55
56
|
* [`eas config`](#eas-config)
|
|
56
57
|
* [`eas credentials`](#eas-credentials)
|
|
57
58
|
* [`eas device:create`](#eas-devicecreate)
|
|
59
|
+
* [`eas device:delete`](#eas-devicedelete)
|
|
58
60
|
* [`eas device:list`](#eas-devicelist)
|
|
59
61
|
* [`eas device:view [UDID]`](#eas-deviceview-udid)
|
|
60
62
|
* [`eas diagnostics`](#eas-diagnostics)
|
|
@@ -68,6 +70,7 @@ eas --help COMMAND
|
|
|
68
70
|
* [`eas update`](#eas-update)
|
|
69
71
|
* [`eas update:configure`](#eas-updateconfigure)
|
|
70
72
|
* [`eas update:delete GROUPID`](#eas-updatedelete-groupid)
|
|
73
|
+
* [`eas update:list`](#eas-updatelist)
|
|
71
74
|
* [`eas update:view GROUPID`](#eas-updateview-groupid)
|
|
72
75
|
* [`eas webhook:create`](#eas-webhookcreate)
|
|
73
76
|
* [`eas webhook:delete [ID]`](#eas-webhookdelete-id)
|
|
@@ -90,7 +93,7 @@ ALIASES
|
|
|
90
93
|
$ eas login
|
|
91
94
|
```
|
|
92
95
|
|
|
93
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
96
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
94
97
|
|
|
95
98
|
## `eas account:logout`
|
|
96
99
|
|
|
@@ -107,7 +110,7 @@ ALIASES
|
|
|
107
110
|
$ eas logout
|
|
108
111
|
```
|
|
109
112
|
|
|
110
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
113
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
111
114
|
|
|
112
115
|
## `eas account:view`
|
|
113
116
|
|
|
@@ -124,7 +127,7 @@ ALIASES
|
|
|
124
127
|
$ eas whoami
|
|
125
128
|
```
|
|
126
129
|
|
|
127
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
130
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
128
131
|
|
|
129
132
|
## `eas analytics [STATUS]`
|
|
130
133
|
|
|
@@ -138,7 +141,36 @@ DESCRIPTION
|
|
|
138
141
|
view or change analytics settings
|
|
139
142
|
```
|
|
140
143
|
|
|
141
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
144
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
145
|
+
|
|
146
|
+
## `eas autocomplete [SHELL]`
|
|
147
|
+
|
|
148
|
+
display autocomplete installation instructions
|
|
149
|
+
|
|
150
|
+
```
|
|
151
|
+
USAGE
|
|
152
|
+
$ eas autocomplete [SHELL] [-r]
|
|
153
|
+
|
|
154
|
+
ARGUMENTS
|
|
155
|
+
SHELL shell type
|
|
156
|
+
|
|
157
|
+
FLAGS
|
|
158
|
+
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
|
159
|
+
|
|
160
|
+
DESCRIPTION
|
|
161
|
+
display autocomplete installation instructions
|
|
162
|
+
|
|
163
|
+
EXAMPLES
|
|
164
|
+
$ eas autocomplete
|
|
165
|
+
|
|
166
|
+
$ eas autocomplete bash
|
|
167
|
+
|
|
168
|
+
$ eas autocomplete zsh
|
|
169
|
+
|
|
170
|
+
$ eas autocomplete --refresh-cache
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.1.1/src/commands/autocomplete/index.ts)_
|
|
142
174
|
|
|
143
175
|
## `eas branch:create [NAME]`
|
|
144
176
|
|
|
@@ -158,7 +190,7 @@ DESCRIPTION
|
|
|
158
190
|
Create a branch on the current project.
|
|
159
191
|
```
|
|
160
192
|
|
|
161
|
-
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
193
|
+
_See code: [src/commands/branch/create.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/branch/create.ts)_
|
|
162
194
|
|
|
163
195
|
## `eas branch:delete [NAME]`
|
|
164
196
|
|
|
@@ -178,7 +210,7 @@ DESCRIPTION
|
|
|
178
210
|
Delete a branch on the current project
|
|
179
211
|
```
|
|
180
212
|
|
|
181
|
-
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
213
|
+
_See code: [src/commands/branch/delete.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/branch/delete.ts)_
|
|
182
214
|
|
|
183
215
|
## `eas branch:list`
|
|
184
216
|
|
|
@@ -195,7 +227,7 @@ DESCRIPTION
|
|
|
195
227
|
List all branches on this project.
|
|
196
228
|
```
|
|
197
229
|
|
|
198
|
-
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
230
|
+
_See code: [src/commands/branch/list.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/branch/list.ts)_
|
|
199
231
|
|
|
200
232
|
## `eas branch:rename`
|
|
201
233
|
|
|
@@ -214,7 +246,7 @@ DESCRIPTION
|
|
|
214
246
|
Rename a branch.
|
|
215
247
|
```
|
|
216
248
|
|
|
217
|
-
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
249
|
+
_See code: [src/commands/branch/rename.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/branch/rename.ts)_
|
|
218
250
|
|
|
219
251
|
## `eas branch:view [NAME]`
|
|
220
252
|
|
|
@@ -234,7 +266,7 @@ DESCRIPTION
|
|
|
234
266
|
View a branch.
|
|
235
267
|
```
|
|
236
268
|
|
|
237
|
-
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
269
|
+
_See code: [src/commands/branch/view.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/branch/view.ts)_
|
|
238
270
|
|
|
239
271
|
## `eas build`
|
|
240
272
|
|
|
@@ -243,7 +275,8 @@ Start a build
|
|
|
243
275
|
```
|
|
244
276
|
USAGE
|
|
245
277
|
$ eas build [-p android|ios|all] [--json] [--skip-project-configuration] [--profile <value>]
|
|
246
|
-
[--non-interactive] [--local] [--wait] [--clear-cache] [--auto-submit |
|
|
278
|
+
[--non-interactive] [--local] [--output <value>] [--wait] [--clear-cache] [--auto-submit |
|
|
279
|
+
--auto-submit-with-profile <value>]
|
|
247
280
|
|
|
248
281
|
FLAGS
|
|
249
282
|
-p, --platform=(android|ios|all)
|
|
@@ -254,6 +287,7 @@ FLAGS
|
|
|
254
287
|
--json Enable JSON output, non-JSON messages will be printed to stderr
|
|
255
288
|
--local Run build locally [experimental]
|
|
256
289
|
--non-interactive Run command in non-interactive mode
|
|
290
|
+
--output=<value> Output path for local build
|
|
257
291
|
--profile=PROFILE_NAME Name of the build profile from eas.json. Defaults to "production" if defined
|
|
258
292
|
in eas.json.
|
|
259
293
|
--skip-project-configuration Skip project configuration
|
|
@@ -263,7 +297,7 @@ DESCRIPTION
|
|
|
263
297
|
Start a build
|
|
264
298
|
```
|
|
265
299
|
|
|
266
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
300
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
267
301
|
|
|
268
302
|
## `eas build:cancel [BUILD_ID]`
|
|
269
303
|
|
|
@@ -277,7 +311,7 @@ DESCRIPTION
|
|
|
277
311
|
Cancel a build.
|
|
278
312
|
```
|
|
279
313
|
|
|
280
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
314
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
281
315
|
|
|
282
316
|
## `eas build:configure`
|
|
283
317
|
|
|
@@ -294,7 +328,7 @@ DESCRIPTION
|
|
|
294
328
|
Configure the project to support EAS Build.
|
|
295
329
|
```
|
|
296
330
|
|
|
297
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
331
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
298
332
|
|
|
299
333
|
## `eas build:inspect`
|
|
300
334
|
|
|
@@ -302,10 +336,12 @@ Inspect the state of the project at specific build stages. Useful for troublesho
|
|
|
302
336
|
|
|
303
337
|
```
|
|
304
338
|
USAGE
|
|
305
|
-
$ eas build:inspect -p android|ios -s archive|pre-build|post-build
|
|
306
|
-
[--verbose]
|
|
339
|
+
$ eas build:inspect -p android|ios -s archive|pre-build|post-build -o <value> [--profile <value>] [--force] [-v]
|
|
307
340
|
|
|
308
341
|
FLAGS
|
|
342
|
+
-o, --output=OUTPUT_DIRECTORY
|
|
343
|
+
(required) Output directory.
|
|
344
|
+
|
|
309
345
|
-p, --platform=(android|ios)
|
|
310
346
|
(required)
|
|
311
347
|
|
|
@@ -315,22 +351,19 @@ FLAGS
|
|
|
315
351
|
pre-build - prepares the project to be built with Gradle/Xcode. Does not run the native build.
|
|
316
352
|
post-build - builds the native project and leaves the output directory for inspection
|
|
317
353
|
|
|
354
|
+
-v, --verbose
|
|
355
|
+
|
|
318
356
|
--force
|
|
319
357
|
Delete OUTPUT_DIRECTORY if it already exists.
|
|
320
358
|
|
|
321
|
-
--output=OUTPUT_DIRECTORY
|
|
322
|
-
(required) Output directory.
|
|
323
|
-
|
|
324
359
|
--profile=PROFILE_NAME
|
|
325
360
|
Name of the build profile from eas.json. Defaults to "production" if defined in eas.json.
|
|
326
361
|
|
|
327
|
-
--verbose
|
|
328
|
-
|
|
329
362
|
DESCRIPTION
|
|
330
363
|
Inspect the state of the project at specific build stages. Useful for troubleshooting.
|
|
331
364
|
```
|
|
332
365
|
|
|
333
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
366
|
+
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
334
367
|
|
|
335
368
|
## `eas build:list`
|
|
336
369
|
|
|
@@ -363,7 +396,7 @@ DESCRIPTION
|
|
|
363
396
|
list all builds for your project
|
|
364
397
|
```
|
|
365
398
|
|
|
366
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
399
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
367
400
|
|
|
368
401
|
## `eas build:view [BUILD_ID]`
|
|
369
402
|
|
|
@@ -380,7 +413,7 @@ DESCRIPTION
|
|
|
380
413
|
view a build for your project
|
|
381
414
|
```
|
|
382
415
|
|
|
383
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
416
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
384
417
|
|
|
385
418
|
## `eas channel:create [NAME]`
|
|
386
419
|
|
|
@@ -400,7 +433,7 @@ DESCRIPTION
|
|
|
400
433
|
Create a channel on the current project.
|
|
401
434
|
```
|
|
402
435
|
|
|
403
|
-
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
436
|
+
_See code: [src/commands/channel/create.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/channel/create.ts)_
|
|
404
437
|
|
|
405
438
|
## `eas channel:edit [NAME]`
|
|
406
439
|
|
|
@@ -421,7 +454,7 @@ DESCRIPTION
|
|
|
421
454
|
Point a channel at a new branch.
|
|
422
455
|
```
|
|
423
456
|
|
|
424
|
-
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
457
|
+
_See code: [src/commands/channel/edit.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/channel/edit.ts)_
|
|
425
458
|
|
|
426
459
|
## `eas channel:list`
|
|
427
460
|
|
|
@@ -438,7 +471,7 @@ DESCRIPTION
|
|
|
438
471
|
List all channels on the current project.
|
|
439
472
|
```
|
|
440
473
|
|
|
441
|
-
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
474
|
+
_See code: [src/commands/channel/list.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/channel/list.ts)_
|
|
442
475
|
|
|
443
476
|
## `eas channel:view [NAME]`
|
|
444
477
|
|
|
@@ -458,7 +491,7 @@ DESCRIPTION
|
|
|
458
491
|
View a channel on the current project.
|
|
459
492
|
```
|
|
460
493
|
|
|
461
|
-
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
494
|
+
_See code: [src/commands/channel/view.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/channel/view.ts)_
|
|
462
495
|
|
|
463
496
|
## `eas config`
|
|
464
497
|
|
|
@@ -476,7 +509,7 @@ DESCRIPTION
|
|
|
476
509
|
show the eas.json config
|
|
477
510
|
```
|
|
478
511
|
|
|
479
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
512
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/config.ts)_
|
|
480
513
|
|
|
481
514
|
## `eas credentials`
|
|
482
515
|
|
|
@@ -490,7 +523,7 @@ DESCRIPTION
|
|
|
490
523
|
manage your credentials
|
|
491
524
|
```
|
|
492
525
|
|
|
493
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
526
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
494
527
|
|
|
495
528
|
## `eas device:create`
|
|
496
529
|
|
|
@@ -504,7 +537,25 @@ DESCRIPTION
|
|
|
504
537
|
register new Apple Devices to use for internal distribution
|
|
505
538
|
```
|
|
506
539
|
|
|
507
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
540
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
541
|
+
|
|
542
|
+
## `eas device:delete`
|
|
543
|
+
|
|
544
|
+
remove a registered device from your account
|
|
545
|
+
|
|
546
|
+
```
|
|
547
|
+
USAGE
|
|
548
|
+
$ eas device:delete [--apple-team-id <value>] [--udid <value>]
|
|
549
|
+
|
|
550
|
+
FLAGS
|
|
551
|
+
--apple-team-id=<value>
|
|
552
|
+
--udid=<value>...
|
|
553
|
+
|
|
554
|
+
DESCRIPTION
|
|
555
|
+
remove a registered device from your account
|
|
556
|
+
```
|
|
557
|
+
|
|
558
|
+
_See code: [src/commands/device/delete.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/device/delete.ts)_
|
|
508
559
|
|
|
509
560
|
## `eas device:list`
|
|
510
561
|
|
|
@@ -521,7 +572,7 @@ DESCRIPTION
|
|
|
521
572
|
list all registered devices for your account
|
|
522
573
|
```
|
|
523
574
|
|
|
524
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
575
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
525
576
|
|
|
526
577
|
## `eas device:view [UDID]`
|
|
527
578
|
|
|
@@ -535,7 +586,7 @@ DESCRIPTION
|
|
|
535
586
|
view a device for your project
|
|
536
587
|
```
|
|
537
588
|
|
|
538
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
589
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
539
590
|
|
|
540
591
|
## `eas diagnostics`
|
|
541
592
|
|
|
@@ -549,7 +600,7 @@ DESCRIPTION
|
|
|
549
600
|
log environment info to the console
|
|
550
601
|
```
|
|
551
602
|
|
|
552
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
603
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
553
604
|
|
|
554
605
|
## `eas help [COMMAND]`
|
|
555
606
|
|
|
@@ -583,7 +634,7 @@ DESCRIPTION
|
|
|
583
634
|
information about the current project
|
|
584
635
|
```
|
|
585
636
|
|
|
586
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
637
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
587
638
|
|
|
588
639
|
## `eas project:init`
|
|
589
640
|
|
|
@@ -600,7 +651,7 @@ ALIASES
|
|
|
600
651
|
$ eas init
|
|
601
652
|
```
|
|
602
653
|
|
|
603
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
654
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
604
655
|
|
|
605
656
|
## `eas secret:create`
|
|
606
657
|
|
|
@@ -620,7 +671,7 @@ DESCRIPTION
|
|
|
620
671
|
Create an environment secret on the current project or owner account.
|
|
621
672
|
```
|
|
622
673
|
|
|
623
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
674
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
624
675
|
|
|
625
676
|
## `eas secret:delete`
|
|
626
677
|
|
|
@@ -639,7 +690,7 @@ DESCRIPTION
|
|
|
639
690
|
Unsure where to find the secret's ID? Run eas secret:list
|
|
640
691
|
```
|
|
641
692
|
|
|
642
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
693
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
643
694
|
|
|
644
695
|
## `eas secret:list`
|
|
645
696
|
|
|
@@ -653,7 +704,7 @@ DESCRIPTION
|
|
|
653
704
|
Lists environment secrets available for your current app
|
|
654
705
|
```
|
|
655
706
|
|
|
656
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
707
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
657
708
|
|
|
658
709
|
## `eas submit`
|
|
659
710
|
|
|
@@ -685,7 +736,7 @@ ALIASES
|
|
|
685
736
|
$ eas build:submit
|
|
686
737
|
```
|
|
687
738
|
|
|
688
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
739
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/submit.ts)_
|
|
689
740
|
|
|
690
741
|
## `eas update`
|
|
691
742
|
|
|
@@ -711,7 +762,7 @@ DESCRIPTION
|
|
|
711
762
|
Publish an update group.
|
|
712
763
|
```
|
|
713
764
|
|
|
714
|
-
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
765
|
+
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/update/index.ts)_
|
|
715
766
|
|
|
716
767
|
## `eas update:configure`
|
|
717
768
|
|
|
@@ -725,7 +776,7 @@ DESCRIPTION
|
|
|
725
776
|
Configure the project to support EAS Update.
|
|
726
777
|
```
|
|
727
778
|
|
|
728
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
779
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
729
780
|
|
|
730
781
|
## `eas update:delete GROUPID`
|
|
731
782
|
|
|
@@ -745,7 +796,26 @@ DESCRIPTION
|
|
|
745
796
|
Delete all the updates in an update Group.
|
|
746
797
|
```
|
|
747
798
|
|
|
748
|
-
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
799
|
+
_See code: [src/commands/update/delete.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/update/delete.ts)_
|
|
800
|
+
|
|
801
|
+
## `eas update:list`
|
|
802
|
+
|
|
803
|
+
View the recent updates for a branch
|
|
804
|
+
|
|
805
|
+
```
|
|
806
|
+
USAGE
|
|
807
|
+
$ eas update:list [--branch <value> | --all] [--json]
|
|
808
|
+
|
|
809
|
+
FLAGS
|
|
810
|
+
--all List all updates associated with this project
|
|
811
|
+
--branch=<value> List all updates on this branch
|
|
812
|
+
--json Return a json with all of the recent update groups.
|
|
813
|
+
|
|
814
|
+
DESCRIPTION
|
|
815
|
+
View the recent updates for a branch
|
|
816
|
+
```
|
|
817
|
+
|
|
818
|
+
_See code: [src/commands/update/list.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/update/list.ts)_
|
|
749
819
|
|
|
750
820
|
## `eas update:view GROUPID`
|
|
751
821
|
|
|
@@ -765,7 +835,7 @@ DESCRIPTION
|
|
|
765
835
|
Update group details.
|
|
766
836
|
```
|
|
767
837
|
|
|
768
|
-
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
838
|
+
_See code: [src/commands/update/view.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/update/view.ts)_
|
|
769
839
|
|
|
770
840
|
## `eas webhook:create`
|
|
771
841
|
|
|
@@ -785,7 +855,7 @@ DESCRIPTION
|
|
|
785
855
|
Create a webhook on the current project.
|
|
786
856
|
```
|
|
787
857
|
|
|
788
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
858
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
789
859
|
|
|
790
860
|
## `eas webhook:delete [ID]`
|
|
791
861
|
|
|
@@ -802,7 +872,7 @@ DESCRIPTION
|
|
|
802
872
|
Delete a webhook on the current project.
|
|
803
873
|
```
|
|
804
874
|
|
|
805
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
875
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
806
876
|
|
|
807
877
|
## `eas webhook:list`
|
|
808
878
|
|
|
@@ -819,11 +889,11 @@ DESCRIPTION
|
|
|
819
889
|
List webhooks on the current project.
|
|
820
890
|
```
|
|
821
891
|
|
|
822
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
892
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
823
893
|
|
|
824
894
|
## `eas webhook:update`
|
|
825
895
|
|
|
826
|
-
|
|
896
|
+
Update a webhook on the current project.
|
|
827
897
|
|
|
828
898
|
```
|
|
829
899
|
USAGE
|
|
@@ -837,10 +907,10 @@ FLAGS
|
|
|
837
907
|
--url=<value> Webhook URL
|
|
838
908
|
|
|
839
909
|
DESCRIPTION
|
|
840
|
-
|
|
910
|
+
Update a webhook on the current project.
|
|
841
911
|
```
|
|
842
912
|
|
|
843
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
913
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
844
914
|
|
|
845
915
|
## `eas webhook:view ID`
|
|
846
916
|
|
|
@@ -857,5 +927,5 @@ DESCRIPTION
|
|
|
857
927
|
View a webhook on the current project.
|
|
858
928
|
```
|
|
859
929
|
|
|
860
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
930
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.45.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
861
931
|
<!-- commandsstop -->
|
package/bin/dev
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const oclif = require('@oclif/core');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
|
|
6
|
+
const project = path.join(__dirname, '..', 'tsconfig.json');
|
|
7
|
+
|
|
8
|
+
// In dev mode -> use ts-node and dev plugins
|
|
9
|
+
process.env.NODE_ENV = 'development';
|
|
10
|
+
|
|
11
|
+
require('ts-node').register({ project });
|
|
12
|
+
|
|
13
|
+
// In dev mode, always show stack traces
|
|
14
|
+
oclif.settings.disableJsonFlag = true
|
|
15
|
+
|
|
16
|
+
// Start the CLI
|
|
17
|
+
oclif.run().then(oclif.flush).catch(oclif.Errors.handle);
|
package/bin/dev.cmd
ADDED
package/bin/run
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ExpoConfig } from '@expo/config';
|
|
2
|
-
export declare function configureUpdatesAsync(projectDir: string, exp: ExpoConfig): Promise<void>;
|
|
3
2
|
export declare function syncUpdatesConfigurationAsync(projectDir: string, exp: ExpoConfig): Promise<void>;
|
|
4
3
|
export declare function readReleaseChannelSafelyAsync(projectDir: string): Promise<string | null>;
|
|
5
4
|
export declare function readChannelSafelyAsync(projectDir: string): Promise<string | null>;
|
|
@@ -1,52 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.readChannelSafelyAsync = exports.readReleaseChannelSafelyAsync = exports.syncUpdatesConfigurationAsync =
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
3
|
+
exports.readChannelSafelyAsync = exports.readReleaseChannelSafelyAsync = exports.syncUpdatesConfigurationAsync = void 0;
|
|
5
4
|
const config_plugins_1 = require("@expo/config-plugins");
|
|
6
|
-
const log_1 = (0, tslib_1.__importDefault)(require("../../log"));
|
|
7
5
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
8
6
|
const actions_1 = require("../../user/actions");
|
|
9
7
|
const updates_1 = require("../utils/updates");
|
|
10
|
-
async function configureUpdatesAsync(projectDir, exp) {
|
|
11
|
-
(0, updates_1.ensureValidVersions)(exp);
|
|
12
|
-
const accountName = (0, projectUtils_1.getProjectAccountName)(exp, await (0, actions_1.ensureLoggedInAsync)());
|
|
13
|
-
const androidManifestPath = await config_plugins_1.AndroidConfig.Paths.getAndroidManifestAsync(projectDir);
|
|
14
|
-
const androidManifest = await getAndroidManifestAsync(projectDir);
|
|
15
|
-
if (!config_plugins_1.AndroidConfig.Updates.isMainApplicationMetaDataSynced(exp, androidManifest, accountName)) {
|
|
16
|
-
const result = config_plugins_1.AndroidConfig.Updates.setUpdatesConfig(exp, androidManifest, accountName);
|
|
17
|
-
await config_plugins_1.AndroidConfig.Manifest.writeAndroidManifestAsync(androidManifestPath, result);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.configureUpdatesAsync = configureUpdatesAsync;
|
|
21
8
|
async function syncUpdatesConfigurationAsync(projectDir, exp) {
|
|
22
9
|
(0, updates_1.ensureValidVersions)(exp);
|
|
23
10
|
const accountName = (0, projectUtils_1.getProjectAccountName)(exp, await (0, actions_1.ensureLoggedInAsync)());
|
|
24
|
-
try {
|
|
25
|
-
await ensureUpdatesConfiguredAsync(projectDir);
|
|
26
|
-
}
|
|
27
|
-
catch (error) {
|
|
28
|
-
log_1.default.error('expo-updates module is not configured. Please run "eas build:configure" first to configure the project');
|
|
29
|
-
throw error;
|
|
30
|
-
}
|
|
31
11
|
const androidManifestPath = await config_plugins_1.AndroidConfig.Paths.getAndroidManifestAsync(projectDir);
|
|
32
|
-
let androidManifest = await getAndroidManifestAsync(projectDir);
|
|
33
|
-
if (!config_plugins_1.AndroidConfig.Updates.areVersionsSynced(exp, androidManifest)) {
|
|
34
|
-
androidManifest = config_plugins_1.AndroidConfig.Updates.setVersionsConfig(exp, androidManifest);
|
|
35
|
-
await config_plugins_1.AndroidConfig.Manifest.writeAndroidManifestAsync(androidManifestPath, androidManifest);
|
|
36
|
-
}
|
|
37
|
-
if (!config_plugins_1.AndroidConfig.Updates.isMainApplicationMetaDataSynced(exp, androidManifest, accountName)) {
|
|
38
|
-
log_1.default.warn('Native project configuration is not synced with values present in your app.json, run "eas build:configure" to make sure all values are applied in the native project');
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.syncUpdatesConfigurationAsync = syncUpdatesConfigurationAsync;
|
|
42
|
-
// Note: we assume here that Expo modules are properly configured in the project. Aside from that,
|
|
43
|
-
// all that is needed on Expo SDK 43+ to configure expo-updates configuration in AndroidManifest.xml
|
|
44
|
-
async function ensureUpdatesConfiguredAsync(projectDir) {
|
|
45
12
|
const androidManifest = await getAndroidManifestAsync(projectDir);
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
13
|
+
const updatedAndroidManifest = config_plugins_1.AndroidConfig.Updates.setUpdatesConfig(exp, androidManifest, accountName);
|
|
14
|
+
await config_plugins_1.AndroidConfig.Manifest.writeAndroidManifestAsync(androidManifestPath, updatedAndroidManifest);
|
|
49
15
|
}
|
|
16
|
+
exports.syncUpdatesConfigurationAsync = syncUpdatesConfigurationAsync;
|
|
50
17
|
async function readReleaseChannelSafelyAsync(projectDir) {
|
|
51
18
|
try {
|
|
52
19
|
const androidManifest = await getAndroidManifestAsync(projectDir);
|
|
@@ -16,9 +16,9 @@ const build_1 = require("../build");
|
|
|
16
16
|
const graphql_1 = require("../graphql");
|
|
17
17
|
const credentials_1 = require("../utils/credentials");
|
|
18
18
|
const validate_1 = require("../validate");
|
|
19
|
-
const configure_1 = require("./configure");
|
|
20
19
|
const graphql_2 = require("./graphql");
|
|
21
20
|
const prepareJob_1 = require("./prepareJob");
|
|
21
|
+
const syncProjectConfiguration_1 = require("./syncProjectConfiguration");
|
|
22
22
|
async function createAndroidContextAsync(ctx) {
|
|
23
23
|
var _a;
|
|
24
24
|
const { buildProfile } = ctx;
|
|
@@ -49,8 +49,8 @@ async function prepareAndroidBuildAsync(ctx) {
|
|
|
49
49
|
ensureCredentialsAsync: async (ctx) => {
|
|
50
50
|
return await ensureAndroidCredentialsAsync(ctx);
|
|
51
51
|
},
|
|
52
|
-
|
|
53
|
-
await (0,
|
|
52
|
+
syncProjectConfigurationAsync: async () => {
|
|
53
|
+
await (0, syncProjectConfiguration_1.syncProjectConfigurationAsync)({
|
|
54
54
|
projectDir: ctx.projectDir,
|
|
55
55
|
exp: ctx.exp,
|
|
56
56
|
buildProfile: ctx.buildProfile,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ExpoConfig } from '@expo/config';
|
|
2
2
|
import { Platform } from '@expo/eas-build-job';
|
|
3
3
|
import { BuildProfile } from '@expo/eas-json';
|
|
4
|
-
|
|
5
|
-
export declare function configureAndroidAsync(ctx: ConfigureContext): Promise<void>;
|
|
6
|
-
export declare function validateAndSyncProjectConfigurationAsync({ projectDir, exp, buildProfile, }: {
|
|
4
|
+
export declare function syncProjectConfigurationAsync({ projectDir, exp, buildProfile, }: {
|
|
7
5
|
projectDir: string;
|
|
8
6
|
exp: ExpoConfig;
|
|
9
7
|
buildProfile: BuildProfile<Platform.ANDROID>;
|
|
10
8
|
}): Promise<void>;
|
|
9
|
+
export declare function cleanUpOldEasBuildGradleScriptAsync(projectDir: string): Promise<void>;
|