@hot-updater/cli-tools 0.36.16 → 0.36.17
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 +4 -4
package/dist/index.mjs
CHANGED
|
@@ -42963,7 +42963,7 @@ const getReactNativeMetadatas = (cwd) => {
|
|
|
42963
42963
|
if (!cwd) cwd = getCwd();
|
|
42964
42964
|
try {
|
|
42965
42965
|
const require = createRequire(import.meta.url);
|
|
42966
|
-
const packagePath = path.
|
|
42966
|
+
const packagePath = path.dirname(require.resolve("react-native/package.json", { paths: [cwd] }));
|
|
42967
42967
|
const versionRaw = JSON.parse(fs.readFileSync(path.join(packagePath, "package.json"), "utf-8")).version;
|
|
42968
42968
|
return {
|
|
42969
42969
|
packagePath,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/cli-tools",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.19.0"
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"oxc-parser": "0.141.0",
|
|
50
50
|
"oxc-transform": "0.141.0",
|
|
51
51
|
"unconfig": "7.5.0",
|
|
52
|
-
"@hot-updater/core": "0.36.
|
|
53
|
-
"@hot-updater/plugin-core": "0.36.
|
|
52
|
+
"@hot-updater/core": "0.36.17",
|
|
53
|
+
"@hot-updater/plugin-core": "0.36.17"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@clack/prompts": "1.7.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"tar": "^7.5.16",
|
|
65
65
|
"verkit": "0.3.2",
|
|
66
66
|
"workspace-tools": "^0.41.7",
|
|
67
|
-
"@hot-updater/test-utils": "0.36.
|
|
67
|
+
"@hot-updater/test-utils": "0.36.17"
|
|
68
68
|
},
|
|
69
69
|
"inlinedDependencies": {
|
|
70
70
|
"@babel/code-frame": "7.29.0",
|