@nx/react 19.6.0-canary.20240808-333ab77 → 19.6.0-canary.20240813-c72ba9b

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "19.6.0-canary.20240808-333ab77",
3
+ "version": "19.6.0-canary.20240813-c72ba9b",
4
4
  "private": false,
5
5
  "description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -39,11 +39,11 @@
39
39
  "minimatch": "9.0.3",
40
40
  "tslib": "^2.3.0",
41
41
  "@module-federation/enhanced": "~0.2.3",
42
- "@nx/devkit": "19.6.0-canary.20240808-333ab77",
43
- "@nx/js": "19.6.0-canary.20240808-333ab77",
44
- "@nx/eslint": "19.6.0-canary.20240808-333ab77",
45
- "@nx/web": "19.6.0-canary.20240808-333ab77",
46
- "@nrwl/react": "19.6.0-canary.20240808-333ab77"
42
+ "@nx/devkit": "19.6.0-canary.20240813-c72ba9b",
43
+ "@nx/js": "19.6.0-canary.20240813-c72ba9b",
44
+ "@nx/eslint": "19.6.0-canary.20240813-c72ba9b",
45
+ "@nx/web": "19.6.0-canary.20240813-c72ba9b",
46
+ "@nrwl/react": "19.6.0-canary.20240813-c72ba9b"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -195,7 +195,12 @@ async function* moduleFederationDevServer(options, context) {
195
195
  const mappedLocationsOfStaticRemotes = await buildStaticRemotes(staticRemotesConfig, nxBin, context, options);
196
196
  const devRemoteIters = await startRemotes(remotes.devRemotes, context, options, 'serve');
197
197
  const staticRemotesIter = startStaticRemotesFileServer(staticRemotesConfig, context, options);
198
- (0, start_remote_proxies_1.startRemoteProxies)(staticRemotesConfig, mappedLocationsOfStaticRemotes);
198
+ (0, start_remote_proxies_1.startRemoteProxies)(staticRemotesConfig, mappedLocationsOfStaticRemotes, options.ssl
199
+ ? {
200
+ pathToCert: (0, node_path_1.join)(devkit_1.workspaceRoot, options.sslCert),
201
+ pathToKey: (0, node_path_1.join)(devkit_1.workspaceRoot, options.sslKey),
202
+ }
203
+ : undefined);
199
204
  return yield* (0, async_iterable_1.combineAsyncIterables)(currIter, ...devRemoteIters, ...(staticRemotesIter ? [staticRemotesIter] : []), (0, async_iterable_1.createAsyncIterable)(async ({ next, done }) => {
200
205
  if (!options.isInitialHost) {
201
206
  done();
@@ -105,7 +105,7 @@ async function applicationGeneratorInternal(host, schema) {
105
105
  if (!options.rootProject) {
106
106
  (0, create_ts_config_1.extractTsConfigBase)(host);
107
107
  }
108
- (0, create_application_files_1.createApplicationFiles)(host, options);
108
+ await (0, create_application_files_1.createApplicationFiles)(host, options);
109
109
  (0, add_project_1.addProject)(host, options);
110
110
  if (options.style === 'tailwind') {
111
111
  const twTask = await (0, setup_tailwind_1.setupTailwindGenerator)(host, {