This PR removes these from v20 since they were deprecated and slated for removal: - `executeWebpackDevServerBuilder` export from `@nx/angular/executors`, users should use `executeDevServerBuilder` - `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.js The `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 run `nx g @nx/rollup:convert-to-inferred` or manually update rollup config to use `withNx` function. Also, bumped some deprecation for later in v21: - Remove inline builds from tsc/swc - Changes to SVGR to align with Webpack v5 (e.g. `import ReactComponent from './img.svg?svgr'`) - Remove `isolatedConfig` from Webpack executor -- requires a migration that extracts to a standard webpack config just in case (different from the original one that extracts to `withNx`) 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. <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
30 lines
1.8 KiB
TypeScript
30 lines
1.8 KiB
TypeScript
import { NxReactWebpackPlugin as _NxReactWebpackPlugin } from './plugins/nx-react-webpack-plugin/nx-react-webpack-plugin';
|
|
|
|
// TODO(v21): Remove this in favor of deep imports in order to load configs faster (150-200ms faster).
|
|
/** @deprecated Use '@nx/react/webpack-plugin' instead. */
|
|
export const NxReactWebpackPlugin = _NxReactWebpackPlugin;
|
|
|
|
export {
|
|
extraEslintDependencies,
|
|
extendReactEslintJson,
|
|
} from './src/utils/lint';
|
|
export { cssInJsDependenciesBabel } from './src/utils/styled';
|
|
export { assertValidStyle } from './src/utils/assertion';
|
|
export { reactDomVersion, reactVersion } from './src/utils/versions';
|
|
export { applicationGenerator } from './src/generators/application/application';
|
|
export { componentGenerator } from './src/generators/component/component';
|
|
export { hookGenerator } from './src/generators/hook/hook';
|
|
export { componentStoryGenerator } from './src/generators/component-story/component-story';
|
|
export { libraryGenerator } from './src/generators/library/library';
|
|
export { reactInitGenerator } from './src/generators/init/init';
|
|
export { reduxGenerator } from './src/generators/redux/redux';
|
|
export { storiesGenerator } from './src/generators/stories/stories';
|
|
export { storybookConfigurationGenerator } from './src/generators/storybook-configuration/configuration';
|
|
export { hostGenerator } from './src/generators/host/host';
|
|
export { remoteGenerator } from './src/generators/remote/remote';
|
|
export { cypressComponentConfigGenerator } from './src/generators/cypress-component-configuration/cypress-component-configuration';
|
|
export { componentTestGenerator } from './src/generators/component-test/component-test';
|
|
export { setupTailwindGenerator } from './src/generators/setup-tailwind/setup-tailwind';
|
|
export type { SupportedStyles } from './typings/style';
|
|
export * from './plugins/with-react';
|