@revopush/code-push-cli 0.0.8-rc.1 → 0.0.8-rc.2
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.
|
@@ -383,6 +383,11 @@ async function getHermesCommand(gradleFile) {
|
|
|
383
383
|
if (fileExists(hermesEngine)) {
|
|
384
384
|
return hermesEngine;
|
|
385
385
|
}
|
|
386
|
+
// RN 0.83 hermes-compiler
|
|
387
|
+
const hermesCompiler = path.join(nodeModulesPath, "hermes-compiler", "hermesc", getHermesOSBin(), getHermesOSExe());
|
|
388
|
+
if (fileExists(hermesCompiler)) {
|
|
389
|
+
return hermesCompiler;
|
|
390
|
+
}
|
|
386
391
|
return path.join(nodeModulesPath, "hermesvm", getHermesOSBin(), "hermes");
|
|
387
392
|
}
|
|
388
393
|
}
|
package/package.json
CHANGED
|
@@ -433,6 +433,13 @@ async function getHermesCommand(gradleFile: string): Promise<string> {
|
|
|
433
433
|
if (fileExists(hermesEngine)) {
|
|
434
434
|
return hermesEngine;
|
|
435
435
|
}
|
|
436
|
+
|
|
437
|
+
// RN 0.83 hermes-compiler
|
|
438
|
+
const hermesCompiler = path.join(nodeModulesPath, "hermes-compiler", "hermesc", getHermesOSBin(), getHermesOSExe());
|
|
439
|
+
if (fileExists(hermesCompiler)) {
|
|
440
|
+
return hermesCompiler;
|
|
441
|
+
}
|
|
442
|
+
|
|
436
443
|
return path.join(nodeModulesPath, "hermesvm", getHermesOSBin(), "hermes");
|
|
437
444
|
}
|
|
438
445
|
}
|