@expo/build-tools 18.12.3 → 18.13.1

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/dist/ios/pod.js CHANGED
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.installPods = installPods;
7
+ const eas_build_job_1 = require("@expo/eas-build-job");
7
8
  const turtle_spawn_1 = __importDefault(require("@expo/turtle-spawn"));
8
- const fs_extra_1 = __importDefault(require("fs-extra"));
9
9
  const path_1 = __importDefault(require("path"));
10
10
  const semver_1 = __importDefault(require("semver"));
11
11
  const MIN_PRECOMPILED_MODULES_EXPO_VERSION = '55.0.21';
@@ -43,7 +43,10 @@ async function resolvePrecompiledModulesPodInstallEnvAsync(ctx) {
43
43
  }
44
44
  let expoPackageVersion;
45
45
  try {
46
- expoPackageVersion = await getInstalledExpoPackageVersionAsync(ctx);
46
+ expoPackageVersion = await (0, eas_build_job_1.getInstalledExpoPackageVersionAsync)({
47
+ env: ctx.env,
48
+ projectDir: ctx.getReactNativeProjectDirectory(),
49
+ });
47
50
  }
48
51
  catch (err) {
49
52
  ctx.logger.info({ err }, 'Failed to detect installed Expo package version; not enabling precompiled modules use.');
@@ -67,15 +70,6 @@ async function resolvePrecompiledModulesPodInstallEnvAsync(ctx) {
67
70
  .join('\n')}\nPrecompiled modules pod install environment is configured.`);
68
71
  return env;
69
72
  }
70
- async function getInstalledExpoPackageVersionAsync(ctx) {
71
- const { stdout } = await (0, turtle_spawn_1.default)('node', ['--print', "require.resolve('expo/package.json')"], {
72
- cwd: ctx.getReactNativeProjectDirectory(),
73
- env: ctx.env,
74
- stdio: 'pipe',
75
- });
76
- const expoPackageJsonPath = stdout.toString().trim();
77
- return (await fs_extra_1.default.readJson(expoPackageJsonPath)).version;
78
- }
79
73
  function getPrecompiledModulesBaseUrl(ctx) {
80
74
  if (!ctx.env.EAS_BUILD_COCOAPODS_CACHE_URL) {
81
75
  return PRECOMPILED_MODULES_BASE_URL;
@@ -70,7 +70,16 @@ async function startServeSimWithTunnelAsync({ env, logger, timeoutMs, }) {
70
70
  logger.info('Launching serve-sim with tunnel.');
71
71
  const serveSim = spawnDetached({
72
72
  command: 'npx',
73
- args: ['serve-sim-szdziedzic@latest', '--tunnel'],
73
+ args: [
74
+ 'serve-sim-szdziedzic@latest',
75
+ '--tunnel',
76
+ '--tunnel-protocol',
77
+ 'quic',
78
+ '--stream-max-dimension',
79
+ '1280',
80
+ '--stream-quality',
81
+ '0.55',
82
+ ],
74
83
  env,
75
84
  });
76
85
  logger.info('Waiting for serve-sim to report tunnel and stream URLs.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/build-tools",
3
- "version": "18.12.3",
3
+ "version": "18.13.1",
4
4
  "bugs": "https://github.com/expo/eas-cli/issues",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Expo <support@expo.io>",
@@ -38,14 +38,14 @@
38
38
  "@expo/config": "55.0.10",
39
39
  "@expo/config-plugins": "55.0.7",
40
40
  "@expo/downloader": "18.5.0",
41
- "@expo/eas-build-job": "18.12.0",
41
+ "@expo/eas-build-job": "18.13.1",
42
42
  "@expo/env": "^0.4.0",
43
43
  "@expo/logger": "18.5.0",
44
44
  "@expo/package-manager": "1.9.10",
45
45
  "@expo/plist": "^0.2.0",
46
46
  "@expo/results": "^1.0.0",
47
47
  "@expo/spawn-async": "1.7.2",
48
- "@expo/steps": "18.12.0",
48
+ "@expo/steps": "18.13.1",
49
49
  "@expo/template-file": "18.5.0",
50
50
  "@expo/turtle-spawn": "18.5.0",
51
51
  "@expo/xcpretty": "^4.3.1",
@@ -99,5 +99,5 @@
99
99
  "typescript": "^5.5.4",
100
100
  "uuid": "^9.0.1"
101
101
  },
102
- "gitHead": "985cd9d52f4de333cf563cc7fe92f4e2d1e1c8e5"
102
+ "gitHead": "dbf597957dc93133d15e99298c55c0ad31b994c1"
103
103
  }