hot-updater 0.17.0 → 0.18.0
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/LICENSE +21 -0
- package/dist/config.cjs +8 -36
- package/dist/config.d.cts +7 -0
- package/dist/config.d.ts +7 -2
- package/dist/config.js +7 -4
- package/dist/index.cjs +21317 -19775
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +21047 -19432
- package/dist/picocolors-OFVOrezl.js +99 -0
- package/dist/picocolors-nLcU57DT.cjs +114 -0
- package/dist/plugins/babel.cjs +400 -17192
- package/dist/plugins/babel.d.cts +12 -0
- package/dist/plugins/babel.d.ts +12 -3
- package/dist/plugins/babel.js +394 -17072
- package/package.json +15 -10
- package/dist/commands/console.d.ts +0 -4
- package/dist/commands/deploy.d.ts +0 -11
- package/dist/commands/init.d.ts +0 -1
- package/dist/packageJson.d.ts +0 -2
- package/dist/plugins/babel.cjs.LICENSE.txt +0 -8
- package/dist/plugins/babel.js.LICENSE.txt +0 -8
- package/dist/prompts/getPlatform.d.ts +0 -1
- package/dist/utils/delay.d.ts +0 -1
- package/dist/utils/ensureInstallPackages.d.ts +0 -4
- package/dist/utils/formatDate.d.ts +0 -2
- package/dist/utils/getBundleZipTargets.d.ts +0 -4
- package/dist/utils/getBundleZipTargets.spec.d.ts +0 -1
- package/dist/utils/getDefaultTargetAppVersion.d.ts +0 -4
- package/dist/utils/getFileHash.d.ts +0 -1
- package/dist/utils/getPackageManager.d.ts +0 -1
- package/dist/utils/git.d.ts +0 -2
- package/dist/utils/printBanner.d.ts +0 -1
- package/dist/utils/toRotated.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hot-updater",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.18.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hot-updater": "./dist/index.js"
|
|
7
7
|
},
|
|
@@ -48,14 +48,19 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
+
"@bacons/xcode": "1.0.0-alpha.24",
|
|
51
52
|
"@clack/prompts": "^0.10.0",
|
|
52
|
-
"commander": "^
|
|
53
|
+
"@commander-js/extra-typings": "^14.0.0",
|
|
54
|
+
"@rnef/tools": "0.7.12",
|
|
55
|
+
"commander": "^14.0.0",
|
|
53
56
|
"cosmiconfig": "^9.0.0",
|
|
54
57
|
"cosmiconfig-typescript-loader": "^5.0.0",
|
|
55
58
|
"es-git": "^0.2.0",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"@hot-updater/
|
|
59
|
+
"fast-xml-parser": "^5.2.3",
|
|
60
|
+
"globby": "^14.1.0",
|
|
61
|
+
"@hot-updater/core": "0.18.0",
|
|
62
|
+
"@hot-updater/plugin-core": "0.18.0",
|
|
63
|
+
"@hot-updater/console": "0.18.0"
|
|
59
64
|
},
|
|
60
65
|
"devDependencies": {
|
|
61
66
|
"@babel/core": "7.26.0",
|
|
@@ -82,10 +87,10 @@
|
|
|
82
87
|
"read-package-up": "^11.0.0",
|
|
83
88
|
"semver": "^7.6.3",
|
|
84
89
|
"uuidv7": "^1.0.2",
|
|
85
|
-
"@hot-updater/
|
|
86
|
-
"@hot-updater/
|
|
87
|
-
"@hot-updater/firebase": "0.
|
|
88
|
-
"@hot-updater/supabase": "0.
|
|
90
|
+
"@hot-updater/aws": "0.18.0",
|
|
91
|
+
"@hot-updater/cloudflare": "0.18.0",
|
|
92
|
+
"@hot-updater/firebase": "0.18.0",
|
|
93
|
+
"@hot-updater/supabase": "0.18.0"
|
|
89
94
|
},
|
|
90
95
|
"peerDependencies": {
|
|
91
96
|
"@hot-updater/aws": "*",
|
|
@@ -108,7 +113,7 @@
|
|
|
108
113
|
}
|
|
109
114
|
},
|
|
110
115
|
"scripts": {
|
|
111
|
-
"build": "
|
|
116
|
+
"build": "tsdown",
|
|
112
117
|
"test:type": "tsc --noEmit"
|
|
113
118
|
}
|
|
114
119
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type ConfigResponse } from "@hot-updater/plugin-core";
|
|
2
|
-
import type { AddressInfo } from "net";
|
|
3
|
-
export declare const getConsolePort: (config?: ConfigResponse) => Promise<number>;
|
|
4
|
-
export declare const openConsole: (port: number, listeningListener?: ((info: AddressInfo) => void) | undefined) => Promise<void>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type Platform } from "@hot-updater/plugin-core";
|
|
2
|
-
export interface DeployOptions {
|
|
3
|
-
bundleOutputPath?: string;
|
|
4
|
-
channel: string;
|
|
5
|
-
forceUpdate: boolean;
|
|
6
|
-
interactive: boolean;
|
|
7
|
-
message?: string;
|
|
8
|
-
platform?: Platform;
|
|
9
|
-
targetAppVersion?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const deploy: (options: DeployOptions) => Promise<void>;
|
package/dist/commands/init.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const init: () => Promise<void>;
|
package/dist/packageJson.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPlatform: (message: string) => Promise<"ios" | "android">;
|
package/dist/utils/delay.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const delay: (ms: number) => Promise<unknown>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Platform } from "@hot-updater/plugin-core";
|
|
2
|
-
export declare const getIOSVersion: (cwd: string) => Promise<string | null>;
|
|
3
|
-
export declare const getAndroidVersion: (cwd: string) => Promise<string | null>;
|
|
4
|
-
export declare const getDefaultTargetAppVersion: (cwd: string, platform: Platform) => Promise<string | null>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getFileHashFromFile: (filepath: string) => Promise<string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getPackageManager: () => string;
|
package/dist/utils/git.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const printBanner: () => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function toRotated<T>(array: T[], steps: number): T[];
|