@hot-updater/supabase 1.0.0-rc.2 → 1.0.0-rc.21
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/edge.cjs +4 -3
- package/dist/edge.d.cts +4 -4
- package/dist/edge.d.mts +4 -4
- package/dist/edge.mjs +2 -2
- package/dist/index.cjs +143 -3
- package/dist/index.d.cts +13 -4
- package/dist/index.d.mts +13 -4
- package/dist/index.mjs +141 -2
- package/dist/init/index.cjs +7593 -4
- package/dist/init/index.d.cts +97 -4
- package/dist/init/index.d.mts +97 -4
- package/dist/init/index.mjs +7578 -1
- package/dist/plugins-B8grmU79.mjs +209 -0
- package/dist/plugins-DJUmZYvT.cjs +238 -0
- package/dist/supabaseDatabase-DVb3-y2x.d.cts +726 -0
- package/dist/supabaseDatabase-DVb3-y2x.d.mts +726 -0
- package/package.json +9 -14
- package/supabase/edge-functions/index.ts +6 -2
- package/supabase/migrations/20260818000000_hot-updater_1.0.0.sql +190 -604
- package/dist/iac/index.cjs +0 -8096
- package/dist/iac/index.d.cts +0 -102
- package/dist/iac/index.d.mts +0 -102
- package/dist/iac/index.mjs +0 -8079
- package/dist/supabaseDatabase-3d90EtUD.d.cts +0 -11
- package/dist/supabaseDatabase-3d90EtUD.d.mts +0 -11
- package/dist/supabaseStorage-CbzHzqCa.cjs +0 -622
- package/dist/supabaseStorage-CjteZ2zX.mjs +0 -611
- package/supabase/edge-functions/runtime.docker.integration.spec.ts +0 -1183
- package/supabase/migrations.spec.ts +0 -281
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/supabase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.21",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"require": "./dist/init/index.cjs"
|
|
18
18
|
},
|
|
19
19
|
"./edge": {
|
|
20
|
-
"types": "./dist/edge.d.cts",
|
|
21
20
|
"import": "./dist/edge.mjs",
|
|
22
21
|
"require": "./dist/edge.cjs"
|
|
23
22
|
},
|
|
@@ -25,11 +24,6 @@
|
|
|
25
24
|
"import": "./supabase/index.ts",
|
|
26
25
|
"require": "./supabase/index.ts"
|
|
27
26
|
},
|
|
28
|
-
"./iac": {
|
|
29
|
-
"types": "./dist/iac/index.d.cts",
|
|
30
|
-
"import": "./dist/iac/index.mjs",
|
|
31
|
-
"require": "./dist/iac/index.cjs"
|
|
32
|
-
},
|
|
33
27
|
"./package.json": "./package.json"
|
|
34
28
|
},
|
|
35
29
|
"license": "MIT",
|
|
@@ -50,16 +44,17 @@
|
|
|
50
44
|
"sql",
|
|
51
45
|
"supabase",
|
|
52
46
|
"!supabase/.temp",
|
|
47
|
+
"!**/*.spec.ts",
|
|
53
48
|
"package.json"
|
|
54
49
|
],
|
|
55
50
|
"dependencies": {
|
|
56
51
|
"@supabase/supabase-js": "2.76.1",
|
|
57
52
|
"hono": "4.12.34",
|
|
58
53
|
"uuidv7": "^1.0.2",
|
|
59
|
-
"@hot-updater/
|
|
60
|
-
"@hot-updater/plugin-core": "1.0.0-rc.
|
|
61
|
-
"@hot-updater/cli-tools": "1.0.0-rc.
|
|
62
|
-
"@hot-updater/server": "1.0.0-rc.
|
|
54
|
+
"@hot-updater/protocol": "1.0.0-rc.21",
|
|
55
|
+
"@hot-updater/plugin-core": "1.0.0-rc.21",
|
|
56
|
+
"@hot-updater/cli-tools": "1.0.0-rc.21",
|
|
57
|
+
"@hot-updater/server": "1.0.0-rc.21"
|
|
63
58
|
},
|
|
64
59
|
"devDependencies": {
|
|
65
60
|
"@electric-sql/pglite": "0.4.1",
|
|
@@ -69,9 +64,9 @@
|
|
|
69
64
|
"execa": "9.5.2",
|
|
70
65
|
"@types/node": "^20",
|
|
71
66
|
"mime": "^4.0.4",
|
|
72
|
-
"@hot-updater/mock": "1.0.0-rc.
|
|
73
|
-
"@hot-updater/test-utils": "1.0.0-rc.
|
|
74
|
-
"@hot-updater/postgres": "1.0.0-rc.
|
|
67
|
+
"@hot-updater/mock": "1.0.0-rc.21",
|
|
68
|
+
"@hot-updater/test-utils": "1.0.0-rc.21",
|
|
69
|
+
"@hot-updater/postgres": "1.0.0-rc.21"
|
|
75
70
|
},
|
|
76
71
|
"scripts": {
|
|
77
72
|
"build": "tsdown",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import "jsr:@supabase/functions-js/edge-runtime.d.ts";
|
|
2
2
|
import { createHotUpdater } from "@hot-updater/server";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
plugins,
|
|
5
|
+
supabaseDatabase,
|
|
6
|
+
supabaseStorage,
|
|
7
|
+
} from "@hot-updater/supabase/edge";
|
|
4
8
|
import { Hono } from "hono";
|
|
5
9
|
|
|
6
10
|
declare global {
|
|
@@ -22,7 +26,7 @@ const hotUpdater = createHotUpdater({
|
|
|
22
26
|
supabaseUrl,
|
|
23
27
|
supabaseServiceRoleKey,
|
|
24
28
|
}),
|
|
25
|
-
|
|
29
|
+
plugins,
|
|
26
30
|
storage: [
|
|
27
31
|
supabaseStorage({
|
|
28
32
|
supabaseUrl,
|