@hot-updater/expo 1.2.0-rc.12 → 1.2.0-rc.13
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 +1 -0
- package/dist/index.mjs +2 -1
- package/package.json +7 -7
- package/plugin/build/withHotUpdater.js +2 -0
package/dist/index.cjs
CHANGED
|
@@ -6470,6 +6470,7 @@ const expo = (config = {
|
|
|
6470
6470
|
}
|
|
6471
6471
|
},
|
|
6472
6472
|
build: async ({ platform }) => {
|
|
6473
|
+
(0, _hot_updater_cli_tools.assertSupportedExpoSdk)(cwd);
|
|
6473
6474
|
const buildPath = path.default.join(cwd, outDir);
|
|
6474
6475
|
await fs.default.promises.rm(buildPath, {
|
|
6475
6476
|
recursive: true,
|
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 { createInterfaceFingerprint, log, p, reactNativeConfigCommand, readBundleSigningPublicKeyFile, readReactNativeInterface } from "@hot-updater/cli-tools";
|
|
7
|
+
import { assertSupportedExpoSdk, createInterfaceFingerprint, log, 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";
|
|
@@ -6466,6 +6466,7 @@ const expo = (config = {
|
|
|
6466
6466
|
}
|
|
6467
6467
|
},
|
|
6468
6468
|
build: async ({ platform }) => {
|
|
6469
|
+
assertSupportedExpoSdk(cwd);
|
|
6469
6470
|
const buildPath = path.join(cwd, outDir);
|
|
6470
6471
|
await fs.promises.rm(buildPath, {
|
|
6471
6472
|
recursive: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/expo",
|
|
3
|
-
"version": "1.2.0-rc.
|
|
3
|
+
"version": "1.2.0-rc.13",
|
|
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.
|
|
32
|
-
"@hot-updater/cli-tools": "1.2.0-rc.
|
|
33
|
-
"@hot-updater/plugin-core": "1.2.0-rc.
|
|
31
|
+
"@hot-updater/bare": "1.2.0-rc.13",
|
|
32
|
+
"@hot-updater/cli-tools": "1.2.0-rc.13",
|
|
33
|
+
"@hot-updater/plugin-core": "1.2.0-rc.13"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20",
|
|
37
|
-
"expo": "^
|
|
37
|
+
"expo": "^55.0.0",
|
|
38
38
|
"execa": "9.5.2",
|
|
39
39
|
"vitest": "4.1.4",
|
|
40
|
-
"hot-updater": "1.2.0-rc.
|
|
40
|
+
"hot-updater": "1.2.0-rc.13"
|
|
41
41
|
},
|
|
42
42
|
"exports": {
|
|
43
43
|
".": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"./package.json": "./package.json"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"expo": ">=
|
|
55
|
+
"expo": ">=55.0.0",
|
|
56
56
|
"hot-updater": "*"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
@@ -127,6 +127,7 @@ const withHotUpdaterConfigAsync = (props) => (config) => {
|
|
|
127
127
|
};
|
|
128
128
|
// === iOS: Add channel to Info.plist ===
|
|
129
129
|
modifiedConfig = (0, config_plugins_1.withInfoPlist)(modifiedConfig, async (cfg) => {
|
|
130
|
+
(await loadCliTools()).assertSupportedExpoSdk(cfg.modRequest.projectRoot);
|
|
130
131
|
await writeFingerprintJson(cfg.modRequest.projectRoot);
|
|
131
132
|
// Load public key if signing is enabled
|
|
132
133
|
const publicKey = await getPublicKey(cfg.modRequest.projectRoot);
|
|
@@ -142,6 +143,7 @@ const withHotUpdaterConfigAsync = (props) => (config) => {
|
|
|
142
143
|
});
|
|
143
144
|
// === Android: Add channel to AndroidManifest.xml ===
|
|
144
145
|
modifiedConfig = (0, config_plugins_1.withAndroidManifest)(modifiedConfig, async (cfg) => {
|
|
146
|
+
(await loadCliTools()).assertSupportedExpoSdk(cfg.modRequest.projectRoot);
|
|
145
147
|
await writeFingerprintJson(cfg.modRequest.projectRoot);
|
|
146
148
|
// Load public key if signing is enabled
|
|
147
149
|
const publicKey = await getPublicKey(cfg.modRequest.projectRoot);
|