@nx/react 16.6.0-beta.5 → 16.6.0-beta.6

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": "16.6.0-beta.5",
3
+ "version": "16.6.0-beta.6",
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, 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": {
@@ -31,11 +31,11 @@
31
31
  "migrations": "./migrations.json"
32
32
  },
33
33
  "dependencies": {
34
- "@nrwl/react": "16.6.0-beta.5",
35
- "@nx/devkit": "16.6.0-beta.5",
36
- "@nx/js": "16.6.0-beta.5",
37
- "@nx/linter": "16.6.0-beta.5",
38
- "@nx/web": "16.6.0-beta.5",
34
+ "@nrwl/react": "16.6.0-beta.6",
35
+ "@nx/devkit": "16.6.0-beta.6",
36
+ "@nx/js": "16.6.0-beta.6",
37
+ "@nx/linter": "16.6.0-beta.6",
38
+ "@nx/web": "16.6.0-beta.6",
39
39
  "@phenomnomnominal/tsquery": "~5.0.1",
40
40
  "@svgr/webpack": "^8.0.1",
41
41
  "chalk": "^4.1.0",
@@ -47,5 +47,5 @@
47
47
  "access": "public"
48
48
  },
49
49
  "types": "./index.d.ts",
50
- "gitHead": "aab868aa0c30949832fe2c4b9cb109c204442e39"
50
+ "gitHead": "9aad21dbfb2b659e488b6626f59df58ab23c0032"
51
51
  }
@@ -122,6 +122,7 @@ function moduleFederationDevServer(options, context) {
122
122
  (0, wait_for_port_open_1.waitForPortOpen)(port, {
123
123
  retries: 480,
124
124
  retryDelay: 2500,
125
+ host: 'localhost',
125
126
  })));
126
127
  isCollectingStaticRemoteOutput = false;
127
128
  devkit_1.logger.info(`NX All remotes started, server ready at http://localhost:${options.port}`);
@@ -58,7 +58,8 @@ function moduleFederationSsrDevServer(options, context) {
58
58
  : (0, async_iterable_1.mapAsyncIterable)((0, async_iterable_1.createAsyncIterable)(({ next, done }) => tslib_1.__awaiter(this, void 0, void 0, function* () {
59
59
  const remoteProject = context.projectsConfigurations.projects[appName];
60
60
  const remoteServerOutput = (0, path_1.join)(devkit_1.workspaceRoot, remoteProject.targets.server.options.outputPath, 'main.js');
61
- (0, child_process_1.execSync)(`npx nx run ${appName}:server${context.configurationName ? `:${context.configurationName}` : ''}`, { stdio: 'inherit' });
61
+ const pm = (0, devkit_1.getPackageManagerCommand)();
62
+ (0, child_process_1.execSync)(`${pm.exec} nx run ${appName}:server${context.configurationName ? `:${context.configurationName}` : ''}`, { stdio: 'inherit' });
62
63
  const child = (0, child_process_1.fork)(remoteServerOutput, {
63
64
  env: {
64
65
  PORT: remoteProject.targets['serve-browser'].options.port,