@nx/node 21.3.0-beta.5 → 21.3.0-beta.7

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-beta.5",
3
+ "version": "21.3.0-beta.7",
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-beta.5",
36
- "@nx/jest": "21.3.0-beta.5",
37
- "@nx/js": "21.3.0-beta.5",
38
- "@nx/eslint": "21.3.0-beta.5",
35
+ "@nx/devkit": "21.3.0-beta.7",
36
+ "@nx/jest": "21.3.0-beta.7",
37
+ "@nx/js": "21.3.0-beta.7",
38
+ "@nx/eslint": "21.3.0-beta.7",
39
39
  "tcp-port-used": "^1.0.2",
40
40
  "kill-port": "^1.6.1"
41
41
  },
@@ -131,7 +131,11 @@ async function applicationGeneratorInternal(tree, schema) {
131
131
  const projectConfig = (0, devkit_1.readProjectConfiguration)(tree, options.name);
132
132
  projectConfig.targets ??= {};
133
133
  projectConfig.targets.test = {
134
- options: { passWithNoTests: true },
134
+ ...projectConfig.targets.test,
135
+ options: {
136
+ ...projectConfig.targets.test?.options,
137
+ passWithNoTests: true,
138
+ },
135
139
  };
136
140
  (0, devkit_1.updateProjectConfiguration)(tree, options.name, projectConfig);
137
141
  }