@expo/build-tools 23.0.0 → 23.1.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.
@@ -21,7 +21,11 @@ async function installDependenciesAsync({ packageManager, env, logger, infoCallb
21
21
  break;
22
22
  }
23
23
  case packageManager_1.PackageManager.PNPM: {
24
- args = ['install', useFrozenLockfile ? '--frozen-lockfile' : '--no-frozen-lockfile'];
24
+ args = [
25
+ 'install',
26
+ ...(env['EAS_PNPM_FILTER_WORKSPACE'] ? ['--filter', env['EAS_PNPM_FILTER_WORKSPACE']] : []),
27
+ useFrozenLockfile ? '--frozen-lockfile' : '--no-frozen-lockfile',
28
+ ];
25
29
  break;
26
30
  }
27
31
  case packageManager_1.PackageManager.YARN: {
@@ -1,6 +1,12 @@
1
1
  import { Job } from '@expo/eas-build-job';
2
+ import { bunyan } from '@expo/logger';
2
3
  import { BuildContext } from '../context';
3
4
  export declare function prepareProjectSourcesAsync<TJob extends Job>(ctx: BuildContext<TJob>, destinationDirectory: string): Promise<{
4
5
  handled: boolean;
5
6
  }>;
6
7
  export declare function downloadAndUnpackProjectFromTarGzAsync<TJob extends Job>(ctx: BuildContext<TJob>, projectArchiveUrl: string, destinationDirectory: string): Promise<void>;
8
+ export declare function unpackTarGzAsync({ logger, source, destination, }: {
9
+ logger: bunyan;
10
+ source: string;
11
+ destination: string;
12
+ }): Promise<void>;
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.prepareProjectSourcesAsync = prepareProjectSourcesAsync;
7
7
  exports.downloadAndUnpackProjectFromTarGzAsync = downloadAndUnpackProjectFromTarGzAsync;
8
+ exports.unpackTarGzAsync = unpackTarGzAsync;
8
9
  const downloader_1 = __importDefault(require("@expo/downloader"));
9
10
  const eas_build_job_1 = require("@expo/eas-build-job");
10
11
  const results_1 = require("@expo/results");
@@ -88,6 +89,8 @@ async function unpackTarGzAsync({ logger, source, destination, }) {
88
89
  await (0, turtle_spawn_1.default)('tar', ['-C', destination, '--strip-components', '1', '-zxf', source], {
89
90
  logger,
90
91
  });
92
+ logger.info('Normalizing project source permissions');
93
+ await (0, turtle_spawn_1.default)('chmod', ['-R', 'u+rwX', destination], { logger });
91
94
  }
92
95
  function uploadProjectMetadataAsFireAndForget(ctx, { projectDirectory }) {
93
96
  void (async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/build-tools",
3
- "version": "23.0.0",
3
+ "version": "23.1.0",
4
4
  "bugs": "https://github.com/expo/eas-cli/issues",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Expo <support@expo.io>",
@@ -40,16 +40,16 @@
40
40
  "@expo/config": "55.0.10",
41
41
  "@expo/config-plugins": "55.0.7",
42
42
  "@expo/downloader": "23.0.0",
43
- "@expo/eas-build-job": "23.0.0",
43
+ "@expo/eas-build-job": "23.1.0",
44
44
  "@expo/env": "^0.4.0",
45
- "@expo/logger": "23.0.0",
45
+ "@expo/logger": "23.1.0",
46
46
  "@expo/package-manager": "1.9.10",
47
47
  "@expo/plist": "^0.3.5",
48
48
  "@expo/results": "^1.0.0",
49
49
  "@expo/spawn-async": "1.7.2",
50
- "@expo/steps": "23.0.0",
50
+ "@expo/steps": "23.1.0",
51
51
  "@expo/template-file": "23.0.0",
52
- "@expo/turtle-spawn": "23.0.0",
52
+ "@expo/turtle-spawn": "23.1.0",
53
53
  "@expo/xcpretty": "^4.3.1",
54
54
  "@ngrok/ngrok": "1.7.0",
55
55
  "@sentry/node": "7.77.0",
@@ -92,7 +92,6 @@
92
92
  "@types/retry": "^0.12.5",
93
93
  "@types/semver": "^7.5.8",
94
94
  "@types/uuid": "^9.0.8",
95
- "bunyan": "^1.8.15",
96
95
  "jest": "^29.7.0",
97
96
  "memfs": "^4.17.1",
98
97
  "nock": "13.4.0",
@@ -103,5 +102,5 @@
103
102
  "typescript": "^5.5.4",
104
103
  "uuid": "^9.0.1"
105
104
  },
106
- "gitHead": "2e2aaa4ac902b653934d7dccdc0c9b72cb7b9cac"
105
+ "gitHead": "0658d58efdbf614f6920e3b4142223ac198bc003"
107
106
  }