@nx/node 21.3.0-canary.20250627-07233f0 → 21.3.0-canary.20250701-bfdf892
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/node",
|
3
|
-
"version": "21.3.0-canary.
|
3
|
+
"version": "21.3.0-canary.20250701-bfdf892",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Node Plugin for Nx contains generators to manage Node applications within an Nx workspace.",
|
6
6
|
"repository": {
|
@@ -32,10 +32,10 @@
|
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
34
|
"tslib": "^2.3.0",
|
35
|
-
"@nx/devkit": "21.3.0-canary.
|
36
|
-
"@nx/jest": "21.3.0-canary.
|
37
|
-
"@nx/js": "21.3.0-canary.
|
38
|
-
"@nx/eslint": "21.3.0-canary.
|
35
|
+
"@nx/devkit": "21.3.0-canary.20250701-bfdf892",
|
36
|
+
"@nx/jest": "21.3.0-canary.20250701-bfdf892",
|
37
|
+
"@nx/js": "21.3.0-canary.20250701-bfdf892",
|
38
|
+
"@nx/eslint": "21.3.0-canary.20250701-bfdf892",
|
39
39
|
"tcp-port-used": "^1.0.2",
|
40
40
|
"kill-port": "^1.6.1"
|
41
41
|
},
|
@@ -93,11 +93,11 @@ function getNestWebpackBuildConfig() {
|
|
93
93
|
executor: 'nx:run-commands',
|
94
94
|
options: {
|
95
95
|
command: 'webpack-cli build',
|
96
|
-
args: ['node-env=production'],
|
96
|
+
args: ['--node-env=production'],
|
97
97
|
},
|
98
98
|
configurations: {
|
99
99
|
development: {
|
100
|
-
args: ['node-env=development'],
|
100
|
+
args: ['--node-env=development'],
|
101
101
|
},
|
102
102
|
},
|
103
103
|
};
|
@@ -19,15 +19,16 @@ async function normalizeOptions(host, options) {
|
|
19
19
|
? options.tags.split(',').map((s) => s.trim())
|
20
20
|
: [];
|
21
21
|
const nxJson = (0, devkit_1.readNxJson)(host);
|
22
|
-
const addPlugin =
|
23
|
-
|
22
|
+
const addPlugin = options.addPlugin ??
|
23
|
+
(process.env.NX_ADD_PLUGINS !== 'false' &&
|
24
|
+
nxJson.useInferencePlugins !== false);
|
24
25
|
const isUsingTsSolutionConfig = (0, ts_solution_setup_1.isUsingTsSolutionSetup)(host);
|
25
26
|
const swcJest = options.swcJest ?? isUsingTsSolutionConfig;
|
26
27
|
const appProjectName = !isUsingTsSolutionConfig || options.name ? projectName : importPath;
|
27
28
|
const useProjectJson = options.useProjectJson ?? !isUsingTsSolutionConfig;
|
28
29
|
return {
|
29
|
-
addPlugin,
|
30
30
|
...options,
|
31
|
+
addPlugin,
|
31
32
|
name: appProjectName,
|
32
33
|
frontendProject: options.frontendProject
|
33
34
|
? (0, devkit_1.names)(options.frontendProject).fileName
|