@hot-updater/expo 1.2.0-rc.7 → 1.2.0-rc.9

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
@@ -6345,18 +6345,17 @@ function resolveMain(cwd) {
6345
6345
  const runExpoPrebuild = async ({ platform }) => {
6346
6346
  const spinner = _hot_updater_cli_tools.p.spinner();
6347
6347
  try {
6348
- spinner.start("Run expo prebuild");
6349
- const args = [
6348
+ spinner.start("Running expo prebuild");
6349
+ await execa("npx", [
6350
6350
  "expo",
6351
6351
  "prebuild",
6352
6352
  "--platform",
6353
6353
  platform,
6354
6354
  "--no-install"
6355
- ];
6355
+ ]);
6356
6356
  spinner.stop("Expo prebuild done");
6357
- await execa("npx", args);
6358
6357
  } catch (e) {
6359
- spinner.stop("Expo prebuild failed");
6358
+ spinner.error("Expo prebuild failed");
6360
6359
  if (e instanceof ExecaError) _hot_updater_cli_tools.p.log.error(e.stderr || e.stdout || e.message);
6361
6360
  else if (e instanceof Error) _hot_updater_cli_tools.p.log.error(e.message);
6362
6361
  process.exit(1);
package/dist/index.mjs CHANGED
@@ -6341,18 +6341,17 @@ function resolveMain(cwd) {
6341
6341
  const runExpoPrebuild = async ({ platform }) => {
6342
6342
  const spinner = p.spinner();
6343
6343
  try {
6344
- spinner.start("Run expo prebuild");
6345
- const args = [
6344
+ spinner.start("Running expo prebuild");
6345
+ await execa("npx", [
6346
6346
  "expo",
6347
6347
  "prebuild",
6348
6348
  "--platform",
6349
6349
  platform,
6350
6350
  "--no-install"
6351
- ];
6351
+ ]);
6352
6352
  spinner.stop("Expo prebuild done");
6353
- await execa("npx", args);
6354
6353
  } catch (e) {
6355
- spinner.stop("Expo prebuild failed");
6354
+ spinner.error("Expo prebuild failed");
6356
6355
  if (e instanceof ExecaError) p.log.error(e.stderr || e.stdout || e.message);
6357
6356
  else if (e instanceof Error) p.log.error(e.message);
6358
6357
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/expo",
3
- "version": "1.2.0-rc.7",
3
+ "version": "1.2.0-rc.9",
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/cli-tools": "1.2.0-rc.7",
32
- "@hot-updater/plugin-core": "1.2.0-rc.7",
33
- "@hot-updater/bare": "1.2.0-rc.7"
31
+ "@hot-updater/bare": "1.2.0-rc.9",
32
+ "@hot-updater/plugin-core": "1.2.0-rc.9",
33
+ "@hot-updater/cli-tools": "1.2.0-rc.9"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^20",
37
37
  "expo": "^50.0.0",
38
38
  "execa": "9.5.2",
39
39
  "vitest": "4.1.4",
40
- "hot-updater": "1.2.0-rc.7"
40
+ "hot-updater": "1.2.0-rc.9"
41
41
  },
42
42
  "exports": {
43
43
  ".": {