@hot-updater/expo 1.2.0-rc.46 → 1.2.0-rc.47

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
@@ -6437,10 +6437,11 @@ const runBundle = async ({ cwd, platform, buildPath, sourcemap, resetCache }) =>
6437
6437
  try {
6438
6438
  stdout = (await execa("npx", args, {
6439
6439
  cwd,
6440
- reject: true
6440
+ reject: true,
6441
+ all: true
6441
6442
  })).stdout;
6442
6443
  } catch (error) {
6443
- if (error instanceof ExecaError) throw error.stderr;
6444
+ throw (0, _hot_updater_cli_tools.commandFailedError)("expo export:embed", error, (0, _hot_updater_cli_tools.npxCommandLine)(cwd, args));
6444
6445
  }
6445
6446
  if (enableHermes) {
6446
6447
  const { hermesVersion } = await (0, _hot_updater_bare.compileHermes)({
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import fs from "fs";
4
4
  import * as path$2 from "path";
5
5
  import path from "path";
6
6
  import { compileHermes } from "@hot-updater/bare";
7
- import { assertSupportedExpoSdk, createInterfaceFingerprint, log, p, reactNativeConfigCommand, readBundleSigningPublicKeyFile, readReactNativeInterface } from "@hot-updater/cli-tools";
7
+ import { assertSupportedExpoSdk, commandFailedError, createInterfaceFingerprint, log, npxCommandLine, p, reactNativeConfigCommand, readBundleSigningPublicKeyFile, readReactNativeInterface } from "@hot-updater/cli-tools";
8
8
  import { fileURLToPath } from "node:url";
9
9
  import { ChildProcess, execFile, spawn, spawnSync } from "node:child_process";
10
10
  import { StringDecoder } from "node:string_decoder";
@@ -6433,10 +6433,11 @@ const runBundle = async ({ cwd, platform, buildPath, sourcemap, resetCache }) =>
6433
6433
  try {
6434
6434
  stdout = (await execa("npx", args, {
6435
6435
  cwd,
6436
- reject: true
6436
+ reject: true,
6437
+ all: true
6437
6438
  })).stdout;
6438
6439
  } catch (error) {
6439
- if (error instanceof ExecaError) throw error.stderr;
6440
+ throw commandFailedError("expo export:embed", error, npxCommandLine(cwd, args));
6440
6441
  }
6441
6442
  if (enableHermes) {
6442
6443
  const { hermesVersion } = await compileHermes({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/expo",
3
- "version": "1.2.0-rc.46",
3
+ "version": "1.2.0-rc.47",
4
4
  "description": "Hot Updater build and config plugin for Expo",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -28,16 +28,16 @@
28
28
  "@babel/core": "7.26.0",
29
29
  "@babel/types": "7.26.0",
30
30
  "uuidv7": "^1.0.2",
31
- "@hot-updater/bare": "1.2.0-rc.46",
32
- "@hot-updater/cli-tools": "1.2.0-rc.46",
33
- "@hot-updater/plugin-core": "1.2.0-rc.46"
31
+ "@hot-updater/bare": "1.2.0-rc.47",
32
+ "@hot-updater/cli-tools": "1.2.0-rc.47",
33
+ "@hot-updater/plugin-core": "1.2.0-rc.47"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^20",
37
37
  "expo": "^55.0.0",
38
38
  "execa": "9.5.2",
39
39
  "vitest": "4.1.4",
40
- "hot-updater": "1.2.0-rc.46"
40
+ "hot-updater": "1.2.0-rc.47"
41
41
  },
42
42
  "exports": {
43
43
  ".": {