eas-cli-local-build-plugin 21.4.0 → 21.5.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.
- package/dist/parseInput.js +5 -2
- package/package.json +4 -4
package/dist/parseInput.js
CHANGED
|
@@ -19,7 +19,10 @@ async function parseInputAsync() {
|
|
|
19
19
|
console.log(packageJson.version);
|
|
20
20
|
process.exit(0);
|
|
21
21
|
}
|
|
22
|
-
const rawInput = process.
|
|
22
|
+
const rawInput = process.env.EAS_LOCAL_BUILD_PLUGIN_INPUT;
|
|
23
|
+
// The input carries build credentials. Remove it from the environment right
|
|
24
|
+
// away so it is not inherited by the build subprocesses spawned below.
|
|
25
|
+
delete process.env.EAS_LOCAL_BUILD_PLUGIN_INPUT;
|
|
23
26
|
if (!rawInput) {
|
|
24
27
|
displayHelp();
|
|
25
28
|
process.exit(1);
|
|
@@ -29,7 +32,7 @@ async function parseInputAsync() {
|
|
|
29
32
|
parsedParams = JSON.parse(Buffer.from(rawInput, 'base64').toString('utf8'));
|
|
30
33
|
}
|
|
31
34
|
catch (err) {
|
|
32
|
-
console.error(`${chalk_1.default.red('The
|
|
35
|
+
console.error(`${chalk_1.default.red('The EAS_LOCAL_BUILD_PLUGIN_INPUT environment variable is not base64 encoded json.')}`);
|
|
33
36
|
throw err;
|
|
34
37
|
}
|
|
35
38
|
const params = validateParams(parsedParams);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli-local-build-plugin",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.5.0",
|
|
4
4
|
"description": "Tool for running EAS compatible builds on a local machine.",
|
|
5
5
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
6
6
|
"license": "BUSL-1.1",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"clean": "rimraf node_modules dist coverage \"*.tsbuildinfo\""
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@expo/build-tools": "21.
|
|
30
|
-
"@expo/eas-build-job": "21.
|
|
29
|
+
"@expo/build-tools": "21.5.0",
|
|
30
|
+
"@expo/eas-build-job": "21.5.0",
|
|
31
31
|
"@expo/logger": "21.0.0",
|
|
32
32
|
"@expo/spawn-async": "^1.7.2",
|
|
33
33
|
"@expo/turtle-spawn": "21.0.0",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=18"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "b27fe84a1ed87c96bebc2b341817bb520989b186"
|
|
61
61
|
}
|