@hot-updater/expo 0.18.5 → 0.19.1-rc.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/index.cjs +4 -7
- package/dist/index.js +4 -7
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -6501,7 +6501,7 @@ const isHermesEnabled = (cwd, platform$1) => {
|
|
|
6501
6501
|
} catch {}
|
|
6502
6502
|
return true;
|
|
6503
6503
|
};
|
|
6504
|
-
const runBundle = async ({ cwd, platform: platform$1, buildPath, sourcemap
|
|
6504
|
+
const runBundle = async ({ cwd, platform: platform$1, buildPath, sourcemap }) => {
|
|
6505
6505
|
const filename = `index.${platform$1}`;
|
|
6506
6506
|
const bundleOutput = path.default.join(buildPath, `${filename}.bundle`);
|
|
6507
6507
|
const entryFile = resolveMain(cwd);
|
|
@@ -6528,8 +6528,7 @@ const runBundle = async ({ cwd, platform: platform$1, buildPath, sourcemap, chan
|
|
|
6528
6528
|
cwd,
|
|
6529
6529
|
env: {
|
|
6530
6530
|
...process.env,
|
|
6531
|
-
BUILD_OUT_DIR: buildPath
|
|
6532
|
-
HOT_UPDATER_CHANNEL: channel
|
|
6531
|
+
BUILD_OUT_DIR: buildPath
|
|
6533
6532
|
},
|
|
6534
6533
|
reject: true
|
|
6535
6534
|
});
|
|
@@ -6569,7 +6568,7 @@ const expo = (config = {
|
|
|
6569
6568
|
}) => ({ cwd }) => {
|
|
6570
6569
|
const { outDir = "dist", sourcemap = false } = config;
|
|
6571
6570
|
return {
|
|
6572
|
-
build: async ({ platform: platform$1
|
|
6571
|
+
build: async ({ platform: platform$1 }) => {
|
|
6573
6572
|
const buildPath = path.default.join(cwd, outDir);
|
|
6574
6573
|
await fs.default.promises.rm(buildPath, {
|
|
6575
6574
|
recursive: true,
|
|
@@ -6580,11 +6579,9 @@ const expo = (config = {
|
|
|
6580
6579
|
cwd,
|
|
6581
6580
|
platform: platform$1,
|
|
6582
6581
|
buildPath,
|
|
6583
|
-
sourcemap
|
|
6584
|
-
channel
|
|
6582
|
+
sourcemap
|
|
6585
6583
|
});
|
|
6586
6584
|
return {
|
|
6587
|
-
channel,
|
|
6588
6585
|
buildPath,
|
|
6589
6586
|
bundleId,
|
|
6590
6587
|
stdout
|
package/dist/index.js
CHANGED
|
@@ -6505,7 +6505,7 @@ const isHermesEnabled = (cwd, platform$1) => {
|
|
|
6505
6505
|
} catch {}
|
|
6506
6506
|
return true;
|
|
6507
6507
|
};
|
|
6508
|
-
const runBundle = async ({ cwd, platform: platform$1, buildPath, sourcemap
|
|
6508
|
+
const runBundle = async ({ cwd, platform: platform$1, buildPath, sourcemap }) => {
|
|
6509
6509
|
const filename = `index.${platform$1}`;
|
|
6510
6510
|
const bundleOutput = path.join(buildPath, `${filename}.bundle`);
|
|
6511
6511
|
const entryFile = resolveMain(cwd);
|
|
@@ -6532,8 +6532,7 @@ const runBundle = async ({ cwd, platform: platform$1, buildPath, sourcemap, chan
|
|
|
6532
6532
|
cwd,
|
|
6533
6533
|
env: {
|
|
6534
6534
|
...process.env,
|
|
6535
|
-
BUILD_OUT_DIR: buildPath
|
|
6536
|
-
HOT_UPDATER_CHANNEL: channel
|
|
6535
|
+
BUILD_OUT_DIR: buildPath
|
|
6537
6536
|
},
|
|
6538
6537
|
reject: true
|
|
6539
6538
|
});
|
|
@@ -6573,7 +6572,7 @@ const expo = (config = {
|
|
|
6573
6572
|
}) => ({ cwd }) => {
|
|
6574
6573
|
const { outDir = "dist", sourcemap = false } = config;
|
|
6575
6574
|
return {
|
|
6576
|
-
build: async ({ platform: platform$1
|
|
6575
|
+
build: async ({ platform: platform$1 }) => {
|
|
6577
6576
|
const buildPath = path.join(cwd, outDir);
|
|
6578
6577
|
await fs.promises.rm(buildPath, {
|
|
6579
6578
|
recursive: true,
|
|
@@ -6584,11 +6583,9 @@ const expo = (config = {
|
|
|
6584
6583
|
cwd,
|
|
6585
6584
|
platform: platform$1,
|
|
6586
6585
|
buildPath,
|
|
6587
|
-
sourcemap
|
|
6588
|
-
channel
|
|
6586
|
+
sourcemap
|
|
6589
6587
|
});
|
|
6590
6588
|
return {
|
|
6591
|
-
channel,
|
|
6592
6589
|
buildPath,
|
|
6593
6590
|
bundleId,
|
|
6594
6591
|
stdout
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/expo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.19.1-rc.0",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"package.json"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@hot-updater/bare": "0.
|
|
25
|
-
"@hot-updater/plugin-core": "0.
|
|
24
|
+
"@hot-updater/bare": "0.19.1-rc.0",
|
|
25
|
+
"@hot-updater/plugin-core": "0.19.1-rc.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.8.7",
|