nx
nx copied to clipboard
feat(misc): v19 cleanup for Nx plugins
This PR removes deprecated code that's been slated for removal in Nx 19 - mentioned as TODO(v19) comments.
Breaking Changes
- CNW:
create-nx-workspaceno longer support--preset=emptyand--preset=core, use--preset=appsand--preset=npmrespectively. Deprecated in Nx 15.9. - JS:
classProperties.looseoption removed from@nx/js/babelpreset, uselooseinstead. Deprecated in Nx 17.0. - Next.js:
NX_environment variables are no longer bundled into Next.js apps, useNEXT_PUBLICinstead. Deprecated in Nx 17.0. - Next.js:
withStylusremoved from@nx/next, use SASS instead. It hasn't worked, but we kept the file to throw an error when used. Deprecated in Nx 17.0. - Next.js:
@nx/next:componentand@nx/next:pagegenerators no longer derive thecomponentsandapp/pagesdirectory. Usenx g @nx/next:component apps/myapp/components/buttoninstead. Deprecated in Nx 17.0. - Webpack, Storybook, Esbuild:
NX_environment variables are no longer bundled into browser bundles, useNX_PUBLICinstead. Deprecated in Nx 18. - Webpack:
isolatedConfigoption removed from@nx/webpack:webpackexecutor. There is a migration to handle this in Nx 19. Deprecated in in Nx 17.2. - Cypress:
cypressComponentConfigurationgenerator removed from@nx/cypress, useconfigurationGeneratorinstead. Deprecated in Nx 17.0. - Cypress:
cypressProjectGeneratorgenerator removed from@nx/cypress, useconfigurationGeneratorinstead. Deprecated in Nx 15.9. - Angular:
executeWebpackDevServerBuilderremoved from@nx/angular/executors, useexecuteDevServerBuilderinstead. Deprecated in Nx 17.2. - Expo:
withNxWebpackremoved from@nx/expo, use metro bundler (https://docs.expo.dev/guides/customizing-metro/) in app.json instead. There is a migration to handle this in Nx 19. Deprecated in Nx 15.8.
Deferred to v20
- ESLint has a low priority task to "deviations from @typescript-eslint/recommended" for our lint rules. @JamesHenry will look at this later before Nx 20, but it is unimportant.
- React component testing does not work with Project Crystal, and we need the executor + built-in webpack configs to run CT. Will do a follow-up on this after Nx 19 release. Related issue: https://github.com/nrwl/nx/issues/21546
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| nx-dev | ✅ Ready (Inspect) | Visit Preview | May 2, 2024 4:48pm |
☁️ Nx Cloud Report
CI is running/has finished running commands for commit 36e37904f1a6a89219dac091f6b807ec060ae7e2. 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 6 targets
nx affected --targets=e2e,e2e-ci --base=5ded713c3c487bd28874e75b1623ece07a79d91d --head=36e37904f1a6a89219dac091f6b807ec060ae7e2 --parallel=1nx affected --targets=lint,test,build --base=5ded713c3c487bd28874e75b1623ece07a79d91d --head=36e37904f1a6a89219dac091f6b807ec060ae7e2 --parallel=3nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dtenx-cloud record -- nx format:check --base=5ded713c3c487bd28874e75b1623ece07a79d91d --head=36e37904f1a6a89219dac091f6b807ec060ae7e2nx documentation --no-dtenx affected -t e2e-macos-ci --parallel=1 --base=5ded713c3c487bd28874e75b1623ece07a79d91d --head=36e37904f1a6a89219dac091f6b807ec060ae7e2
Sent with 💌 from NxCloud.
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.