feat!: migrate to TypeScript and implement emulate using Miniflare

Signed-off-by: Pascal Vorwerk <info@fossores.de>
This commit is contained in:
2024-01-28 22:16:18 +01:00
commit d4d1742487
10 changed files with 2254 additions and 0 deletions

8
README.md Normal file
View File

@@ -0,0 +1,8 @@
# adapter-cloudflare
Extended version of the default SvelteKit [Adapter](https://kit.svelte.dev/docs/building-your-app) for [Cloudflare Pages](https://developers.cloudflare.com/pages/) with support for mocking most bindings supported by Cloudflare Workers.
## Credits
This adapter is based on the [official adapter](https://github.com/sveltejs/kit/tree/main/packages/adapter-cloudflare) for Cloudflare Pages.
Cloudflare Workers bindings are emulated using [Miniflare](https://github.com/cloudflare/miniflare).