@coxmos/adapter-edge 0.0.1 → 0.0.2
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 +0 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,21 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
SvelteKit adapter targeting coxmos-edge's Deno-isolate runtime.
|
|
4
4
|
|
|
5
|
-
## ⚠️ Verification status (read this first)
|
|
6
|
-
|
|
7
|
-
Parts of this adapter are confirmed against real SvelteKit source and
|
|
8
|
-
docs; one part is not yet confirmed and is clearly marked in the code.
|
|
9
|
-
|
|
10
|
-
**Confirmed** (fetched and read directly from `sveltejs/kit`,
|
|
11
|
-
`packages/adapter-node/index.js`, plus SvelteKit's own docs and a real
|
|
12
|
-
GitHub issue showing `adapter-cloudflare`'s actual compiled output):
|
|
13
|
-
- The `Adapter` interface shape (`{ name, async adapt(builder) }`)
|
|
14
|
-
- The real list of `Builder` methods available (`writeClient`,
|
|
15
|
-
`writeServer`, `writePrerendered`, `generateManifest`,
|
|
16
|
-
`getBuildDirectory`, `rimraf`, `mkdirp`, etc.)
|
|
17
|
-
- That a fetch-handler-style adapter output (`{ fetch(req) {...} }`) is
|
|
18
|
-
a real, existing pattern in SvelteKit's adapter ecosystem — this is
|
|
19
|
-
the right target shape for a Deno isolate.
|
|
20
5
|
|
|
21
6
|
**Not yet confirmed** — flagged directly in `files/entry.js`:
|
|
22
7
|
- The exact glue between `builder.generateManifest()`'s output and
|
|
@@ -25,13 +10,6 @@ GitHub issue showing `adapter-cloudflare`'s actual compiled output):
|
|
|
25
10
|
reconstructed from public patterns, not fetched line-for-line from
|
|
26
11
|
adapter-node's actual internal wiring.
|
|
27
12
|
|
|
28
|
-
**Before deploying this anywhere real**: build a minimal SvelteKit app
|
|
29
|
-
with this adapter, inspect the real output in `.coxmos/edge/server/`,
|
|
30
|
-
and confirm the `entry.js` glue code actually matches what SvelteKit
|
|
31
|
-
generated. See the comment block at the top of `files/entry.js` for
|
|
32
|
-
exactly what to check — there's a real chance SvelteKit's own generated
|
|
33
|
-
server output already does most of the `Server` wiring for you, which
|
|
34
|
-
would let you simplify `entry.js` down to just the outer fetch wrapper.
|
|
35
13
|
|
|
36
14
|
## Usage
|
|
37
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coxmos/adapter-edge",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "SvelteKit adapter for coxmos-edge (Deno isolate runtime). UNVERIFIED beyond Builder API surface - see index.js header before using in production.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|