12 Commits

Author SHA1 Message Date
Jack Hsu
2e621f324c
feat(misc): v19 cleanup for Nx plugins (#23104)
This PR removes deprecated code that's been slated for removal in Nx 19
- mentioned as `TODO(v19)` comments.

## Breaking Changes

- **CNW:** `create-nx-workspace` no longer support `--preset=empty` and
`--preset=core`, use `--preset=apps` and `--preset=npm` respectively.
Deprecated in Nx 15.9.
- **Next.js:** `NX_` environment variables are no longer bundled into
Next.js apps, use `NEXT_PUBLIC` instead. Deprecated in Nx 16.8.
- **Webpack, Storybook, Esbuild:** `NX_` environment variables are no
longer bundled into browser bundles, use `NX_PUBLIC` instead. This
removes the possibility of intentional bundling of `NX_` variables.
Deprecated in Nx 18.
- **Cypress:** `cypressComponentConfiguration` generator removed from
`@nx/cypress`, use `configurationGenerator`instead. Deprecated in Nx
16.8.
- **Cypress:** `cypressProjectGenerator` generator removed from
`@nx/cypress`, use `configurationGenerator` instead. Deprecated in Nx
15.9.
- **Expo:** `withNxWebpack` removed from `@nx/expo`, use [metro
bundler](https://docs.expo.dev/guides/customizing-metro/)
(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

- **JS:** `classProperties.loose` option removed from `@nx/js/babel`
preset, use `loose` instead. Deprecated in Nx 17.0.
- **ESLint:** 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
- **Next.js:** `withStylus` removal 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:component` and `@nx/next:page` generators to
not derive the `components` and `app`/`pages` directory. Use `nx g
@nx/next:component apps/myapp/components/button` instead. Deprecated in
Nx 17.0.
- **Webpack:** `isolatedConfig` option removal from
`@nx/webpack:webpack` executor. There is a migration to handle this in
Nx 19. Deprecated in in Nx 17.2.
- **Angular:** `executeWebpackDevServerBuilder` removal from
`@nx/angular/executors`, use `executeDevServerBuilder` instead.
Deprecated in Nx 17.0.
2024-05-02 13:37:12 -04:00
Leosvel Pérez Espinosa
343c0f6690
feat(angular): add the extract-i18n executor (#21802) 2024-02-14 14:37:25 +01:00
Craigory Coppola
deb0f1a492
chore(repo): bump deprecation messages to v19 (#21430) 2024-01-30 16:29:05 -05:00
Leosvel Pérez Espinosa
43a4482482
feat(angular): add application executor (#20529) 2023-12-04 10:21:35 +01:00
Colum Ferry
d22e860269
feat(angular): convert module-federation-dev-server to executor (#20252) 2023-11-30 12:58:48 +00:00
Leosvel Pérez Espinosa
40f8c40df2
feat(angular): support esbuild-based executors/builders in @nx/angular:dev-server (#20311) 2023-11-23 09:48:02 -05:00
Colum Ferry
3fefbaf468
feat(angular): add esbuild incremental build builder (#17991) 2023-07-18 15:36:19 +01:00
Colum Ferry
0ce6735084
feat(angular): add module-federation-dev-ssr builder (#13496) 2022-11-30 11:41:12 +00:00
Colum Ferry
a5d031482f
feat(angular): add webpack-server builder with support for custom webpack config (#12917) 2022-11-01 16:07:41 +00:00
Colum Ferry
8c8c29cdb5
cleanup(angular): rename webpack-server executor to webpack-dev-server (#11989) 2022-09-29 08:45:22 +00:00
Oliver Schlegel
b1cc187c20
feat(angular): expose builder functions (#10252) 2022-05-16 09:41:53 +01:00
Jordan
a7a7c55ff5
fix(angular): expose executors sources (#8368)
* fix(angular): expose executors sources

when having custom builder relying on yours, explicit access to executors directory is now required with ng13. Otherwise calls such as `require("@nrwl/angular/src/executors/package/package.impl");` do not work anymore

* feat(angular): expose only executor functions

Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-01-13 12:19:46 +00:00