-
Notifications
You must be signed in to change notification settings - Fork 0
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
NoJira: NextJS Runtime Plugin 5.2 Compatibility #28
Conversation
b5887dc
to
d186b2d
Compare
@sherakama Dropping this into MA with no other changes and clearing the Netlify build cache results in a successful build and a (seemingly) working app. 👍 If I bump Next.js up to version 13.5 it builds, but things start to break. Might not be related, but I'm still looking into it. 🤷 |
Possibly that the |
@sherakama @ericbakenhus It works with [email protected] for https://next-give.netlify.app |
Yeah, that sounds about right. 😭 |
I created a test build at https://github.com/SU-SWS/adapt-my-account/pull/1212 to see if the variables are showing up and it looks like they do with the exception of the edge function but that is a known thing. I'm going to add the versions as peerDependencies and roll this as a major release. |
package.json
Outdated
"@netlify/plugin-nextjs": ">5", | ||
"next": ">13.5.6" |
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.
Assuming forward compatibility after these versions.
"@netlify/plugin-nextjs": ">5", | ||
"next": ">13.5.6" | ||
}, | ||
"peerDependenciesMeta": { |
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.
Added as peerDependencies and set the meta to optional so the package manager doesn't get angry.
Thanks for all the testing and feedback everyone. Moving forward with this version. |
READY FOR REVIEW
Summary
.env
file breaks the builds with @netlify/plugin-nextjs version 5.2.env
file from the build as the neltify plugin does the cleanup for us.Review By (Date)
Steps to test
Resources