@nrwl/react 15.9.2 → 16.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ast-utils.d.ts +1 -1
- package/ast-utils.js +2 -9
- package/ast-utils.js.map +1 -1
- package/babel.d.ts +0 -16
- package/babel.js +1 -51
- package/babel.js.map +1 -1
- package/executors.json +8 -8
- package/generators.json +2 -221
- package/index.d.ts +1 -21
- package/index.js +1 -43
- package/index.js.map +1 -1
- package/module-federation.d.ts +1 -4
- package/module-federation.js +2 -10
- package/module-federation.js.map +1 -1
- package/package.json +7 -16
- package/plugins/bundle-rollup.d.ts +0 -1
- package/plugins/bundle-rollup.js +1 -41
- package/plugins/bundle-rollup.js.map +1 -1
- package/plugins/component-testing/index.d.ts +1 -38
- package/plugins/component-testing/index.js +1 -118
- package/plugins/component-testing/index.js.map +1 -1
- package/plugins/jest.d.ts +0 -1
- package/plugins/jest.js +1 -61
- package/plugins/jest.js.map +1 -1
- package/plugins/storybook/index.d.ts +1 -3
- package/plugins/storybook/index.js +1 -73
- package/plugins/storybook/index.js.map +1 -1
- package/plugins/webpack.d.ts +1 -3
- package/plugins/webpack.js +2 -12
- package/plugins/webpack.js.map +1 -1
- package/plugins/with-react.d.ts +1 -12
- package/plugins/with-react.js +2 -79
- package/plugins/with-react.js.map +1 -1
- package/tailwind.d.ts +1 -6
- package/tailwind.js +2 -26
- package/tailwind.js.map +1 -1
- package/README.md +0 -63
- package/migrations.json +0 -864
- package/plugins/component-testing/webpack-fallback.d.ts +0 -5
- package/plugins/component-testing/webpack-fallback.js +0 -135
- package/plugins/component-testing/webpack-fallback.js.map +0 -1
- package/plugins/storybook/merge-plugins.d.ts +0 -3
- package/plugins/storybook/merge-plugins.js +0 -18
- package/plugins/storybook/merge-plugins.js.map +0 -1
- package/src/executors/module-federation-dev-server/compat.d.ts +0 -2
- package/src/executors/module-federation-dev-server/compat.js +0 -6
- package/src/executors/module-federation-dev-server/compat.js.map +0 -1
- package/src/executors/module-federation-dev-server/module-federation-dev-server.impl.d.ts +0 -11
- package/src/executors/module-federation-dev-server/module-federation-dev-server.impl.js +0 -55
- package/src/executors/module-federation-dev-server/module-federation-dev-server.impl.js.map +0 -1
- package/src/executors/module-federation-dev-server/schema.json +0 -96
- package/src/executors/module-federation-ssr-dev-server/compat.d.ts +0 -2
- package/src/executors/module-federation-ssr-dev-server/compat.js +0 -6
- package/src/executors/module-federation-ssr-dev-server/compat.js.map +0 -1
- package/src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.d.ts +0 -9
- package/src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.js +0 -71
- package/src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.js.map +0 -1
- package/src/executors/module-federation-ssr-dev-server/schema.json +0 -48
- package/src/generators/application/application.d.ts +0 -5
- package/src/generators/application/application.js +0 -129
- package/src/generators/application/application.js.map +0 -1
- package/src/generators/application/files/base-vite/index.html__tmpl__ +0 -16
- package/src/generators/application/files/base-vite/public/favicon.ico +0 -0
- package/src/generators/application/files/base-vite/src/app/__fileName__.spec.tsx__tmpl__ +0 -10
- package/src/generators/application/files/base-vite/src/assets/.gitkeep +0 -0
- package/src/generators/application/files/base-vite/src/environments/environment.prod.ts__tmpl__ +0 -3
- package/src/generators/application/files/base-vite/src/environments/environment.ts__tmpl__ +0 -6
- package/src/generators/application/files/base-vite/src/main.tsx__tmpl__ +0 -10
- package/src/generators/application/files/base-vite/tsconfig.app.json__tmpl__ +0 -14
- package/src/generators/application/files/base-webpack/.babelrc__tmpl__ +0 -13
- package/src/generators/application/files/base-webpack/src/app/__fileName__.spec.tsx__tmpl__ +0 -10
- package/src/generators/application/files/base-webpack/src/assets/.gitkeep +0 -0
- package/src/generators/application/files/base-webpack/src/environments/environment.prod.ts__tmpl__ +0 -3
- package/src/generators/application/files/base-webpack/src/environments/environment.ts__tmpl__ +0 -6
- package/src/generators/application/files/base-webpack/src/favicon.ico +0 -0
- package/src/generators/application/files/base-webpack/src/index.html +0 -14
- package/src/generators/application/files/base-webpack/src/main.tsx__tmpl__ +0 -10
- package/src/generators/application/files/base-webpack/tsconfig.app.json__tmpl__ +0 -14
- package/src/generators/application/files/base-webpack/webpack.config.js__tmpl__ +0 -9
- package/src/generators/application/files/nx-welcome/src/app/nx-welcome.tsx +0 -845
- package/src/generators/application/files/style-css-module/src/app/__fileName__.module.__style__ +0 -1
- package/src/generators/application/files/style-css-module/src/app/__fileName__.tsx__tmpl__ +0 -37
- package/src/generators/application/files/style-css-module/src/styles.__style__ +0 -1
- package/src/generators/application/files/style-global-css/src/app/__fileName__.__style__ +0 -1
- package/src/generators/application/files/style-global-css/src/app/__fileName__.tsx__tmpl__ +0 -36
- package/src/generators/application/files/style-global-css/src/styles.__style__ +0 -1
- package/src/generators/application/files/style-none/src/app/__fileName__.tsx__tmpl__ +0 -35
- package/src/generators/application/files/style-styled-jsx/src/app/__fileName__.tsx__tmpl__ +0 -29
- package/src/generators/application/files/style-styled-module/src/app/__fileName__.tsx__tmpl__ +0 -40
- package/src/generators/application/lib/add-cypress.d.ts +0 -3
- package/src/generators/application/lib/add-cypress.js +0 -22
- package/src/generators/application/lib/add-cypress.js.map +0 -1
- package/src/generators/application/lib/add-jest.d.ts +0 -3
- package/src/generators/application/lib/add-jest.js +0 -17
- package/src/generators/application/lib/add-jest.js.map +0 -1
- package/src/generators/application/lib/add-project.d.ts +0 -2
- package/src/generators/application/lib/add-project.js +0 -98
- package/src/generators/application/lib/add-project.js.map +0 -1
- package/src/generators/application/lib/add-routing.d.ts +0 -3
- package/src/generators/application/lib/add-routing.js +0 -32
- package/src/generators/application/lib/add-routing.js.map +0 -1
- package/src/generators/application/lib/create-application-files.d.ts +0 -3
- package/src/generators/application/lib/create-application-files.js +0 -47
- package/src/generators/application/lib/create-application-files.js.map +0 -1
- package/src/generators/application/lib/find-free-port.d.ts +0 -2
- package/src/generators/application/lib/find-free-port.js +0 -18
- package/src/generators/application/lib/find-free-port.js.map +0 -1
- package/src/generators/application/lib/get-app-tests.d.ts +0 -2
- package/src/generators/application/lib/get-app-tests.js +0 -22
- package/src/generators/application/lib/get-app-tests.js.map +0 -1
- package/src/generators/application/lib/install-common-dependencies.d.ts +0 -3
- package/src/generators/application/lib/install-common-dependencies.js +0 -29
- package/src/generators/application/lib/install-common-dependencies.js.map +0 -1
- package/src/generators/application/lib/normalize-options.d.ts +0 -5
- package/src/generators/application/lib/normalize-options.js +0 -60
- package/src/generators/application/lib/normalize-options.js.map +0 -1
- package/src/generators/application/lib/set-defaults.d.ts +0 -3
- package/src/generators/application/lib/set-defaults.js +0 -23
- package/src/generators/application/lib/set-defaults.js.map +0 -1
- package/src/generators/application/lib/update-jest-config.d.ts +0 -3
- package/src/generators/application/lib/update-jest-config.js +0 -30
- package/src/generators/application/lib/update-jest-config.js.map +0 -1
- package/src/generators/application/schema.d.ts +0 -45
- package/src/generators/application/schema.json +0 -202
- package/src/generators/component/component.d.ts +0 -5
- package/src/generators/component/component.js +0 -141
- package/src/generators/component/component.js.map +0 -1
- package/src/generators/component/files/__fileName__.__style__ +0 -0
- package/src/generators/component/files/__fileName__.module.__style__ +0 -7
- package/src/generators/component/files/__fileName__.spec.tsx__tmpl__ +0 -7
- package/src/generators/component/files/__fileName__.tsx__tmpl__ +0 -71
- package/src/generators/component/get-component-tests.d.ts +0 -2
- package/src/generators/component/get-component-tests.js +0 -13
- package/src/generators/component/get-component-tests.js.map +0 -1
- package/src/generators/component/noramlized-schema.d.ts +0 -8
- package/src/generators/component/noramlized-schema.js +0 -3
- package/src/generators/component/noramlized-schema.js.map +0 -1
- package/src/generators/component/schema.d.ts +0 -20
- package/src/generators/component/schema.json +0 -153
- package/src/generators/component-cypress-spec/component-cypress-spec.d.ts +0 -14
- package/src/generators/component-cypress-spec/component-cypress-spec.js +0 -105
- package/src/generators/component-cypress-spec/component-cypress-spec.js.map +0 -1
- package/src/generators/component-cypress-spec/files/__componentName__.__fileExt__ +0 -13
- package/src/generators/component-cypress-spec/schema.json +0 -44
- package/src/generators/component-story/component-story.d.ts +0 -12
- package/src/generators/component-story/component-story.js +0 -81
- package/src/generators/component-story/component-story.js.map +0 -1
- package/src/generators/component-story/files/__componentFileName__.stories.__fileExt__ +0 -32
- package/src/generators/component-story/schema.json +0 -36
- package/src/generators/component-test/component-test.d.ts +0 -4
- package/src/generators/component-test/component-test.js +0 -78
- package/src/generators/component-test/component-test.js.map +0 -1
- package/src/generators/component-test/files/__fileName__.cy__ext__ +0 -21
- package/src/generators/component-test/schema.d.ts +0 -4
- package/src/generators/component-test/schema.js +0 -3
- package/src/generators/component-test/schema.js.map +0 -1
- package/src/generators/component-test/schema.json +0 -31
- package/src/generators/cypress-component-configuration/cypress-component-configuration.d.ts +0 -9
- package/src/generators/cypress-component-configuration/cypress-component-configuration.js +0 -34
- package/src/generators/cypress-component-configuration/cypress-component-configuration.js.map +0 -1
- package/src/generators/cypress-component-configuration/files/cypress/support/commands.ts__tpl__ +0 -42
- package/src/generators/cypress-component-configuration/files/cypress.config.ts__tpl__ +0 -8
- package/src/generators/cypress-component-configuration/lib/add-files.d.ts +0 -4
- package/src/generators/cypress-component-configuration/lib/add-files.js +0 -75
- package/src/generators/cypress-component-configuration/lib/add-files.js.map +0 -1
- package/src/generators/cypress-component-configuration/lib/update-configs.d.ts +0 -7
- package/src/generators/cypress-component-configuration/lib/update-configs.js +0 -30
- package/src/generators/cypress-component-configuration/lib/update-configs.js.map +0 -1
- package/src/generators/cypress-component-configuration/schema.d.ts +0 -7
- package/src/generators/cypress-component-configuration/schema.json +0 -54
- package/src/generators/hook/files/__fileName__.spec.tsx__tmpl__ +0 -18
- package/src/generators/hook/files/__fileName__.ts__tmpl__ +0 -15
- package/src/generators/hook/hook.d.ts +0 -5
- package/src/generators/hook/hook.js +0 -117
- package/src/generators/hook/hook.js.map +0 -1
- package/src/generators/hook/schema.d.ts +0 -11
- package/src/generators/hook/schema.json +0 -77
- package/src/generators/host/files/common/src/app/__fileName__.tsx__tmpl__ +0 -33
- package/src/generators/host/files/module-federation/module-federation.config.js__tmpl__ +0 -6
- package/src/generators/host/files/module-federation/src/main.ts__tmpl__ +0 -1
- package/src/generators/host/files/module-federation/src/remotes.d.ts__tmpl__ +0 -4
- package/src/generators/host/files/module-federation/webpack.config.js__tmpl__ +0 -12
- package/src/generators/host/files/module-federation/webpack.config.prod.js__tmpl__ +0 -32
- package/src/generators/host/files/module-federation-ssr/module-federation.server.config.js__tmpl__ +0 -13
- package/src/generators/host/files/module-federation-ssr/server.ts__tmpl__ +0 -28
- package/src/generators/host/files/module-federation-ssr/tsconfig.server.json__tmpl__ +0 -15
- package/src/generators/host/files/module-federation-ssr/webpack.server.config.js__tmpl__ +0 -12
- package/src/generators/host/host.d.ts +0 -4
- package/src/generators/host/host.js +0 -67
- package/src/generators/host/host.js.map +0 -1
- package/src/generators/host/lib/add-module-federation-files.d.ts +0 -5
- package/src/generators/host/lib/add-module-federation-files.js +0 -21
- package/src/generators/host/lib/add-module-federation-files.js.map +0 -1
- package/src/generators/host/lib/setup-ssr-for-host.d.ts +0 -6
- package/src/generators/host/lib/setup-ssr-for-host.js +0 -27
- package/src/generators/host/lib/setup-ssr-for-host.js.map +0 -1
- package/src/generators/host/lib/update-module-federation-e2e-project.d.ts +0 -3
- package/src/generators/host/lib/update-module-federation-e2e-project.js +0 -16
- package/src/generators/host/lib/update-module-federation-e2e-project.js.map +0 -1
- package/src/generators/host/schema.d.ts +0 -32
- package/src/generators/host/schema.json +0 -174
- package/src/generators/init/init.d.ts +0 -5
- package/src/generators/init/init.js +0 -80
- package/src/generators/init/init.js.map +0 -1
- package/src/generators/init/schema.d.ts +0 -11
- package/src/generators/init/schema.json +0 -49
- package/src/generators/library/files/common/.babelrc__tmpl__ +0 -16
- package/src/generators/library/files/common/README.md +0 -7
- package/src/generators/library/files/common/package.json__tmpl__ +0 -4
- package/src/generators/library/files/common/src/index.ts__tmpl__ +0 -0
- package/src/generators/library/files/common/tsconfig.lib.json__tmpl__ +0 -14
- package/src/generators/library/files/vite/README.md +0 -7
- package/src/generators/library/files/vite/package.json__tmpl__ +0 -12
- package/src/generators/library/files/vite/tsconfig.lib.json__tmpl__ +0 -14
- package/src/generators/library/lib/add-linting.d.ts +0 -3
- package/src/generators/library/lib/add-linting.js +0 -38
- package/src/generators/library/lib/add-linting.js.map +0 -1
- package/src/generators/library/lib/add-rollup-build-target.d.ts +0 -3
- package/src/generators/library/lib/add-rollup-build-target.js +0 -59
- package/src/generators/library/lib/add-rollup-build-target.js.map +0 -1
- package/src/generators/library/lib/create-files.d.ts +0 -3
- package/src/generators/library/lib/create-files.js +0 -26
- package/src/generators/library/lib/create-files.js.map +0 -1
- package/src/generators/library/lib/install-common-dependencies.d.ts +0 -3
- package/src/generators/library/lib/install-common-dependencies.js +0 -30
- package/src/generators/library/lib/install-common-dependencies.js.map +0 -1
- package/src/generators/library/lib/maybe-js.d.ts +0 -2
- package/src/generators/library/lib/maybe-js.js +0 -10
- package/src/generators/library/lib/maybe-js.js.map +0 -1
- package/src/generators/library/lib/normalize-options.d.ts +0 -3
- package/src/generators/library/lib/normalize-options.js +0 -57
- package/src/generators/library/lib/normalize-options.js.map +0 -1
- package/src/generators/library/lib/set-defaults.d.ts +0 -3
- package/src/generators/library/lib/set-defaults.js +0 -16
- package/src/generators/library/lib/set-defaults.js.map +0 -1
- package/src/generators/library/lib/update-app-routes.d.ts +0 -3
- package/src/generators/library/lib/update-app-routes.js +0 -63
- package/src/generators/library/lib/update-app-routes.js.map +0 -1
- package/src/generators/library/library.d.ts +0 -5
- package/src/generators/library/library.js +0 -126
- package/src/generators/library/library.js.map +0 -1
- package/src/generators/library/schema.d.ts +0 -44
- package/src/generators/library/schema.json +0 -198
- package/src/generators/redux/files/__directory__/__fileName__.slice.spec.ts__tmpl__ +0 -53
- package/src/generators/redux/files/__directory__/__fileName__.slice.ts__tmpl__ +0 -129
- package/src/generators/redux/redux.d.ts +0 -5
- package/src/generators/redux/redux.js +0 -117
- package/src/generators/redux/redux.js.map +0 -1
- package/src/generators/redux/schema.d.ts +0 -20
- package/src/generators/redux/schema.json +0 -47
- package/src/generators/remote/files/module-federation/module-federation.config.js__tmpl__ +0 -6
- package/src/generators/remote/files/module-federation/src/main.ts__tmpl__ +0 -1
- package/src/generators/remote/files/module-federation/src/remote-entry.ts__tmpl__ +0 -1
- package/src/generators/remote/files/module-federation/webpack.config.js__tmpl__ +0 -12
- package/src/generators/remote/files/module-federation/webpack.config.prod.js__tmpl__ +0 -1
- package/src/generators/remote/files/module-federation-ssr/module-federation.server.config.js__tmpl__ +0 -6
- package/src/generators/remote/files/module-federation-ssr/server.ts__tmpl__ +0 -45
- package/src/generators/remote/files/module-federation-ssr/webpack.server.config.js__tmpl__ +0 -12
- package/src/generators/remote/lib/setup-ssr-for-remote.d.ts +0 -4
- package/src/generators/remote/lib/setup-ssr-for-remote.js +0 -32
- package/src/generators/remote/lib/setup-ssr-for-remote.js.map +0 -1
- package/src/generators/remote/lib/update-host-with-remote.d.ts +0 -2
- package/src/generators/remote/lib/update-host-with-remote.js +0 -53
- package/src/generators/remote/lib/update-host-with-remote.js.map +0 -1
- package/src/generators/remote/remote.d.ts +0 -6
- package/src/generators/remote/remote.js +0 -56
- package/src/generators/remote/remote.js.map +0 -1
- package/src/generators/remote/schema.d.ts +0 -27
- package/src/generators/remote/schema.json +0 -173
- package/src/generators/setup-ssr/files/server.ts__tmpl__ +0 -28
- package/src/generators/setup-ssr/files/src/main.server.tsx__tmpl__ +0 -47
- package/src/generators/setup-ssr/files/tsconfig.server.json__tmpl__ +0 -15
- package/src/generators/setup-ssr/schema.d.ts +0 -7
- package/src/generators/setup-ssr/schema.json +0 -48
- package/src/generators/setup-ssr/setup-ssr.d.ts +0 -5
- package/src/generators/setup-ssr/setup-ssr.js +0 -162
- package/src/generators/setup-ssr/setup-ssr.js.map +0 -1
- package/src/generators/setup-tailwind/files/postcss.config.js__tmpl__ +0 -15
- package/src/generators/setup-tailwind/files/tailwind.config.js__tmpl__ +0 -17
- package/src/generators/setup-tailwind/lib/add-tailwind-style-imports.d.ts +0 -3
- package/src/generators/setup-tailwind/lib/add-tailwind-style-imports.js +0 -36
- package/src/generators/setup-tailwind/lib/add-tailwind-style-imports.js.map +0 -1
- package/src/generators/setup-tailwind/lib/update-project.d.ts +0 -3
- package/src/generators/setup-tailwind/lib/update-project.js +0 -15
- package/src/generators/setup-tailwind/lib/update-project.js.map +0 -1
- package/src/generators/setup-tailwind/schema.d.ts +0 -6
- package/src/generators/setup-tailwind/schema.js +0 -3
- package/src/generators/setup-tailwind/schema.js.map +0 -1
- package/src/generators/setup-tailwind/schema.json +0 -47
- package/src/generators/setup-tailwind/setup-tailwind.d.ts +0 -5
- package/src/generators/setup-tailwind/setup-tailwind.js +0 -39
- package/src/generators/setup-tailwind/setup-tailwind.js.map +0 -1
- package/src/generators/stories/schema.json +0 -59
- package/src/generators/stories/stories.d.ts +0 -15
- package/src/generators/stories/stories.js +0 -118
- package/src/generators/stories/stories.js.map +0 -1
- package/src/generators/storybook-configuration/configuration.d.ts +0 -5
- package/src/generators/storybook-configuration/configuration.js +0 -65
- package/src/generators/storybook-configuration/configuration.js.map +0 -1
- package/src/generators/storybook-configuration/schema.d.ts +0 -18
- package/src/generators/storybook-configuration/schema.json +0 -109
- package/src/migrations/update-12-0-0/remove-react-redux-types-package.d.ts +0 -3
- package/src/migrations/update-12-0-0/remove-react-redux-types-package.js +0 -13
- package/src/migrations/update-12-0-0/remove-react-redux-types-package.js.map +0 -1
- package/src/migrations/update-12-0-0/update-emotion-setup.d.ts +0 -3
- package/src/migrations/update-12-0-0/update-emotion-setup.js +0 -67
- package/src/migrations/update-12-0-0/update-emotion-setup.js.map +0 -1
- package/src/migrations/update-12-0-0/use-react-jsx-in-tsconfig.d.ts +0 -3
- package/src/migrations/update-12-0-0/use-react-jsx-in-tsconfig.js +0 -27
- package/src/migrations/update-12-0-0/use-react-jsx-in-tsconfig.js.map +0 -1
- package/src/migrations/update-12-8-0/update-12-8-0.d.ts +0 -3
- package/src/migrations/update-12-8-0/update-12-8-0.js +0 -15
- package/src/migrations/update-12-8-0/update-12-8-0.js.map +0 -1
- package/src/migrations/update-13-0-0/migrate-storybook-to-webpack-5.d.ts +0 -3
- package/src/migrations/update-13-0-0/migrate-storybook-to-webpack-5.js +0 -38
- package/src/migrations/update-13-0-0/migrate-storybook-to-webpack-5.js.map +0 -1
- package/src/migrations/update-13-0-0/update-emotion-setup.d.ts +0 -3
- package/src/migrations/update-13-0-0/update-emotion-setup.js +0 -39
- package/src/migrations/update-13-0-0/update-emotion-setup.js.map +0 -1
- package/src/migrations/update-13-0-0/webpack5-changes-utils.d.ts +0 -11
- package/src/migrations/update-13-0-0/webpack5-changes-utils.js +0 -269
- package/src/migrations/update-13-0-0/webpack5-changes-utils.js.map +0 -1
- package/src/migrations/update-13-10-0/update-13-10-0.d.ts +0 -3
- package/src/migrations/update-13-10-0/update-13-10-0.js +0 -29
- package/src/migrations/update-13-10-0/update-13-10-0.js.map +0 -1
- package/src/migrations/update-14-0-0/add-default-development-configurations.d.ts +0 -3
- package/src/migrations/update-14-0-0/add-default-development-configurations.js +0 -40
- package/src/migrations/update-14-0-0/add-default-development-configurations.js.map +0 -1
- package/src/migrations/update-14-0-0/replace-testing-library-react-hook.d.ts +0 -3
- package/src/migrations/update-14-0-0/replace-testing-library-react-hook.js +0 -27
- package/src/migrations/update-14-0-0/replace-testing-library-react-hook.js.map +0 -1
- package/src/migrations/update-14-0-0/update-react-dom-render-for-v18.d.ts +0 -5
- package/src/migrations/update-14-0-0/update-react-dom-render-for-v18.js +0 -69
- package/src/migrations/update-14-0-0/update-react-dom-render-for-v18.js.map +0 -1
- package/src/migrations/update-14-1-0/update-external-emotion-jsx-runtime.d.ts +0 -3
- package/src/migrations/update-14-1-0/update-external-emotion-jsx-runtime.js +0 -38
- package/src/migrations/update-14-1-0/update-external-emotion-jsx-runtime.js.map +0 -1
- package/src/migrations/update-14-6-0/add-preset-jest-config.d.ts +0 -3
- package/src/migrations/update-14-6-0/add-preset-jest-config.js +0 -40
- package/src/migrations/update-14-6-0/add-preset-jest-config.js.map +0 -1
- package/src/migrations/update-15-3-0/install-webpack-rollup-dependencies.d.ts +0 -3
- package/src/migrations/update-15-3-0/install-webpack-rollup-dependencies.js +0 -39
- package/src/migrations/update-15-3-0/install-webpack-rollup-dependencies.js.map +0 -1
- package/src/migrations/update-15-3-0/update-rollup-executor.d.ts +0 -3
- package/src/migrations/update-15-3-0/update-rollup-executor.js +0 -17
- package/src/migrations/update-15-3-0/update-rollup-executor.js.map +0 -1
- package/src/migrations/update-15-6-3/webpack-config-setup.d.ts +0 -2
- package/src/migrations/update-15-6-3/webpack-config-setup.js +0 -108
- package/src/migrations/update-15-6-3/webpack-config-setup.js.map +0 -1
- package/src/module-federation/ast-utils.d.ts +0 -8
- package/src/module-federation/ast-utils.js +0 -103
- package/src/module-federation/ast-utils.js.map +0 -1
- package/src/module-federation/load-config.d.ts +0 -3
- package/src/module-federation/load-config.js +0 -17
- package/src/module-federation/load-config.js.map +0 -1
- package/src/module-federation/models.d.ts +0 -24
- package/src/module-federation/models.js +0 -3
- package/src/module-federation/models.js.map +0 -1
- package/src/module-federation/package-json.d.ts +0 -8
- package/src/module-federation/package-json.js +0 -14
- package/src/module-federation/package-json.js.map +0 -1
- package/src/module-federation/utils.d.ts +0 -10
- package/src/module-federation/utils.js +0 -38
- package/src/module-federation/utils.js.map +0 -1
- package/src/module-federation/with-module-federation-ssr.d.ts +0 -2
- package/src/module-federation/with-module-federation-ssr.js +0 -48
- package/src/module-federation/with-module-federation-ssr.js.map +0 -1
- package/src/module-federation/with-module-federation.d.ts +0 -7
- package/src/module-federation/with-module-federation.js +0 -50
- package/src/module-federation/with-module-federation.js.map +0 -1
- package/src/rules/add-styled-dependencies.d.ts +0 -2
- package/src/rules/add-styled-dependencies.js +0 -16
- package/src/rules/add-styled-dependencies.js.map +0 -1
- package/src/rules/update-module-federation-project.d.ts +0 -6
- package/src/rules/update-module-federation-project.js +0 -34
- package/src/rules/update-module-federation-project.js.map +0 -1
- package/src/utils/assertion.d.ts +0 -1
- package/src/utils/assertion.js +0 -20
- package/src/utils/assertion.js.map +0 -1
- package/src/utils/ast-utils.d.ts +0 -29
- package/src/utils/ast-utils.js +0 -526
- package/src/utils/ast-utils.js.map +0 -1
- package/src/utils/component-props.d.ts +0 -15
- package/src/utils/component-props.js +0 -61
- package/src/utils/component-props.js.map +0 -1
- package/src/utils/create-ts-config.d.ts +0 -9
- package/src/utils/create-ts-config.js +0 -64
- package/src/utils/create-ts-config.js.map +0 -1
- package/src/utils/dependencies.d.ts +0 -7
- package/src/utils/dependencies.js +0 -3
- package/src/utils/dependencies.js.map +0 -1
- package/src/utils/format-file.d.ts +0 -1
- package/src/utils/format-file.js +0 -13
- package/src/utils/format-file.js.map +0 -1
- package/src/utils/get-in-source-vitest-tests-template.d.ts +0 -1
- package/src/utils/get-in-source-vitest-tests-template.js +0 -22
- package/src/utils/get-in-source-vitest-tests-template.js.map +0 -1
- package/src/utils/jest-utils.d.ts +0 -1
- package/src/utils/jest-utils.js +0 -10
- package/src/utils/jest-utils.js.map +0 -1
- package/src/utils/lint.d.ts +0 -37
- package/src/utils/lint.js +0 -68
- package/src/utils/lint.js.map +0 -1
- package/src/utils/styled.d.ts +0 -4
- package/src/utils/styled.js +0 -33
- package/src/utils/styled.js.map +0 -1
- package/src/utils/testing-generators.d.ts +0 -3
- package/src/utils/testing-generators.js +0 -36
- package/src/utils/testing-generators.js.map +0 -1
- package/src/utils/versions.d.ts +0 -43
- package/src/utils/versions.js +0 -51
- package/src/utils/versions.js.map +0 -1
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "GeneratorReactRemote",
|
|
4
|
-
"cli": "nx",
|
|
5
|
-
"title": "Generate Module Federation Setup for React Remote App",
|
|
6
|
-
"description": "Create Module Federation configuration files for given React Remote Application.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"properties": {
|
|
9
|
-
"name": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "The name of the remote application to generate the Module Federation configuration",
|
|
12
|
-
"$default": {
|
|
13
|
-
"$source": "argv",
|
|
14
|
-
"index": 0
|
|
15
|
-
},
|
|
16
|
-
"x-prompt": "What name would you like to use as the remote application?",
|
|
17
|
-
"pattern": "^[a-zA-Z].*$",
|
|
18
|
-
"x-priority": "important"
|
|
19
|
-
},
|
|
20
|
-
"directory": {
|
|
21
|
-
"description": "The directory of the new application.",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"alias": "dir",
|
|
24
|
-
"x-priority": "important"
|
|
25
|
-
},
|
|
26
|
-
"style": {
|
|
27
|
-
"description": "The file extension to be used for style files.",
|
|
28
|
-
"type": "string",
|
|
29
|
-
"default": "css",
|
|
30
|
-
"alias": "s",
|
|
31
|
-
"x-prompt": {
|
|
32
|
-
"message": "Which stylesheet format would you like to use?",
|
|
33
|
-
"type": "list",
|
|
34
|
-
"items": [
|
|
35
|
-
{
|
|
36
|
-
"value": "css",
|
|
37
|
-
"label": "CSS"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"value": "scss",
|
|
41
|
-
"label": "SASS(.scss) [ http://sass-lang.com ]"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"value": "styl",
|
|
45
|
-
"label": "Stylus(.styl) [ http://stylus-lang.com ]"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"value": "less",
|
|
49
|
-
"label": "LESS [ http://lesscss.org ]"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"value": "styled-components",
|
|
53
|
-
"label": "styled-components [ https://styled-components.com ]"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"value": "@emotion/styled",
|
|
57
|
-
"label": "emotion [ https://emotion.sh ]"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"value": "styled-jsx",
|
|
61
|
-
"label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"value": "none",
|
|
65
|
-
"label": "None"
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"linter": {
|
|
71
|
-
"description": "The tool to use for running lint checks.",
|
|
72
|
-
"type": "string",
|
|
73
|
-
"enum": ["eslint"],
|
|
74
|
-
"default": "eslint"
|
|
75
|
-
},
|
|
76
|
-
"routing": {
|
|
77
|
-
"type": "boolean",
|
|
78
|
-
"description": "Generate application with routes.",
|
|
79
|
-
"default": false
|
|
80
|
-
},
|
|
81
|
-
"skipFormat": {
|
|
82
|
-
"description": "Skip formatting files.",
|
|
83
|
-
"type": "boolean",
|
|
84
|
-
"default": false,
|
|
85
|
-
"x-priority": "internal"
|
|
86
|
-
},
|
|
87
|
-
"skipWorkspaceJson": {
|
|
88
|
-
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
|
89
|
-
"type": "boolean",
|
|
90
|
-
"default": false,
|
|
91
|
-
"x-priority": "internal"
|
|
92
|
-
},
|
|
93
|
-
"unitTestRunner": {
|
|
94
|
-
"type": "string",
|
|
95
|
-
"enum": ["jest", "none"],
|
|
96
|
-
"description": "Test runner to use for unit tests.",
|
|
97
|
-
"default": "jest"
|
|
98
|
-
},
|
|
99
|
-
"e2eTestRunner": {
|
|
100
|
-
"type": "string",
|
|
101
|
-
"enum": ["cypress", "none"],
|
|
102
|
-
"description": "Test runner to use for end to end (e2e) tests.",
|
|
103
|
-
"default": "cypress"
|
|
104
|
-
},
|
|
105
|
-
"tags": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"description": "Add tags to the application (used for linting).",
|
|
108
|
-
"alias": "t"
|
|
109
|
-
},
|
|
110
|
-
"pascalCaseFiles": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"description": "Use pascal case component file name (e.g. App.tsx).",
|
|
113
|
-
"alias": "P",
|
|
114
|
-
"default": false
|
|
115
|
-
},
|
|
116
|
-
"classComponent": {
|
|
117
|
-
"type": "boolean",
|
|
118
|
-
"description": "Use class components instead of functional component.",
|
|
119
|
-
"alias": "C",
|
|
120
|
-
"default": false
|
|
121
|
-
},
|
|
122
|
-
"js": {
|
|
123
|
-
"type": "boolean",
|
|
124
|
-
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
125
|
-
"default": false
|
|
126
|
-
},
|
|
127
|
-
"globalCss": {
|
|
128
|
-
"type": "boolean",
|
|
129
|
-
"description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss.",
|
|
130
|
-
"default": false
|
|
131
|
-
},
|
|
132
|
-
"strict": {
|
|
133
|
-
"type": "boolean",
|
|
134
|
-
"description": "Creates an application with strict mode and strict type checking.",
|
|
135
|
-
"default": true
|
|
136
|
-
},
|
|
137
|
-
"setParserOptionsProject": {
|
|
138
|
-
"type": "boolean",
|
|
139
|
-
"description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.",
|
|
140
|
-
"default": false
|
|
141
|
-
},
|
|
142
|
-
"standaloneConfig": {
|
|
143
|
-
"description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json",
|
|
144
|
-
"type": "boolean",
|
|
145
|
-
"default": true,
|
|
146
|
-
"x-deprecated": "Nx only supports standaloneConfig"
|
|
147
|
-
},
|
|
148
|
-
"compiler": {
|
|
149
|
-
"type": "string",
|
|
150
|
-
"description": "The compiler to use.",
|
|
151
|
-
"enum": ["babel", "swc"],
|
|
152
|
-
"default": "babel"
|
|
153
|
-
},
|
|
154
|
-
"host": {
|
|
155
|
-
"type": "string",
|
|
156
|
-
"description": "The host / shell application for this remote.",
|
|
157
|
-
"x-priority": "important"
|
|
158
|
-
},
|
|
159
|
-
"devServerPort": {
|
|
160
|
-
"type": "number",
|
|
161
|
-
"description": "The port for the dev server of the remote app.",
|
|
162
|
-
"default": 4200,
|
|
163
|
-
"x-priority": "important"
|
|
164
|
-
},
|
|
165
|
-
"ssr": {
|
|
166
|
-
"description": "Whether to configure SSR for the host application",
|
|
167
|
-
"type": "boolean",
|
|
168
|
-
"default": false
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"required": ["name"],
|
|
172
|
-
"additionalProperties": false
|
|
173
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as path from 'path';
|
|
2
|
-
import express from 'express';
|
|
3
|
-
import cors from 'cors';
|
|
4
|
-
|
|
5
|
-
import { handleRequest } from './src/main.server';
|
|
6
|
-
|
|
7
|
-
const port = process.env['PORT'] || 4200;
|
|
8
|
-
const app = express();
|
|
9
|
-
|
|
10
|
-
const browserDist = path.join(process.cwd(), '<%= browserBuildOutputPath %>');
|
|
11
|
-
const indexPath =path.join(browserDist, 'index.html');
|
|
12
|
-
|
|
13
|
-
app.use(cors());
|
|
14
|
-
|
|
15
|
-
app.get(
|
|
16
|
-
'*.*',
|
|
17
|
-
express.static(browserDist, {
|
|
18
|
-
maxAge: '1y',
|
|
19
|
-
})
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
app.use('*', handleRequest(indexPath));
|
|
23
|
-
|
|
24
|
-
const server = app.listen(port, () => {
|
|
25
|
-
// Server has started
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
server.on('error', console.error);
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { Request, Response } from 'express';
|
|
2
|
-
import * as fs from 'fs';
|
|
3
|
-
import * as ReactDOMServer from 'react-dom/server';
|
|
4
|
-
import isbot from 'isbot'
|
|
5
|
-
|
|
6
|
-
import App from './<%= appComponentImport %>';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
let indexHtml: null | string = null;
|
|
10
|
-
|
|
11
|
-
export function handleRequest(indexPath: string) {
|
|
12
|
-
return function render(req: Request, res: Response) {
|
|
13
|
-
let didError = false;
|
|
14
|
-
|
|
15
|
-
if (!indexHtml) {
|
|
16
|
-
indexHtml = fs.readFileSync(indexPath).toString();
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const [htmlStart, htmlEnd] = indexHtml.split(`<div id="root"></div>`);
|
|
20
|
-
|
|
21
|
-
// For bots (e.g. search engines), the content will not be streamed but render all at once.
|
|
22
|
-
// For users, content should be streamed to the user as they are ready.
|
|
23
|
-
const callbackName = isbot(req.headers['user-agent']) ? 'onAllReady' : 'onShellReady';
|
|
24
|
-
|
|
25
|
-
const stream = ReactDOMServer.renderToPipeableStream(
|
|
26
|
-
<App />,
|
|
27
|
-
{
|
|
28
|
-
[callbackName]() {
|
|
29
|
-
res.statusCode = didError ? 500 : 200;
|
|
30
|
-
res.setHeader('Content-type', 'text/html; charset=utf-8');
|
|
31
|
-
res.write(`${htmlStart}<div id="root">`);
|
|
32
|
-
stream.pipe(res);
|
|
33
|
-
res.write(`</div>${htmlEnd}`);
|
|
34
|
-
},
|
|
35
|
-
onShellError(error) {
|
|
36
|
-
console.error(error);
|
|
37
|
-
res.statusCode = 500;
|
|
38
|
-
res.send('<!doctype html><h1>Server Error</h1>');
|
|
39
|
-
},
|
|
40
|
-
onError(error) {
|
|
41
|
-
didError = true;
|
|
42
|
-
console.error(error);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "GeneratorReactSSRSetup",
|
|
4
|
-
"cli": "nx",
|
|
5
|
-
"title": "Generate SSR setup for a React app",
|
|
6
|
-
"description": "Create the additional configuration required to enable SSR via Express for a React application.",
|
|
7
|
-
"type": "object",
|
|
8
|
-
"properties": {
|
|
9
|
-
"project": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "The name of the application to add SSR support to.",
|
|
12
|
-
"$default": {
|
|
13
|
-
"$source": "argv",
|
|
14
|
-
"index": 0
|
|
15
|
-
},
|
|
16
|
-
"x-prompt": "What app would you like to add SSR support to?",
|
|
17
|
-
"x-dropdown": "projects",
|
|
18
|
-
"x-priority": "important"
|
|
19
|
-
},
|
|
20
|
-
"appComponentImportPath": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "The import path of the <App/ > component, relative to project sourceRoot.",
|
|
23
|
-
"default": "app/app"
|
|
24
|
-
},
|
|
25
|
-
"serverPort": {
|
|
26
|
-
"type": "number",
|
|
27
|
-
"default": 4200,
|
|
28
|
-
"description": "The port for the Express server.",
|
|
29
|
-
"x-priority": "important"
|
|
30
|
-
},
|
|
31
|
-
"skipFormat": {
|
|
32
|
-
"type": "boolean",
|
|
33
|
-
"description": "Skip formatting the workspace after the generator completes.",
|
|
34
|
-
"x-priority": "internal"
|
|
35
|
-
},
|
|
36
|
-
"extraInclude": {
|
|
37
|
-
"type": "array",
|
|
38
|
-
"items": {
|
|
39
|
-
"type": "string"
|
|
40
|
-
},
|
|
41
|
-
"hidden": true,
|
|
42
|
-
"description": "Extra include entries in tsconfig.",
|
|
43
|
-
"default": []
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": ["project"],
|
|
47
|
-
"additionalProperties": false
|
|
48
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Tree } from '@nrwl/devkit';
|
|
2
|
-
import type { Schema } from './schema';
|
|
3
|
-
export declare function setupSsrGenerator(tree: Tree, options: Schema): Promise<import("@nrwl/devkit").GeneratorCallback>;
|
|
4
|
-
export default setupSsrGenerator;
|
|
5
|
-
export declare const setupSsrSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.setupSsrSchematic = exports.setupSsrGenerator = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const devkit_1 = require("@nrwl/devkit");
|
|
6
|
-
const init_1 = require("../init/init");
|
|
7
|
-
const versions_1 = require("../../utils/versions");
|
|
8
|
-
const ast_utils_1 = require("../../utils/ast-utils");
|
|
9
|
-
const ensure_typescript_1 = require("@nrwl/js/src/utils/typescript/ensure-typescript");
|
|
10
|
-
let tsModule;
|
|
11
|
-
function readEntryFile(host, path) {
|
|
12
|
-
if (!tsModule) {
|
|
13
|
-
tsModule = (0, ensure_typescript_1.ensureTypescript)();
|
|
14
|
-
}
|
|
15
|
-
const content = host.read(path, 'utf-8');
|
|
16
|
-
return {
|
|
17
|
-
content,
|
|
18
|
-
source: tsModule.createSourceFile(path, content, tsModule.ScriptTarget.Latest, true),
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
function setupSsrGenerator(tree, options) {
|
|
22
|
-
var _a, _b, _c, _d, _e;
|
|
23
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
yield (0, init_1.default)(tree, { skipFormat: true });
|
|
25
|
-
const projectConfig = (0, devkit_1.readProjectConfiguration)(tree, options.project);
|
|
26
|
-
const projectRoot = projectConfig.root;
|
|
27
|
-
const appImportCandidates = [
|
|
28
|
-
(_a = options.appComponentImportPath) !== null && _a !== void 0 ? _a : 'app/app',
|
|
29
|
-
'app',
|
|
30
|
-
'App',
|
|
31
|
-
'app/App',
|
|
32
|
-
'App/App',
|
|
33
|
-
].map((importPath) => {
|
|
34
|
-
return {
|
|
35
|
-
importPath,
|
|
36
|
-
filePath: (0, devkit_1.joinPathFragments)(projectConfig.sourceRoot || projectConfig.root, `${importPath}.tsx`),
|
|
37
|
-
};
|
|
38
|
-
});
|
|
39
|
-
const appComponentInfo = appImportCandidates.find((candidate) => tree.exists(candidate.filePath));
|
|
40
|
-
if (!appComponentInfo) {
|
|
41
|
-
throw new Error(`Cannot find an import path for <App/> component. Try passing setting --appComponentImportPath option.`);
|
|
42
|
-
}
|
|
43
|
-
if (!projectConfig.targets.build || !projectConfig.targets.serve) {
|
|
44
|
-
throw new Error(`Project ${options.project} does not have build and serve targets`);
|
|
45
|
-
}
|
|
46
|
-
if (projectConfig.targets.server) {
|
|
47
|
-
throw new Error(`Project ${options.project} already has a server target.`);
|
|
48
|
-
}
|
|
49
|
-
const originalOutputPath = (_c = (_b = projectConfig.targets.build) === null || _b === void 0 ? void 0 : _b.options) === null || _c === void 0 ? void 0 : _c.outputPath;
|
|
50
|
-
if (!originalOutputPath) {
|
|
51
|
-
throw new Error(`Project ${options.project} does not contain a outputPath for the build target.`);
|
|
52
|
-
}
|
|
53
|
-
projectConfig.targets.build.options.outputPath = (0, devkit_1.joinPathFragments)(originalOutputPath, 'browser');
|
|
54
|
-
projectConfig.targets = Object.assign(Object.assign({}, projectConfig.targets), { server: {
|
|
55
|
-
dependsOn: ['build'],
|
|
56
|
-
executor: '@nrwl/webpack:webpack',
|
|
57
|
-
outputs: ['{options.outputPath}'],
|
|
58
|
-
defaultConfiguration: 'production',
|
|
59
|
-
options: {
|
|
60
|
-
target: 'node',
|
|
61
|
-
main: `${projectRoot}/server.ts`,
|
|
62
|
-
outputPath: (0, devkit_1.joinPathFragments)(originalOutputPath, 'server'),
|
|
63
|
-
tsConfig: `${projectRoot}/tsconfig.server.json`,
|
|
64
|
-
compiler: 'babel',
|
|
65
|
-
externalDependencies: 'all',
|
|
66
|
-
outputHashing: 'none',
|
|
67
|
-
isolatedConfig: true,
|
|
68
|
-
webpackConfig: (0, devkit_1.joinPathFragments)(projectRoot, 'webpack.config.js'),
|
|
69
|
-
},
|
|
70
|
-
configurations: {
|
|
71
|
-
development: {
|
|
72
|
-
optimization: false,
|
|
73
|
-
sourceMap: true,
|
|
74
|
-
},
|
|
75
|
-
production: {
|
|
76
|
-
fileReplacements: [
|
|
77
|
-
{
|
|
78
|
-
replace: `${projectRoot}/src/environments/environment.ts`,
|
|
79
|
-
with: `${projectRoot}/src/environments/environment.prod.ts`,
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
sourceMap: false,
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
}, 'serve-browser': projectConfig.targets.serve, 'serve-server': {
|
|
86
|
-
executor: '@nrwl/js:node',
|
|
87
|
-
defaultConfiguration: 'development',
|
|
88
|
-
options: {
|
|
89
|
-
buildTarget: `${options.project}:server:development`,
|
|
90
|
-
buildTargetOptions: {
|
|
91
|
-
watch: true,
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
configurations: {
|
|
95
|
-
development: {},
|
|
96
|
-
production: {
|
|
97
|
-
buildTarget: `${options.project}:server:production`,
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
}, serve: {
|
|
101
|
-
executor: '@nrwl/webpack:ssr-dev-server',
|
|
102
|
-
defaultConfiguration: 'development',
|
|
103
|
-
options: {
|
|
104
|
-
browserTarget: `${options.project}:build:development`,
|
|
105
|
-
serverTarget: `${options.project}:serve-server:development`,
|
|
106
|
-
port: options.serverPort,
|
|
107
|
-
browserTargetOptions: {
|
|
108
|
-
watch: true,
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
configurations: {
|
|
112
|
-
development: {},
|
|
113
|
-
production: {
|
|
114
|
-
browserTarget: `${options.project}:build:production`,
|
|
115
|
-
serverTarget: `${options.project}:serve-server:production`,
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
|
-
} });
|
|
119
|
-
(0, devkit_1.updateProjectConfiguration)(tree, options.project, projectConfig);
|
|
120
|
-
const nxJson = (0, devkit_1.readNxJson)(tree);
|
|
121
|
-
if (((_d = nxJson.tasksRunnerOptions) === null || _d === void 0 ? void 0 : _d.default) &&
|
|
122
|
-
!nxJson.tasksRunnerOptions.default.options.cacheableOperations.includes('server')) {
|
|
123
|
-
nxJson.tasksRunnerOptions.default.options.cacheableOperations = [
|
|
124
|
-
...nxJson.tasksRunnerOptions.default.options.cacheableOperations,
|
|
125
|
-
'server',
|
|
126
|
-
];
|
|
127
|
-
}
|
|
128
|
-
(0, devkit_1.generateFiles)(tree, (0, devkit_1.joinPathFragments)(__dirname, 'files'), projectRoot, {
|
|
129
|
-
tmpl: '',
|
|
130
|
-
extraInclude: ((_e = options.extraInclude) === null || _e === void 0 ? void 0 : _e.length) > 0
|
|
131
|
-
? `"${options.extraInclude.join('", "')}",`
|
|
132
|
-
: '',
|
|
133
|
-
appComponentImport: appComponentInfo.importPath,
|
|
134
|
-
browserBuildOutputPath: projectConfig.targets.build.options.outputPath,
|
|
135
|
-
});
|
|
136
|
-
// Add <StaticRouter> to server main if needed.
|
|
137
|
-
// TODO: need to read main.server.tsx not main.tsx.
|
|
138
|
-
const appContent = tree.read(appComponentInfo.filePath, 'utf-8');
|
|
139
|
-
const isRouterPresent = appContent.match(/react-router-dom/);
|
|
140
|
-
if (isRouterPresent) {
|
|
141
|
-
const serverEntry = (0, devkit_1.joinPathFragments)(projectRoot, 'src/main.server.tsx');
|
|
142
|
-
const { content, source } = readEntryFile(tree, serverEntry);
|
|
143
|
-
const changes = (0, devkit_1.applyChangesToString)(content, (0, ast_utils_1.addStaticRouter)(serverEntry, source));
|
|
144
|
-
tree.write(serverEntry, changes);
|
|
145
|
-
}
|
|
146
|
-
(0, devkit_1.updateNxJson)(tree, nxJson);
|
|
147
|
-
const installTask = (0, devkit_1.addDependenciesToPackageJson)(tree, {
|
|
148
|
-
express: versions_1.expressVersion,
|
|
149
|
-
isbot: versions_1.isbotVersion,
|
|
150
|
-
cors: versions_1.corsVersion,
|
|
151
|
-
}, {
|
|
152
|
-
'@types/express': versions_1.typesExpressVersion,
|
|
153
|
-
'@types/cors': versions_1.typesCorsVersion,
|
|
154
|
-
});
|
|
155
|
-
yield (0, devkit_1.formatFiles)(tree);
|
|
156
|
-
return installTask;
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
exports.setupSsrGenerator = setupSsrGenerator;
|
|
160
|
-
exports.default = setupSsrGenerator;
|
|
161
|
-
exports.setupSsrSchematic = (0, devkit_1.convertNxGenerator)(setupSsrGenerator);
|
|
162
|
-
//# sourceMappingURL=setup-ssr.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-ssr.js","sourceRoot":"","sources":["../../../../../../packages/react/src/generators/setup-ssr/setup-ssr.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const { join } = require('path');
|
|
2
|
-
|
|
3
|
-
// Note: If you use library-specific PostCSS/Tailwind configuration then you should remove the `postcssConfig` build
|
|
4
|
-
// option from your application's configuration (i.e. project.json).
|
|
5
|
-
//
|
|
6
|
-
// See: https://nx.dev/guides/using-tailwind-css-in-react#step-4:-applying-configuration-to-libraries
|
|
7
|
-
|
|
8
|
-
module.exports = {
|
|
9
|
-
plugins: {
|
|
10
|
-
tailwindcss: {
|
|
11
|
-
config: join(__dirname, 'tailwind.config.js'),
|
|
12
|
-
},
|
|
13
|
-
autoprefixer: {},
|
|
14
|
-
},
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const { createGlobPatternsForDependencies } = require('@nrwl/react/tailwind');
|
|
2
|
-
const { join } = require('path');
|
|
3
|
-
|
|
4
|
-
/** @type {import('tailwindcss').Config} */
|
|
5
|
-
module.exports = {
|
|
6
|
-
content: [
|
|
7
|
-
join(
|
|
8
|
-
__dirname,
|
|
9
|
-
'{src,pages,components}/**/*!(*.stories|*.spec).{ts,tsx,html}'
|
|
10
|
-
),
|
|
11
|
-
...createGlobPatternsForDependencies(__dirname),
|
|
12
|
-
],
|
|
13
|
-
theme: {
|
|
14
|
-
extend: {},
|
|
15
|
-
},
|
|
16
|
-
plugins: [],
|
|
17
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.addTailwindStyleImports = void 0;
|
|
4
|
-
const devkit_1 = require("@nrwl/devkit");
|
|
5
|
-
const knownLocations = [
|
|
6
|
-
// Plain React
|
|
7
|
-
'src/styles.css',
|
|
8
|
-
'src/styles.scss',
|
|
9
|
-
'src/styles.styl',
|
|
10
|
-
'src/styles.less',
|
|
11
|
-
// Next.js
|
|
12
|
-
'pages/styles.css',
|
|
13
|
-
'pages/styles.scss',
|
|
14
|
-
'pages/styles.styl',
|
|
15
|
-
'pages/styles.less',
|
|
16
|
-
];
|
|
17
|
-
function addTailwindStyleImports(tree, project, _options) {
|
|
18
|
-
const candidates = knownLocations.map((x) => (0, devkit_1.joinPathFragments)(project.root, x));
|
|
19
|
-
const stylesPath = candidates.find((x) => tree.exists(x));
|
|
20
|
-
if (stylesPath) {
|
|
21
|
-
const content = tree.read(stylesPath).toString();
|
|
22
|
-
tree.write(stylesPath, `@tailwind base;\n@tailwind components;\n@tailwind utilities;\n${content}`);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
devkit_1.logger.warn((0, devkit_1.stripIndents) `
|
|
26
|
-
Could not find stylesheet to update. Add the following imports to your stylesheet (e.g. styles.css):
|
|
27
|
-
|
|
28
|
-
@tailwind base;
|
|
29
|
-
@tailwind components;
|
|
30
|
-
@tailwind utilities;
|
|
31
|
-
|
|
32
|
-
See our guide for more details: https://nx.dev/guides/using-tailwind-css-in-react`);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.addTailwindStyleImports = addTailwindStyleImports;
|
|
36
|
-
//# sourceMappingURL=add-tailwind-style-imports.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-tailwind-style-imports.js","sourceRoot":"","sources":["../../../../../../../packages/react/src/generators/setup-tailwind/lib/add-tailwind-style-imports.ts"],"names":[],"mappings":";;;AAAA,yCAMsB;AAKtB,MAAM,cAAc,GAAG;IACrB,cAAc;IACd,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IAEjB,UAAU;IACV,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;CACpB,CAAC;AAEF,SAAgB,uBAAuB,CACrC,IAAU,EACV,OAA6B,EAC7B,QAA8B;IAE9B,MAAM,UAAU,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAC1C,IAAA,0BAAiB,EAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CACnC,CAAC;IACF,MAAM,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAE1D,IAAI,UAAU,EAAE;QACd,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE,CAAC;QACjD,IAAI,CAAC,KAAK,CACR,UAAU,EACV,iEAAiE,OAAO,EAAE,CAC3E,CAAC;KACH;SAAM;QACL,eAAM,CAAC,IAAI,CACT,IAAA,qBAAY,EAAA;;;;;;;0FAOwE,CACrF,CAAC;KACH;AACH,CAAC;AA5BD,0DA4BC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateProject = void 0;
|
|
4
|
-
const devkit_1 = require("@nrwl/devkit");
|
|
5
|
-
function updateProject(tree, config, options) {
|
|
6
|
-
var _a, _b, _c;
|
|
7
|
-
var _d;
|
|
8
|
-
if (((_b = (_a = config === null || config === void 0 ? void 0 : config.targets) === null || _a === void 0 ? void 0 : _a.build) === null || _b === void 0 ? void 0 : _b.executor) === '@nrwl/webpack:webpack') {
|
|
9
|
-
(_c = (_d = config.targets.build).options) !== null && _c !== void 0 ? _c : (_d.options = {});
|
|
10
|
-
config.targets.build.options.postcssConfig = (0, devkit_1.joinPathFragments)(config.root, 'postcss.config.js');
|
|
11
|
-
(0, devkit_1.updateProjectConfiguration)(tree, options.project, config);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.updateProject = updateProject;
|
|
15
|
-
//# sourceMappingURL=update-project.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-project.js","sourceRoot":"","sources":["../../../../../../../packages/react/src/generators/setup-tailwind/lib/update-project.ts"],"names":[],"mappings":";;;AACA,yCAA6E;AAI7E,SAAgB,aAAa,CAC3B,IAAU,EACV,MAA4B,EAC5B,OAA6B;;;IAE7B,IAAI,CAAA,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,OAAO,0CAAE,KAAK,0CAAE,QAAQ,MAAK,uBAAuB,EAAE;QAChE,YAAA,MAAM,CAAC,OAAO,CAAC,KAAK,EAAC,OAAO,uCAAP,OAAO,GAAK,EAAE,EAAC;QACpC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,GAAG,IAAA,0BAAiB,EAC5D,MAAM,CAAC,IAAI,EACX,mBAAmB,CACpB,CAAC;QACF,IAAA,mCAA0B,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;KAC3D;AACH,CAAC;AAbD,sCAaC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../../packages/react/src/generators/setup-tailwind/schema.ts"],"names":[],"mappings":""}
|