Repository navigation
breaking: replace the generateManifest adapter api again #16875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e871e8d
cloudflare
ottomated 8be8a0d
netlify
ottomated 98038b1
node
ottomated c045bca
vercel
ottomated 28735da
breaking: replace the `generateManifest` adapter api with `writeServe…
ottomated ee198f1
fix cloudflare
ottomated d5b19f9
unused
ottomated f763ab0
address most of suggestions
ottomated 3de9458
bun :(
ottomated 1e6d33a
fix bun tests
ottomated 96bc0dd
fix bun again
ottomated a2701dc
add service worker to manifest
ottomated 5a0f9c7
fix broken tests
ottomated 1e44cda
suggestions
ottomated 42ff77d
fix bun test
ottomated 5ec53b0
comments about $app/manifest difference
ottomated 12cbb5d
how did you sneak in here
ottomated 8d7123e
Apply suggestion from @teemingc
teemingc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| "@sveltejs/adapter-cloudflare": major | ||
| "@sveltejs/adapter-netlify": major | ||
| "@sveltejs/adapter-node": major | ||
| "@sveltejs/adapter-vercel": major | ||
| "@sveltejs/kit": major | ||
| --- | ||
|
|
||
| breaking: replace the `builder.generateManifest` with `builder.generateServerInstance` and `builder.manifest` | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,17 @@ | ||
| declare module 'SERVER' { | ||
| export { Server } from '@sveltejs/kit'; | ||
| export const server: import('@sveltejs/kit').Server; | ||
| } | ||
|
|
||
| declare module 'MANIFEST' { | ||
| import { SSRManifest } from '@sveltejs/kit'; | ||
|
|
||
| export const manifest: SSRManifest; | ||
| export const prerendered: Set<string>; | ||
| export const app_path: string; | ||
| export const base_path: string; | ||
| namespace Cloudflare { | ||
| interface Env { | ||
| ASSETS_BINDING: { | ||
| fetch: typeof fetch; | ||
| }; | ||
| [key: string]: string | undefined; | ||
| } | ||
| } | ||
|
|
||
| declare const BASE_PATH: string; | ||
| declare const APP_PATH: string; | ||
| declare const PRERENDERED: Set<string>; | ||
| declare const MANIFEST_ASSETS: Set<string>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.