eas-cli 18.6.0 → 18.7.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.
@@ -7,6 +7,7 @@ export default class BuildDev extends EasCommand {
7
7
  platform: import("@oclif/core/lib/interfaces").OptionFlag<Platform | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
8
8
  profile: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
9
9
  'skip-build-if-not-found': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
+ 'skip-bundler': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
11
  };
11
12
  static contextDefinition: {
12
13
  projectId: import("../../commandUtils/context/ProjectIdContextField").ProjectIdContextField;
@@ -38,6 +38,10 @@ class BuildDev extends EasCommand_1.default {
38
38
  description: 'Skip build if no successful build with matching fingerprint is found.',
39
39
  default: false,
40
40
  }),
41
+ 'skip-bundler': core_1.Flags.boolean({
42
+ description: 'Install and run the development build without starting the bundler server.',
43
+ default: false,
44
+ }),
41
45
  };
42
46
  static contextDefinition = {
43
47
  ...this.ContextOptions.LoggedIn,
@@ -100,7 +104,9 @@ class BuildDev extends EasCommand_1.default {
100
104
  log_1.default.succeed(`🎯 Found successful build with matching fingerprint on EAS servers. Running it...`);
101
105
  if (build.artifacts?.applicationArchiveUrl) {
102
106
  await (0, runBuildAndSubmit_1.downloadAndRunAsync)(build);
103
- await this.startDevServerAsync({ projectDir, platform });
107
+ if (!flags['skip-bundler']) {
108
+ await this.startDevServerAsync({ projectDir, platform });
109
+ }
104
110
  return;
105
111
  }
106
112
  else {
@@ -143,7 +149,9 @@ class BuildDev extends EasCommand_1.default {
143
149
  downloadSimBuildAutoConfirm: true,
144
150
  envOverride: env,
145
151
  });
146
- await this.startDevServerAsync({ projectDir, platform });
152
+ if (!flags['skip-bundler']) {
153
+ await this.startDevServerAsync({ projectDir, platform });
154
+ }
147
155
  }
148
156
  async selectPlatformAsync(platform) {
149
157
  if (platform) {