@hot-updater/cli-tools 1.0.0-rc.23 → 1.0.0-rc.24
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.mjs +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -44086,7 +44086,7 @@ const getReactNativeMetadatas = (cwd) => {
|
|
|
44086
44086
|
if (!cwd) cwd = getCwd();
|
|
44087
44087
|
try {
|
|
44088
44088
|
const require = createRequire(import.meta.url);
|
|
44089
|
-
const packagePath = path.
|
|
44089
|
+
const packagePath = path.dirname(require.resolve("react-native/package.json", { paths: [cwd] }));
|
|
44090
44090
|
const versionRaw = JSON.parse(fs.readFileSync(path.join(packagePath, "package.json"), "utf-8")).version;
|
|
44091
44091
|
return {
|
|
44092
44092
|
packagePath,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/cli-tools",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.19.0"
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"oxc-parser": "0.141.0",
|
|
50
50
|
"oxc-transform": "0.141.0",
|
|
51
51
|
"unconfig": "7.5.0",
|
|
52
|
-
"@hot-updater/protocol": "1.0.0-rc.
|
|
53
|
-
"@hot-updater/plugin-core": "1.0.0-rc.
|
|
54
|
-
"@hot-updater/server": "1.0.0-rc.
|
|
52
|
+
"@hot-updater/protocol": "1.0.0-rc.24",
|
|
53
|
+
"@hot-updater/plugin-core": "1.0.0-rc.24",
|
|
54
|
+
"@hot-updater/server": "1.0.0-rc.24"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@clack/prompts": "1.7.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"tar": "^7.5.16",
|
|
66
66
|
"verkit": "0.4.0",
|
|
67
67
|
"workspace-tools": "^0.41.7",
|
|
68
|
-
"@hot-updater/test-utils": "1.0.0-rc.
|
|
68
|
+
"@hot-updater/test-utils": "1.0.0-rc.24"
|
|
69
69
|
},
|
|
70
70
|
"inlinedDependencies": {
|
|
71
71
|
"@babel/code-frame": "7.29.0",
|