eas-cli 0.38.3 → 0.39.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 +28 -28
- package/build/build/local.js +1 -1
- package/build/build/metadata.js +14 -0
- package/build/commands/build/configure.js +1 -1
- package/build/commands/channel/edit.js +1 -1
- package/build/commands/channel/view.js +3 -3
- package/build/commands/diagnostics.d.ts +1 -0
- package/build/commands/diagnostics.js +19 -1
- package/build/commands/submit.js +1 -1
- package/build/commands/update/configure.js +14 -6
- package/build/credentials/ios/actions/AscApiKeyUtils.js +1 -1
- package/build/credentials/ios/appstore/ensureAppExists.js +3 -3
- package/build/project/ios/target.js +32 -7
- package/build/submit/ios/AppProduce.js +3 -3
- package/build/submit/ios/IosSubmitCommand.js +1 -1
- package/build/submit/utils/wait.js +1 -1
- package/build/update/utils.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -74,7 +74,7 @@ ALIASES
|
|
|
74
74
|
$ eas login
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
77
|
+
_See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/account/login.ts)_
|
|
78
78
|
|
|
79
79
|
## `eas account:logout`
|
|
80
80
|
|
|
@@ -88,7 +88,7 @@ ALIASES
|
|
|
88
88
|
$ eas logout
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
91
|
+
_See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/account/logout.ts)_
|
|
92
92
|
|
|
93
93
|
## `eas account:view`
|
|
94
94
|
|
|
@@ -102,7 +102,7 @@ ALIASES
|
|
|
102
102
|
$ eas whoami
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
-
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
105
|
+
_See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/account/view.ts)_
|
|
106
106
|
|
|
107
107
|
## `eas analytics [STATUS]`
|
|
108
108
|
|
|
@@ -113,7 +113,7 @@ USAGE
|
|
|
113
113
|
$ eas analytics [STATUS]
|
|
114
114
|
```
|
|
115
115
|
|
|
116
|
-
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
116
|
+
_See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/analytics.ts)_
|
|
117
117
|
|
|
118
118
|
## `eas build`
|
|
119
119
|
|
|
@@ -147,7 +147,7 @@ OPTIONS
|
|
|
147
147
|
--[no-]wait Wait for build(s) to complete
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
150
|
+
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/build/index.ts)_
|
|
151
151
|
|
|
152
152
|
## `eas build:cancel [BUILD_ID]`
|
|
153
153
|
|
|
@@ -158,7 +158,7 @@ USAGE
|
|
|
158
158
|
$ eas build:cancel [BUILD_ID]
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
161
|
+
_See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/build/cancel.ts)_
|
|
162
162
|
|
|
163
163
|
## `eas build:configure`
|
|
164
164
|
|
|
@@ -172,7 +172,7 @@ OPTIONS
|
|
|
172
172
|
-p, --platform=(android|ios|all) Platform to configure
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
175
|
+
_See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/build/configure.ts)_
|
|
176
176
|
|
|
177
177
|
## `eas build:list`
|
|
178
178
|
|
|
@@ -205,7 +205,7 @@ OPTIONS
|
|
|
205
205
|
--status=(new|in-queue|in-progress|errored|finished|canceled)
|
|
206
206
|
```
|
|
207
207
|
|
|
208
|
-
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
208
|
+
_See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/build/list.ts)_
|
|
209
209
|
|
|
210
210
|
## `eas build:view [BUILD_ID]`
|
|
211
211
|
|
|
@@ -219,7 +219,7 @@ OPTIONS
|
|
|
219
219
|
--json Enable JSON output, non-JSON messages will be printed to stderr
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
222
|
+
_See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/build/view.ts)_
|
|
223
223
|
|
|
224
224
|
## `eas config`
|
|
225
225
|
|
|
@@ -234,7 +234,7 @@ OPTIONS
|
|
|
234
234
|
--profile=profile
|
|
235
235
|
```
|
|
236
236
|
|
|
237
|
-
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
237
|
+
_See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/config.ts)_
|
|
238
238
|
|
|
239
239
|
## `eas credentials`
|
|
240
240
|
|
|
@@ -245,7 +245,7 @@ USAGE
|
|
|
245
245
|
$ eas credentials
|
|
246
246
|
```
|
|
247
247
|
|
|
248
|
-
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
248
|
+
_See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/credentials.ts)_
|
|
249
249
|
|
|
250
250
|
## `eas device:create`
|
|
251
251
|
|
|
@@ -256,7 +256,7 @@ USAGE
|
|
|
256
256
|
$ eas device:create
|
|
257
257
|
```
|
|
258
258
|
|
|
259
|
-
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
259
|
+
_See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/device/create.ts)_
|
|
260
260
|
|
|
261
261
|
## `eas device:list`
|
|
262
262
|
|
|
@@ -270,7 +270,7 @@ OPTIONS
|
|
|
270
270
|
--apple-team-id=apple-team-id
|
|
271
271
|
```
|
|
272
272
|
|
|
273
|
-
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
273
|
+
_See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/device/list.ts)_
|
|
274
274
|
|
|
275
275
|
## `eas device:view [UDID]`
|
|
276
276
|
|
|
@@ -281,7 +281,7 @@ USAGE
|
|
|
281
281
|
$ eas device:view [UDID]
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
284
|
+
_See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/device/view.ts)_
|
|
285
285
|
|
|
286
286
|
## `eas diagnostics`
|
|
287
287
|
|
|
@@ -292,7 +292,7 @@ USAGE
|
|
|
292
292
|
$ eas diagnostics
|
|
293
293
|
```
|
|
294
294
|
|
|
295
|
-
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
295
|
+
_See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/diagnostics.ts)_
|
|
296
296
|
|
|
297
297
|
## `eas help [COMMAND]`
|
|
298
298
|
|
|
@@ -320,7 +320,7 @@ USAGE
|
|
|
320
320
|
$ eas project:info
|
|
321
321
|
```
|
|
322
322
|
|
|
323
|
-
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
323
|
+
_See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/project/info.ts)_
|
|
324
324
|
|
|
325
325
|
## `eas project:init`
|
|
326
326
|
|
|
@@ -334,7 +334,7 @@ ALIASES
|
|
|
334
334
|
$ eas init
|
|
335
335
|
```
|
|
336
336
|
|
|
337
|
-
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
337
|
+
_See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/project/init.ts)_
|
|
338
338
|
|
|
339
339
|
## `eas secret:create`
|
|
340
340
|
|
|
@@ -351,7 +351,7 @@ OPTIONS
|
|
|
351
351
|
--value=value Value of the secret
|
|
352
352
|
```
|
|
353
353
|
|
|
354
|
-
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
354
|
+
_See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/secret/create.ts)_
|
|
355
355
|
|
|
356
356
|
## `eas secret:delete`
|
|
357
357
|
|
|
@@ -368,7 +368,7 @@ DESCRIPTION
|
|
|
368
368
|
Unsure where to find the secret's ID? Run eas secret:list
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
-
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
371
|
+
_See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/secret/delete.ts)_
|
|
372
372
|
|
|
373
373
|
## `eas secret:list`
|
|
374
374
|
|
|
@@ -379,11 +379,11 @@ USAGE
|
|
|
379
379
|
$ eas secret:list
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
382
|
+
_See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/secret/list.ts)_
|
|
383
383
|
|
|
384
384
|
## `eas submit`
|
|
385
385
|
|
|
386
|
-
submit build archive to
|
|
386
|
+
submit build archive to App Store Connect
|
|
387
387
|
|
|
388
388
|
```
|
|
389
389
|
USAGE
|
|
@@ -412,7 +412,7 @@ ALIASES
|
|
|
412
412
|
$ eas build:submit
|
|
413
413
|
```
|
|
414
414
|
|
|
415
|
-
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
415
|
+
_See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/submit.ts)_
|
|
416
416
|
|
|
417
417
|
## `eas update:configure`
|
|
418
418
|
|
|
@@ -423,7 +423,7 @@ USAGE
|
|
|
423
423
|
$ eas update:configure
|
|
424
424
|
```
|
|
425
425
|
|
|
426
|
-
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
426
|
+
_See code: [src/commands/update/configure.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/update/configure.ts)_
|
|
427
427
|
|
|
428
428
|
## `eas webhook:create`
|
|
429
429
|
|
|
@@ -442,7 +442,7 @@ OPTIONS
|
|
|
442
442
|
--url=url Webhook URL
|
|
443
443
|
```
|
|
444
444
|
|
|
445
|
-
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
445
|
+
_See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/webhook/create.ts)_
|
|
446
446
|
|
|
447
447
|
## `eas webhook:delete [ID]`
|
|
448
448
|
|
|
@@ -456,7 +456,7 @@ ARGUMENTS
|
|
|
456
456
|
ID ID of the webhook to delete
|
|
457
457
|
```
|
|
458
458
|
|
|
459
|
-
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
459
|
+
_See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/webhook/delete.ts)_
|
|
460
460
|
|
|
461
461
|
## `eas webhook:list`
|
|
462
462
|
|
|
@@ -470,7 +470,7 @@ OPTIONS
|
|
|
470
470
|
--event=(BUILD|SUBMIT) Event type that triggers the webhook
|
|
471
471
|
```
|
|
472
472
|
|
|
473
|
-
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
473
|
+
_See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/webhook/list.ts)_
|
|
474
474
|
|
|
475
475
|
## `eas webhook:update`
|
|
476
476
|
|
|
@@ -490,7 +490,7 @@ OPTIONS
|
|
|
490
490
|
--url=url Webhook URL
|
|
491
491
|
```
|
|
492
492
|
|
|
493
|
-
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
493
|
+
_See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/webhook/update.ts)_
|
|
494
494
|
|
|
495
495
|
## `eas webhook:view ID`
|
|
496
496
|
|
|
@@ -504,5 +504,5 @@ ARGUMENTS
|
|
|
504
504
|
ID ID of the webhook to view
|
|
505
505
|
```
|
|
506
506
|
|
|
507
|
-
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.
|
|
507
|
+
_See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.39.0/packages/eas-cli/src/commands/webhook/view.ts)_
|
|
508
508
|
<!-- commandsstop -->
|
package/build/build/local.js
CHANGED
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
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 PLUGIN_PACKAGE_NAME = 'eas-cli-local-build-plugin';
|
|
8
|
-
const PLUGIN_PACKAGE_VERSION = '0.0.
|
|
8
|
+
const PLUGIN_PACKAGE_VERSION = '0.0.54';
|
|
9
9
|
async function runLocalBuildAsync(job) {
|
|
10
10
|
const { command, args } = await getCommandAndArgsAsync(job);
|
|
11
11
|
await (0, spawn_async_1.default)(command, args, {
|
package/build/build/metadata.js
CHANGED
|
@@ -4,6 +4,8 @@ exports.collectMetadataAsync = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const config_plugins_1 = require("@expo/config-plugins");
|
|
6
6
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
7
|
+
const fs_extra_1 = (0, tslib_1.__importDefault)(require("fs-extra"));
|
|
8
|
+
const resolve_from_1 = (0, tslib_1.__importDefault)(require("resolve-from"));
|
|
7
9
|
const log_1 = (0, tslib_1.__importDefault)(require("../log"));
|
|
8
10
|
const projectUtils_1 = require("../project/projectUtils");
|
|
9
11
|
const actions_1 = require("../user/actions");
|
|
@@ -38,6 +40,7 @@ async function collectMetadataAsync(ctx) {
|
|
|
38
40
|
credentialsSource: ctx.buildProfile.credentialsSource,
|
|
39
41
|
sdkVersion: ctx.exp.sdkVersion,
|
|
40
42
|
runtimeVersion: (_b = getRuntimeVersionNullable(ctx.exp, ctx.platform)) !== null && _b !== void 0 ? _b : undefined,
|
|
43
|
+
reactNativeVersion: await getReactNativeVersionAsync(ctx),
|
|
41
44
|
...channelOrReleaseChannel,
|
|
42
45
|
distribution,
|
|
43
46
|
appName: ctx.exp.name,
|
|
@@ -116,6 +119,17 @@ async function getNativeChannelAsync(ctx) {
|
|
|
116
119
|
}
|
|
117
120
|
return undefined;
|
|
118
121
|
}
|
|
122
|
+
async function getReactNativeVersionAsync(ctx) {
|
|
123
|
+
try {
|
|
124
|
+
const reactNativePackageJsonPath = (0, resolve_from_1.default)(ctx.projectDir, 'react-native/package.json');
|
|
125
|
+
return (await fs_extra_1.default.readJson(reactNativePackageJsonPath)).version;
|
|
126
|
+
}
|
|
127
|
+
catch (err) {
|
|
128
|
+
log_1.default.debug('Failed to resolve react-native version:');
|
|
129
|
+
log_1.default.debug(err);
|
|
130
|
+
return undefined;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
119
133
|
function resolveIosEnterpriseProvisioning(ctx) {
|
|
120
134
|
return ctx.buildProfile.enterpriseProvisioning;
|
|
121
135
|
}
|
|
@@ -44,7 +44,7 @@ function logSuccess(platform) {
|
|
|
44
44
|
}
|
|
45
45
|
else if (platform === 'ios') {
|
|
46
46
|
platformsText = 'iOS project is';
|
|
47
|
-
storesText = 'the Apple App Store';
|
|
47
|
+
storesText = 'the Apple App Store Connect';
|
|
48
48
|
}
|
|
49
49
|
log_1.default.log(`🎉 Your ${platformsText} ready to build.
|
|
50
50
|
|
|
@@ -54,7 +54,7 @@ async function updateChannelBranchMappingAsync({ channelId, branchMapping, }) {
|
|
|
54
54
|
.toPromise());
|
|
55
55
|
const channel = data.updateChannel.editUpdateChannel;
|
|
56
56
|
if (!channel) {
|
|
57
|
-
throw new Error(`Could not
|
|
57
|
+
throw new Error(`Could not find a channel with id: ${channelId}`);
|
|
58
58
|
}
|
|
59
59
|
return data.updateChannel.editUpdateChannel;
|
|
60
60
|
}
|
|
@@ -133,7 +133,7 @@ function logChannelDetails(channel) {
|
|
|
133
133
|
: []),
|
|
134
134
|
(0, utils_1.formatUpdate)(update),
|
|
135
135
|
(_a = update === null || update === void 0 ? void 0 : update.runtimeVersion) !== null && _a !== void 0 ? _a : 'N/A',
|
|
136
|
-
(_b = update === null || update === void 0 ? void 0 : update.group) !== null && _b !== void 0 ? _b : 'N/A
|
|
136
|
+
(_b = update === null || update === void 0 ? void 0 : update.group) !== null && _b !== void 0 ? _b : 'N/A',
|
|
137
137
|
(0, utils_1.getPlatformsForGroup)({
|
|
138
138
|
updates: branch.updates,
|
|
139
139
|
group: (_c = branch.updates[0]) === null || _c === void 0 ? void 0 : _c.group,
|
|
@@ -168,7 +168,7 @@ class ChannelView extends EasCommand_1.default {
|
|
|
168
168
|
});
|
|
169
169
|
const channel = (_a = getUpdateChannelByNameForAppresult.app) === null || _a === void 0 ? void 0 : _a.byId.updateChannelByName;
|
|
170
170
|
if (!channel) {
|
|
171
|
-
throw new Error(`Could not
|
|
171
|
+
throw new Error(`Could not find a channel with name: ${channelName}`);
|
|
172
172
|
}
|
|
173
173
|
if (jsonFlag) {
|
|
174
174
|
log_1.default.log(JSON.stringify(channel));
|
|
@@ -181,7 +181,7 @@ class ChannelView extends EasCommand_1.default {
|
|
|
181
181
|
{ label: 'ID', value: channel.id },
|
|
182
182
|
]));
|
|
183
183
|
log_1.default.addNewLineIfNone();
|
|
184
|
-
log_1.default.log((0, chalk_1.default) `{bold Branches
|
|
184
|
+
log_1.default.log((0, chalk_1.default) `{bold Branches pointed at this channel and their most recent update group:}`);
|
|
185
185
|
logChannelDetails(channel);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
4
5
|
const envinfo_1 = (0, tslib_1.__importDefault)(require("envinfo"));
|
|
5
6
|
const EasCommand_1 = (0, tslib_1.__importDefault)(require("../commandUtils/EasCommand"));
|
|
6
7
|
const log_1 = (0, tslib_1.__importDefault)(require("../log"));
|
|
8
|
+
const projectUtils_1 = require("../project/projectUtils");
|
|
9
|
+
const workflow_1 = require("../project/workflow");
|
|
7
10
|
const easCli_1 = require("../utils/easCli");
|
|
8
11
|
class Diagnostics extends EasCommand_1.default {
|
|
9
12
|
constructor() {
|
|
@@ -30,7 +33,22 @@ class Diagnostics extends EasCommand_1.default {
|
|
|
30
33
|
}, {
|
|
31
34
|
title: `EAS CLI ${easCli_1.easCliVersion} environment info`,
|
|
32
35
|
});
|
|
33
|
-
log_1.default.log(info);
|
|
36
|
+
log_1.default.log(info.trimEnd());
|
|
37
|
+
await this.printWorkflowAsync();
|
|
38
|
+
log_1.default.newLine();
|
|
39
|
+
}
|
|
40
|
+
async printWorkflowAsync() {
|
|
41
|
+
const projectDir = await (0, projectUtils_1.findProjectRootAsync)();
|
|
42
|
+
const androidWorkflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.ANDROID);
|
|
43
|
+
const iosWorkflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.IOS);
|
|
44
|
+
if (androidWorkflow === iosWorkflow) {
|
|
45
|
+
log_1.default.log(` Project workflow: ${androidWorkflow}`);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
log_1.default.log(` Project Workflow:`);
|
|
49
|
+
log_1.default.log(` Android: ${androidWorkflow}`);
|
|
50
|
+
log_1.default.log(` iOS: ${iosWorkflow}`);
|
|
51
|
+
}
|
|
34
52
|
}
|
|
35
53
|
}
|
|
36
54
|
exports.default = Diagnostics;
|
package/build/commands/submit.js
CHANGED
|
@@ -74,7 +74,7 @@ class Submit extends EasCommand_1.default {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
exports.default = Submit;
|
|
77
|
-
Submit.description = `submit build archive to
|
|
77
|
+
Submit.description = `submit build archive to App Store Connect
|
|
78
78
|
See how to configure submits with eas.json: ${(0, log_1.link)('https://docs.expo.dev/submit/eas-json/')}`;
|
|
79
79
|
Submit.aliases = ['build:submit'];
|
|
80
80
|
Submit.flags = {
|
|
@@ -10,32 +10,40 @@ const log_1 = (0, tslib_1.__importStar)(require("../../log"));
|
|
|
10
10
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
11
11
|
const workflow_1 = require("../../project/workflow");
|
|
12
12
|
const EAS_UPDATE_URL = 'https://u.expo.dev';
|
|
13
|
+
const DEFAULT_RUNTIME_VERSION = { policy: 'sdkVersion' };
|
|
13
14
|
async function getEASUpdateURLAsync(exp) {
|
|
14
15
|
const projectId = await (0, projectUtils_1.getProjectIdAsync)(exp);
|
|
15
16
|
return new URL(projectId, EAS_UPDATE_URL).href;
|
|
16
17
|
}
|
|
17
18
|
exports.getEASUpdateURLAsync = getEASUpdateURLAsync;
|
|
18
|
-
async function
|
|
19
|
+
async function configureProjectForEASUpdateAsync(projectDir, exp) {
|
|
19
20
|
var _a, _b;
|
|
20
21
|
const easUpdateURL = await getEASUpdateURLAsync(exp);
|
|
22
|
+
const preexistingRuntimeVersion = exp.runtimeVersion;
|
|
21
23
|
const result = await (0, config_1.modifyConfigAsync)(projectDir, {
|
|
24
|
+
runtimeVersion: preexistingRuntimeVersion !== null && preexistingRuntimeVersion !== void 0 ? preexistingRuntimeVersion : DEFAULT_RUNTIME_VERSION,
|
|
22
25
|
updates: { ...exp.updates, url: easUpdateURL },
|
|
23
26
|
});
|
|
24
27
|
switch (result.type) {
|
|
25
28
|
case 'success':
|
|
26
29
|
if ((_a = exp.updates) === null || _a === void 0 ? void 0 : _a.url) {
|
|
27
|
-
|
|
30
|
+
if (exp.updates.url !== easUpdateURL) {
|
|
31
|
+
log_1.default.withTick(`Overwrote "${(_b = exp.updates) === null || _b === void 0 ? void 0 : _b.url}" with "${easUpdateURL}" for the updates.url value in app.json`);
|
|
32
|
+
}
|
|
28
33
|
}
|
|
29
34
|
else {
|
|
30
35
|
log_1.default.withTick(`Set updates.url value, to "${easUpdateURL}" in app.json`);
|
|
31
36
|
}
|
|
37
|
+
if (!preexistingRuntimeVersion) {
|
|
38
|
+
log_1.default.withTick(`Set runtimeVersion to "${JSON.stringify(DEFAULT_RUNTIME_VERSION)}" in app.json`);
|
|
39
|
+
}
|
|
32
40
|
break;
|
|
33
41
|
case 'warn': {
|
|
34
42
|
log_1.default.addNewLineIfNone();
|
|
35
43
|
log_1.default.warn(`It looks like you are using a dynamic configuration! ${(0, log_1.learnMore)('https://docs.expo.dev/workflow/configuration/#dynamic-configuration-with-appconfigjs)')}`);
|
|
36
|
-
log_1.default.warn(
|
|
37
|
-
log_1.default.log(chalk_1.default.bold(`
|
|
38
|
-
log_1.default.
|
|
44
|
+
log_1.default.warn(`In order to finish configuring your project for EAS Update, you are going to need manually add the following to your app.config.js:\n${(0, log_1.learnMore)('https://expo.fyi/eas-update-config.md')}\n`);
|
|
45
|
+
log_1.default.log(chalk_1.default.bold(`{\n updates": {\n "url": "${easUpdateURL}"\n },\n "runtimeVersion": {\n "policy": "sdkVersion"\n }\n}`));
|
|
46
|
+
log_1.default.addNewLineIfNone();
|
|
39
47
|
throw new Error(result.message);
|
|
40
48
|
}
|
|
41
49
|
case 'fail':
|
|
@@ -51,7 +59,7 @@ class UpdateConfigure extends EasCommand_1.default {
|
|
|
51
59
|
const { exp } = (0, config_1.getConfig)(projectDir, {
|
|
52
60
|
skipSDKVersionRequirement: true,
|
|
53
61
|
});
|
|
54
|
-
await
|
|
62
|
+
await configureProjectForEASUpdateAsync(projectDir, exp);
|
|
55
63
|
const hasAndroidNativeProject = (await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.ANDROID)) === eas_build_job_1.Workflow.GENERIC;
|
|
56
64
|
const hasIosNativeProject = (await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.IOS)) === eas_build_job_1.Workflow.GENERIC;
|
|
57
65
|
log_1.default.addNewLineIfNone();
|
|
@@ -93,7 +93,7 @@ async function promptForAscApiKeyAsync(ctx) {
|
|
|
93
93
|
}
|
|
94
94
|
async function promptForKeyP8AndIdAsync() {
|
|
95
95
|
var _a, _b;
|
|
96
|
-
log_1.default.log(chalk_1.default.bold('An App Store Connect Api key is required to upload your app to the Apple App Store'));
|
|
96
|
+
log_1.default.log(chalk_1.default.bold('An App Store Connect Api key is required to upload your app to the Apple App Store Connect'));
|
|
97
97
|
log_1.default.log(`If you're not sure what this is or how to create one, ${(0, log_1.learnMore)('https://expo.fyi/creating-asc-api-key')}`);
|
|
98
98
|
const { keyP8Path } = await (0, prompts_1.promptAsync)({
|
|
99
99
|
type: 'text',
|
|
@@ -96,10 +96,10 @@ exports.syncCapabilityIdentifiersAsync = syncCapabilityIdentifiersAsync;
|
|
|
96
96
|
async function ensureAppExistsAsync(authCtx, { name, language, companyName, bundleIdentifier, sku, }) {
|
|
97
97
|
var _a;
|
|
98
98
|
const context = (0, authenticate_1.getRequestContext)(authCtx);
|
|
99
|
-
const spinner = (0, ora_1.ora)(`Linking to App Store ${chalk_1.default.dim(bundleIdentifier)}`).start();
|
|
99
|
+
const spinner = (0, ora_1.ora)(`Linking to App Store Connect ${chalk_1.default.dim(bundleIdentifier)}`).start();
|
|
100
100
|
let app = await apple_utils_1.App.findAsync(context, { bundleId: bundleIdentifier });
|
|
101
101
|
if (!app) {
|
|
102
|
-
spinner.text = `Creating App Store app ${chalk_1.default.bold(name)} ${chalk_1.default.dim(bundleIdentifier)}`;
|
|
102
|
+
spinner.text = `Creating App Store Connect app ${chalk_1.default.bold(name)} ${chalk_1.default.dim(bundleIdentifier)}`;
|
|
103
103
|
try {
|
|
104
104
|
// Assert contract errors when the user needs to create an app.
|
|
105
105
|
await (0, contractMessages_1.assertContractMessagesAsync)(context, spinner);
|
|
@@ -125,7 +125,7 @@ async function ensureAppExistsAsync(authCtx, { name, language, companyName, bund
|
|
|
125
125
|
else {
|
|
126
126
|
// TODO: Update app name when API gives us that possibility
|
|
127
127
|
}
|
|
128
|
-
spinner.succeed(`Prepared App Store for ${chalk_1.default.bold(name)} ${chalk_1.default.dim(bundleIdentifier)}`);
|
|
128
|
+
spinner.succeed(`Prepared App Store Connect for ${chalk_1.default.bold(name)} ${chalk_1.default.dim(bundleIdentifier)}`);
|
|
129
129
|
return app;
|
|
130
130
|
}
|
|
131
131
|
exports.ensureAppExistsAsync = ensureAppExistsAsync;
|
|
@@ -17,22 +17,47 @@ async function resolveTargetsAsync({ exp, projectDir }, { buildConfiguration, bu
|
|
|
17
17
|
bundleIdentifier,
|
|
18
18
|
buildConfiguration,
|
|
19
19
|
});
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
const dependencies = await resolveDependenciesAsync({
|
|
21
|
+
exp,
|
|
22
|
+
projectDir,
|
|
23
|
+
buildConfiguration,
|
|
24
|
+
target: applicationTarget,
|
|
25
|
+
bundleIdentifier,
|
|
26
|
+
});
|
|
27
|
+
if (dependencies.length > 0) {
|
|
28
|
+
result.push(...dependencies);
|
|
29
|
+
}
|
|
30
|
+
return result;
|
|
31
|
+
}
|
|
32
|
+
exports.resolveTargetsAsync = resolveTargetsAsync;
|
|
33
|
+
async function resolveDependenciesAsync({ exp, projectDir, buildConfiguration, target, bundleIdentifier, }) {
|
|
34
|
+
const result = [];
|
|
35
|
+
if (target.dependencies && target.dependencies.length > 0) {
|
|
36
|
+
for (const dependency of target.dependencies) {
|
|
37
|
+
const dependencyBundleIdentifier = await (0, bundleIdentifier_1.getBundleIdentifierAsync)(projectDir, exp, {
|
|
38
|
+
targetName: dependency.name,
|
|
39
|
+
buildConfiguration,
|
|
40
|
+
});
|
|
22
41
|
result.push({
|
|
23
42
|
targetName: dependency.name,
|
|
24
43
|
buildConfiguration,
|
|
25
|
-
bundleIdentifier:
|
|
26
|
-
targetName: dependency.name,
|
|
27
|
-
buildConfiguration,
|
|
28
|
-
}),
|
|
44
|
+
bundleIdentifier: dependencyBundleIdentifier,
|
|
29
45
|
parentBundleIdentifier: bundleIdentifier,
|
|
30
46
|
});
|
|
47
|
+
const dependencyDependencies = await resolveDependenciesAsync({
|
|
48
|
+
exp,
|
|
49
|
+
projectDir,
|
|
50
|
+
buildConfiguration,
|
|
51
|
+
target: dependency,
|
|
52
|
+
bundleIdentifier: dependencyBundleIdentifier,
|
|
53
|
+
});
|
|
54
|
+
if (dependencyDependencies.length > 0) {
|
|
55
|
+
result.push(...dependencyDependencies);
|
|
56
|
+
}
|
|
31
57
|
}
|
|
32
58
|
}
|
|
33
59
|
return result;
|
|
34
60
|
}
|
|
35
|
-
exports.resolveTargetsAsync = resolveTargetsAsync;
|
|
36
61
|
async function readApplicationTargetForSchemeAsync(projectDir, scheme) {
|
|
37
62
|
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.IOS);
|
|
38
63
|
if (workflow === eas_build_job_1.Workflow.GENERIC) {
|
|
@@ -11,13 +11,13 @@ const bundleIdentifier_1 = require("../../project/ios/bundleIdentifier");
|
|
|
11
11
|
const prompts_1 = require("../../prompts");
|
|
12
12
|
const language_1 = require("./utils/language");
|
|
13
13
|
async function ensureAppStoreConnectAppExistsAsync(ctx) {
|
|
14
|
-
var _a;
|
|
14
|
+
var _a, _b, _c;
|
|
15
15
|
const { exp } = ctx;
|
|
16
16
|
const { appName, language } = ctx.profile;
|
|
17
17
|
const options = {
|
|
18
18
|
...ctx.profile,
|
|
19
|
-
bundleIdentifier: await (0, bundleIdentifier_1.getBundleIdentifierAsync)(ctx.projectDir, exp),
|
|
20
|
-
appName: (
|
|
19
|
+
bundleIdentifier: (_b = (_a = ctx.applicationIdentifierOverride) !== null && _a !== void 0 ? _a : ctx.profile.bundleIdentifier) !== null && _b !== void 0 ? _b : (await (0, bundleIdentifier_1.getBundleIdentifierAsync)(ctx.projectDir, exp)),
|
|
20
|
+
appName: (_c = appName !== null && appName !== void 0 ? appName : exp.name) !== null && _c !== void 0 ? _c : (await promptForAppNameAsync()),
|
|
21
21
|
language: (0, language_1.sanitizeLanguage)(language),
|
|
22
22
|
};
|
|
23
23
|
return await createAppStoreConnectAppAsync(ctx, options);
|
|
@@ -159,7 +159,7 @@ class IosSubmitCommand {
|
|
|
159
159
|
return (0, results_1.result)(ascAppId);
|
|
160
160
|
}
|
|
161
161
|
else if (this.ctx.nonInteractive) {
|
|
162
|
-
return (0, results_1.result)(new Error('Set ascAppId in the submit profile (eas.json).'));
|
|
162
|
+
return (0, results_1.result)(new Error('Set ascAppId in the submit profile (eas.json) or re-run this command in interactive mode.'));
|
|
163
163
|
}
|
|
164
164
|
else {
|
|
165
165
|
log_1.default.log((0, wrap_ansi_1.default)(`Ensuring your app exists on App Store Connect. This step can be skipped by providing ${chalk_1.default.bold(`ascAppId`)} in the submit profile. ${(0, log_1.learnMore)('https://expo.fyi/asc-app-id')}`, process.stdout.columns || 80));
|
|
@@ -10,7 +10,7 @@ const ora_1 = require("../../ora");
|
|
|
10
10
|
const promise_1 = require("../../utils/promise");
|
|
11
11
|
const APP_STORE_NAMES = {
|
|
12
12
|
[generated_1.AppPlatform.Android]: 'Google Play Store',
|
|
13
|
-
[generated_1.AppPlatform.Ios]: 'Apple App Store',
|
|
13
|
+
[generated_1.AppPlatform.Ios]: 'Apple App Store Connect',
|
|
14
14
|
};
|
|
15
15
|
const CHECK_TIMEOUT_MS = 3600000;
|
|
16
16
|
const CHECK_INTERVAL_MS = 5000;
|
package/build/update/utils.js
CHANGED
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.38.3","commands":{"analytics":{"id":"analytics","description":"view or change analytics settings","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"STATUS","options":["on","off"]}]},"config":{"id":"config","description":"show the eas.json config","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios)","options":["android","ios"]},"profile":{"name":"profile","type":"option"}},"args":[]},"credentials":{"id":"credentials","description":"manage your credentials","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"diagnostics":{"id":"diagnostics","description":"log environment info to the console","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"submit":{"id":"submit","description":"submit build archive to app store\nSee how to configure submits with eas.json: https://docs.expo.dev/submit/eas-json/","pluginName":"eas-cli","pluginType":"core","aliases":["build:submit"],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","options":["android","ios","all"]},"profile":{"name":"profile","type":"option","description":"Name of the submit profile from eas.json. Defaults to \"production\" if defined in eas.json."},"latest":{"name":"latest","type":"boolean","description":"Submit the latest build for specified platform","allowNo":false},"id":{"name":"id","type":"option","description":"ID of the build to submit"},"path":{"name":"path","type":"option","description":"Path to the .apk/.aab/.ipa file"},"url":{"name":"url","type":"option","description":"App archive url"},"verbose":{"name":"verbose","type":"boolean","description":"Always print logs from Submission Service","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for submission to complete","allowNo":true},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[]},"account:login":{"id":"account:login","description":"log in with your Expo account","pluginName":"eas-cli","pluginType":"core","aliases":["login"],"flags":{},"args":[]},"account:logout":{"id":"account:logout","description":"log out","pluginName":"eas-cli","pluginType":"core","aliases":["logout"],"flags":{},"args":[]},"account:view":{"id":"account:view","description":"show the username you are logged in as","pluginName":"eas-cli","pluginType":"core","aliases":["whoami"],"flags":{},"args":[]},"branch:create":{"id":"branch:create","description":"Create a branch on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the new branch ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to create","required":false}]},"branch:delete":{"id":"branch:delete","description":"Republish an update group","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return JSON with the edited branch's ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to delete","required":false}]},"branch:list":{"id":"branch:list","description":"List all branches on this project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return output as JSON","allowNo":false}},"args":[]},"branch:publish":{"id":"branch:publish","description":"Publish an update group to a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"message":{"name":"message","type":"option","description":"short message describing the updates.","required":false},"republish":{"name":"republish","type":"boolean","description":"republish an update group","allowNo":false},"group":{"name":"group","type":"option","description":"update group to republish"},"input-dir":{"name":"input-dir","type":"option","description":"location of the bundle","required":false,"default":"dist"},"skip-bundler":{"name":"skip-bundler","type":"boolean","description":"skip running Expo CLI to bundle the app before publishing","allowNo":false},"platform":{"name":"platform","type":"option","char":"p","description":"only publish to a single platform","required":false,"helpValue":"(android|ios|all)","options":["android","ios","all"],"default":"all"},"json":{"name":"json","type":"boolean","description":"return a json with the new update group.","allowNo":false},"auto":{"name":"auto","type":"boolean","description":"use the current git branch and commit message for the EAS branch and update message","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to publish on"}]},"branch:rename":{"id":"branch:rename","description":"Rename a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"from":{"name":"from","type":"option","description":"current name of the branch.","required":false},"to":{"name":"to","type":"option","description":"new name of the branch.","required":false},"json":{"name":"json","type":"boolean","description":"return a json with the edited branch's ID and name.","allowNo":false}},"args":[]},"branch:view":{"id":"branch:view","description":"View a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the branch's ID name and recent update groups.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to view","required":false}]},"build:cancel":{"id":"build:cancel","description":"Cancel a build.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"BUILD_ID"}]},"build:configure":{"id":"build:configure","description":"Configure the project to support EAS Build.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","description":"Platform to configure","helpValue":"(android|ios|all)","options":["android","ios","all"]}},"args":[]},"build":{"id":"build","description":"start a build","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","options":["android","ios","all"]},"skip-credentials-check":{"name":"skip-credentials-check","type":"boolean","hidden":true,"allowNo":false},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"skip-project-configuration":{"name":"skip-project-configuration","type":"boolean","description":"Skip project configuration","allowNo":false},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME"},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run build locally [experimental]","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for build(s) to complete","allowNo":true},"clear-cache":{"name":"clear-cache","type":"boolean","description":"Clear cache before the build","allowNo":false},"auto-submit":{"name":"auto-submit","type":"boolean","description":"Submit on build complete using the submit profile with the same name as the build profile","allowNo":false},"auto-submit-with-profile":{"name":"auto-submit-with-profile","type":"option","description":"Submit on build complete using the submit profile with provided name","helpValue":"PROFILE_NAME"}},"args":[]},"build:list":{"id":"build:list","description":"list all builds for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","helpValue":"(all|android|ios)","options":["all","android","ios"]},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"status":{"name":"status","type":"option","helpValue":"(new|in-queue|in-progress|errored|finished|canceled)","options":["new","in-queue","in-progress","errored","finished","canceled"]},"distribution":{"name":"distribution","type":"option","helpValue":"(store|internal|simulator)","options":["store","internal","simulator"]},"channel":{"name":"channel","type":"option"},"appVersion":{"name":"appVersion","type":"option"},"appBuildVersion":{"name":"appBuildVersion","type":"option"},"sdkVersion":{"name":"sdkVersion","type":"option"},"runtimeVersion":{"name":"runtimeVersion","type":"option"},"appIdentifier":{"name":"appIdentifier","type":"option"},"buildProfile":{"name":"buildProfile","type":"option"},"gitCommitHash":{"name":"gitCommitHash","type":"option"},"limit":{"name":"limit","type":"option"}},"args":[]},"build:view":{"id":"build:view","description":"view a build for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false}},"args":[{"name":"BUILD_ID"}]},"channel:create":{"id":"channel:create","description":"Create a channel on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to create","required":false}]},"channel:edit":{"id":"channel:edit","description":"Point a channel at a new branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Name of the branch to point to"},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to edit","required":false}]},"channel:list":{"id":"channel:list","description":"List all channels on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[]},"channel:rollout":{"id":"channel:rollout","description":"Rollout a new branch out to a channel incrementally.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"branch to rollout","required":false},"percent":{"name":"percent","type":"option","description":"percent of traffic to redirect to the new branch","required":false},"end":{"name":"end","type":"boolean","description":"end the rollout","allowNo":false},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping","allowNo":false}},"args":[{"name":"channel","description":"rollout that the channel is on","required":true}]},"channel:view":{"id":"channel:view","description":"View a channel on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to view","required":false}]},"device:create":{"id":"device:create","description":"register new Apple Devices to use for internal distribution","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"device:list":{"id":"device:list","description":"list all registered devices for your account","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"apple-team-id":{"name":"apple-team-id","type":"option"}},"args":[]},"device:view":{"id":"device:view","description":"view a device for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"UDID"}]},"project:info":{"id":"project:info","description":"information about the current project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"project:init":{"id":"project:init","description":"create or link an EAS project","pluginName":"eas-cli","pluginType":"core","aliases":["init"],"flags":{},"args":[]},"secret:create":{"id":"secret:create","description":"Create an environment secret on the current project or owner account.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"scope":{"name":"scope","type":"option","description":"Scope for the secret","helpValue":"(account|project)","options":["account","project"],"default":"project"},"name":{"name":"name","type":"option","description":"Name of the secret"},"value":{"name":"value","type":"option","description":"Value of the secret"},"force":{"name":"force","type":"boolean","description":"Delete and recreate existing secrets","allowNo":false}},"args":[]},"secret:delete":{"id":"secret:delete","description":"Delete an environment secret by ID.\nUnsure where to find the secret's ID? Run eas secret:list","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"ID of the secret to delete"}},"args":[]},"secret:list":{"id":"secret:list","description":"Lists environment secrets available for your current app","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:configure":{"id":"update:configure","description":"Configure the project to support EAS Update.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:delete":{"id":"update:delete","description":"Delete all the updates in an update Group.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the group ID of the deleted updates.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group to delete.","required":true}]},"update:view":{"id":"update:view","description":"Update group details.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the updates belonging to the group.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group.","required":true}]},"webhook:create":{"id":"webhook:create","description":"Create a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL"},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header."}},"args":[]},"webhook:delete":{"id":"webhook:delete","description":"Delete a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to delete","required":false}]},"webhook:list":{"id":"webhook:list","description":"List webhooks on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]}},"args":[]},"webhook:update":{"id":"webhook:update","description":"Create a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"Webhook ID","required":true},"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL"},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header."}},"args":[]},"webhook:view":{"id":"webhook:view","description":"View a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to view","required":true}]}}}
|
|
1
|
+
{"version":"0.39.0","commands":{"analytics":{"id":"analytics","description":"view or change analytics settings","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"STATUS","options":["on","off"]}]},"config":{"id":"config","description":"show the eas.json config","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios)","options":["android","ios"]},"profile":{"name":"profile","type":"option"}},"args":[]},"credentials":{"id":"credentials","description":"manage your credentials","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"diagnostics":{"id":"diagnostics","description":"log environment info to the console","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"submit":{"id":"submit","description":"submit build archive to App Store Connect\nSee how to configure submits with eas.json: https://docs.expo.dev/submit/eas-json/","pluginName":"eas-cli","pluginType":"core","aliases":["build:submit"],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","options":["android","ios","all"]},"profile":{"name":"profile","type":"option","description":"Name of the submit profile from eas.json. Defaults to \"production\" if defined in eas.json."},"latest":{"name":"latest","type":"boolean","description":"Submit the latest build for specified platform","allowNo":false},"id":{"name":"id","type":"option","description":"ID of the build to submit"},"path":{"name":"path","type":"option","description":"Path to the .apk/.aab/.ipa file"},"url":{"name":"url","type":"option","description":"App archive url"},"verbose":{"name":"verbose","type":"boolean","description":"Always print logs from Submission Service","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for submission to complete","allowNo":true},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[]},"account:login":{"id":"account:login","description":"log in with your Expo account","pluginName":"eas-cli","pluginType":"core","aliases":["login"],"flags":{},"args":[]},"account:logout":{"id":"account:logout","description":"log out","pluginName":"eas-cli","pluginType":"core","aliases":["logout"],"flags":{},"args":[]},"account:view":{"id":"account:view","description":"show the username you are logged in as","pluginName":"eas-cli","pluginType":"core","aliases":["whoami"],"flags":{},"args":[]},"branch:create":{"id":"branch:create","description":"Create a branch on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the new branch ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to create","required":false}]},"branch:delete":{"id":"branch:delete","description":"Republish an update group","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return JSON with the edited branch's ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to delete","required":false}]},"branch:list":{"id":"branch:list","description":"List all branches on this project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return output as JSON","allowNo":false}},"args":[]},"branch:publish":{"id":"branch:publish","description":"Publish an update group to a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"message":{"name":"message","type":"option","description":"short message describing the updates.","required":false},"republish":{"name":"republish","type":"boolean","description":"republish an update group","allowNo":false},"group":{"name":"group","type":"option","description":"update group to republish"},"input-dir":{"name":"input-dir","type":"option","description":"location of the bundle","required":false,"default":"dist"},"skip-bundler":{"name":"skip-bundler","type":"boolean","description":"skip running Expo CLI to bundle the app before publishing","allowNo":false},"platform":{"name":"platform","type":"option","char":"p","description":"only publish to a single platform","required":false,"helpValue":"(android|ios|all)","options":["android","ios","all"],"default":"all"},"json":{"name":"json","type":"boolean","description":"return a json with the new update group.","allowNo":false},"auto":{"name":"auto","type":"boolean","description":"use the current git branch and commit message for the EAS branch and update message","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to publish on"}]},"branch:rename":{"id":"branch:rename","description":"Rename a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"from":{"name":"from","type":"option","description":"current name of the branch.","required":false},"to":{"name":"to","type":"option","description":"new name of the branch.","required":false},"json":{"name":"json","type":"boolean","description":"return a json with the edited branch's ID and name.","allowNo":false}},"args":[]},"branch:view":{"id":"branch:view","description":"View a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the branch's ID name and recent update groups.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to view","required":false}]},"build:cancel":{"id":"build:cancel","description":"Cancel a build.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"BUILD_ID"}]},"build:configure":{"id":"build:configure","description":"Configure the project to support EAS Build.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","description":"Platform to configure","helpValue":"(android|ios|all)","options":["android","ios","all"]}},"args":[]},"build":{"id":"build","description":"start a build","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","options":["android","ios","all"]},"skip-credentials-check":{"name":"skip-credentials-check","type":"boolean","hidden":true,"allowNo":false},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"skip-project-configuration":{"name":"skip-project-configuration","type":"boolean","description":"Skip project configuration","allowNo":false},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME"},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run build locally [experimental]","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for build(s) to complete","allowNo":true},"clear-cache":{"name":"clear-cache","type":"boolean","description":"Clear cache before the build","allowNo":false},"auto-submit":{"name":"auto-submit","type":"boolean","description":"Submit on build complete using the submit profile with the same name as the build profile","allowNo":false},"auto-submit-with-profile":{"name":"auto-submit-with-profile","type":"option","description":"Submit on build complete using the submit profile with provided name","helpValue":"PROFILE_NAME"}},"args":[]},"build:list":{"id":"build:list","description":"list all builds for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","helpValue":"(all|android|ios)","options":["all","android","ios"]},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"status":{"name":"status","type":"option","helpValue":"(new|in-queue|in-progress|errored|finished|canceled)","options":["new","in-queue","in-progress","errored","finished","canceled"]},"distribution":{"name":"distribution","type":"option","helpValue":"(store|internal|simulator)","options":["store","internal","simulator"]},"channel":{"name":"channel","type":"option"},"appVersion":{"name":"appVersion","type":"option"},"appBuildVersion":{"name":"appBuildVersion","type":"option"},"sdkVersion":{"name":"sdkVersion","type":"option"},"runtimeVersion":{"name":"runtimeVersion","type":"option"},"appIdentifier":{"name":"appIdentifier","type":"option"},"buildProfile":{"name":"buildProfile","type":"option"},"gitCommitHash":{"name":"gitCommitHash","type":"option"},"limit":{"name":"limit","type":"option"}},"args":[]},"build:view":{"id":"build:view","description":"view a build for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false}},"args":[{"name":"BUILD_ID"}]},"channel:create":{"id":"channel:create","description":"Create a channel on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to create","required":false}]},"channel:edit":{"id":"channel:edit","description":"Point a channel at a new branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Name of the branch to point to"},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to edit","required":false}]},"channel:list":{"id":"channel:list","description":"List all channels on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[]},"channel:rollout":{"id":"channel:rollout","description":"Rollout a new branch out to a channel incrementally.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"branch to rollout","required":false},"percent":{"name":"percent","type":"option","description":"percent of traffic to redirect to the new branch","required":false},"end":{"name":"end","type":"boolean","description":"end the rollout","allowNo":false},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping","allowNo":false}},"args":[{"name":"channel","description":"rollout that the channel is on","required":true}]},"channel:view":{"id":"channel:view","description":"View a channel on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to view","required":false}]},"device:create":{"id":"device:create","description":"register new Apple Devices to use for internal distribution","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"device:list":{"id":"device:list","description":"list all registered devices for your account","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"apple-team-id":{"name":"apple-team-id","type":"option"}},"args":[]},"device:view":{"id":"device:view","description":"view a device for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"UDID"}]},"project:info":{"id":"project:info","description":"information about the current project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"project:init":{"id":"project:init","description":"create or link an EAS project","pluginName":"eas-cli","pluginType":"core","aliases":["init"],"flags":{},"args":[]},"secret:create":{"id":"secret:create","description":"Create an environment secret on the current project or owner account.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"scope":{"name":"scope","type":"option","description":"Scope for the secret","helpValue":"(account|project)","options":["account","project"],"default":"project"},"name":{"name":"name","type":"option","description":"Name of the secret"},"value":{"name":"value","type":"option","description":"Value of the secret"},"force":{"name":"force","type":"boolean","description":"Delete and recreate existing secrets","allowNo":false}},"args":[]},"secret:delete":{"id":"secret:delete","description":"Delete an environment secret by ID.\nUnsure where to find the secret's ID? Run eas secret:list","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"ID of the secret to delete"}},"args":[]},"secret:list":{"id":"secret:list","description":"Lists environment secrets available for your current app","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:configure":{"id":"update:configure","description":"Configure the project to support EAS Update.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:delete":{"id":"update:delete","description":"Delete all the updates in an update Group.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the group ID of the deleted updates.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group to delete.","required":true}]},"update:view":{"id":"update:view","description":"Update group details.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the updates belonging to the group.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group.","required":true}]},"webhook:create":{"id":"webhook:create","description":"Create a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL"},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header."}},"args":[]},"webhook:delete":{"id":"webhook:delete","description":"Delete a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to delete","required":false}]},"webhook:list":{"id":"webhook:list","description":"List webhooks on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]}},"args":[]},"webhook:update":{"id":"webhook:update","description":"Create a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"Webhook ID","required":true},"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL"},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header."}},"args":[]},"webhook:view":{"id":"webhook:view","description":"View a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to view","required":true}]}}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
3
|
"description": "EAS command line tool",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.39.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eas": "./bin/run"
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@expo/apple-utils": "0.0.0-alpha.26",
|
|
12
|
-
"@expo/config": "6.0.
|
|
13
|
-
"@expo/config-plugins": "4.0.
|
|
14
|
-
"@expo/eas-build-job": "0.2.
|
|
15
|
-
"@expo/eas-json": "^0.
|
|
12
|
+
"@expo/config": "6.0.11",
|
|
13
|
+
"@expo/config-plugins": "4.0.11",
|
|
14
|
+
"@expo/eas-build-job": "0.2.61",
|
|
15
|
+
"@expo/eas-json": "^0.39.0",
|
|
16
16
|
"@expo/json-file": "8.2.34",
|
|
17
17
|
"@expo/pkcs12": "0.0.6",
|
|
18
18
|
"@expo/plist": "0.0.16",
|
|
19
19
|
"@expo/plugin-warn-if-update-available": "1.7.1",
|
|
20
|
-
"@expo/prebuild-config": "3.0.
|
|
20
|
+
"@expo/prebuild-config": "3.0.11",
|
|
21
21
|
"@expo/results": "1.0.0",
|
|
22
22
|
"@expo/rudder-sdk-node": "1.1.1",
|
|
23
23
|
"@expo/spawn-async": "1.5.0",
|
|
@@ -179,5 +179,5 @@
|
|
|
179
179
|
"generate-graphql-code": "graphql-codegen --config graphql-codegen.yml",
|
|
180
180
|
"clean": "rm -rf dist build node_modules yarn-error.log"
|
|
181
181
|
},
|
|
182
|
-
"gitHead": "
|
|
182
|
+
"gitHead": "a344c11ba143819d4e3ac0b0ebcea1d69d7de2b5"
|
|
183
183
|
}
|