-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat: route level config #8740
Merged
Merged
feat: route level config #8740
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
93aa8f6
route level config wip
dummdidumm c87e38b
this seems to work
dummdidumm 5866441
proper config
dummdidumm 1897e80
do shallow merge
dummdidumm e2a5d23
docs
dummdidumm 664985a
use config
dummdidumm b9201d2
default config
dummdidumm c758d49
vercel docs
dummdidumm 05c6d6c
fix tests
dummdidumm 2edea52
appease TS
dummdidumm 9668cdc
Merge branch 'master' into route-level-config
dummdidumm b31c1e8
oops
dummdidumm 5c66287
more docs
dummdidumm b3b1b6e
this feels clunky
dummdidumm 39f5740
Route level config alt (#8863)
Rich-Harris a688f2b
merge master
Rich-Harris b3f04ff
"all" not ["all"]
Rich-Harris b850246
changesets
Rich-Harris 6a3d59c
make defaultConfig a separate option key
Rich-Harris 59f6cfd
Update documentation/docs/25-build-and-deploy/90-adapter-vercel.md
Rich-Harris 0ceccbf
implement split: true
Rich-Harris 7546293
Merge branch 'route-level-config' of github.com:sveltejs/kit into rou…
Rich-Harris d309554
tidy up
Rich-Harris a5fd25e
fix site
Rich-Harris 8adb618
Update packages/adapter-vercel/index.d.ts
Rich-Harris de3dc0b
tweaks
Rich-Harris ac16c90
get rid of top-level split option
Rich-Harris 6879b2c
union type
dummdidumm 57288bd
handle common case of one fn for everything separately to not pollute…
dummdidumm b1d0283
tweak docs a little
dummdidumm 998e1bd
netlify
dummdidumm a252952
make external a config option and simplify adapter options interface
dummdidumm 8f1bbdb
silence type union error
dummdidumm 835dd9c
use platform defaults
Rich-Harris 691eee9
include everything in builder.routes
Rich-Harris 1c43bf5
implement ISR
Rich-Harris 470ef44
fix some docs stuff
Rich-Harris 4dcf727
clarify multi-region serverless is only for enterprise
Rich-Harris f893672
clarify memory stuff
Rich-Harris 1c871ea
document ISR
Rich-Harris c5b9f8b
docs tweaks
Rich-Harris 627cf58
fix site
Rich-Harris 3b1b436
add isr in config hash
Rich-Harris 9e88f8b
Merge branch 'master' into route-level-config
dummdidumm f6c8160
bump adapter-auto etc
dummdidumm 55aad98
bump peerdeps
dummdidumm 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
choose