@nx/react 16.4.0 → 16.5.0-beta.0
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.
|
|
3
|
+
"version": "16.5.0-beta.0",
|
|
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.
|
|
35
|
-
"@nx/devkit": "16.
|
|
36
|
-
"@nx/js": "16.
|
|
37
|
-
"@nx/linter": "16.
|
|
38
|
-
"@nx/web": "16.
|
|
34
|
+
"@nrwl/react": "16.5.0-beta.0",
|
|
35
|
+
"@nx/devkit": "16.5.0-beta.0",
|
|
36
|
+
"@nx/js": "16.5.0-beta.0",
|
|
37
|
+
"@nx/linter": "16.5.0-beta.0",
|
|
38
|
+
"@nx/web": "16.5.0-beta.0",
|
|
39
39
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
40
40
|
"@svgr/webpack": "^8.0.1",
|
|
41
41
|
"chalk": "^4.1.0",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"types": "./index.d.ts",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "376d656cfc7f6390ff1cd6d9de348baf7bccbf33"
|
|
50
50
|
}
|
|
@@ -118,8 +118,8 @@ const webpack = (storybookWebpackConfig = {}, options) => tslib_1.__awaiter(void
|
|
|
118
118
|
throw new Error(`'@nx/webpack' package is not installed. Install it and try again.`);
|
|
119
119
|
}
|
|
120
120
|
const { withNx, withWeb } = require('@nx/webpack');
|
|
121
|
-
const tsconfigPath = (0, path_1.join)(options.configDir, 'tsconfig.json');
|
|
122
121
|
const projectData = yield getProjectData(options);
|
|
122
|
+
const tsconfigPath = (0, path_1.join)(projectData.projectRoot, 'tsconfig.storybook.json');
|
|
123
123
|
fixBabelConfigurationIfNeeded(storybookWebpackConfig, projectData);
|
|
124
124
|
const builderOptions = Object.assign(Object.assign({}, options), { root: projectData.workspaceRoot, projectRoot: projectData.projectRoot, sourceRoot: projectData.sourceRoot, fileReplacements: [], sourceMap: true, styles: (_a = options.styles) !== null && _a !== void 0 ? _a : [], optimization: {}, tsConfig: tsconfigPath, extractCss: storybookWebpackConfig.mode === 'production', target: 'web' });
|
|
125
125
|
// ESM build for modern browsers.
|