@nx/react 17.2.0 → 17.2.2
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 +6 -6
- package/plugins/webpack.d.ts +1 -3
- package/plugins/webpack.js +3 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react",
|
|
3
|
-
"version": "17.2.
|
|
3
|
+
"version": "17.2.2",
|
|
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": {
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"file-loader": "^6.2.0",
|
|
38
38
|
"minimatch": "3.0.5",
|
|
39
39
|
"tslib": "^2.3.0",
|
|
40
|
-
"@nx/devkit": "17.2.
|
|
41
|
-
"@nx/js": "17.2.
|
|
42
|
-
"@nx/eslint": "17.2.
|
|
43
|
-
"@nx/web": "17.2.
|
|
44
|
-
"@nrwl/react": "17.2.
|
|
40
|
+
"@nx/devkit": "17.2.2",
|
|
41
|
+
"@nx/js": "17.2.2",
|
|
42
|
+
"@nx/eslint": "17.2.2",
|
|
43
|
+
"@nx/web": "17.2.2",
|
|
44
|
+
"@nrwl/react": "17.2.2"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
package/plugins/webpack.d.ts
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
declare const getWebpackConfig: (config: import("webpack").Configuration, context: import("../../../build/packages/webpack").NxWebpackExecutionContext) => import("webpack").Configuration;
|
|
3
|
-
export { getWebpackConfig };
|
|
1
|
+
export {};
|
package/plugins/webpack.js
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
3
|
+
const webpack_1 = require("@nx/webpack");
|
|
4
4
|
const with_react_1 = require("./with-react");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
legacyExport.withReact = with_react_1.withReact;
|
|
8
|
-
/** @deprecated use `import { withReact } from '@nx/react'` */
|
|
9
|
-
// This is here for backward compatibility if anyone imports {getWebpackConfig} directly.
|
|
10
|
-
// TODO(jack): Remove in Nx 16
|
|
11
|
-
const getWebpackConfig = (0, with_react_1.withReact)();
|
|
12
|
-
exports.getWebpackConfig = getWebpackConfig;
|
|
13
|
-
legacyExport.getWebpackConfig = getWebpackConfig;
|
|
14
|
-
module.exports = legacyExport;
|
|
5
|
+
const plugin = (0, webpack_1.composePlugins)((0, webpack_1.withNx)(), (0, with_react_1.withReact)());
|
|
6
|
+
module.exports = plugin;
|