-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new routing system build time changes (#153)
* feat: utility functions for route path names * feat: format path names + check invalid generated functions after * feat: adjust middleware manifest to support new route system fixes * feat: process vercel config and build output * feat: connect new build time to worker script * chore: changeset * chore: add issue reference to comments * feat: `VercelBuildOutputItem` type Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com> * chore: refine comment Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com> * chore: refine comment Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com> * chore: apply suggestions from code review Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com> * chore: address suggestions * chore: make prettier happy * test(fs): readPathsRecursively * test: routing utils * fix: invalid rsc functions with valid squashed non-rsc functions * chore: move part of comment * feat: use `relative` for static asset name resolution * feat: add build output config overrides to build output map * chore: change type to be of override instead of static * fix: wrong type in test * fix: derp, fix type error * chore: apply suggestions from code review Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com> * chore: prettier * fix: add back `/page` checking for older nextjs versions middleware manifests * chore: apply suggestions from code review Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com> * chore: prettier * feat: improve vercel types once more * Update src/buildApplication/middlewareManifest.ts * chore: apply suggestions from code review Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com> --------- Co-authored-by: Dario Piotrowicz <dario.piotrowicz@gmail.com>
- Loading branch information
1 parent
9834066
commit 3387ac9
Showing
23 changed files
with
1,025 additions
and
144 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 @@ | ||
--- | ||
'@cloudflare/next-on-pages': minor | ||
--- | ||
|
||
New routing system build time processing + integration with worker script. |
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
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.