@nx/react 16.8.1 → 16.9.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/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
9
9
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
10
10
  [![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11
- [![Join us @nx/community on slack](https://img.shields.io/badge/slack-%40nrwl%2Fcommunity-brightgreen)](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzU5MTE4OTQwOTk0LTgxY2E0ZWYzMWE0YzA5ZDA2MWM1NDVhNmI2ZWMyYmZhNWJiODk3MjkxZjY3MzU5ZjRmM2NmNWU1OTgyZmE4Mzc)
11
+ [![Join us on the Official Nx Discord Server](https://simpleicons.org/icons/discord.svg)](https://go.nx.dev/community)
12
12
 
13
13
  </div>
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "16.8.1",
3
+ "version": "16.9.0-beta.1",
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.8.1",
35
- "@nx/devkit": "16.8.1",
36
- "@nx/js": "16.8.1",
37
- "@nx/linter": "16.8.1",
38
- "@nx/web": "16.8.1",
34
+ "@nrwl/react": "16.9.0-beta.1",
35
+ "@nx/devkit": "16.9.0-beta.1",
36
+ "@nx/js": "16.9.0-beta.1",
37
+ "@nx/linter": "16.9.0-beta.1",
38
+ "@nx/web": "16.9.0-beta.1",
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
  "type": "commonjs",
50
- "gitHead": "29a7b8575e683d3a581b4bf6f82ee4486bfa94dd"
50
+ "gitHead": "5056d6cefb2949ba865019e8b71e633fba28c091"
51
51
  }
@@ -1,7 +1,7 @@
1
1
  // @ts-check
2
2
 
3
3
  /**
4
- * @type {import('@nx/devkit').ModuleFederationConfig}
4
+ * @type {import('@nx/webpack').ModuleFederationConfig}
5
5
  **/
6
6
  const moduleFederationConfig = {
7
7
  name: '<%= projectName %>',
@@ -1,12 +1,12 @@
1
- import { ModuleFederationConfig } from '@nx/devkit/src/utils/module-federation';
1
+ import { ModuleFederationConfig } from '@nx/webpack/src/utils/module-federation';
2
2
  export declare function getFunctionDeterminateRemoteUrl(isServer?: boolean): (remote: string) => string;
3
3
  export declare function getModuleFederationConfig(mfConfig: ModuleFederationConfig, options?: {
4
4
  isServer: boolean;
5
5
  determineRemoteUrl?: (remote: string) => string;
6
6
  }): Promise<{
7
- sharedLibraries: import("@nx/devkit").SharedWorkspaceLibraryConfig;
7
+ sharedLibraries: import("@nx/webpack/src/utils/module-federation").SharedWorkspaceLibraryConfig;
8
8
  sharedDependencies: {
9
- [x: string]: import("@nx/devkit").SharedLibraryConfig;
9
+ [x: string]: import("@nx/webpack/src/utils/module-federation").SharedLibraryConfig;
10
10
  };
11
11
  mappedRemotes: Record<string, string>;
12
12
  }>;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getModuleFederationConfig = exports.getFunctionDeterminateRemoteUrl = void 0;
4
- const module_federation_1 = require("@nx/devkit/src/utils/module-federation");
4
+ const module_federation_1 = require("@nx/webpack/src/utils/module-federation");
5
5
  const devkit_1 = require("@nx/devkit");
6
6
  const project_graph_1 = require("nx/src/project-graph/project-graph");
7
7
  function getFunctionDeterminateRemoteUrl(isServer = false) {
@@ -1,2 +1,2 @@
1
- import { ModuleFederationConfig } from '@nx/devkit/src/utils/module-federation';
1
+ import { ModuleFederationConfig } from '@nx/webpack/src/utils/module-federation';
2
2
  export declare function withModuleFederationForSSR(options: ModuleFederationConfig): Promise<(config: any) => any>;
@@ -1,4 +1,4 @@
1
- import { ModuleFederationConfig } from '@nx/devkit/src/utils/module-federation';
1
+ import { ModuleFederationConfig } from '@nx/webpack/src/utils/module-federation';
2
2
  import type { AsyncNxWebpackPlugin } from '@nx/webpack';
3
3
  /**
4
4
  * @param {ModuleFederationConfig} options