@@ -13,6 +13,7 @@ described in `VISION_MVP.md`.
1313| ` packages/adapter-node ` | ` @pracht/adapter-node ` | Node ` IncomingMessage ` /` ServerResponse ` bridge, ISG stale-while-revalidate |
1414| ` packages/adapter-cloudflare ` | ` @pracht/adapter-cloudflare ` | Cloudflare Workers fetch handler, generated worker entry source, and static asset handoff (no runtime ISG revalidation yet) |
1515| ` packages/adapter-vercel ` | ` @pracht/adapter-vercel ` | Vercel Edge handler and Build Output API entry source |
16+ | ` packages/adapter-deno ` | ` @pracht/adapter-deno ` | Deno ` Deno.serve ` handler, generated server entry source, and static asset handoff (no runtime ISG revalidation yet) |
1617| ` packages/preact-worker-facets ` | ` @pracht/preact-worker-facets ` | Experimental Cloudflare Dynamic Worker + Durable Object facets runtime for inert, stateful Preact components |
1718| ` packages/cli ` | ` @pracht/cli ` | ` pracht dev ` , ` build ` , ` verify ` , the ` generate ` subcommands, and ` doctor ` |
1819| ` examples/cloudflare ` | ` @pracht/example-cloudflare ` | Cloudflare-targeted example app with SSG, ISG, SSR, SPA routes, auth middleware, and API routes |
@@ -67,11 +68,12 @@ described in `VISION_MVP.md`.
6768 ` hydrate() ` from Preact.
6869- ** CLI** — ` pracht dev ` starts a Vite dev server with SSR, ` pracht build ` runs
6970 client + server builds (with Vite manifest generation, SSG/ISG prerendering,
70- ISG manifest output, executable Node server output in ` dist/server/server.js ` ,
71- and Vercel ` .vercel/output/ ` generation when the app targets those adapters),
72- ` pracht preview ` builds and serves the production output locally (Node runs
73- ` dist/server/server.js ` , Cloudflare delegates to ` wrangler dev ` , and Vercel
74- points at ` vercel build ` /` vercel dev ` ),
71+ ISG manifest output, executable Node/Deno server output in
72+ ` dist/server/server.js ` , and Vercel ` .vercel/output/ ` generation when the app
73+ targets those adapters), ` pracht preview ` builds and serves the production
74+ output locally (Node runs ` dist/server/server.js ` , Deno runs it through
75+ ` deno run ` , Cloudflare delegates to ` wrangler dev ` , and Vercel points at
76+ ` vercel build ` /` vercel dev ` ),
7577 ` pracht verify ` runs fast framework-aware checks with optional ` --changed `
7678 and ` --json ` output, ` pracht inspect [routes|api|build] --json ` emits the
7779 resolved route graph, API handlers, and build metadata for agents/tools,
@@ -81,8 +83,9 @@ described in `VISION_MVP.md`.
8183 files, and ` pracht doctor ` validates app wiring across the whole project.
8284- ** Package builds** — ` tsdown ` compiles ` pracht ` , ` @pracht/vite-plugin ` ,
8385 ` @pracht/preact-ssr-precompile ` , ` @pracht/adapter-node ` ,
84- ` @pracht/adapter-cloudflare ` , and ` @pracht/adapter-vercel ` from TypeScript to
85- ESM (` dist/index.mjs ` + ` .d.mts ` ). ` @pracht/core ` also publishes browser,
86+ ` @pracht/adapter-cloudflare ` , ` @pracht/adapter-vercel ` , and
87+ ` @pracht/adapter-deno ` from TypeScript to ESM (` dist/index.mjs ` + ` .d.mts ` ).
88+ ` @pracht/core ` also publishes browser,
8689 client, manifest, and server subpath entries so the Vite plugin can keep
8790 server-only runtime code and route-only browser helpers out of the critical
8891 client bootstrap graph while generated server modules avoid the browser export
@@ -99,6 +102,11 @@ described in `VISION_MVP.md`.
99102 ` .vercel/output/static ` and ` .vercel/output/functions/render.func ` , rewrites
100103 clean SSG URLs to static HTML, and routes ISG plus dynamic requests to the
101104 generated edge function.
105+ - ** Deno adapter** — Emits a native ` Deno.serve ` entry that accepts Web
106+ ` Request ` objects directly, serves static files from ` dist/client ` , and falls
107+ back to ` handlePrachtRequest() ` for SSR, SPA route-state requests, loaders,
108+ middleware, and API routes. Runtime ISG revalidation is intentionally not
109+ implemented yet; Deno builds warn when ISG routes are present.
102110- ** Preact Worker facets prototype** — ` @pracht/preact-worker-facets ` provides
103111 experimental helpers for running Preact-style component modules inside
104112 Cloudflare Dynamic Workers. A supervisor Durable Object owns auth, source
0 commit comments