-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
deps: Bump next and related dependencies #10497
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Bundle ReportChanges will increase total bundle size by 1.19MB ⬆️
|
| "sidecar": "yarn spotlight-sidecar", | ||
| "test": "jest" | ||
| "test": "jest", | ||
| "build-trace": "npx next@canary internal turbo-trace-server .next/trace" |
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.
Should we keep that?
chargome
left a comment
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.
🚀
|
Fixes #10491 |
| return frontMatter; | ||
| } | ||
|
|
||
| export function getAllFilesFrontMatter(folder: string = 'docs') { |
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.
this folder shouldn't be hardcoded as we need to pass it as a parameter for developer docs for example later on
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.
Right now it doesn't need to be. We can add it back if needed. We shouldn't add code for the mere possibility of needing it.
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.
I just mentioned it since this is deleting something that was already there, but I see what you mean


When bumping next, Vercel's NFT logic seems to have changed and we were pulling in weird additional files like
.git/objectsand webpack caches. We identified that this was due tomdx.tsusingprocess.cwd()and path concatenations which was confusing NFT, making it think pretty much everything in the root of the repo was needed to run the app. This caused us to be over the 300 MB limit for AWS lambdas.Entails:
src/mdx.tsfileFixes #10491