eas-cli 0.38.1 → 0.40.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.
Files changed (49) hide show
  1. package/README.md +31 -31
  2. package/build/build/android/configure.d.ts +3 -2
  3. package/build/build/configure.js +1 -1
  4. package/build/build/createContext.js +1 -1
  5. package/build/build/ios/configure.d.ts +3 -2
  6. package/build/build/ios/version.d.ts +1 -1
  7. package/build/build/ios/version.js +4 -1
  8. package/build/build/local.js +1 -1
  9. package/build/build/metadata.js +14 -0
  10. package/build/commandUtils/EasCommand.js +0 -2
  11. package/build/commands/branch/publish.d.ts +1 -18
  12. package/build/commands/branch/publish.js +2 -344
  13. package/build/commands/build/configure.js +1 -1
  14. package/build/commands/build/index.js +18 -11
  15. package/build/commands/channel/edit.js +1 -1
  16. package/build/commands/channel/view.js +3 -3
  17. package/build/commands/config.js +1 -1
  18. package/build/commands/credentials.js +1 -7
  19. package/build/commands/diagnostics.d.ts +1 -0
  20. package/build/commands/diagnostics.js +19 -1
  21. package/build/commands/submit.js +1 -1
  22. package/build/commands/update/configure.d.ts +8 -0
  23. package/build/commands/update/configure.js +76 -0
  24. package/build/commands/update/index.d.ts +20 -0
  25. package/build/commands/update/index.js +361 -0
  26. package/build/credentials/context.d.ts +5 -0
  27. package/build/credentials/context.js +12 -7
  28. package/build/credentials/ios/actions/AscApiKeyUtils.js +1 -1
  29. package/build/credentials/ios/appstore/ensureAppExists.js +3 -3
  30. package/build/credentials/manager/ManageAndroid.d.ts +3 -3
  31. package/build/credentials/manager/ManageAndroid.js +21 -13
  32. package/build/credentials/manager/ManageIos.d.ts +3 -3
  33. package/build/credentials/manager/ManageIos.js +23 -13
  34. package/build/credentials/manager/SelectBuildProfileFromEasJson.d.ts +2 -3
  35. package/build/credentials/manager/SelectBuildProfileFromEasJson.js +4 -7
  36. package/build/credentials/manager/SelectIosDistributionTypeGraphqlFromBuildProfile.d.ts +3 -2
  37. package/build/credentials/manager/SelectPlatform.d.ts +1 -2
  38. package/build/credentials/manager/SelectPlatform.js +3 -3
  39. package/build/project/ios/scheme.d.ts +3 -2
  40. package/build/project/ios/target.js +32 -7
  41. package/build/submit/context.js +0 -1
  42. package/build/submit/ios/AppProduce.js +3 -3
  43. package/build/submit/ios/IosSubmitCommand.js +1 -1
  44. package/build/submit/utils/wait.js +1 -1
  45. package/build/update/utils.js +1 -1
  46. package/build/utils/profiles.d.ts +2 -3
  47. package/build/utils/profiles.js +20 -7
  48. package/oclif.manifest.json +1 -1
  49. package/package.json +10 -9
package/README.md CHANGED
@@ -7,9 +7,9 @@ EAS command line tool
7
7
  [![Downloads/week](https://img.shields.io/npm/dw/eas-cli.svg)](https://npmjs.org/package/eas-cli)
8
8
  [![License](https://img.shields.io/npm/l/eas-cli.svg)](https://github.com/expo/eas-cli/blob/main/package.json)
9
9
 
10
- * [Installation](#installation)
11
- * [Usage](#usage)
12
- * [Commands](#commands)
10
+ - [Installation](#installation)
11
+ - [Usage](#usage)
12
+ - [Commands](#commands)
13
13
 
14
14
  # Installation
15
15
 
@@ -73,7 +73,7 @@ ALIASES
73
73
  $ eas login
74
74
  ```
75
75
 
76
- _See code: [src/commands/account/login.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/account/login.js)_
76
+ _See code: [src/commands/account/login.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/account/login.ts)_
77
77
 
78
78
  ## `eas account:logout`
79
79
 
@@ -87,7 +87,7 @@ ALIASES
87
87
  $ eas logout
88
88
  ```
89
89
 
90
- _See code: [src/commands/account/logout.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/account/logout.js)_
90
+ _See code: [src/commands/account/logout.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/account/logout.ts)_
91
91
 
92
92
  ## `eas account:view`
93
93
 
@@ -101,7 +101,7 @@ ALIASES
101
101
  $ eas whoami
102
102
  ```
103
103
 
104
- _See code: [src/commands/account/view.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/account/view.js)_
104
+ _See code: [src/commands/account/view.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/account/view.ts)_
105
105
 
106
106
  ## `eas analytics [STATUS]`
107
107
 
@@ -112,11 +112,11 @@ USAGE
112
112
  $ eas analytics [STATUS]
113
113
  ```
114
114
 
115
- _See code: [src/commands/analytics.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/analytics.js)_
115
+ _See code: [src/commands/analytics.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/analytics.ts)_
116
116
 
117
117
  ## `eas build`
118
118
 
119
- start a build
119
+ Start a build
120
120
 
121
121
  ```
122
122
  USAGE
@@ -146,7 +146,7 @@ OPTIONS
146
146
  --[no-]wait Wait for build(s) to complete
147
147
  ```
148
148
 
149
- _See code: [src/commands/build/index.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/build/index.js)_
149
+ _See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/build/index.ts)_
150
150
 
151
151
  ## `eas build:cancel [BUILD_ID]`
152
152
 
@@ -157,7 +157,7 @@ USAGE
157
157
  $ eas build:cancel [BUILD_ID]
158
158
  ```
159
159
 
160
- _See code: [src/commands/build/cancel.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/build/cancel.js)_
160
+ _See code: [src/commands/build/cancel.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/build/cancel.ts)_
161
161
 
162
162
  ## `eas build:configure`
163
163
 
@@ -171,7 +171,7 @@ OPTIONS
171
171
  -p, --platform=(android|ios|all) Platform to configure
172
172
  ```
173
173
 
174
- _See code: [src/commands/build/configure.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/build/configure.js)_
174
+ _See code: [src/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/build/configure.ts)_
175
175
 
176
176
  ## `eas build:list`
177
177
 
@@ -204,7 +204,7 @@ OPTIONS
204
204
  --status=(new|in-queue|in-progress|errored|finished|canceled)
205
205
  ```
206
206
 
207
- _See code: [src/commands/build/list.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/build/list.js)_
207
+ _See code: [src/commands/build/list.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/build/list.ts)_
208
208
 
209
209
  ## `eas build:view [BUILD_ID]`
210
210
 
@@ -218,7 +218,7 @@ OPTIONS
218
218
  --json Enable JSON output, non-JSON messages will be printed to stderr
219
219
  ```
220
220
 
221
- _See code: [src/commands/build/view.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/build/view.js)_
221
+ _See code: [src/commands/build/view.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/build/view.ts)_
222
222
 
223
223
  ## `eas config`
224
224
 
@@ -233,7 +233,7 @@ OPTIONS
233
233
  --profile=profile
234
234
  ```
235
235
 
236
- _See code: [src/commands/config.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/config.js)_
236
+ _See code: [src/commands/config.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/config.ts)_
237
237
 
238
238
  ## `eas credentials`
239
239
 
@@ -244,7 +244,7 @@ USAGE
244
244
  $ eas credentials
245
245
  ```
246
246
 
247
- _See code: [src/commands/credentials.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/credentials.js)_
247
+ _See code: [src/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/credentials.ts)_
248
248
 
249
249
  ## `eas device:create`
250
250
 
@@ -255,7 +255,7 @@ USAGE
255
255
  $ eas device:create
256
256
  ```
257
257
 
258
- _See code: [src/commands/device/create.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/device/create.js)_
258
+ _See code: [src/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/device/create.ts)_
259
259
 
260
260
  ## `eas device:list`
261
261
 
@@ -269,7 +269,7 @@ OPTIONS
269
269
  --apple-team-id=apple-team-id
270
270
  ```
271
271
 
272
- _See code: [src/commands/device/list.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/device/list.js)_
272
+ _See code: [src/commands/device/list.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/device/list.ts)_
273
273
 
274
274
  ## `eas device:view [UDID]`
275
275
 
@@ -280,7 +280,7 @@ USAGE
280
280
  $ eas device:view [UDID]
281
281
  ```
282
282
 
283
- _See code: [src/commands/device/view.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/device/view.js)_
283
+ _See code: [src/commands/device/view.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/device/view.ts)_
284
284
 
285
285
  ## `eas diagnostics`
286
286
 
@@ -291,7 +291,7 @@ USAGE
291
291
  $ eas diagnostics
292
292
  ```
293
293
 
294
- _See code: [src/commands/diagnostics.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/diagnostics.js)_
294
+ _See code: [src/commands/diagnostics.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/diagnostics.ts)_
295
295
 
296
296
  ## `eas help [COMMAND]`
297
297
 
@@ -319,7 +319,7 @@ USAGE
319
319
  $ eas project:info
320
320
  ```
321
321
 
322
- _See code: [src/commands/project/info.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/project/info.js)_
322
+ _See code: [src/commands/project/info.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/project/info.ts)_
323
323
 
324
324
  ## `eas project:init`
325
325
 
@@ -333,7 +333,7 @@ ALIASES
333
333
  $ eas init
334
334
  ```
335
335
 
336
- _See code: [src/commands/project/init.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/project/init.js)_
336
+ _See code: [src/commands/project/init.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/project/init.ts)_
337
337
 
338
338
  ## `eas secret:create`
339
339
 
@@ -350,7 +350,7 @@ OPTIONS
350
350
  --value=value Value of the secret
351
351
  ```
352
352
 
353
- _See code: [src/commands/secret/create.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/secret/create.js)_
353
+ _See code: [src/commands/secret/create.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/secret/create.ts)_
354
354
 
355
355
  ## `eas secret:delete`
356
356
 
@@ -367,7 +367,7 @@ DESCRIPTION
367
367
  Unsure where to find the secret's ID? Run eas secret:list
368
368
  ```
369
369
 
370
- _See code: [src/commands/secret/delete.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/secret/delete.js)_
370
+ _See code: [src/commands/secret/delete.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/secret/delete.ts)_
371
371
 
372
372
  ## `eas secret:list`
373
373
 
@@ -378,11 +378,11 @@ USAGE
378
378
  $ eas secret:list
379
379
  ```
380
380
 
381
- _See code: [src/commands/secret/list.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/secret/list.js)_
381
+ _See code: [src/commands/secret/list.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/secret/list.ts)_
382
382
 
383
383
  ## `eas submit`
384
384
 
385
- submit build archive to app store
385
+ Submit build archive to App Store Connect
386
386
 
387
387
  ```
388
388
  USAGE
@@ -411,7 +411,7 @@ ALIASES
411
411
  $ eas build:submit
412
412
  ```
413
413
 
414
- _See code: [src/commands/submit.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/submit.js)_
414
+ _See code: [src/commands/submit.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/submit.ts)_
415
415
 
416
416
  ## `eas webhook:create`
417
417
 
@@ -430,7 +430,7 @@ OPTIONS
430
430
  --url=url Webhook URL
431
431
  ```
432
432
 
433
- _See code: [src/commands/webhook/create.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/webhook/create.js)_
433
+ _See code: [src/commands/webhook/create.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/webhook/create.ts)_
434
434
 
435
435
  ## `eas webhook:delete [ID]`
436
436
 
@@ -444,7 +444,7 @@ ARGUMENTS
444
444
  ID ID of the webhook to delete
445
445
  ```
446
446
 
447
- _See code: [src/commands/webhook/delete.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/webhook/delete.js)_
447
+ _See code: [src/commands/webhook/delete.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/webhook/delete.ts)_
448
448
 
449
449
  ## `eas webhook:list`
450
450
 
@@ -458,7 +458,7 @@ OPTIONS
458
458
  --event=(BUILD|SUBMIT) Event type that triggers the webhook
459
459
  ```
460
460
 
461
- _See code: [src/commands/webhook/list.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/webhook/list.js)_
461
+ _See code: [src/commands/webhook/list.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/webhook/list.ts)_
462
462
 
463
463
  ## `eas webhook:update`
464
464
 
@@ -478,7 +478,7 @@ OPTIONS
478
478
  --url=url Webhook URL
479
479
  ```
480
480
 
481
- _See code: [src/commands/webhook/update.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/webhook/update.js)_
481
+ _See code: [src/commands/webhook/update.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/webhook/update.ts)_
482
482
 
483
483
  ## `eas webhook:view ID`
484
484
 
@@ -492,5 +492,5 @@ ARGUMENTS
492
492
  ID ID of the webhook to view
493
493
  ```
494
494
 
495
- _See code: [src/commands/webhook/view.js](https://github.com/expo/eas-cli/blob/v0.38.1/packages/eas-cli/src/commands/webhook/view.js)_
495
+ _See code: [src/commands/webhook/view.ts](https://github.com/expo/eas-cli/blob/v0.40.0/packages/eas-cli/src/commands/webhook/view.ts)_
496
496
  <!-- commandsstop -->
@@ -1,9 +1,10 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
- import { AndroidBuildProfile } from '@expo/eas-json';
2
+ import { Platform } from '@expo/eas-build-job';
3
+ import { BuildProfile } from '@expo/eas-json';
3
4
  import { ConfigureContext } from '../context';
4
5
  export declare function configureAndroidAsync(ctx: ConfigureContext): Promise<void>;
5
6
  export declare function validateAndSyncProjectConfigurationAsync({ projectDir, exp, buildProfile, }: {
6
7
  projectDir: string;
7
8
  exp: ExpoConfig;
8
- buildProfile: AndroidBuildProfile;
9
+ buildProfile: BuildProfile<Platform.ANDROID>;
9
10
  }): Promise<void>;
@@ -119,7 +119,7 @@ async function ensureEasJsonExistsAsync(ctx) {
119
119
  const easJsonPath = eas_json_1.EasJsonReader.formatEasJsonPath(ctx.projectDir);
120
120
  if (await fs_extra_1.default.pathExists(easJsonPath)) {
121
121
  const reader = new eas_json_1.EasJsonReader(ctx.projectDir);
122
- await reader.readAndValidateAsync();
122
+ await reader.readAsync();
123
123
  log_1.default.withTick('Validated eas.json');
124
124
  return;
125
125
  }
@@ -29,6 +29,7 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, clearCa
29
29
  nonInteractive,
30
30
  projectDir,
31
31
  user,
32
+ env: buildProfile.env,
32
33
  });
33
34
  const devClientProperties = getDevClientEventProperties({
34
35
  platform,
@@ -39,7 +40,6 @@ async function createBuildContextAsync({ buildProfileName, buildProfile, clearCa
39
40
  tracking_id: (0, uuid_1.v4)(),
40
41
  platform,
41
42
  ...(accountId && { account_id: accountId }),
42
- account_name: accountName,
43
43
  project_id: projectId,
44
44
  project_type: workflow,
45
45
  ...devClientProperties,
@@ -1,11 +1,12 @@
1
1
  import { ExpoConfig } from '@expo/config';
2
- import { IosBuildProfile } from '@expo/eas-json';
2
+ import { Platform } from '@expo/eas-build-job';
3
+ import { BuildProfile } from '@expo/eas-json';
3
4
  import type { XCBuildConfiguration } from 'xcode';
4
5
  import { ConfigureContext } from '../context';
5
6
  export declare function configureIosAsync(ctx: ConfigureContext): Promise<void>;
6
7
  export declare function validateAndSyncProjectConfigurationAsync({ projectDir, exp, buildProfile, buildSettings, }: {
7
8
  projectDir: string;
8
9
  exp: ExpoConfig;
9
- buildProfile: IosBuildProfile;
10
+ buildProfile: BuildProfile<Platform.IOS>;
10
11
  buildSettings: XCBuildConfiguration['buildSettings'];
11
12
  }): Promise<void>;
@@ -23,4 +23,4 @@ export declare function maybeResolveVersionsAsync(projectDir: string, exp: ExpoC
23
23
  appBuildVersion?: string;
24
24
  }>;
25
25
  export declare function getInfoPlistPath(projectDir: string, buildSettings: XCBuildConfiguration['buildSettings']): string;
26
- export declare function evaluateTemplateString(s: string, vars: Record<string, any>): string;
26
+ export declare function evaluateTemplateString(s: string, buildSettings: XCBuildConfiguration['buildSettings']): string;
@@ -98,6 +98,7 @@ async function maybeResolveVersionsAsync(projectDir, exp, buildSettings) {
98
98
  }
99
99
  catch (err) {
100
100
  log_1.default.warn('Failed to read app versions.');
101
+ log_1.default.debug(err);
101
102
  log_1.default.warn(err.message);
102
103
  log_1.default.warn('Proceeding anyway...');
103
104
  return {};
@@ -142,7 +143,9 @@ function ensureStaticConfigExists(projectDir) {
142
143
  throw new Error('autoIncrement option is not supported when using app.config.js');
143
144
  }
144
145
  }
145
- function evaluateTemplateString(s, vars) {
146
+ function evaluateTemplateString(s, buildSettings) {
147
+ // necessary because XCBuildConfiguration['buildSettings'] is not a plain object
148
+ const vars = { ...buildSettings };
146
149
  return s.replace(/\$\((\w+)\)/g, (match, key) => {
147
150
  if (vars.hasOwnProperty(key)) {
148
151
  const value = String(vars[key]);
@@ -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.50';
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, {
@@ -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
  }
@@ -5,7 +5,6 @@ const eas_json_1 = require("@expo/eas-json");
5
5
  const command_1 = require("@oclif/command");
6
6
  const semver_1 = (0, tslib_1.__importDefault)(require("semver"));
7
7
  const rudderstackClient_1 = require("../analytics/rudderstackClient");
8
- const log_1 = (0, tslib_1.__importDefault)(require("../log"));
9
8
  const projectUtils_1 = require("../project/projectUtils");
10
9
  const User_1 = require("../user/User");
11
10
  const actions_1 = require("../user/actions");
@@ -24,7 +23,6 @@ class EasCommand extends command_1.Command {
24
23
  // eslint-disable-next-line async-protect/async-suffix
25
24
  async run() {
26
25
  var _a;
27
- eas_json_1.EasJsonReader.setLog(log_1.default);
28
26
  await (0, rudderstackClient_1.initAsync)();
29
27
  await this.applyCliConfigAsync();
30
28
  if (this.requiresAuthentication) {
@@ -1,23 +1,6 @@
1
- import { flags } from '@oclif/command';
2
1
  import EasCommand from '../../commandUtils/EasCommand';
3
- import { PublishPlatform } from '../../project/publish';
4
- export declare const defaultPublishPlatforms: PublishPlatform[];
5
2
  export default class BranchPublish extends EasCommand {
6
- static hidden: boolean;
7
3
  static description: string;
8
- static args: {
9
- name: string;
10
- description: string;
11
- }[];
12
- static flags: {
13
- message: flags.IOptionFlag<string | undefined>;
14
- republish: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
15
- group: flags.IOptionFlag<string | undefined>;
16
- 'input-dir': flags.IOptionFlag<string>;
17
- 'skip-bundler': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
18
- platform: flags.IOptionFlag<string>;
19
- json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
20
- auto: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
21
- };
4
+ static hidden: boolean;
22
5
  runAsync(): Promise<void>;
23
6
  }