@nx/react 19.0.0-beta.6 → 19.0.0-beta.8
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/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { NxReactWebpackPlugin as _NxReactWebpackPlugin } from './plugins/nx-react-webpack-plugin/nx-react-webpack-plugin';
|
|
2
|
+
/** @deprecated Use '@nx/react/webpack-plugin' instead. */
|
|
3
|
+
export declare const NxReactWebpackPlugin: typeof _NxReactWebpackPlugin;
|
|
1
4
|
export { extraEslintDependencies, extendReactEslintJson, } from './src/utils/lint';
|
|
2
5
|
export { cssInJsDependenciesBabel } from './src/utils/styled';
|
|
3
6
|
export { assertValidStyle } from './src/utils/assertion';
|
|
@@ -19,4 +22,3 @@ export { componentTestGenerator } from './src/generators/component-test/componen
|
|
|
19
22
|
export { setupTailwindGenerator } from './src/generators/setup-tailwind/setup-tailwind';
|
|
20
23
|
export type { SupportedStyles } from './typings/style';
|
|
21
24
|
export * from './plugins/with-react';
|
|
22
|
-
export { NxReactWebpackPlugin } from './plugins/nx-react-webpack-plugin/nx-react-webpack-plugin';
|
package/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.setupTailwindGenerator = exports.componentTestGenerator = exports.cypressComponentConfigGenerator = exports.remoteGenerator = exports.hostGenerator = exports.storybookConfigurationGenerator = exports.storiesGenerator = exports.reduxGenerator = exports.reactInitGenerator = exports.libraryGenerator = exports.componentStoryGenerator = exports.componentCypressGenerator = exports.hookGenerator = exports.componentGenerator = exports.applicationGenerator = exports.reactVersion = exports.reactDomVersion = exports.assertValidStyle = exports.cssInJsDependenciesBabel = exports.extendReactEslintJson = exports.extraEslintDependencies = exports.NxReactWebpackPlugin = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const nx_react_webpack_plugin_1 = require("./plugins/nx-react-webpack-plugin/nx-react-webpack-plugin");
|
|
6
|
+
// TODO(v20): Remove this in favor of deep imports in order to load configs faster (150-200ms faster).
|
|
7
|
+
/** @deprecated Use '@nx/react/webpack-plugin' instead. */
|
|
8
|
+
exports.NxReactWebpackPlugin = nx_react_webpack_plugin_1.NxReactWebpackPlugin;
|
|
5
9
|
var lint_1 = require("./src/utils/lint");
|
|
6
10
|
Object.defineProperty(exports, "extraEslintDependencies", { enumerable: true, get: function () { return lint_1.extraEslintDependencies; } });
|
|
7
11
|
Object.defineProperty(exports, "extendReactEslintJson", { enumerable: true, get: function () { return lint_1.extendReactEslintJson; } });
|
|
@@ -43,5 +47,3 @@ Object.defineProperty(exports, "componentTestGenerator", { enumerable: true, get
|
|
|
43
47
|
var setup_tailwind_1 = require("./src/generators/setup-tailwind/setup-tailwind");
|
|
44
48
|
Object.defineProperty(exports, "setupTailwindGenerator", { enumerable: true, get: function () { return setup_tailwind_1.setupTailwindGenerator; } });
|
|
45
49
|
tslib_1.__exportStar(require("./plugins/with-react"), exports);
|
|
46
|
-
var nx_react_webpack_plugin_1 = require("./plugins/nx-react-webpack-plugin/nx-react-webpack-plugin");
|
|
47
|
-
Object.defineProperty(exports, "NxReactWebpackPlugin", { enumerable: true, get: function () { return nx_react_webpack_plugin_1.NxReactWebpackPlugin; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react",
|
|
3
|
-
"version": "19.0.0-beta.
|
|
3
|
+
"version": "19.0.0-beta.8",
|
|
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": {
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"file-loader": "^6.2.0",
|
|
38
38
|
"minimatch": "9.0.3",
|
|
39
39
|
"tslib": "^2.3.0",
|
|
40
|
-
"@nx/devkit": "19.0.0-beta.
|
|
41
|
-
"@nx/js": "19.0.0-beta.
|
|
42
|
-
"@nx/eslint": "19.0.0-beta.
|
|
43
|
-
"@nx/web": "19.0.0-beta.
|
|
44
|
-
"@nrwl/react": "19.0.0-beta.
|
|
40
|
+
"@nx/devkit": "19.0.0-beta.8",
|
|
41
|
+
"@nx/js": "19.0.0-beta.8",
|
|
42
|
+
"@nx/eslint": "19.0.0-beta.8",
|
|
43
|
+
"@nx/web": "19.0.0-beta.8",
|
|
44
|
+
"@nrwl/react": "19.0.0-beta.8"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<% if (webpackPluginOptions) { %>
|
|
2
|
-
const {
|
|
3
|
-
const { NxReactWebpackPlugin } = require('@nx/react');
|
|
2
|
+
const { NxAppWebpackPlugin } = require('@nx/webpack/app-plugin');
|
|
3
|
+
const { NxReactWebpackPlugin } = require('@nx/react/webpack-plugin');
|
|
4
4
|
const { join } = require('path');
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -11,7 +11,7 @@ module.exports = {
|
|
|
11
11
|
port: 4200
|
|
12
12
|
},
|
|
13
13
|
plugins: [
|
|
14
|
-
new
|
|
14
|
+
new NxAppWebpackPlugin({
|
|
15
15
|
tsConfig: '<%= webpackPluginOptions.tsConfig %>',
|
|
16
16
|
compiler: '<%= webpackPluginOptions.compiler %>',
|
|
17
17
|
main: '<%= webpackPluginOptions.main %>',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NxReactWebpackPlugin } from './plugins/nx-react-webpack-plugin/nx-react-webpack-plugin';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NxReactWebpackPlugin = void 0;
|
|
4
|
+
var nx_react_webpack_plugin_1 = require("./plugins/nx-react-webpack-plugin/nx-react-webpack-plugin");
|
|
5
|
+
Object.defineProperty(exports, "NxReactWebpackPlugin", { enumerable: true, get: function () { return nx_react_webpack_plugin_1.NxReactWebpackPlugin; } });
|