denoland

svelte-adapter

Deno Deploy SvelteKit adapter

by denoland

TypeScript

TypeScript87.3%
Svelte10.6%
CSS1%
JavaScript0.8%
HTML0.2%

Commit activity

Last 12 weeks · 2 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 1 in progress · Last activity 1mo ago
See all on GitHub →
SrGeneroso

Sveltekit 3 has broken this adapter as it has some API changes First noticed when doing after the migration to sk3 in a demo project. I fixed the build by adding ? to the sublevel kit in a couple of calls, but it seems there are more issues to check. I would like to collaborate but my experience with adapters is very limited, also, I'm considering that some changes would affect the usability of this adapter for previous versions of sveltekit. What would be the best approach? new adapter for >=V3 or do some checks and apply those changes in the same adapter?

SrGeneroso · 1mo ago
lucasvienna

Would be great if the adapter had some manner of termination signal handling in the module. Ideally with proper draining of current requests before closing everything. Both and should be taken into account, optionally with a timeout.

lucasvienna · 2mo ago
lucasvienna

When launching in a custom setup, the adapte ignores and always serves on the Deno-default . Would be great if the command above respected the override.

lucasvienna · 2mo ago
lucasvienna

I tried to keep Deno Deploy and the still-experimental in mind, but only really hard-codes this default path. Therefore, should be fully backwards compatible. Accept a new object when instantiating the adapter with a single option: . Fully backwards-compatible, defaults to the existing value of . These two have new test cases, both for the Vite-like behaviour and for the custom out-dir functionality. Also hardened the out-dir clean-up by following Vite's model: skip emptying if the resolved path is outside the project root and warn. A utils test covers this. The commit also has the side-effect of updating the lockfile, since the last change to it didn't. Closes #21.

lucasvienna · 1w ago
bartlomieju

Patch release picking up the dependency updates from #26 that resolve the open high and medium severity Dependabot alerts.

bartlomieju · 1mo ago
bartlomieju

Bumps @sveltejs/kit, vite, devalue, nanoid, postcss, rollup, svelte and picomatch in both the root and test fixture lockfiles. This resolves all open high severity Dependabot alerts (there are no critical ones) and all medium ones. All updates stay within existing semver ranges. The remaining two low severity cookie alerts can't be fixed here because SvelteKit pins cookie to ^0.6.0. Newer SvelteKit changed the internal serialization format of remote function responses, so the remote function test now only checks that the returned value is present in the payload instead of asserting the exact shape.

bartlomieju · 1mo ago
Structured data for AI agents

Repository: denoland/svelte-adapter. Description: Deno Deploy SvelteKit adapter Stars: 33, Forks: 5. Primary language: TypeScript. Languages: TypeScript (87.3%), Svelte (10.6%), CSS (1%), JavaScript (0.8%), HTML (0.2%). License: MIT. Latest release: v0.2.2 (1mo ago). Open PRs: 1, open issues: 9. Last activity: 1mo ago. Community health: 37%. Top contributors: marvinhagemeister, bartlomieju, afonsograca, lucacasonato, tolu.