Skip to content

Commit a100dac

Browse files
committed
Add Elysia to CLI and integration docs
Update CLI documentation to include Elysia as a web framework option. Add installation instructions for all package managers in the Elysia integration section of the manual.
1 parent 4d5387f commit a100dac

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

docs/cli.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ The above command will start the interactive prompt to initialize a new Fedify
121121
project. It will ask you a few questions to set up the project:
122122

123123
- Package manager: [Deno], [Bun], [npm], [pnpm], or [Yarn]
124-
- Web framework: [Hono], [Express], [Nitro], or [Next.js]
124+
- Web framework: [Hono], [Elysia], [Express], [Nitro], or [Next.js]
125125
- key–value store: In-memory, [Redis], [PostgreSQL], or [Deno KV] (if Deno)
126126
- Message queue: In-memory, [Redis], [PostgreSQL], [AMQP] (e.g., [RabbitMQ]),
127127
or [Deno KV] (if Deno)
@@ -142,6 +142,7 @@ interactive prompts:
142142
[AMQP]: https://www.amqp.org/
143143
[RabbitMQ]: https://www.rabbitmq.com/
144144
[Deno KV]: https://deno.com/kv
145+
[Elysia]: https://elysiajs.com/
145146

146147
### `-r`/`--runtime`: JavaScript runtime
147148

@@ -173,6 +174,7 @@ the `-w`/`--web-framework` option. The available options are:
173174
- `hono`: [Hono]
174175
- `express`: [Express] (unless Deno)
175176
- `nitro`: [Nitro] (unless Deno)
177+
- `elysia`: [Elysia]
176178

177179
If it's omitted, no web framework will be integrated.
178180

docs/manual/integration.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,23 @@ a seamless plugin for integrating Fedify with Elysia:
594594
bun add @fedify/elysia
595595
~~~~
596596

597+
~~~~ sh [Deno]
598+
deno add npm:@fedify/elysia
599+
~~~~
600+
601+
~~~~ sh [npm]
602+
npm add @fedify/elysia
603+
~~~~
604+
605+
~~~~ sh [pnpm]
606+
pnpm add @fedify/elysia
607+
~~~~
608+
609+
~~~~ sh [Yarn]
610+
yarn add @fedify/elysia
611+
~~~~
612+
613+
597614
~~~~ typescript
598615
import { fedify } from "@fedify/elysia";
599616
import { federation } from "./federation.ts"; // Your `Federation` instance

0 commit comments

Comments
 (0)