@hot-updater/bare 0.18.5 → 0.19.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 CHANGED
@@ -6565,7 +6565,7 @@ async function compileHermes({ cwd, sourcemap, inputJsFile }) {
6565
6565
 
6566
6566
  //#endregion
6567
6567
  //#region src/bare.ts
6568
- const runBundle = async ({ entryFile, cwd, platform: platform$1, buildPath, sourcemap, enableHermes, channel }) => {
6568
+ const runBundle = async ({ entryFile, cwd, platform: platform$1, buildPath, sourcemap, enableHermes }) => {
6569
6569
  const reactNativePath = require.resolve("react-native/package.json", { paths: [cwd] });
6570
6570
  const cliPath = path.default.join(path.default.dirname(reactNativePath), "cli.js");
6571
6571
  const filename = `index.${platform$1}`;
@@ -6593,8 +6593,7 @@ const runBundle = async ({ entryFile, cwd, platform: platform$1, buildPath, sour
6593
6593
  cwd,
6594
6594
  env: {
6595
6595
  ...process.env,
6596
- BUILD_OUT_DIR: buildPath,
6597
- HOT_UPDATER_CHANNEL: channel
6596
+ BUILD_OUT_DIR: buildPath
6598
6597
  },
6599
6598
  reject: true
6600
6599
  });
@@ -6638,7 +6637,7 @@ import { HotUpdaterPlugin } from "@hot-updater/repack";
6638
6637
  const bare = (config) => ({ cwd }) => {
6639
6638
  const { outDir = "dist", sourcemap = false, entryFile = "index.js", enableHermes } = config;
6640
6639
  return {
6641
- build: async ({ platform: platform$1, channel }) => {
6640
+ build: async ({ platform: platform$1 }) => {
6642
6641
  const buildPath = path.default.join(cwd, outDir);
6643
6642
  await fs_promises.default.rm(buildPath, {
6644
6643
  recursive: true,
@@ -6651,11 +6650,9 @@ const bare = (config) => ({ cwd }) => {
6651
6650
  platform: platform$1,
6652
6651
  buildPath,
6653
6652
  sourcemap,
6654
- channel,
6655
6653
  enableHermes
6656
6654
  });
6657
6655
  return {
6658
- channel,
6659
6656
  buildPath,
6660
6657
  bundleId,
6661
6658
  stdout
package/dist/index.js CHANGED
@@ -6567,7 +6567,7 @@ async function compileHermes({ cwd, sourcemap, inputJsFile }) {
6567
6567
 
6568
6568
  //#endregion
6569
6569
  //#region src/bare.ts
6570
- const runBundle = async ({ entryFile, cwd, platform: platform$1, buildPath, sourcemap, enableHermes, channel }) => {
6570
+ const runBundle = async ({ entryFile, cwd, platform: platform$1, buildPath, sourcemap, enableHermes }) => {
6571
6571
  const reactNativePath = __require.resolve("react-native/package.json", { paths: [cwd] });
6572
6572
  const cliPath = path.join(path.dirname(reactNativePath), "cli.js");
6573
6573
  const filename = `index.${platform$1}`;
@@ -6595,8 +6595,7 @@ const runBundle = async ({ entryFile, cwd, platform: platform$1, buildPath, sour
6595
6595
  cwd,
6596
6596
  env: {
6597
6597
  ...process.env,
6598
- BUILD_OUT_DIR: buildPath,
6599
- HOT_UPDATER_CHANNEL: channel
6598
+ BUILD_OUT_DIR: buildPath
6600
6599
  },
6601
6600
  reject: true
6602
6601
  });
@@ -6640,7 +6639,7 @@ import { HotUpdaterPlugin } from "@hot-updater/repack";
6640
6639
  const bare = (config) => ({ cwd }) => {
6641
6640
  const { outDir = "dist", sourcemap = false, entryFile = "index.js", enableHermes } = config;
6642
6641
  return {
6643
- build: async ({ platform: platform$1, channel }) => {
6642
+ build: async ({ platform: platform$1 }) => {
6644
6643
  const buildPath = path.join(cwd, outDir);
6645
6644
  await fs$1.rm(buildPath, {
6646
6645
  recursive: true,
@@ -6653,11 +6652,9 @@ const bare = (config) => ({ cwd }) => {
6653
6652
  platform: platform$1,
6654
6653
  buildPath,
6655
6654
  sourcemap,
6656
- channel,
6657
6655
  enableHermes
6658
6656
  });
6659
6657
  return {
6660
- channel,
6661
6658
  buildPath,
6662
6659
  bundleId,
6663
6660
  stdout
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/bare",
3
3
  "type": "module",
4
- "version": "0.18.5",
4
+ "version": "0.19.0",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "package.json"
22
22
  ],
23
23
  "dependencies": {
24
- "@hot-updater/plugin-core": "0.18.5"
24
+ "@hot-updater/plugin-core": "0.19.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^22.8.7",