@hot-updater/expo 0.35.2 → 0.35.4
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/index.cjs +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -6282,6 +6282,7 @@ const runBundle = async ({ cwd, platform, buildPath, sourcemap, resetCache }) =>
|
|
|
6282
6282
|
const bundleOutput = path.default.join(buildPath, `${filename}.bundle`);
|
|
6283
6283
|
const entryFile = resolveMain(cwd);
|
|
6284
6284
|
const bundleId = (0, uuidv7.uuidv7)();
|
|
6285
|
+
const enableHermes = isHermesEnabled(cwd, platform);
|
|
6285
6286
|
const args = [
|
|
6286
6287
|
"expo",
|
|
6287
6288
|
"export:embed",
|
|
@@ -6293,6 +6294,8 @@ const runBundle = async ({ cwd, platform, buildPath, sourcemap, resetCache }) =>
|
|
|
6293
6294
|
bundleOutput,
|
|
6294
6295
|
"--dev",
|
|
6295
6296
|
String(false),
|
|
6297
|
+
"--minify",
|
|
6298
|
+
String(!enableHermes),
|
|
6296
6299
|
"--assets-dest",
|
|
6297
6300
|
buildPath,
|
|
6298
6301
|
...sourcemap ? ["--sourcemap-output", `${bundleOutput}.map`] : [],
|
|
@@ -6308,7 +6311,7 @@ const runBundle = async ({ cwd, platform, buildPath, sourcemap, resetCache }) =>
|
|
|
6308
6311
|
} catch (error) {
|
|
6309
6312
|
if (error instanceof ExecaError) throw error.stderr;
|
|
6310
6313
|
}
|
|
6311
|
-
if (
|
|
6314
|
+
if (enableHermes) {
|
|
6312
6315
|
const { hermesVersion } = await (0, _hot_updater_bare.compileHermes)({
|
|
6313
6316
|
cwd,
|
|
6314
6317
|
inputJsFile: bundleOutput,
|
package/dist/index.mjs
CHANGED
|
@@ -6280,6 +6280,7 @@ const runBundle = async ({ cwd, platform, buildPath, sourcemap, resetCache }) =>
|
|
|
6280
6280
|
const bundleOutput = path.join(buildPath, `${filename}.bundle`);
|
|
6281
6281
|
const entryFile = resolveMain(cwd);
|
|
6282
6282
|
const bundleId = uuidv7();
|
|
6283
|
+
const enableHermes = isHermesEnabled(cwd, platform);
|
|
6283
6284
|
const args = [
|
|
6284
6285
|
"expo",
|
|
6285
6286
|
"export:embed",
|
|
@@ -6291,6 +6292,8 @@ const runBundle = async ({ cwd, platform, buildPath, sourcemap, resetCache }) =>
|
|
|
6291
6292
|
bundleOutput,
|
|
6292
6293
|
"--dev",
|
|
6293
6294
|
String(false),
|
|
6295
|
+
"--minify",
|
|
6296
|
+
String(!enableHermes),
|
|
6294
6297
|
"--assets-dest",
|
|
6295
6298
|
buildPath,
|
|
6296
6299
|
...sourcemap ? ["--sourcemap-output", `${bundleOutput}.map`] : [],
|
|
@@ -6306,7 +6309,7 @@ const runBundle = async ({ cwd, platform, buildPath, sourcemap, resetCache }) =>
|
|
|
6306
6309
|
} catch (error) {
|
|
6307
6310
|
if (error instanceof ExecaError) throw error.stderr;
|
|
6308
6311
|
}
|
|
6309
|
-
if (
|
|
6312
|
+
if (enableHermes) {
|
|
6310
6313
|
const { hermesVersion } = await compileHermes({
|
|
6311
6314
|
cwd,
|
|
6312
6315
|
inputJsFile: bundleOutput,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/expo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.35.
|
|
4
|
+
"version": "0.35.4",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@babel/core": "7.26.0",
|
|
28
28
|
"@babel/types": "7.26.0",
|
|
29
29
|
"uuidv7": "^1.0.2",
|
|
30
|
-
"@hot-updater/bare": "0.35.
|
|
31
|
-
"@hot-updater/cli-tools": "0.35.
|
|
32
|
-
"@hot-updater/plugin-core": "0.35.
|
|
30
|
+
"@hot-updater/bare": "0.35.4",
|
|
31
|
+
"@hot-updater/cli-tools": "0.35.4",
|
|
32
|
+
"@hot-updater/plugin-core": "0.35.4"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^20",
|