eas-cli-local-build-plugin 0.0.72 → 0.0.75
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 +2 -2
- package/dist/expoCli.js +2 -2
- package/dist/expoCli.js.map +1 -1
- package/package.json +4 -4
- package/src/expoCli.ts +4 -4
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):
|
|
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
|
-
|
|
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
|
-
|
|
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
|
package/dist/expoCli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expoCli.js","sourceRoot":"","sources":["../src/expoCli.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAExB,
|
|
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.
|
|
3
|
+
"version": "0.0.75",
|
|
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.
|
|
22
|
+
"@expo/build-tools": "0.1.119",
|
|
23
23
|
"@expo/bunyan": "^4.0.0",
|
|
24
|
-
"@expo/eas-build-job": "0.2.
|
|
24
|
+
"@expo/eas-build-job": "0.2.69",
|
|
25
25
|
"@expo/spawn-async": "^1.5.0",
|
|
26
|
-
"@expo/turtle-spawn": "0.0.
|
|
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
|
|
7
|
+
export function runExpoCliCommandAsync(
|
|
8
8
|
command: string,
|
|
9
9
|
options: SpawnOptions
|
|
10
|
-
):
|
|
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
|
-
|
|
14
|
+
return spawnAsync('bash', ['-c', `${expoCliBinPath} ${command}`], options);
|
|
15
15
|
}
|