-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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(nextjs): bump Next.js version to 12.0.7 #7788
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nrwl/nx-dev/65Bd7HiEVWSpMjgMvCkzsWkWeXhj |
Nx Cloud ReportCI ran the following commands for commit bb9749b. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch Sent with 💌 from NxCloud. |
a38c3b8
to
21ab290
Compare
21ab290
to
d8a9432
Compare
@@ -200,6 +200,19 @@ | |||
"alwaysAddToPackageJson": false | |||
} | |||
} | |||
}, | |||
"13.3.0": { | |||
"version": "13.3.0-beta.0", |
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 is because Nx v13.3.0 supports the latest version of angular-eslint
and I expect
it will be shipped soon. 512f094
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.
Next.js v12.0.5+ supports ESLint v8, which means this migration is suitable for Nx v13.3.0
Hi, everybody! How long will it take to land into the next release? |
d8a9432
to
4af6200
Compare
As of v12.0.5, Next.js supports ESLint v8. I will update to the latest version (v12.0.7). |
4af6200
to
385c161
Compare
@@ -141,7 +141,7 @@ | |||
"ejs": "^3.1.5", | |||
"enhanced-resolve": "^5.8.3", | |||
"eslint": "8.2.0", | |||
"eslint-config-next": "12.0.0", | |||
"eslint-config-next": "12.0.7", |
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.
yarn upgrade eslint-config-next@12.0.7
@@ -188,7 +188,7 @@ | |||
"mime": "2.4.4", | |||
"mini-css-extract-plugin": "^2.1.0", | |||
"minimatch": "3.0.4", | |||
"next": "12.0.0", | |||
"next": "12.0.7", |
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.
yarn upgrade next@12.0.7
Does Next.js not allow Nx to override @kirjai I need your help to solve the build error. |
385c161
to
864d595
Compare
@kirjai Does Nrwl team has a plan to upgrate Next.js to 12.0.7? I think it is a great opportunity to upgrade it because Next.js v12.0.5 or later supports ESLint v8 which is the version that Nx v13.3.0 supports too. |
@puku0x this is great, thanks a lot for doing the work for this! i'd suggest pushing this branch again in hopes that that was a very temporary Nx Cloud hiccup. i'm not aware of any ongoing issues with it |
@puku0x It looks like there is a few other locations with that NODE_ENV change, do you care to apply it in those too? 😞 I don't know why it would have just started. |
864d595
to
8c58083
Compare
@AgentEnder Next.js recently added Fortunately, we don’t have to apply the cast to the others because it affects only the package using |
8c58083
to
8ff34ee
Compare
Fixed |
😕
|
Something wrong with |
const cssRule = config.module.rules.find((rule) =>
rule.oneOf?.find((r) => r?.options?.__next_css_remove)
);
const cssRule = config.module.rules.find((rule) =>
rule.oneOf?.find((r) => r?.[Symbol.for('__next_css_remove')])
); |
8ff34ee
to
bb9749b
Compare
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.
once again, thanks a lot for doing the work for this! really appreciated
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Next.js v12.0.0 is used.
Expected Behavior
Next.js v12.0.7 is used.
Related Issue(s)
Closes #7746