eas-cli-local-build-plugin 0.0.71 → 0.0.74

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/expoCli.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { SpawnOptions } from '@expo/turtle-spawn';
2
- export declare function runExpoCliCommandAsync(command: string, options: SpawnOptions): Promise<void>;
1
+ import { SpawnOptions, SpawnPromise, SpawnResult } from '@expo/turtle-spawn';
2
+ export declare function runExpoCliCommandAsync(command: string, options: SpawnOptions): SpawnPromise<SpawnResult>;
package/dist/expoCli.js CHANGED
@@ -7,11 +7,11 @@ exports.runExpoCliCommandAsync = void 0;
7
7
  const path_1 = __importDefault(require("path"));
8
8
  const turtle_spawn_1 = __importDefault(require("@expo/turtle-spawn"));
9
9
  const expoCliPackage = require.resolve('expo-cli');
10
- async function runExpoCliCommandAsync(command, options) {
10
+ function runExpoCliCommandAsync(command, options) {
11
11
  var _a, _b;
12
12
  const expoCliBinPath = (_a = process.env.EXPO_CLI_PATH) !== null && _a !== void 0 ? _a : path_1.default.resolve(path_1.default.dirname(expoCliPackage), '../bin/expo.js');
13
13
  (_b = options === null || options === void 0 ? void 0 : options.logger) === null || _b === void 0 ? void 0 : _b.debug(`${expoCliBinPath} ${command}`);
14
- await (0, turtle_spawn_1.default)('bash', ['-c', `${expoCliBinPath} ${command}`], options);
14
+ return (0, turtle_spawn_1.default)('bash', ['-c', `${expoCliBinPath} ${command}`], options);
15
15
  }
16
16
  exports.runExpoCliCommandAsync = runExpoCliCommandAsync;
17
17
  //# sourceMappingURL=expoCli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"expoCli.js","sourceRoot":"","sources":["../src/expoCli.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAExB,sEAA8D;AAE9D,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAE5C,KAAK,UAAU,sBAAsB,CAC1C,OAAe,EACf,OAAqB;;IAErB,MAAM,cAAc,GAClB,MAAA,OAAO,CAAC,GAAG,CAAC,aAAa,mCAAI,cAAI,CAAC,OAAO,CAAC,cAAI,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,gBAAgB,CAAC,CAAC;IAC5F,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,0CAAE,KAAK,CAAC,GAAG,cAAc,IAAI,OAAO,EAAE,CAAC,CAAC;IACvD,MAAM,IAAA,sBAAU,EAAC,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,cAAc,IAAI,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;AAC5E,CAAC;AARD,wDAQC","sourcesContent":["import path from 'path';\n\nimport spawnAsync, { SpawnOptions } from '@expo/turtle-spawn';\n\nconst expoCliPackage = require.resolve('expo-cli');\n\nexport async function runExpoCliCommandAsync(\n command: string,\n options: SpawnOptions\n): Promise<void> {\n const expoCliBinPath =\n process.env.EXPO_CLI_PATH ?? path.resolve(path.dirname(expoCliPackage), '../bin/expo.js');\n options?.logger?.debug(`${expoCliBinPath} ${command}`);\n await spawnAsync('bash', ['-c', `${expoCliBinPath} ${command}`], options);\n}\n"]}
1
+ {"version":3,"file":"expoCli.js","sourceRoot":"","sources":["../src/expoCli.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAExB,sEAAyF;AAEzF,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAEnD,SAAgB,sBAAsB,CACpC,OAAe,EACf,OAAqB;;IAErB,MAAM,cAAc,GAClB,MAAA,OAAO,CAAC,GAAG,CAAC,aAAa,mCAAI,cAAI,CAAC,OAAO,CAAC,cAAI,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,gBAAgB,CAAC,CAAC;IAC5F,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,0CAAE,KAAK,CAAC,GAAG,cAAc,IAAI,OAAO,EAAE,CAAC,CAAC;IACvD,OAAO,IAAA,sBAAU,EAAC,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,cAAc,IAAI,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;AAC7E,CAAC;AARD,wDAQC","sourcesContent":["import path from 'path';\n\nimport spawnAsync, { SpawnOptions, SpawnPromise, SpawnResult } from '@expo/turtle-spawn';\n\nconst expoCliPackage = require.resolve('expo-cli');\n\nexport function runExpoCliCommandAsync(\n command: string,\n options: SpawnOptions\n): SpawnPromise<SpawnResult> {\n const expoCliBinPath =\n process.env.EXPO_CLI_PATH ?? path.resolve(path.dirname(expoCliPackage), '../bin/expo.js');\n options?.logger?.debug(`${expoCliBinPath} ${command}`);\n return spawnAsync('bash', ['-c', `${expoCliBinPath} ${command}`], options);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eas-cli-local-build-plugin",
3
- "version": "0.0.71",
3
+ "version": "0.0.74",
4
4
  "description": "Tool for running EAS compatible builds on a local machine.",
5
5
  "main": "dist/main.js",
6
6
  "bin": {
@@ -19,11 +19,11 @@
19
19
  "bugs": "https://github.com/expo/eas-build/issues",
20
20
  "license": "BUSL-1.1",
21
21
  "dependencies": {
22
- "@expo/build-tools": "0.1.115",
22
+ "@expo/build-tools": "0.1.118",
23
23
  "@expo/bunyan": "^4.0.0",
24
24
  "@expo/eas-build-job": "0.2.68",
25
25
  "@expo/spawn-async": "^1.5.0",
26
- "@expo/turtle-spawn": "0.0.22",
26
+ "@expo/turtle-spawn": "0.0.23",
27
27
  "chalk": "^4.1.0",
28
28
  "env-paths": "2.2.0",
29
29
  "expo-cli": "5.3.0",
package/src/expoCli.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  import path from 'path';
2
2
 
3
- import spawnAsync, { SpawnOptions } from '@expo/turtle-spawn';
3
+ import spawnAsync, { SpawnOptions, SpawnPromise, SpawnResult } from '@expo/turtle-spawn';
4
4
 
5
5
  const expoCliPackage = require.resolve('expo-cli');
6
6
 
7
- export async function runExpoCliCommandAsync(
7
+ export function runExpoCliCommandAsync(
8
8
  command: string,
9
9
  options: SpawnOptions
10
- ): Promise<void> {
10
+ ): SpawnPromise<SpawnResult> {
11
11
  const expoCliBinPath =
12
12
  process.env.EXPO_CLI_PATH ?? path.resolve(path.dirname(expoCliPackage), '../bin/expo.js');
13
13
  options?.logger?.debug(`${expoCliBinPath} ${command}`);
14
- await spawnAsync('bash', ['-c', `${expoCliBinPath} ${command}`], options);
14
+ return spawnAsync('bash', ['-c', `${expoCliBinPath} ${command}`], options);
15
15
  }