@hot-updater/vercel 1.2.0-rc.16 → 1.2.0-rc.18

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.
@@ -17625,7 +17625,7 @@ const postgres = (config) => {
17625
17625
  };
17626
17626
  //#endregion
17627
17627
  //#region ../../packages/server/dist/version.mjs
17628
- const HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.16";
17628
+ const HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.18";
17629
17629
  //#endregion
17630
17630
  //#region ../../packages/server/dist/handlerVersionRoutes.mjs
17631
17631
  const createVersionRouteHandlers = (plugins = []) => {
@@ -7152,8 +7152,7 @@ const runInit = async ({ build, envFile, secretsEnv }) => {
7152
7152
  ...credential === void 0 ? {} : { credential },
7153
7153
  clientPlugins: server.clientPlugins
7154
7154
  });
7155
- _hot_updater_cli_tools.p.log.message(`Next step: ${(0, _hot_updater_cli_tools.link)("https://hot-updater.dev/docs/managed/vercel#step-3-add-hotupdater-to-your-project")}`);
7156
- _hot_updater_cli_tools.p.log.success("Done! 🎉");
7155
+ return { nextSteps: [(0, _hot_updater_cli_tools.link)("https://hot-updater.dev/docs/managed/vercel#step-3-add-hotupdater-to-your-project")] };
7157
7156
  };
7158
7157
  //#endregion
7159
7158
  exports.VERCEL_FUNCTION_CONFIG = VERCEL_FUNCTION_CONFIG;
@@ -1,4 +1,4 @@
1
- import { RunInitOptions } from "@hot-updater/cli-tools";
1
+ import { RunInitOptions, RunInitResult } from "@hot-updater/cli-tools";
2
2
  //#region iac/init/index.d.ts
3
3
  declare const initProvider: {
4
4
  readonly label: "Vercel Blob + Functions + Postgres";
@@ -87,6 +87,6 @@ declare const VERCEL_FUNCTION_CONFIG: {
87
87
  };
88
88
  //#endregion
89
89
  //#region iac/index.d.ts
90
- declare const runInit: ({ build, envFile, secretsEnv }: RunInitOptions) => Promise<void>;
90
+ declare const runInit: ({ build, envFile, secretsEnv }: RunInitOptions) => Promise<RunInitResult>;
91
91
  //#endregion
92
92
  export { VERCEL_FUNCTION_CONFIG, initProvider, runInit };
@@ -1,4 +1,4 @@
1
- import { RunInitOptions } from "@hot-updater/cli-tools";
1
+ import { RunInitOptions, RunInitResult } from "@hot-updater/cli-tools";
2
2
  //#region iac/init/index.d.ts
3
3
  declare const initProvider: {
4
4
  readonly label: "Vercel Blob + Functions + Postgres";
@@ -87,6 +87,6 @@ declare const VERCEL_FUNCTION_CONFIG: {
87
87
  };
88
88
  //#endregion
89
89
  //#region iac/index.d.ts
90
- declare const runInit: ({ build, envFile, secretsEnv }: RunInitOptions) => Promise<void>;
90
+ declare const runInit: ({ build, envFile, secretsEnv }: RunInitOptions) => Promise<RunInitResult>;
91
91
  //#endregion
92
92
  export { VERCEL_FUNCTION_CONFIG, initProvider, runInit };
@@ -7146,8 +7146,7 @@ const runInit = async ({ build, envFile, secretsEnv }) => {
7146
7146
  ...credential === void 0 ? {} : { credential },
7147
7147
  clientPlugins: server.clientPlugins
7148
7148
  });
7149
- p.log.message(`Next step: ${link("https://hot-updater.dev/docs/managed/vercel#step-3-add-hotupdater-to-your-project")}`);
7150
- p.log.success("Done! 🎉");
7149
+ return { nextSteps: [link("https://hot-updater.dev/docs/managed/vercel#step-3-add-hotupdater-to-your-project")] };
7151
7150
  };
7152
7151
  //#endregion
7153
7152
  export { VERCEL_FUNCTION_CONFIG, initProvider, runInit };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/vercel",
3
3
  "type": "module",
4
- "version": "1.2.0-rc.16",
4
+ "version": "1.2.0-rc.18",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.mjs",
@@ -41,11 +41,11 @@
41
41
  "@vercel/cli-auth": "0.3.10",
42
42
  "@vercel/cli-config": "0.3.1",
43
43
  "pg": "8.13.1",
44
- "@hot-updater/cli-tools": "1.2.0-rc.16",
45
- "@hot-updater/plugin-core": "1.2.0-rc.16",
46
- "@hot-updater/postgres": "1.2.0-rc.16",
47
- "@hot-updater/protocol": "1.2.0-rc.16",
48
- "@hot-updater/server": "1.2.0-rc.16"
44
+ "@hot-updater/cli-tools": "1.2.0-rc.18",
45
+ "@hot-updater/plugin-core": "1.2.0-rc.18",
46
+ "@hot-updater/postgres": "1.2.0-rc.18",
47
+ "@hot-updater/protocol": "1.2.0-rc.18",
48
+ "@hot-updater/server": "1.2.0-rc.18"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^20",
@@ -54,7 +54,7 @@
54
54
  "execa": "9.5.2",
55
55
  "kysely": "0.28.17",
56
56
  "vitest": "4.1.4",
57
- "@hot-updater/test-utils": "1.2.0-rc.16"
57
+ "@hot-updater/test-utils": "1.2.0-rc.18"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "tsdown",