@lunora/nuxt 1.0.0-alpha.22 → 1.0.0-alpha.24
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/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/package.json +2 -2
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -57,9 +57,9 @@ const module$1 = defineNuxtModule({
|
|
|
57
57
|
handler: resolver.resolve("./runtime/server/lunora"),
|
|
58
58
|
route: `${options.prefix}/**`
|
|
59
59
|
});
|
|
60
|
-
if (!existsSync(join(nuxt.options.rootDir, "
|
|
60
|
+
if (!existsSync(join(nuxt.options.rootDir, "worker.ts"))) {
|
|
61
61
|
useLogger("@lunora/nuxt").warn(
|
|
62
|
-
'missing
|
|
62
|
+
'missing worker.ts at the project root \u2014 add a wrapper that re-exports Nitro\'s handler and `ShardDO` (`export { default } from "./.output/server/index.mjs"; export { ShardDO } from "./lunora/server";`) and point wrangler\'s `main` at it, so the SHARD Durable Object is exported from the deployed worker.'
|
|
63
63
|
);
|
|
64
64
|
}
|
|
65
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/nuxt",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.24",
|
|
4
4
|
"description": "Nuxt module for Lunora — single-worker composition (mounts /_lunora/* into Nitro) plus reactive-loader server helpers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@lunora/client": "1.0.0-alpha.19",
|
|
55
|
-
"@lunora/runtime": "1.0.0-alpha.
|
|
55
|
+
"@lunora/runtime": "1.0.0-alpha.21",
|
|
56
56
|
"@nuxt/kit": "^4.4.8"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|