@nx/node 20.5.0 → 20.5.1

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": "20.5.0",
3
+ "version": "20.5.1",
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": "20.5.0",
36
- "@nx/jest": "20.5.0",
37
- "@nx/js": "20.5.0",
38
- "@nx/eslint": "20.5.0"
35
+ "@nx/devkit": "20.5.1",
36
+ "@nx/jest": "20.5.1",
37
+ "@nx/js": "20.5.1",
38
+ "@nx/eslint": "20.5.1"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
@@ -374,7 +374,7 @@ async function applicationGeneratorInternal(tree, schema) {
374
374
  // If we are using the new TS solution
375
375
  // We need to update the workspace file (package.json or pnpm-workspaces.yaml) to include the new project
376
376
  if (options.isUsingTsSolutionConfig) {
377
- (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.appProjectRoot);
377
+ await (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.appProjectRoot);
378
378
  }
379
379
  updateTsConfigOptions(tree, options);
380
380
  if (options.linter === eslint_1.Linter.EsLint) {
@@ -191,7 +191,7 @@ async function e2eProjectGeneratorInternal(host, _options) {
191
191
  // If we are using the new TS solution
192
192
  // We need to update the workspace file (package.json or pnpm-workspaces.yaml) to include the new project
193
193
  if (isUsingTsSolutionConfig) {
194
- (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(host, options.e2eProjectRoot);
194
+ await (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(host, options.e2eProjectRoot);
195
195
  }
196
196
  if (!options.skipFormat) {
197
197
  await (0, devkit_1.formatFiles)(host);
@@ -24,7 +24,7 @@ async function libraryGeneratorInternal(tree, schema) {
24
24
  // If we are using the new TS solution
25
25
  // We need to update the workspace file (package.json or pnpm-workspaces.yaml) to include the new project
26
26
  if (options.isUsingTsSolutionConfig) {
27
- (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
27
+ await (0, ts_solution_setup_1.addProjectToTsSolutionWorkspace)(tree, options.projectRoot);
28
28
  }
29
29
  const tasks = [];
30
30
  if (options.publishable === true && !schema.importPath) {