@hot-updater/supabase 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.
@@ -7719,8 +7719,7 @@ const runInitWithoutCliMetadata = async ({ build, envFile, secretsEnv }) => {
7719
7719
  clientPlugins
7720
7720
  });
7721
7721
  reportSupabaseOriginCatalogReady();
7722
- _hot_updater_cli_tools.p.log.message(`Next step: ${(0, _hot_updater_cli_tools.link)("https://hot-updater.dev/docs/managed/supabase#step-3-add-hotupdater-to-your-project")}`);
7723
- _hot_updater_cli_tools.p.log.success("Done! 🎉");
7722
+ return { nextSteps: [(0, _hot_updater_cli_tools.link)("https://hot-updater.dev/docs/managed/supabase#step-3-add-hotupdater-to-your-project")] };
7724
7723
  };
7725
7724
  const runInit = (options) => withSupabaseCliMetadataCleanup(process.cwd(), () => runInitWithoutCliMetadata(options));
7726
7725
  //#endregion
@@ -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/supabaseApi.d.ts
3
3
  type SupabaseInfrastructureState = "fresh" | "incompatible" | "v1";
4
4
  interface SupabaseApi {
@@ -177,6 +177,6 @@ declare const getSupabaseProjectAccess: ({ accessToken, managementApi, project,
177
177
  readonly serviceRoleApiKey: string;
178
178
  }>;
179
179
  declare const withSupabaseCliMetadataCleanup: <Result>(cwd: string, operation: () => Promise<Result>) => Promise<Result>;
180
- declare const runInit: (options: RunInitOptions) => Promise<void>;
180
+ declare const runInit: (options: RunInitOptions) => Promise<RunInitResult>;
181
181
  //#endregion
182
182
  export { SupabaseBucketSelection, SupabaseProjectSelection, createSelectedBucket, getSupabaseFunctionUrl, getSupabaseProjectAccess, initProvider, reportSupabaseOriginCatalogReady, resolveEdgeFunctionDenoConfig, runInit, selectBucket, selectProject, waitForSupabaseProjectReady, waitForSupabaseSchemaReady, withSupabaseCliMetadataCleanup };
@@ -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/supabaseApi.d.ts
3
3
  type SupabaseInfrastructureState = "fresh" | "incompatible" | "v1";
4
4
  interface SupabaseApi {
@@ -177,6 +177,6 @@ declare const getSupabaseProjectAccess: ({ accessToken, managementApi, project,
177
177
  readonly serviceRoleApiKey: string;
178
178
  }>;
179
179
  declare const withSupabaseCliMetadataCleanup: <Result>(cwd: string, operation: () => Promise<Result>) => Promise<Result>;
180
- declare const runInit: (options: RunInitOptions) => Promise<void>;
180
+ declare const runInit: (options: RunInitOptions) => Promise<RunInitResult>;
181
181
  //#endregion
182
182
  export { SupabaseBucketSelection, SupabaseProjectSelection, createSelectedBucket, getSupabaseFunctionUrl, getSupabaseProjectAccess, initProvider, reportSupabaseOriginCatalogReady, resolveEdgeFunctionDenoConfig, runInit, selectBucket, selectProject, waitForSupabaseProjectReady, waitForSupabaseSchemaReady, withSupabaseCliMetadataCleanup };
@@ -7714,8 +7714,7 @@ const runInitWithoutCliMetadata = async ({ build, envFile, secretsEnv }) => {
7714
7714
  clientPlugins
7715
7715
  });
7716
7716
  reportSupabaseOriginCatalogReady();
7717
- p.log.message(`Next step: ${link("https://hot-updater.dev/docs/managed/supabase#step-3-add-hotupdater-to-your-project")}`);
7718
- p.log.success("Done! 🎉");
7717
+ return { nextSteps: [link("https://hot-updater.dev/docs/managed/supabase#step-3-add-hotupdater-to-your-project")] };
7719
7718
  };
7720
7719
  const runInit = (options) => withSupabaseCliMetadataCleanup(process.cwd(), () => runInitWithoutCliMetadata(options));
7721
7720
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/supabase",
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",
@@ -51,10 +51,10 @@
51
51
  "@supabase/supabase-js": "2.76.1",
52
52
  "hono": "4.12.34",
53
53
  "uuidv7": "^1.0.2",
54
- "@hot-updater/protocol": "1.2.0-rc.16",
55
- "@hot-updater/plugin-core": "1.2.0-rc.16",
56
- "@hot-updater/cli-tools": "1.2.0-rc.16",
57
- "@hot-updater/server": "1.2.0-rc.16"
54
+ "@hot-updater/protocol": "1.2.0-rc.18",
55
+ "@hot-updater/plugin-core": "1.2.0-rc.18",
56
+ "@hot-updater/cli-tools": "1.2.0-rc.18",
57
+ "@hot-updater/server": "1.2.0-rc.18"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@electric-sql/pglite": "0.4.1",
@@ -64,9 +64,9 @@
64
64
  "execa": "9.5.2",
65
65
  "@types/node": "^20",
66
66
  "mime": "^4.0.4",
67
- "@hot-updater/mock": "1.2.0-rc.16",
68
- "@hot-updater/test-utils": "1.2.0-rc.16",
69
- "@hot-updater/postgres": "1.2.0-rc.16"
67
+ "@hot-updater/mock": "1.2.0-rc.18",
68
+ "@hot-updater/test-utils": "1.2.0-rc.18",
69
+ "@hot-updater/postgres": "1.2.0-rc.18"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "tsdown",