@nx/node 21.2.0-canary.20250530-b51676a → 21.2.0-canary.20250604-283ec76

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.2.0-canary.20250530-b51676a",
3
+ "version": "21.2.0-canary.20250604-283ec76",
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.2.0-canary.20250530-b51676a",
36
- "@nx/jest": "21.2.0-canary.20250530-b51676a",
37
- "@nx/js": "21.2.0-canary.20250530-b51676a",
38
- "@nx/eslint": "21.2.0-canary.20250530-b51676a",
35
+ "@nx/devkit": "21.2.0-canary.20250604-283ec76",
36
+ "@nx/jest": "21.2.0-canary.20250604-283ec76",
37
+ "@nx/js": "21.2.0-canary.20250604-283ec76",
38
+ "@nx/eslint": "21.2.0-canary.20250604-283ec76",
39
39
  "tcp-port-used": "^1.0.2",
40
40
  "kill-port": "^1.6.1"
41
41
  },
@@ -35,7 +35,9 @@ function getWebpackBuildConfig(project, options) {
35
35
  generatePackageJson: options.isUsingTsSolutionConfig ? undefined : true,
36
36
  },
37
37
  configurations: {
38
- development: {},
38
+ development: {
39
+ outputHashing: 'none',
40
+ },
39
41
  production: {
40
42
  ...(options.docker && { generateLockfile: true }),
41
43
  },
@@ -127,7 +129,7 @@ function addProject(tree, options) {
127
129
  project.targets.build = getEsBuildConfig(project, options);
128
130
  }
129
131
  else if (options.bundler === 'webpack') {
130
- if (!(0, has_webpack_plugin_1.hasWebpackPlugin)(tree)) {
132
+ if (!(0, has_webpack_plugin_1.hasWebpackPlugin)(tree) && options.addPlugin === false) {
131
133
  (0, target_defaults_utils_1.addBuildTargetDefaults)(tree, `@nx/webpack:webpack`);
132
134
  project.targets.build = getWebpackBuildConfig(project, options);
133
135
  }
@@ -165,7 +167,7 @@ function addAppFiles(tree, options) {
165
167
  root: options.appProjectRoot,
166
168
  offset: (0, devkit_1.offsetFromRoot)(options.appProjectRoot),
167
169
  rootTsConfigPath: (0, js_1.getRelativePathToRootTsConfig)(tree, options.appProjectRoot),
168
- webpackPluginOptions: (0, has_webpack_plugin_1.hasWebpackPlugin)(tree)
170
+ webpackPluginOptions: (0, has_webpack_plugin_1.hasWebpackPlugin)(tree) && options.addPlugin !== false
169
171
  ? {
170
172
  outputPath: options.isUsingTsSolutionConfig
171
173
  ? 'dist'