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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hot-updater",
3
3
  "type": "module",
4
- "version": "0.17.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": "^11.1.0",
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
- "@hot-updater/console": "0.17.0",
57
- "@hot-updater/core": "0.17.0",
58
- "@hot-updater/plugin-core": "0.17.0"
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/cloudflare": "0.17.0",
86
- "@hot-updater/aws": "0.17.0",
87
- "@hot-updater/firebase": "0.17.0",
88
- "@hot-updater/supabase": "0.17.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": "rslib 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>;
@@ -1 +0,0 @@
1
- export declare const init: () => Promise<void>;
@@ -1,2 +0,0 @@
1
- export declare const packageJsonData: import("read-package-up").NormalizedReadResult | undefined;
2
- export declare const version: string | undefined;
@@ -1,8 +0,0 @@
1
- /**
2
- * uuidv7: A JavaScript implementation of UUID version 7
3
- *
4
- * Copyright 2021-2024 LiosK
5
- *
6
- * @license Apache-2.0
7
- * @packageDocumentation
8
- */
@@ -1,8 +0,0 @@
1
- /**
2
- * uuidv7: A JavaScript implementation of UUID version 7
3
- *
4
- * Copyright 2021-2024 LiosK
5
- *
6
- * @license Apache-2.0
7
- * @packageDocumentation
8
- */
@@ -1 +0,0 @@
1
- export declare const getPlatform: (message: string) => Promise<"ios" | "android">;
@@ -1 +0,0 @@
1
- export declare const delay: (ms: number) => Promise<unknown>;
@@ -1,4 +0,0 @@
1
- export declare const ensureInstallPackages: (buildPluginPackages: {
2
- dependencies: string[];
3
- devDependencies: string[];
4
- }) => Promise<void>;
@@ -1,2 +0,0 @@
1
- export declare const formatDate: (date: Date) => number;
2
- export declare function formatDateTimeFromBundleVersion(input: string): string;
@@ -1,4 +0,0 @@
1
- export declare function getBundleZipTargets(basePath: string, files: string[]): Promise<{
2
- path: string;
3
- name: string;
4
- }[]>;
@@ -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;
@@ -1,2 +0,0 @@
1
- import { type Commit } from "es-git";
2
- export declare const getLatestGitCommit: () => Promise<Commit | null>;
@@ -1 +0,0 @@
1
- export declare const printBanner: () => void;
@@ -1 +0,0 @@
1
- export declare function toRotated<T>(array: T[], steps: number): T[];