@lunora/nuxt 1.0.0-alpha.2 → 1.0.0-alpha.4
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/README.md +74 -1
- package/__assets__/package-og.svg +1 -1
- package/dist/module.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,38 @@
|
|
|
1
|
-
|
|
1
|
+
<!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
|
|
2
|
+
|
|
3
|
+
<a href="https://www.anolilab.com/open-source" align="center">
|
|
4
|
+
|
|
5
|
+
<img src="__assets__/package-og.svg" alt="nuxt" />
|
|
6
|
+
|
|
7
|
+
</a>
|
|
8
|
+
|
|
9
|
+
<h3 align="center">Nuxt module for Lunora — single-worker composition (mounts /_lunora/* into Nitro) plus reactive-loader server helpers</h3>
|
|
10
|
+
|
|
11
|
+
<!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
|
|
12
|
+
|
|
13
|
+
<br />
|
|
14
|
+
|
|
15
|
+
<div align="center">
|
|
16
|
+
|
|
17
|
+
[![typescript-image][typescript-badge]][typescript-url]
|
|
18
|
+
[![FSL-1.1-Apache-2.0 licence][license-badge]][license]
|
|
19
|
+
[![npm version][npm-version-badge]][npm-version]
|
|
20
|
+
[![npm downloads][npm-downloads-badge]][npm-downloads]
|
|
21
|
+
[![PRs Welcome][prs-welcome-badge]][prs-welcome]
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
<div align="center">
|
|
28
|
+
<p>
|
|
29
|
+
<sup>
|
|
30
|
+
Daniel Bannert's open source work is supported by the community on <a href="https://github.com/sponsors/prisis">GitHub Sponsors</a>
|
|
31
|
+
</sup>
|
|
32
|
+
</p>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
---
|
|
2
36
|
|
|
3
37
|
A **Nuxt module** that runs Lunora and Nuxt as a **single Cloudflare Worker**.
|
|
4
38
|
|
|
@@ -7,6 +41,8 @@ is mounted _inside_ Nitro: the module registers a server route at `/_lunora/**`
|
|
|
7
41
|
that forwards every Lunora RPC, WebSocket upgrade, and admin request to your
|
|
8
42
|
Lunora app in-process. One `wrangler.jsonc`, one deploy, a same-origin client.
|
|
9
43
|
|
|
44
|
+
Part of the [Lunora](https://github.com/anolilab/lunora) framework — a type-safe, real-time backend on Cloudflare Workers + Durable Objects with a Vite-first DX.
|
|
45
|
+
|
|
10
46
|
## Install
|
|
11
47
|
|
|
12
48
|
```bash
|
|
@@ -78,3 +114,40 @@ Single-worker composition rides on two Nitro behaviours that vary across version
|
|
|
78
114
|
(`createServerClient`, `preloadQuery`, …) from `@lunora/client/ssr` for the
|
|
79
115
|
reactive-loader handoff. Safe to import from a Nitro server route (no WebSocket,
|
|
80
116
|
no browser globals).
|
|
117
|
+
|
|
118
|
+
## Supported Node.js Versions
|
|
119
|
+
|
|
120
|
+
Libraries in this ecosystem make the best effort to track [Node.js' release schedule](https://github.com/nodejs/release#release-schedule).
|
|
121
|
+
Here's [a post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).
|
|
122
|
+
|
|
123
|
+
## Contributing
|
|
124
|
+
|
|
125
|
+
If you would like to help take a look at the [list of issues](https://github.com/anolilab/lunora/issues) and check our [Contributing](https://github.com/anolilab/lunora/blob/alpha/.github/CONTRIBUTING.md) guidelines.
|
|
126
|
+
|
|
127
|
+
> **Note:** please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
|
|
128
|
+
|
|
129
|
+
## Credits
|
|
130
|
+
|
|
131
|
+
- [Daniel Bannert](https://github.com/prisis)
|
|
132
|
+
- [All Contributors](https://github.com/anolilab/lunora/graphs/contributors)
|
|
133
|
+
|
|
134
|
+
## Made with ❤️ at Anolilab
|
|
135
|
+
|
|
136
|
+
This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
|
|
137
|
+
|
|
138
|
+
## License
|
|
139
|
+
|
|
140
|
+
The Lunora nuxt package is open-sourced software licensed under the [FSL-1.1-Apache-2.0][license].
|
|
141
|
+
|
|
142
|
+
<!-- badges -->
|
|
143
|
+
|
|
144
|
+
[license-badge]: https://img.shields.io/badge/license-FSL--1.1--Apache--2.0-blue.svg?style=for-the-badge
|
|
145
|
+
[license]: https://github.com/anolilab/lunora/blob/alpha/LICENSE.md
|
|
146
|
+
[npm-version-badge]: https://img.shields.io/npm/v/@lunora/nuxt?style=for-the-badge
|
|
147
|
+
[npm-version]: https://www.npmjs.com/package/@lunora/nuxt
|
|
148
|
+
[npm-downloads-badge]: https://img.shields.io/npm/dm/@lunora/nuxt?style=for-the-badge
|
|
149
|
+
[npm-downloads]: https://www.npmjs.com/package/@lunora/nuxt
|
|
150
|
+
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
|
|
151
|
+
[prs-welcome]: https://github.com/anolilab/lunora/blob/alpha/.github/CONTRIBUTING.md
|
|
152
|
+
[typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
|
|
153
|
+
[typescript-url]: https://www.typescriptlang.org/
|