hot-updater 0.30.10 → 0.30.12
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 +5 -5
- package/package.json +14 -14
package/dist/index.mjs
CHANGED
|
@@ -48155,18 +48155,18 @@ const deployPlatform = async ({ options, platform, platformIndex, platformCount
|
|
|
48155
48155
|
target.fingerprintHash = newFingerprint.hash;
|
|
48156
48156
|
s.stop(`Fingerprint(${platform}): ${newFingerprint.hash}`);
|
|
48157
48157
|
} else {
|
|
48158
|
-
const defaultTargetAppVersion = await getDefaultTargetAppVersion(platform)
|
|
48158
|
+
const defaultTargetAppVersion = await getDefaultTargetAppVersion(platform);
|
|
48159
48159
|
const targetAppVersion = options.targetAppVersion ?? (options.interactive ? await p.text({
|
|
48160
48160
|
message: "Target app version",
|
|
48161
|
-
placeholder: defaultTargetAppVersion,
|
|
48162
|
-
initialValue: defaultTargetAppVersion,
|
|
48161
|
+
placeholder: defaultTargetAppVersion ?? "1.0.0",
|
|
48162
|
+
initialValue: defaultTargetAppVersion ?? "1.0.0",
|
|
48163
48163
|
validate: (value) => {
|
|
48164
48164
|
if (!(0, import_valid.default)(value)) return "Invalid semver format (e.g. 1.0.0, 1.x.x)";
|
|
48165
48165
|
}
|
|
48166
|
-
}) :
|
|
48166
|
+
}) : defaultTargetAppVersion);
|
|
48167
48167
|
if (p.isCancel(targetAppVersion)) return null;
|
|
48168
48168
|
if (!targetAppVersion) {
|
|
48169
|
-
p.log.error("Target app version not found. -t <targetAppVersion>
|
|
48169
|
+
p.log.error("Target app version not found in native files (Info.plist for iOS, build.gradle for Android). Pass -t <targetAppVersion> explicitly, or check your native config.");
|
|
48170
48170
|
return null;
|
|
48171
48171
|
}
|
|
48172
48172
|
target.appVersion = targetAppVersion;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hot-updater",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.30.
|
|
4
|
+
"version": "0.30.12",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.19.0"
|
|
7
7
|
},
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"jiti": "2.6.1",
|
|
50
50
|
"kysely": "0.28.16",
|
|
51
51
|
"sql-formatter": "15.6.10",
|
|
52
|
-
"@hot-updater/
|
|
53
|
-
"@hot-updater/apple-helper": "0.30.
|
|
54
|
-
"@hot-updater/
|
|
55
|
-
"@hot-updater/
|
|
56
|
-
"@hot-updater/
|
|
57
|
-
"@hot-updater/plugin-core": "0.30.
|
|
58
|
-
"@hot-updater/server": "0.30.
|
|
52
|
+
"@hot-updater/cli-tools": "0.30.12",
|
|
53
|
+
"@hot-updater/apple-helper": "0.30.12",
|
|
54
|
+
"@hot-updater/console": "0.30.12",
|
|
55
|
+
"@hot-updater/core": "0.30.12",
|
|
56
|
+
"@hot-updater/android-helper": "0.30.12",
|
|
57
|
+
"@hot-updater/plugin-core": "0.30.12",
|
|
58
|
+
"@hot-updater/server": "0.30.12"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@bacons/xcode": "1.0.0-alpha.24",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"plist": "^3.1.0",
|
|
75
75
|
"semver": "^7.6.3",
|
|
76
76
|
"typescript": "6.0.2",
|
|
77
|
-
"@hot-updater/aws": "0.30.
|
|
78
|
-
"@hot-updater/
|
|
79
|
-
"@hot-updater/
|
|
80
|
-
"@hot-updater/
|
|
81
|
-
"@hot-updater/
|
|
82
|
-
"@hot-updater/
|
|
77
|
+
"@hot-updater/aws": "0.30.12",
|
|
78
|
+
"@hot-updater/firebase": "0.30.12",
|
|
79
|
+
"@hot-updater/server": "0.30.12",
|
|
80
|
+
"@hot-updater/test-utils": "0.30.12",
|
|
81
|
+
"@hot-updater/cloudflare": "0.30.12",
|
|
82
|
+
"@hot-updater/supabase": "0.30.12"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"@hot-updater/aws": "*",
|