@nx/rspack 20.0.0-beta.7 → 20.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/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.0.0-beta.
|
|
4
|
+
"version": "20.0.0-beta.8",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"generators": "./generators.json",
|
|
25
25
|
"executors": "./executors.json",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nx/js": "20.0.0-beta.
|
|
28
|
-
"@nx/devkit": "20.0.0-beta.
|
|
29
|
-
"@nx/eslint": "20.0.0-beta.
|
|
27
|
+
"@nx/js": "20.0.0-beta.8",
|
|
28
|
+
"@nx/devkit": "20.0.0-beta.8",
|
|
29
|
+
"@nx/eslint": "20.0.0-beta.8",
|
|
30
30
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
31
31
|
"less-loader": "11.1.0",
|
|
32
32
|
"license-webpack-plugin": "^4.0.2",
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.readRspackOptions = readRspackOptions;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const config_1 = require("./config");
|
|
6
|
+
const devkit_internals_1 = require("nx/src/devkit-internals");
|
|
6
7
|
/**
|
|
7
8
|
* Reads the Rspack options from a give Rspack configuration. The configuration can be:
|
|
8
9
|
* 1. A standard config object
|
|
@@ -22,7 +23,14 @@ async function readRspackOptions(rspackConfig) {
|
|
|
22
23
|
projectRoot: '',
|
|
23
24
|
sourceRoot: '',
|
|
24
25
|
},
|
|
25
|
-
context: {
|
|
26
|
+
context: {
|
|
27
|
+
root: devkit_1.workspaceRoot,
|
|
28
|
+
cwd: undefined,
|
|
29
|
+
isVerbose: false,
|
|
30
|
+
nxJsonConfiguration: (0, devkit_internals_1.readNxJsonFromDisk)(devkit_1.workspaceRoot),
|
|
31
|
+
projectGraph: null,
|
|
32
|
+
projectsConfigurations: null,
|
|
33
|
+
},
|
|
26
34
|
});
|
|
27
35
|
}
|
|
28
36
|
else if (typeof rspackConfig === 'function') {
|