eas-cli 0.41.0 → 0.43.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 +23 -465
- package/bin/dev +17 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +3 -3
- package/build/api.d.ts +1 -0
- package/build/api.js +13 -1
- package/build/build/configure.js +3 -3
- package/build/build/local.js +1 -1
- package/build/build/utils/devClient.js +3 -3
- package/build/commandUtils/EasCommand.d.ts +2 -1
- package/build/commandUtils/EasCommand.js +7 -4
- package/build/commands/account/login.d.ts +1 -0
- package/build/commands/account/login.js +1 -0
- package/build/commands/account/logout.d.ts +1 -0
- package/build/commands/account/logout.js +1 -0
- package/build/commands/account/view.d.ts +1 -0
- package/build/commands/account/view.js +1 -0
- package/build/commands/analytics.js +1 -1
- package/build/commands/branch/create.d.ts +1 -2
- package/build/commands/branch/create.js +11 -7
- package/build/commands/branch/delete.d.ts +1 -2
- package/build/commands/branch/delete.js +12 -7
- package/build/commands/branch/list.d.ts +1 -2
- package/build/commands/branch/list.js +8 -5
- package/build/commands/branch/rename.d.ts +3 -5
- package/build/commands/branch/rename.js +13 -9
- package/build/commands/branch/view.d.ts +1 -2
- package/build/commands/branch/view.js +33 -29
- package/build/commands/build/cancel.js +1 -1
- package/build/commands/build/configure.d.ts +1 -2
- package/build/commands/build/configure.js +3 -3
- package/build/commands/build/index.d.ts +11 -12
- package/build/commands/build/index.js +20 -19
- package/build/commands/build/inspect.d.ts +7 -7
- package/build/commands/build/inspect.js +31 -24
- package/build/commands/build/list.d.ts +13 -14
- package/build/commands/build/list.js +15 -15
- package/build/commands/build/view.d.ts +1 -1
- package/build/commands/build/view.js +3 -3
- package/build/commands/channel/create.d.ts +1 -2
- package/build/commands/channel/create.js +24 -20
- package/build/commands/channel/delete.d.ts +15 -0
- package/build/commands/channel/delete.js +124 -0
- package/build/commands/channel/edit.d.ts +2 -4
- package/build/commands/channel/edit.js +14 -10
- package/build/commands/channel/list.d.ts +1 -2
- package/build/commands/channel/list.js +17 -13
- package/build/commands/channel/rollout.d.ts +4 -5
- package/build/commands/channel/rollout.js +14 -10
- package/build/commands/channel/view.d.ts +1 -2
- package/build/commands/channel/view.js +19 -15
- package/build/commands/config.d.ts +2 -3
- package/build/commands/config.js +4 -4
- package/build/commands/device/list.d.ts +1 -2
- package/build/commands/device/list.js +3 -3
- package/build/commands/device/view.js +1 -1
- package/build/commands/diagnostics.js +1 -0
- package/build/commands/secret/create.d.ts +4 -5
- package/build/commands/secret/create.js +6 -6
- package/build/commands/secret/delete.d.ts +1 -2
- package/build/commands/secret/delete.js +3 -3
- package/build/commands/submit.d.ts +9 -10
- package/build/commands/submit.js +13 -14
- package/build/commands/update/configure.d.ts +0 -3
- package/build/commands/update/configure.js +4 -10
- package/build/commands/update/delete.d.ts +1 -2
- package/build/commands/update/delete.js +12 -8
- package/build/commands/update/index.d.ts +9 -11
- package/build/commands/update/index.js +30 -18
- package/build/commands/update/view.d.ts +1 -2
- package/build/commands/update/view.js +25 -21
- package/build/commands/webhook/create.d.ts +3 -4
- package/build/commands/webhook/create.js +5 -5
- package/build/commands/webhook/delete.js +1 -1
- package/build/commands/webhook/list.d.ts +1 -2
- package/build/commands/webhook/list.js +3 -3
- package/build/commands/webhook/update.d.ts +4 -5
- package/build/commands/webhook/update.js +6 -6
- package/build/commands/webhook/view.js +1 -1
- package/build/graphql/generated.d.ts +33 -0
- package/build/index.d.ts +1 -1
- package/build/index.js +2 -2
- package/build/project/expoSdk.js +2 -2
- package/build/project/metroConfig.js +2 -2
- package/build/project/publish.js +1 -3
- package/build/submit/ios/IosSubmitCommand.js +6 -1
- package/build/user/actions.js +2 -2
- package/build/utils/expoCli.d.ts +3 -1
- package/build/utils/expoCli.js +13 -11
- package/build/vcs/clients/git.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +20 -13
package/README.md
CHANGED
|
@@ -33,497 +33,55 @@ eas --help COMMAND
|
|
|
33
33
|
# Commands
|
|
34
34
|
|
|
35
35
|
<!-- commands -->
|
|
36
|
-
* [`eas
|
|
37
|
-
* [`eas account:logout`](#eas-accountlogout)
|
|
38
|
-
* [`eas account:view`](#eas-accountview)
|
|
39
|
-
* [`eas analytics [STATUS]`](#eas-analytics-status)
|
|
40
|
-
* [`eas build`](#eas-build)
|
|
41
|
-
* [`eas build:cancel [BUILD_ID]`](#eas-buildcancel-build_id)
|
|
42
|
-
* [`eas build:configure`](#eas-buildconfigure)
|
|
43
|
-
* [`eas build:inspect`](#eas-buildinspect)
|
|
44
|
-
* [`eas build:list`](#eas-buildlist)
|
|
45
|
-
* [`eas build:view [BUILD_ID]`](#eas-buildview-build_id)
|
|
46
|
-
* [`eas config`](#eas-config)
|
|
47
|
-
* [`eas credentials`](#eas-credentials)
|
|
48
|
-
* [`eas device:create`](#eas-devicecreate)
|
|
49
|
-
* [`eas device:list`](#eas-devicelist)
|
|
50
|
-
* [`eas device:view [UDID]`](#eas-deviceview-udid)
|
|
51
|
-
* [`eas diagnostics`](#eas-diagnostics)
|
|
36
|
+
* [`eas autocomplete [SHELL]`](#eas-autocomplete-shell)
|
|
52
37
|
* [`eas help [COMMAND]`](#eas-help-command)
|
|
53
|
-
* [`eas project:info`](#eas-projectinfo)
|
|
54
|
-
* [`eas project:init`](#eas-projectinit)
|
|
55
|
-
* [`eas secret:create`](#eas-secretcreate)
|
|
56
|
-
* [`eas secret:delete`](#eas-secretdelete)
|
|
57
|
-
* [`eas secret:list`](#eas-secretlist)
|
|
58
|
-
* [`eas submit`](#eas-submit)
|
|
59
|
-
* [`eas webhook:create`](#eas-webhookcreate)
|
|
60
|
-
* [`eas webhook:delete [ID]`](#eas-webhookdelete-id)
|
|
61
|
-
* [`eas webhook:list`](#eas-webhooklist)
|
|
62
|
-
* [`eas webhook:update`](#eas-webhookupdate)
|
|
63
|
-
* [`eas webhook:view ID`](#eas-webhookview-id)
|
|
64
38
|
|
|
65
|
-
## `eas
|
|
39
|
+
## `eas autocomplete [SHELL]`
|
|
66
40
|
|
|
67
|
-
|
|
41
|
+
display autocomplete installation instructions
|
|
68
42
|
|
|
69
43
|
```
|
|
70
44
|
USAGE
|
|
71
|
-
$ eas
|
|
72
|
-
|
|
73
|
-
ALIASES
|
|
74
|
-
$ eas login
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
78
|
-
|
|
79
|
-
## `eas account:logout`
|
|
80
|
-
|
|
81
|
-
log out
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
USAGE
|
|
85
|
-
$ eas account:logout
|
|
86
|
-
|
|
87
|
-
ALIASES
|
|
88
|
-
$ eas logout
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
92
|
-
|
|
93
|
-
## `eas account:view`
|
|
94
|
-
|
|
95
|
-
show the username you are logged in as
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
USAGE
|
|
99
|
-
$ eas account:view
|
|
100
|
-
|
|
101
|
-
ALIASES
|
|
102
|
-
$ eas whoami
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
106
|
-
|
|
107
|
-
## `eas analytics [STATUS]`
|
|
108
|
-
|
|
109
|
-
view or change analytics settings
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
USAGE
|
|
113
|
-
$ eas analytics [STATUS]
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
117
|
-
|
|
118
|
-
## `eas build`
|
|
119
|
-
|
|
120
|
-
Start a build
|
|
121
|
-
|
|
122
|
-
```
|
|
123
|
-
USAGE
|
|
124
|
-
$ eas build
|
|
125
|
-
|
|
126
|
-
OPTIONS
|
|
127
|
-
-p, --platform=(android|ios|all)
|
|
128
|
-
|
|
129
|
-
--auto-submit Submit on build complete using the submit profile with the same name as the
|
|
130
|
-
build profile
|
|
131
|
-
|
|
132
|
-
--auto-submit-with-profile=PROFILE_NAME Submit on build complete using the submit profile with provided name
|
|
133
|
-
|
|
134
|
-
--clear-cache Clear cache before the build
|
|
135
|
-
|
|
136
|
-
--json Enable JSON output, non-JSON messages will be printed to stderr
|
|
137
|
-
|
|
138
|
-
--local Run build locally [experimental]
|
|
139
|
-
|
|
140
|
-
--non-interactive Run command in non-interactive mode
|
|
141
|
-
|
|
142
|
-
--profile=PROFILE_NAME Name of the build profile from eas.json. Defaults to "production" if defined
|
|
143
|
-
in eas.json.
|
|
144
|
-
|
|
145
|
-
--skip-project-configuration Skip project configuration
|
|
146
|
-
|
|
147
|
-
--[no-]wait Wait for build(s) to complete
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
151
|
-
|
|
152
|
-
## `eas build:cancel [BUILD_ID]`
|
|
153
|
-
|
|
154
|
-
Cancel a build.
|
|
155
|
-
|
|
156
|
-
```
|
|
157
|
-
USAGE
|
|
158
|
-
$ eas build:cancel [BUILD_ID]
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
162
|
-
|
|
163
|
-
## `eas build:configure`
|
|
164
|
-
|
|
165
|
-
Configure the project to support EAS Build.
|
|
166
|
-
|
|
167
|
-
```
|
|
168
|
-
USAGE
|
|
169
|
-
$ eas build:configure
|
|
170
|
-
|
|
171
|
-
OPTIONS
|
|
172
|
-
-p, --platform=(android|ios|all) Platform to configure
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
176
|
-
|
|
177
|
-
## `eas build:inspect`
|
|
178
|
-
|
|
179
|
-
Inspect the state of the project at specific build stages. Useful for troubleshooting.
|
|
180
|
-
|
|
181
|
-
```
|
|
182
|
-
USAGE
|
|
183
|
-
$ eas build:inspect
|
|
184
|
-
|
|
185
|
-
OPTIONS
|
|
186
|
-
-p, --platform=(android|ios)
|
|
187
|
-
(required)
|
|
188
|
-
|
|
189
|
-
-s, --stage=(archive|pre-build|post-build)
|
|
190
|
-
(required) Stage of the build you want to inspect.
|
|
191
|
-
archive - builds the project archive that would be uploaded to EAS when building
|
|
192
|
-
pre-build - prepares the project to be built with Gradle/Xcode. Does not run the native build.
|
|
193
|
-
post-build - builds the native project and leaves the output directory for inspection
|
|
194
|
-
|
|
195
|
-
--force
|
|
196
|
-
Delete OUTPUT_DIRECTORY if it already exists.
|
|
197
|
-
|
|
198
|
-
--output=OUTPUT_DIRECTORY
|
|
199
|
-
(required) Output directory.
|
|
200
|
-
|
|
201
|
-
--profile=PROFILE_NAME
|
|
202
|
-
Name of the build profile from eas.json. Defaults to "production" if defined in eas.json.
|
|
203
|
-
|
|
204
|
-
--verbose
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
_See code: [src/commands/build/inspect.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/build/inspect.ts)_
|
|
208
|
-
|
|
209
|
-
## `eas build:list`
|
|
210
|
-
|
|
211
|
-
list all builds for your project
|
|
212
|
-
|
|
213
|
-
```
|
|
214
|
-
USAGE
|
|
215
|
-
$ eas build:list
|
|
216
|
-
|
|
217
|
-
OPTIONS
|
|
218
|
-
--appBuildVersion=appBuildVersion
|
|
219
|
-
--appIdentifier=appIdentifier
|
|
220
|
-
--appVersion=appVersion
|
|
221
|
-
--buildProfile=buildProfile
|
|
222
|
-
--channel=channel
|
|
223
|
-
--distribution=(store|internal|simulator)
|
|
224
|
-
--gitCommitHash=gitCommitHash
|
|
225
|
-
|
|
226
|
-
--json Enable JSON output, non-JSON messages will be printed
|
|
227
|
-
to stderr
|
|
228
|
-
|
|
229
|
-
--limit=limit
|
|
230
|
-
|
|
231
|
-
--platform=(all|android|ios)
|
|
232
|
-
|
|
233
|
-
--runtimeVersion=runtimeVersion
|
|
234
|
-
|
|
235
|
-
--sdkVersion=sdkVersion
|
|
236
|
-
|
|
237
|
-
--status=(new|in-queue|in-progress|errored|finished|canceled)
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
241
|
-
|
|
242
|
-
## `eas build:view [BUILD_ID]`
|
|
243
|
-
|
|
244
|
-
view a build for your project
|
|
245
|
-
|
|
246
|
-
```
|
|
247
|
-
USAGE
|
|
248
|
-
$ eas build:view [BUILD_ID]
|
|
249
|
-
|
|
250
|
-
OPTIONS
|
|
251
|
-
--json Enable JSON output, non-JSON messages will be printed to stderr
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
255
|
-
|
|
256
|
-
## `eas config`
|
|
257
|
-
|
|
258
|
-
show the eas.json config
|
|
259
|
-
|
|
260
|
-
```
|
|
261
|
-
USAGE
|
|
262
|
-
$ eas config
|
|
263
|
-
|
|
264
|
-
OPTIONS
|
|
265
|
-
-p, --platform=(android|ios)
|
|
266
|
-
--profile=profile
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/config.ts)_
|
|
270
|
-
|
|
271
|
-
## `eas credentials`
|
|
272
|
-
|
|
273
|
-
manage your credentials
|
|
274
|
-
|
|
275
|
-
```
|
|
276
|
-
USAGE
|
|
277
|
-
$ eas credentials
|
|
278
|
-
```
|
|
279
|
-
|
|
280
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
281
|
-
|
|
282
|
-
## `eas device:create`
|
|
283
|
-
|
|
284
|
-
register new Apple Devices to use for internal distribution
|
|
285
|
-
|
|
286
|
-
```
|
|
287
|
-
USAGE
|
|
288
|
-
$ eas device:create
|
|
289
|
-
```
|
|
290
|
-
|
|
291
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
292
|
-
|
|
293
|
-
## `eas device:list`
|
|
294
|
-
|
|
295
|
-
list all registered devices for your account
|
|
296
|
-
|
|
297
|
-
```
|
|
298
|
-
USAGE
|
|
299
|
-
$ eas device:list
|
|
300
|
-
|
|
301
|
-
OPTIONS
|
|
302
|
-
--apple-team-id=apple-team-id
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
306
|
-
|
|
307
|
-
## `eas device:view [UDID]`
|
|
308
|
-
|
|
309
|
-
view a device for your project
|
|
310
|
-
|
|
311
|
-
```
|
|
312
|
-
USAGE
|
|
313
|
-
$ eas device:view [UDID]
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
317
|
-
|
|
318
|
-
## `eas diagnostics`
|
|
319
|
-
|
|
320
|
-
log environment info to the console
|
|
321
|
-
|
|
322
|
-
```
|
|
323
|
-
USAGE
|
|
324
|
-
$ eas diagnostics
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
328
|
-
|
|
329
|
-
## `eas help [COMMAND]`
|
|
330
|
-
|
|
331
|
-
display help for eas
|
|
332
|
-
|
|
333
|
-
```
|
|
334
|
-
USAGE
|
|
335
|
-
$ eas help [COMMAND]
|
|
45
|
+
$ eas autocomplete [SHELL] [-r]
|
|
336
46
|
|
|
337
47
|
ARGUMENTS
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
OPTIONS
|
|
341
|
-
--all see all commands in CLI
|
|
342
|
-
```
|
|
343
|
-
|
|
344
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.5/src/commands/help.ts)_
|
|
345
|
-
|
|
346
|
-
## `eas project:info`
|
|
347
|
-
|
|
348
|
-
information about the current project
|
|
349
|
-
|
|
350
|
-
```
|
|
351
|
-
USAGE
|
|
352
|
-
$ eas project:info
|
|
353
|
-
```
|
|
354
|
-
|
|
355
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
356
|
-
|
|
357
|
-
## `eas project:init`
|
|
358
|
-
|
|
359
|
-
create or link an EAS project
|
|
360
|
-
|
|
361
|
-
```
|
|
362
|
-
USAGE
|
|
363
|
-
$ eas project:init
|
|
364
|
-
|
|
365
|
-
ALIASES
|
|
366
|
-
$ eas init
|
|
367
|
-
```
|
|
368
|
-
|
|
369
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
370
|
-
|
|
371
|
-
## `eas secret:create`
|
|
372
|
-
|
|
373
|
-
Create an environment secret on the current project or owner account.
|
|
374
|
-
|
|
375
|
-
```
|
|
376
|
-
USAGE
|
|
377
|
-
$ eas secret:create
|
|
378
|
-
|
|
379
|
-
OPTIONS
|
|
380
|
-
--force Delete and recreate existing secrets
|
|
381
|
-
--name=name Name of the secret
|
|
382
|
-
--scope=(account|project) [default: project] Scope for the secret
|
|
383
|
-
--value=value Value of the secret
|
|
384
|
-
```
|
|
385
|
-
|
|
386
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
387
|
-
|
|
388
|
-
## `eas secret:delete`
|
|
389
|
-
|
|
390
|
-
Delete an environment secret by ID.
|
|
391
|
-
|
|
392
|
-
```
|
|
393
|
-
USAGE
|
|
394
|
-
$ eas secret:delete
|
|
48
|
+
SHELL shell type
|
|
395
49
|
|
|
396
|
-
|
|
397
|
-
--
|
|
50
|
+
FLAGS
|
|
51
|
+
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
|
398
52
|
|
|
399
53
|
DESCRIPTION
|
|
400
|
-
|
|
401
|
-
```
|
|
54
|
+
display autocomplete installation instructions
|
|
402
55
|
|
|
403
|
-
|
|
56
|
+
EXAMPLES
|
|
57
|
+
$ eas autocomplete
|
|
404
58
|
|
|
405
|
-
|
|
59
|
+
$ eas autocomplete bash
|
|
406
60
|
|
|
407
|
-
|
|
61
|
+
$ eas autocomplete zsh
|
|
408
62
|
|
|
63
|
+
$ eas autocomplete --refresh-cache
|
|
409
64
|
```
|
|
410
|
-
USAGE
|
|
411
|
-
$ eas secret:list
|
|
412
|
-
```
|
|
413
|
-
|
|
414
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
415
|
-
|
|
416
|
-
## `eas submit`
|
|
417
|
-
|
|
418
|
-
Submit build archive to App Store Connect
|
|
419
|
-
|
|
420
|
-
```
|
|
421
|
-
USAGE
|
|
422
|
-
$ eas submit
|
|
423
|
-
|
|
424
|
-
OPTIONS
|
|
425
|
-
-p, --platform=(android|ios|all)
|
|
426
|
-
--id=id ID of the build to submit
|
|
427
|
-
--latest Submit the latest build for specified platform
|
|
428
|
-
--non-interactive Run command in non-interactive mode
|
|
429
|
-
--path=path Path to the .apk/.aab/.ipa file
|
|
430
|
-
|
|
431
|
-
--profile=profile Name of the submit profile from eas.json. Defaults to "production" if defined in
|
|
432
|
-
eas.json.
|
|
433
|
-
|
|
434
|
-
--url=url App archive url
|
|
435
|
-
|
|
436
|
-
--verbose Always print logs from Submission Service
|
|
437
65
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
DESCRIPTION
|
|
441
|
-
See how to configure submits with eas.json: https://docs.expo.dev/submit/eas-json/
|
|
442
|
-
|
|
443
|
-
ALIASES
|
|
444
|
-
$ eas build:submit
|
|
445
|
-
```
|
|
446
|
-
|
|
447
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/submit.ts)_
|
|
448
|
-
|
|
449
|
-
## `eas webhook:create`
|
|
450
|
-
|
|
451
|
-
Create a webhook on the current project.
|
|
452
|
-
|
|
453
|
-
```
|
|
454
|
-
USAGE
|
|
455
|
-
$ eas webhook:create
|
|
456
|
-
|
|
457
|
-
OPTIONS
|
|
458
|
-
--event=(BUILD|SUBMIT) Event type that triggers the webhook
|
|
459
|
-
|
|
460
|
-
--secret=secret Secret used to create a hash signature of the request payload, provided in the
|
|
461
|
-
'Expo-Signature' header.
|
|
462
|
-
|
|
463
|
-
--url=url Webhook URL
|
|
464
|
-
```
|
|
66
|
+
_See code: [@expo/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.0.2/src/commands/autocomplete/index.ts)_
|
|
465
67
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
## `eas webhook:delete [ID]`
|
|
68
|
+
## `eas help [COMMAND]`
|
|
469
69
|
|
|
470
|
-
|
|
70
|
+
Display help for eas.
|
|
471
71
|
|
|
472
72
|
```
|
|
473
73
|
USAGE
|
|
474
|
-
$ eas
|
|
74
|
+
$ eas help [COMMAND] [-n]
|
|
475
75
|
|
|
476
76
|
ARGUMENTS
|
|
477
|
-
|
|
478
|
-
```
|
|
479
|
-
|
|
480
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
481
|
-
|
|
482
|
-
## `eas webhook:list`
|
|
483
|
-
|
|
484
|
-
List webhooks on the current project.
|
|
485
|
-
|
|
486
|
-
```
|
|
487
|
-
USAGE
|
|
488
|
-
$ eas webhook:list
|
|
489
|
-
|
|
490
|
-
OPTIONS
|
|
491
|
-
--event=(BUILD|SUBMIT) Event type that triggers the webhook
|
|
492
|
-
```
|
|
493
|
-
|
|
494
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
495
|
-
|
|
496
|
-
## `eas webhook:update`
|
|
497
|
-
|
|
498
|
-
Create a webhook on the current project.
|
|
77
|
+
COMMAND Command to show help for.
|
|
499
78
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
$ eas webhook:update
|
|
503
|
-
|
|
504
|
-
OPTIONS
|
|
505
|
-
--event=(BUILD|SUBMIT) Event type that triggers the webhook
|
|
506
|
-
--id=id (required) Webhook ID
|
|
507
|
-
|
|
508
|
-
--secret=secret Secret used to create a hash signature of the request payload, provided in the
|
|
509
|
-
'Expo-Signature' header.
|
|
510
|
-
|
|
511
|
-
--url=url Webhook URL
|
|
512
|
-
```
|
|
513
|
-
|
|
514
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.41.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
79
|
+
FLAGS
|
|
80
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
515
81
|
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
View a webhook on the current project.
|
|
519
|
-
|
|
520
|
-
```
|
|
521
|
-
USAGE
|
|
522
|
-
$ eas webhook:view ID
|
|
523
|
-
|
|
524
|
-
ARGUMENTS
|
|
525
|
-
ID ID of the webhook to view
|
|
82
|
+
DESCRIPTION
|
|
83
|
+
Display help for eas.
|
|
526
84
|
```
|
|
527
85
|
|
|
528
|
-
_See code: [
|
|
86
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.10/src/commands/help.ts)_
|
|
529
87
|
<!-- 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
package/build/api.d.ts
CHANGED
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;
|
package/build/build/configure.js
CHANGED
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const config_1 = require("@expo/config");
|
|
6
6
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
7
7
|
const eas_json_1 = require("@expo/eas-json");
|
|
8
|
-
const
|
|
8
|
+
const core_1 = require("@oclif/core");
|
|
9
9
|
const chalk_1 = (0, tslib_1.__importDefault)(require("chalk"));
|
|
10
10
|
const fs_extra_1 = (0, tslib_1.__importDefault)(require("fs-extra"));
|
|
11
11
|
const log_1 = (0, tslib_1.__importStar)(require("../log"));
|
|
@@ -35,11 +35,11 @@ async function ensureProjectConfiguredAsync(projectDir, requestedPlatform) {
|
|
|
35
35
|
platform: requestedPlatform,
|
|
36
36
|
});
|
|
37
37
|
if (await (0, vcs_1.getVcsClient)().isCommitRequiredAsync()) {
|
|
38
|
-
|
|
38
|
+
core_1.Errors.error('Build process requires clean working tree, please commit all your changes and run `eas build` again', { exit: 1 });
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
|
-
|
|
42
|
+
core_1.Errors.error(`Aborting, please run ${chalk_1.default.bold('eas build:configure')} or create eas.json (${(0, log_1.learnMore)('https://docs.expo.dev/build/eas-json')})`, { exit: 1 });
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ensureProjectConfiguredAsync = ensureProjectConfiguredAsync;
|
package/build/build/local.js
CHANGED
|
@@ -6,7 +6,7 @@ const spawn_async_1 = (0, tslib_1.__importDefault)(require("@expo/spawn-async"))
|
|
|
6
6
|
const semver_1 = (0, tslib_1.__importDefault)(require("semver"));
|
|
7
7
|
const ora_1 = require("../ora");
|
|
8
8
|
const PLUGIN_PACKAGE_NAME = 'eas-cli-local-build-plugin';
|
|
9
|
-
const PLUGIN_PACKAGE_VERSION = '0.0.
|
|
9
|
+
const PLUGIN_PACKAGE_VERSION = '0.0.57';
|
|
10
10
|
async function runLocalBuildAsync(job, options) {
|
|
11
11
|
var _a;
|
|
12
12
|
const { command, args } = await getCommandAndArgsAsync(job);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ensureExpoDevClientInstalledForDevClientBuildsAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@oclif/core");
|
|
7
7
|
const chalk_1 = (0, tslib_1.__importDefault)(require("chalk"));
|
|
8
8
|
const resolve_from_1 = (0, tslib_1.__importDefault)(require("resolve-from"));
|
|
9
9
|
const AppPlatform_1 = require("../../graphql/types/AppPlatform");
|
|
@@ -40,7 +40,7 @@ async function ensureExpoDevClientInstalledForDevClientBuildsAsync({ projectDir,
|
|
|
40
40
|
await installExpoDevClientAsync(projectDir, { nonInteractive });
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
|
-
|
|
43
|
+
core_1.Errors.error(`Install ${chalk_1.default.bold('expo-dev-client')} manually and come back later.`, {
|
|
44
44
|
exit: 1,
|
|
45
45
|
});
|
|
46
46
|
}
|
|
@@ -58,7 +58,7 @@ async function ensureExpoDevClientInstalledForDevClientBuildsAsync({ projectDir,
|
|
|
58
58
|
initial: false,
|
|
59
59
|
});
|
|
60
60
|
if (!shouldContinue) {
|
|
61
|
-
|
|
61
|
+
core_1.Errors.error('Come back later', { exit: 1 });
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Command } from '@oclif/
|
|
1
|
+
import { Command } from '@oclif/core';
|
|
2
2
|
export default abstract class EasCommand extends Command {
|
|
3
3
|
/**
|
|
4
4
|
* When user data is unavailable locally, determines if the command will
|
|
5
5
|
* force the user to log in
|
|
6
6
|
*/
|
|
7
7
|
protected requiresAuthentication: boolean;
|
|
8
|
+
protected mustBeRunInsideProject: boolean;
|
|
8
9
|
protected abstract runAsync(): Promise<any>;
|
|
9
10
|
run(): Promise<any>;
|
|
10
11
|
finally(err: Error): Promise<any>;
|