nuxt-convex-module 0.0.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/README.md +242 -0
- package/dist/chunks/index.mjs +64 -0
- package/dist/devtools-client/200.html +1 -0
- package/dist/devtools-client/404.html +1 -0
- package/dist/devtools-client/_nuxt/B29GGJ5n.js +1 -0
- package/dist/devtools-client/_nuxt/BSDEpQet.js +1 -0
- package/dist/devtools-client/_nuxt/BY23OQOo.js +1 -0
- package/dist/devtools-client/_nuxt/BZYRaL-G.js +1 -0
- package/dist/devtools-client/_nuxt/Byw6FxnC.js +1 -0
- package/dist/devtools-client/_nuxt/CJJ_hcZN.js +1 -0
- package/dist/devtools-client/_nuxt/CS6WMFOx.js +2 -0
- package/dist/devtools-client/_nuxt/CZbAGcNC.js +1 -0
- package/dist/devtools-client/_nuxt/Cr6_aklh.js +2 -0
- package/dist/devtools-client/_nuxt/DNfpyBVU.js +3 -0
- package/dist/devtools-client/_nuxt/DPWXUmcI.js +1 -0
- package/dist/devtools-client/_nuxt/builds/latest.json +1 -0
- package/dist/devtools-client/_nuxt/builds/meta/a7708498-bd09-4de2-b5ab-19b380293c77.json +1 -0
- package/dist/devtools-client/_nuxt/dy_xXcv9.js +1 -0
- package/dist/devtools-client/_nuxt/entry.DbTJhkHT.css +1 -0
- package/dist/devtools-client/_nuxt/error-404.CwGGO2Kz.css +1 -0
- package/dist/devtools-client/_nuxt/error-500.8ZJqCQm8.css +1 -0
- package/dist/devtools-client/_nuxt/ncgEdbEt.js +1 -0
- package/dist/devtools-client/_nuxt/queries.CE_dtt9-.css +1 -0
- package/dist/devtools-client/auth/index.html +1 -0
- package/dist/devtools-client/icon.svg +6 -0
- package/dist/devtools-client/index.html +1 -0
- package/dist/devtools-client/logs/index.html +1 -0
- package/dist/devtools-client/queries/index.html +1 -0
- package/dist/module.d.ts +189 -0
- package/dist/module.js +489 -0
- package/dist/module.json +13 -0
- package/dist/runtime/auth0/vue/index.d.ts +58 -0
- package/dist/runtime/auth0/vue/index.js +33 -0
- package/dist/runtime/better-auth/nuxt/middleware.d.ts +14 -0
- package/dist/runtime/better-auth/nuxt/middleware.js +39 -0
- package/dist/runtime/better-auth/nuxt/proxy.d.ts +6 -0
- package/dist/runtime/better-auth/nuxt/proxy.js +11 -0
- package/dist/runtime/better-auth/nuxt/server.d.ts +106 -0
- package/dist/runtime/better-auth/nuxt/server.js +123 -0
- package/dist/runtime/better-auth/vue/auth-boundary.d.ts +131 -0
- package/dist/runtime/better-auth/vue/auth-boundary.js +78 -0
- package/dist/runtime/better-auth/vue/client.d.ts +358 -0
- package/dist/runtime/better-auth/vue/client.js +5 -0
- package/dist/runtime/better-auth/vue/cross-domain.d.ts +39 -0
- package/dist/runtime/better-auth/vue/cross-domain.js +45 -0
- package/dist/runtime/better-auth/vue/hydration.d.ts +20 -0
- package/dist/runtime/better-auth/vue/hydration.js +52 -0
- package/dist/runtime/better-auth/vue/index.d.ts +12 -0
- package/dist/runtime/better-auth/vue/index.js +6 -0
- package/dist/runtime/better-auth/vue/plugin.client.d.ts +6 -0
- package/dist/runtime/better-auth/vue/plugin.client.js +32 -0
- package/dist/runtime/better-auth/vue/plugin.server.d.ts +24 -0
- package/dist/runtime/better-auth/vue/plugin.server.js +42 -0
- package/dist/runtime/better-auth/vue/use-auth.d.ts +92 -0
- package/dist/runtime/better-auth/vue/use-auth.js +82 -0
- package/dist/runtime/clerk/vue/index.d.ts +81 -0
- package/dist/runtime/clerk/vue/index.js +49 -0
- package/dist/runtime/devtools/bridge.d.ts +12 -0
- package/dist/runtime/devtools/bridge.js +191 -0
- package/dist/runtime/devtools/plugin.client.d.ts +8 -0
- package/dist/runtime/devtools/plugin.client.js +34 -0
- package/dist/runtime/devtools/types.d.ts +78 -0
- package/dist/runtime/devtools/types.js +0 -0
- package/dist/runtime/nuxt/composables/use-async-query.d.ts +144 -0
- package/dist/runtime/nuxt/composables/use-async-query.js +104 -0
- package/dist/runtime/nuxt/config.d.ts +7 -0
- package/dist/runtime/nuxt/config.js +12 -0
- package/dist/runtime/nuxt/index.d.ts +136 -0
- package/dist/runtime/nuxt/index.js +91 -0
- package/dist/runtime/polar/vue/components.d.ts +184 -0
- package/dist/runtime/polar/vue/components.js +115 -0
- package/dist/runtime/vue/auth/helpers.d.ts +67 -0
- package/dist/runtime/vue/auth/helpers.js +50 -0
- package/dist/runtime/vue/auth/index.d.ts +125 -0
- package/dist/runtime/vue/auth/index.js +97 -0
- package/dist/runtime/vue/client.d.ts +305 -0
- package/dist/runtime/vue/client.js +382 -0
- package/dist/runtime/vue/composables/use-action.d.ts +62 -0
- package/dist/runtime/vue/composables/use-action.js +13 -0
- package/dist/runtime/vue/composables/use-connection-state.d.ts +30 -0
- package/dist/runtime/vue/composables/use-connection-state.js +14 -0
- package/dist/runtime/vue/composables/use-mutation.d.ts +76 -0
- package/dist/runtime/vue/composables/use-mutation.js +34 -0
- package/dist/runtime/vue/composables/use-paginated-query.d.ts +132 -0
- package/dist/runtime/vue/composables/use-paginated-query.js +513 -0
- package/dist/runtime/vue/composables/use-queries.d.ts +62 -0
- package/dist/runtime/vue/composables/use-queries.js +37 -0
- package/dist/runtime/vue/composables/use-query.d.ts +87 -0
- package/dist/runtime/vue/composables/use-query.js +53 -0
- package/dist/runtime/vue/composables/use-storage-url.d.ts +46 -0
- package/dist/runtime/vue/composables/use-storage-url.js +9 -0
- package/dist/runtime/vue/composables/use-subscription.d.ts +15 -0
- package/dist/runtime/vue/composables/use-subscription.js +33 -0
- package/dist/runtime/vue/composables/use-upload-queue.d.ts +117 -0
- package/dist/runtime/vue/composables/use-upload-queue.js +115 -0
- package/dist/runtime/vue/composables/use-upload.d.ts +134 -0
- package/dist/runtime/vue/composables/use-upload.js +114 -0
- package/dist/runtime/vue/hydration.d.ts +66 -0
- package/dist/runtime/vue/hydration.js +46 -0
- package/dist/runtime/vue/index.d.ts +94 -0
- package/dist/runtime/vue/index.js +42 -0
- package/dist/runtime/vue/plugin.d.ts +18 -0
- package/dist/runtime/vue/plugin.js +16 -0
- package/dist/runtime/vue/provide.d.ts +39 -0
- package/dist/runtime/vue/provide.js +15 -0
- package/dist/runtime/vue/queries-observer.d.ts +41 -0
- package/dist/runtime/vue/queries-observer.js +126 -0
- package/dist/types.d.ts +3 -0
- package/package.json +233 -0
package/package.json
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
+
"name": "nuxt-convex-module",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"description": "Convex for Vue & Nuxt — a faithful port of Convex's official React/Next integration (queries, mutations, actions, pagination, file storage, SSR) with opt-in Better Auth and Polar",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/qruto/nuxt-convex-module.git"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"author": "Slava Razum <razum@qruto.to>",
|
|
12
|
+
"homepage": "https://github.com/qruto/nuxt-convex-module#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/qruto/nuxt-convex-module/issues"
|
|
15
|
+
},
|
|
16
|
+
"funding": {
|
|
17
|
+
"type": "github",
|
|
18
|
+
"url": "https://github.com/sponsors/qruto"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"nuxt",
|
|
22
|
+
"nuxt-module",
|
|
23
|
+
"vue",
|
|
24
|
+
"convex",
|
|
25
|
+
"better-auth",
|
|
26
|
+
"polar",
|
|
27
|
+
"realtime",
|
|
28
|
+
"ssr"
|
|
29
|
+
],
|
|
30
|
+
"type": "module",
|
|
31
|
+
"exports": {
|
|
32
|
+
"./package.json": "./package.json",
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/types.d.ts",
|
|
35
|
+
"import": "./dist/module.js"
|
|
36
|
+
},
|
|
37
|
+
"./client": {
|
|
38
|
+
"types": "./dist/runtime/vue/index.d.ts",
|
|
39
|
+
"import": "./dist/runtime/vue/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./vue": {
|
|
42
|
+
"types": "./dist/runtime/vue/index.d.ts",
|
|
43
|
+
"import": "./dist/runtime/vue/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./server": {
|
|
46
|
+
"types": "./dist/runtime/nuxt/index.d.ts",
|
|
47
|
+
"import": "./dist/runtime/nuxt/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./better-auth/client": {
|
|
50
|
+
"types": "./dist/runtime/better-auth/vue/index.d.ts",
|
|
51
|
+
"import": "./dist/runtime/better-auth/vue/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./better-auth/server": {
|
|
54
|
+
"types": "./dist/runtime/better-auth/nuxt/server.d.ts",
|
|
55
|
+
"import": "./dist/runtime/better-auth/nuxt/server.js"
|
|
56
|
+
},
|
|
57
|
+
"./polar/client": {
|
|
58
|
+
"types": "./dist/runtime/polar/vue/components.d.ts",
|
|
59
|
+
"import": "./dist/runtime/polar/vue/components.js"
|
|
60
|
+
},
|
|
61
|
+
"./polar/vue": {
|
|
62
|
+
"types": "./dist/runtime/polar/vue/components.d.ts",
|
|
63
|
+
"import": "./dist/runtime/polar/vue/components.js"
|
|
64
|
+
},
|
|
65
|
+
"./clerk/client": {
|
|
66
|
+
"types": "./dist/runtime/clerk/vue/index.d.ts",
|
|
67
|
+
"import": "./dist/runtime/clerk/vue/index.js"
|
|
68
|
+
},
|
|
69
|
+
"./clerk/vue": {
|
|
70
|
+
"types": "./dist/runtime/clerk/vue/index.d.ts",
|
|
71
|
+
"import": "./dist/runtime/clerk/vue/index.js"
|
|
72
|
+
},
|
|
73
|
+
"./auth0/client": {
|
|
74
|
+
"types": "./dist/runtime/auth0/vue/index.d.ts",
|
|
75
|
+
"import": "./dist/runtime/auth0/vue/index.js"
|
|
76
|
+
},
|
|
77
|
+
"./auth0/vue": {
|
|
78
|
+
"types": "./dist/runtime/auth0/vue/index.d.ts",
|
|
79
|
+
"import": "./dist/runtime/auth0/vue/index.js"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"main": "./dist/module.js",
|
|
83
|
+
"typesVersions": {
|
|
84
|
+
"*": {
|
|
85
|
+
".": [
|
|
86
|
+
"./dist/types.d.ts"
|
|
87
|
+
],
|
|
88
|
+
"client": [
|
|
89
|
+
"./dist/runtime/vue/index.d.ts"
|
|
90
|
+
],
|
|
91
|
+
"vue": [
|
|
92
|
+
"./dist/runtime/vue/index.d.ts"
|
|
93
|
+
],
|
|
94
|
+
"server": [
|
|
95
|
+
"./dist/runtime/nuxt/index.d.ts"
|
|
96
|
+
],
|
|
97
|
+
"better-auth/client": [
|
|
98
|
+
"./dist/runtime/better-auth/vue/index.d.ts"
|
|
99
|
+
],
|
|
100
|
+
"better-auth/server": [
|
|
101
|
+
"./dist/runtime/better-auth/nuxt/server.d.ts"
|
|
102
|
+
],
|
|
103
|
+
"polar/client": [
|
|
104
|
+
"./dist/runtime/polar/vue/components.d.ts"
|
|
105
|
+
],
|
|
106
|
+
"polar/vue": [
|
|
107
|
+
"./dist/runtime/polar/vue/components.d.ts"
|
|
108
|
+
],
|
|
109
|
+
"clerk/client": [
|
|
110
|
+
"./dist/runtime/clerk/vue/index.d.ts"
|
|
111
|
+
],
|
|
112
|
+
"clerk/vue": [
|
|
113
|
+
"./dist/runtime/clerk/vue/index.d.ts"
|
|
114
|
+
],
|
|
115
|
+
"auth0/client": [
|
|
116
|
+
"./dist/runtime/auth0/vue/index.d.ts"
|
|
117
|
+
],
|
|
118
|
+
"auth0/vue": [
|
|
119
|
+
"./dist/runtime/auth0/vue/index.d.ts"
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"files": [
|
|
124
|
+
"dist"
|
|
125
|
+
],
|
|
126
|
+
"engines": {
|
|
127
|
+
"node": ">=24.11.0",
|
|
128
|
+
"pnpm": ">=11.6.0"
|
|
129
|
+
},
|
|
130
|
+
"dependencies": {
|
|
131
|
+
"@nuxt/devtools-kit": "^3.4.0",
|
|
132
|
+
"@nuxt/kit": "^4.5.1",
|
|
133
|
+
"h3": "^1.15.11",
|
|
134
|
+
"nuxt-security": "^2.6.0",
|
|
135
|
+
"sirv": "^3.0.2"
|
|
136
|
+
},
|
|
137
|
+
"peerDependencies": {
|
|
138
|
+
"@auth0/auth0-vue": ">=2.0.0",
|
|
139
|
+
"@clerk/vue": ">=2.0.0",
|
|
140
|
+
"@convex-dev/better-auth": ">=0.12.0",
|
|
141
|
+
"@convex-dev/polar": ">=0.9.0",
|
|
142
|
+
"@polar-sh/checkout": ">=0.3.0",
|
|
143
|
+
"better-auth": ">=1.6.0",
|
|
144
|
+
"convex": ">=1.40.0",
|
|
145
|
+
"vue": "^3.5.0"
|
|
146
|
+
},
|
|
147
|
+
"peerDependenciesMeta": {
|
|
148
|
+
"@auth0/auth0-vue": {
|
|
149
|
+
"optional": true
|
|
150
|
+
},
|
|
151
|
+
"@clerk/vue": {
|
|
152
|
+
"optional": true
|
|
153
|
+
},
|
|
154
|
+
"@convex-dev/better-auth": {
|
|
155
|
+
"optional": true
|
|
156
|
+
},
|
|
157
|
+
"@convex-dev/polar": {
|
|
158
|
+
"optional": true
|
|
159
|
+
},
|
|
160
|
+
"@polar-sh/checkout": {
|
|
161
|
+
"optional": true
|
|
162
|
+
},
|
|
163
|
+
"better-auth": {
|
|
164
|
+
"optional": true
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"devDependencies": {
|
|
168
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
169
|
+
"@auth0/auth0-vue": "^2.9.0",
|
|
170
|
+
"@clerk/vue": "2.4.20",
|
|
171
|
+
"@codecov/nuxt-plugin": "^2.0.1",
|
|
172
|
+
"@commitlint/cli": "^21.2.1",
|
|
173
|
+
"@commitlint/config-conventional": "^21.2.0",
|
|
174
|
+
"@convex-dev/better-auth": "^0.12.5",
|
|
175
|
+
"@convex-dev/polar": "^0.9.2",
|
|
176
|
+
"@nuxt/devtools": "^3.4.0",
|
|
177
|
+
"@nuxt/eslint": "^1.16.0",
|
|
178
|
+
"@nuxt/eslint-config": "^1.16.0",
|
|
179
|
+
"@nuxt/module-builder": "^1.0.3",
|
|
180
|
+
"@nuxt/schema": "^4.5.1",
|
|
181
|
+
"@nuxt/test-utils": "^4.1.0",
|
|
182
|
+
"@polar-sh/checkout": "^0.4.0",
|
|
183
|
+
"@types/node": "latest",
|
|
184
|
+
"@types/ws": "^8.18.1",
|
|
185
|
+
"@unhead/vue": "^3.2.3",
|
|
186
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
187
|
+
"@vue/test-utils": "^2.4.11",
|
|
188
|
+
"better-auth": "~1.6.25",
|
|
189
|
+
"changelogen": "^0.6.2",
|
|
190
|
+
"changelogithub": "^14.0.0",
|
|
191
|
+
"convex": "^1.42.3",
|
|
192
|
+
"convex-helpers": "^0.1.120",
|
|
193
|
+
"eslint": "^10.8.0",
|
|
194
|
+
"fallow": "^2.104.0",
|
|
195
|
+
"happy-dom": "^20.11.1",
|
|
196
|
+
"npm-run-all2": "^8.0.4",
|
|
197
|
+
"nuxt": "^4.5.1",
|
|
198
|
+
"oxc-parser": "^0.135.0",
|
|
199
|
+
"portless": "0.15.0",
|
|
200
|
+
"publint": "^0.3.22",
|
|
201
|
+
"typedoc": "^0.28.20",
|
|
202
|
+
"typedoc-plugin-frontmatter": "^1.3.1",
|
|
203
|
+
"typedoc-plugin-markdown": "^4.12.0",
|
|
204
|
+
"typescript": "~6.0.3",
|
|
205
|
+
"vitest": "^4.1.10",
|
|
206
|
+
"vue-tsc": "^3.3.8",
|
|
207
|
+
"ws": "^8.21.1"
|
|
208
|
+
},
|
|
209
|
+
"publishConfig": {
|
|
210
|
+
"access": "public"
|
|
211
|
+
},
|
|
212
|
+
"scripts": {
|
|
213
|
+
"build": "nuxt-module-build build && node scripts/normalize-module-ext.js && pnpm run build:devtools-client",
|
|
214
|
+
"build:devtools-client": "nuxt generate devtools-client-app",
|
|
215
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && node scripts/normalize-module-ext.js && nuxt prepare website",
|
|
216
|
+
"dev": "pnpm run dev:prepare && pnpm --dir website exec convex dev --start 'portless run --name nuxt-convex-module nuxt dev'",
|
|
217
|
+
"dev:devtools-client": "nuxt dev devtools-client-app --port 3630",
|
|
218
|
+
"start": "pnpm run dev",
|
|
219
|
+
"lint": "eslint .",
|
|
220
|
+
"lint:fix": "eslint . --fix",
|
|
221
|
+
"test": "vitest --run --project \"!e2e\"",
|
|
222
|
+
"test:coverage": "vitest --run --coverage --project \"!e2e\"",
|
|
223
|
+
"test:watch": "vitest --watch --project \"!e2e\"",
|
|
224
|
+
"test:types": "pnpm run test:types:lib && nuxt typecheck website",
|
|
225
|
+
"test:types:lib": "pnpm run dev:prepare && vue-tsc --noEmit",
|
|
226
|
+
"test:unit": "vitest --project unit --run",
|
|
227
|
+
"test:nuxt": "vitest --project nuxt --run",
|
|
228
|
+
"test:e2e": "vitest --run --project e2e",
|
|
229
|
+
"test:quality": "fallow",
|
|
230
|
+
"docs:api": "typedoc && node scripts/typedoc-postprocess.mjs",
|
|
231
|
+
"bump": "pnpm exec taze major -w"
|
|
232
|
+
}
|
|
233
|
+
}
|