@nx/devkit 18.1.0-beta.2 → 18.1.0-beta.3

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/devkit",
3
- "version": "18.1.0-beta.2",
3
+ "version": "18.1.0-beta.3",
4
4
  "private": false,
5
5
  "description": "The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by leveraging the Nx Devkit](https://nx.dev/extending-nx/intro/getting-started) on our docs.",
6
6
  "repository": {
@@ -35,7 +35,7 @@
35
35
  "tslib": "^2.3.0",
36
36
  "semver": "^7.5.3",
37
37
  "yargs-parser": "21.1.1",
38
- "@nrwl/devkit": "18.1.0-beta.2"
38
+ "@nrwl/devkit": "18.1.0-beta.3"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "nx": ">= 16 <= 18"
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.convertNxExecutor = void 0;
4
4
  const nx_1 = require("../../nx");
5
- const { Workspaces, readNxJsonFromDisk, retrieveProjectConfigurationsWithAngularProjects, } = (0, nx_1.requireNx)();
5
+ const { Workspaces, readNxJsonFromDisk, retrieveProjectConfigurationsWithAngularProjects, shutdownPluginWorkers, } = (0, nx_1.requireNx)();
6
6
  /**
7
7
  * Convert an Nx Executor into an Angular Devkit Builder
8
8
  *
@@ -26,6 +26,7 @@ function convertNxExecutor(executor) {
26
26
  workspaces.readProjectsConfigurations({
27
27
  _includeProjectsFromAngularJson: true,
28
28
  });
29
+ shutdownPluginWorkers?.();
29
30
  const context = {
30
31
  root: builderContext.workspaceRoot,
31
32
  projectName: builderContext.target.project,
@@ -289,7 +289,7 @@ function ensurePackage(pkgOrTree, requiredVersionOrPackage, maybeRequiredVersion
289
289
  }
290
290
  }
291
291
  if (process.env.NX_DRY_RUN && process.env.NX_DRY_RUN !== 'false') {
292
- throw new Error('NOTE: This generator does not support --dry-run. If you are running this in Nx Console, it should execute fine once you hit the "Run" button.\n');
292
+ throw new Error('NOTE: This generator does not support --dry-run. If you are running this in Nx Console, it should execute fine once you hit the "Generate" button.\n');
293
293
  }
294
294
  const { dir: tempDir } = createTempNpmDirectory?.() ?? {
295
295
  dir: (0, tmp_1.dirSync)().name,