-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* route level config wip * this seems to work * proper config * do shallow merge * docs * use config * default config * vercel docs * fix tests * appease TS * oops * more docs * this feels clunky * Route level config alt (#8863) * Revert "this feels clunky" This reverts commit b3b1b6e. * alternative approach to route-level config * remove hasRouteLevelConfig * handle data requests * simplify * fix types * remove unused code * fix site * fix default runtime * validate region, default to all for edge * "all" not ["all"] * changesets * make defaultConfig a separate option key * Update documentation/docs/25-build-and-deploy/90-adapter-vercel.md * implement split: true * tidy up * fix site * Update packages/adapter-vercel/index.d.ts * tweaks * get rid of top-level split option * union type * handle common case of one fn for everything separately to not pollute json for big apps * tweak docs a little * netlify * make external a config option and simplify adapter options interface * silence type union error * use platform defaults * include everything in builder.routes * implement ISR * fix some docs stuff * clarify multi-region serverless is only for enterprise * clarify memory stuff * document ISR * docs tweaks * fix site * add isr in config hash * bump adapter-auto etc * bump peerdeps --------- Co-authored-by: Rich Harris <[email protected]> Co-authored-by: Rich Harris <[email protected]>
- Loading branch information
1 parent
b02d795
commit c7648f6
Showing
30 changed files
with
603 additions
and
205 deletions.
There are no files selected for viewing
This file contains 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,5 @@ | ||
--- | ||
'@sveltejs/kit': minor | ||
--- | ||
|
||
feat: support route-level configuration |
This file contains 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,5 @@ | ||
--- | ||
'@sveltejs/adapter-vercel': minor | ||
--- | ||
|
||
feat: support route-level configuration options |
This file contains 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,8 @@ | ||
--- | ||
'@sveltejs/adapter-auto': major | ||
'@sveltejs/adapter-netlify': major | ||
'@sveltejs/adapter-static': major | ||
'@sveltejs/adapter-vercel': major | ||
--- | ||
|
||
breaking: bump `@sveltejs/kit` peer dependency |
This file contains 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,5 @@ | ||
--- | ||
'create-svelte': patch | ||
--- | ||
|
||
chore: bump `@sveltejs/kit` and `@sveltejs/adapter-auto` versions |
This file contains 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 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 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 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 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 |
---|---|---|
|
@@ -50,6 +50,6 @@ | |
"uvu": "^0.5.6" | ||
}, | ||
"peerDependencies": { | ||
"@sveltejs/kit": "^1.0.0" | ||
"@sveltejs/kit": "^1.5.0" | ||
} | ||
} |
This file contains 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 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 |
---|---|---|
|
@@ -38,6 +38,6 @@ | |
"vite": "^4.0.4" | ||
}, | ||
"peerDependencies": { | ||
"@sveltejs/kit": "^1.0.0" | ||
"@sveltejs/kit": "^1.5.0" | ||
} | ||
} |
This file contains 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 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.