From 5826a3a9e13ddf10c851ade49998672d58edfcd4 Mon Sep 17 00:00:00 2001 From: jthegedus Date: Sun, 4 Jul 2021 12:20:36 +1000 Subject: [PATCH 1/3] feat: adapter runs app init --- src/files/handler.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/files/handler.js b/src/files/handler.js index 2115aa6..4d4fd86 100644 --- a/src/files/handler.js +++ b/src/files/handler.js @@ -1,7 +1,9 @@ import '@sveltejs/kit/install-fetch'; // eslint-disable-line import/no-unassigned-import // TODO: hardcoding the relative location makes this brittle -import {render} from '../output/server/app.js'; +import {init, render} from '../output/server/app.js'; + +init(); /** * Firebase Cloud Function handler for SvelteKit From 1aa2fbadec90f3a9113bbba98b6e4f50a2ca5824 Mon Sep 17 00:00:00 2001 From: jthegedus Date: Sun, 4 Jul 2021 12:22:55 +1000 Subject: [PATCH 2/3] docs: update version compat list --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bc346e1..dc2c813 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ SvelteKit is still in Beta and the Adapter API is in flux, this can result in th | Adapter Version | SvelteKit Version | | --------------- | ----------------- | +| `0.9.x` | `1.0.0-next.120` | | `0.8.x` | `1.0.0-next.111` | | `NA` | `1.0.0-next.110` | | `NA` | `1.0.0-next.109` | From b3de56557a3e30258c2d6835218ee3cae1e4bdd5 Mon Sep 17 00:00:00 2001 From: jthegedus Date: Sun, 4 Jul 2021 12:25:43 +1000 Subject: [PATCH 3/3] docs: update version compat list --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dc2c813..7ed27ac 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ SvelteKit is still in Beta and the Adapter API is in flux, this can result in th | Adapter Version | SvelteKit Version | | --------------- | ----------------- | -| `0.9.x` | `1.0.0-next.120` | +| `0.9.x` | `1.0.0-next.119` | | `0.8.x` | `1.0.0-next.111` | | `NA` | `1.0.0-next.110` | | `NA` | `1.0.0-next.109` |