@nx/rspack 20.2.1 → 20.3.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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rspack",
|
|
3
3
|
"description": "The Nx Plugin for Rspack contains executors and generators that support building applications using Rspack.",
|
|
4
|
-
"version": "20.
|
|
4
|
+
"version": "20.3.0-beta.0",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"generators": "./generators.json",
|
|
25
25
|
"executors": "./executors.json",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nx/js": "20.
|
|
28
|
-
"@nx/devkit": "20.
|
|
29
|
-
"@nx/web": "20.
|
|
30
|
-
"@nx/module-federation": "20.
|
|
27
|
+
"@nx/js": "20.3.0-beta.0",
|
|
28
|
+
"@nx/devkit": "20.3.0-beta.0",
|
|
29
|
+
"@nx/web": "20.3.0-beta.0",
|
|
30
|
+
"@nx/module-federation": "20.3.0-beta.0",
|
|
31
31
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
32
32
|
"@rspack/core": "^1.1.5",
|
|
33
33
|
"@rspack/dev-server": "^1.0.9",
|
|
@@ -12,6 +12,7 @@ const hash_format_1 = require("./hash-format");
|
|
|
12
12
|
const nx_tsconfig_paths_rspack_plugin_1 = require("./plugins/nx-tsconfig-paths-rspack-plugin");
|
|
13
13
|
const get_terser_ecma_version_1 = require("./get-terser-ecma-version");
|
|
14
14
|
const nodeExternals = require("webpack-node-externals");
|
|
15
|
+
const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
|
|
15
16
|
const IGNORED_RSPACK_WARNINGS = [
|
|
16
17
|
/The comment file/i,
|
|
17
18
|
/could not find any license/i,
|
|
@@ -171,7 +172,8 @@ function applyNxDependentConfig(options, config, { useNormalizedEntry } = {}) {
|
|
|
171
172
|
root: options.root,
|
|
172
173
|
};
|
|
173
174
|
plugins.push(new nx_tsconfig_paths_rspack_plugin_1.NxTsconfigPathsRspackPlugin({ ...options, tsConfig }));
|
|
174
|
-
|
|
175
|
+
// New TS Solution already has a typecheck target
|
|
176
|
+
if (!options?.skipTypeChecking && !(0, ts_solution_setup_1.isUsingTsSolutionSetup)()) {
|
|
175
177
|
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
|
176
178
|
plugins.push(new ForkTsCheckerWebpackPlugin({
|
|
177
179
|
typescript: {
|