-
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(misc)!: handle v20 deprecations in plugins #28222
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 8a5701a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 4 targets
Sent with 💌 from NxCloud. |
1d65888
to
961aada
Compare
961aada
to
018ab9d
Compare
018ab9d
to
8a5701a
Compare
@@ -1,6 +1,9 @@ | |||
import * as rollup from 'rollup'; | |||
|
|||
// TODO(v20): This should be deprecated and removed in v22. | |||
// TODO(v22): Remove this in Nx 22 and migrate to explicit rollup.config.js files. |
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.
Why v22? Not v21?
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. |
This PR removes these from v20 since they were deprecated and slated for removal:
executeWebpackDevServerBuilder
export from@nx/angular/executors
, users should useexecuteDevServerBuilder
withStylus
util from@nx/next/plugins/with-stylus
since it was deprecated in v17 and has just throw an error that users need to use SASS with Next.jsThe
getRollupOptions
function from@nx/react/plugins/bundle-rollup
has been deprecated as mention previously and slated for removal in v22. New users are using inferred targets from Rollup, and existing projects using this module should runnx g @nx/rollup:convert-to-inferred
or manually update rollup config to usewithNx
function.Also, bumped some deprecation for later in v21:
import ReactComponent from './img.svg?svgr'
)isolatedConfig
from Webpack executor -- requires a migration that extracts to a standard webpack config just in case (different from the original one that extracts towithNx
)The ESLint TODOs were rescoped to
TODO(eslint)
and we'll look at it in further flat config work rather than tying it to an Nx release.Current Behavior
Expected Behavior
Related Issue(s)
Fixes #