@nx/devkit 20.0.0-beta.1 → 20.0.0-beta.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/devkit",
3
- "version": "20.0.0-beta.1",
3
+ "version": "20.0.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
  "semver": "^7.5.3",
36
36
  "yargs-parser": "21.1.1",
37
37
  "minimatch": "9.0.3",
38
- "@nrwl/devkit": "20.0.0-beta.1"
38
+ "@nrwl/devkit": "20.0.0-beta.3"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "nx": ">= 17 <= 20"
@@ -27,6 +27,7 @@ function installPackagesTask(tree, alwaysRun = false, cwd = '', packageManager =
27
27
  const execSyncOptions = {
28
28
  cwd: (0, path_1.join)(tree.root, cwd),
29
29
  stdio: process.env.NX_GENERATE_QUIET === 'true' ? 'ignore' : 'inherit',
30
+ windowsHide: true,
30
31
  };
31
32
  // ensure local registry from process is not interfering with the install
32
33
  // when we start the process from temp folder the local registry would override the custom registry
@@ -305,6 +305,7 @@ function ensurePackage(pkgOrTree, requiredVersionOrPackage, maybeRequiredVersion
305
305
  (0, child_process_1.execSync)(preInstallCommand, {
306
306
  cwd: tempDir,
307
307
  stdio: isVerbose ? 'inherit' : 'ignore',
308
+ windowsHide: true,
308
309
  });
309
310
  }
310
311
  let addCommand = (0, devkit_exports_1.getPackageManagerCommand)(packageManager).addDev;
@@ -314,6 +315,7 @@ function ensurePackage(pkgOrTree, requiredVersionOrPackage, maybeRequiredVersion
314
315
  (0, child_process_1.execSync)(`${addCommand} ${pkg}@${requiredVersion}`, {
315
316
  cwd: tempDir,
316
317
  stdio: isVerbose ? 'inherit' : 'ignore',
318
+ windowsHide: true,
317
319
  });
318
320
  addToNodePath((0, path_1.join)(devkit_exports_1.workspaceRoot, 'node_modules'));
319
321
  addToNodePath((0, path_1.join)(tempDir, 'node_modules'));