nx 20.0.1 → 20.0.2

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.
Files changed (46) hide show
  1. package/bin/nx.js +2 -2
  2. package/package.json +11 -11
  3. package/schemas/nx-schema.json +4 -0
  4. package/src/command-line/activate-powerpack/activate-powerpack.js +1 -1
  5. package/src/command-line/add/add.js +1 -1
  6. package/src/command-line/connect/view-logs.js +1 -1
  7. package/src/command-line/exec/exec.js +3 -3
  8. package/src/command-line/format/format.js +3 -3
  9. package/src/command-line/graph/graph.js +1 -1
  10. package/src/command-line/init/implementation/angular/integrated-workspace.js +1 -1
  11. package/src/command-line/init/implementation/angular/legacy-angular-versions.js +2 -2
  12. package/src/command-line/init/implementation/dot-nx/add-nx-scripts.js +1 -1
  13. package/src/command-line/init/implementation/dot-nx/nxw.js +1 -1
  14. package/src/command-line/init/implementation/react/check-for-uncommitted-changes.js +1 -1
  15. package/src/command-line/init/implementation/react/index.js +6 -6
  16. package/src/command-line/init/implementation/utils.js +9 -5
  17. package/src/command-line/init/init-v1.js +1 -1
  18. package/src/command-line/init/init-v2.js +1 -1
  19. package/src/command-line/migrate/command-object.js +4 -4
  20. package/src/command-line/migrate/migrate.js +1 -1
  21. package/src/command-line/release/config/version-plans.js +1 -1
  22. package/src/command-line/release/plan.js +1 -1
  23. package/src/command-line/release/utils/exec-command.js +1 -1
  24. package/src/command-line/release/utils/github.js +1 -1
  25. package/src/command-line/release/utils/launch-editor.js +2 -2
  26. package/src/command-line/release/version.js +1 -1
  27. package/src/command-line/run/run.js +1 -1
  28. package/src/command-line/watch/watch.js +1 -1
  29. package/src/config/nx-json.d.ts +1 -1
  30. package/src/core/graph/main.js +1 -1
  31. package/src/daemon/client/client.js +1 -1
  32. package/src/daemon/client/generate-help-output.js +1 -1
  33. package/src/executors/run-commands/run-commands.impl.js +1 -1
  34. package/src/executors/run-script/run-script.impl.js +1 -1
  35. package/src/native/nx.wasm32-wasi.wasm +0 -0
  36. package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +1 -1
  37. package/src/plugins/js/index.js +2 -2
  38. package/src/project-graph/file-utils.js +1 -1
  39. package/src/tasks-runner/cache.js +1 -1
  40. package/src/utils/ab-testing.js +1 -1
  41. package/src/utils/command-line-utils.js +3 -3
  42. package/src/utils/default-base.js +1 -1
  43. package/src/utils/git-utils.index-filter.js +2 -2
  44. package/src/utils/git-utils.js +4 -4
  45. package/src/utils/git-utils.tree-filter.js +1 -1
  46. package/src/utils/nx-cloud-utils.js +1 -4
package/bin/nx.js CHANGED
@@ -191,7 +191,7 @@ function getLocalNxVersion(workspace) {
191
191
  function _getLatestVersionOfNx() {
192
192
  try {
193
193
  return (0, child_process_1.execSync)('npm view nx@latest version', {
194
- windowsHide: true,
194
+ windowsHide: false,
195
195
  })
196
196
  .toString()
197
197
  .trim();
@@ -199,7 +199,7 @@ function _getLatestVersionOfNx() {
199
199
  catch {
200
200
  try {
201
201
  return (0, child_process_1.execSync)('pnpm view nx@latest version', {
202
- windowsHide: true,
202
+ windowsHide: false,
203
203
  })
204
204
  .toString()
205
205
  .trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "20.0.1",
3
+ "version": "20.0.2",
4
4
  "private": false,
5
5
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
6
6
  "repository": {
@@ -80,16 +80,16 @@
80
80
  }
81
81
  },
82
82
  "optionalDependencies": {
83
- "@nx/nx-darwin-x64": "20.0.1",
84
- "@nx/nx-darwin-arm64": "20.0.1",
85
- "@nx/nx-linux-x64-gnu": "20.0.1",
86
- "@nx/nx-linux-x64-musl": "20.0.1",
87
- "@nx/nx-win32-x64-msvc": "20.0.1",
88
- "@nx/nx-linux-arm64-gnu": "20.0.1",
89
- "@nx/nx-linux-arm64-musl": "20.0.1",
90
- "@nx/nx-linux-arm-gnueabihf": "20.0.1",
91
- "@nx/nx-win32-arm64-msvc": "20.0.1",
92
- "@nx/nx-freebsd-x64": "20.0.1"
83
+ "@nx/nx-darwin-x64": "20.0.2",
84
+ "@nx/nx-darwin-arm64": "20.0.2",
85
+ "@nx/nx-linux-x64-gnu": "20.0.2",
86
+ "@nx/nx-linux-x64-musl": "20.0.2",
87
+ "@nx/nx-win32-x64-msvc": "20.0.2",
88
+ "@nx/nx-linux-arm64-gnu": "20.0.2",
89
+ "@nx/nx-linux-arm64-musl": "20.0.2",
90
+ "@nx/nx-linux-arm-gnueabihf": "20.0.2",
91
+ "@nx/nx-win32-arm64-msvc": "20.0.2",
92
+ "@nx/nx-freebsd-x64": "20.0.2"
93
93
  },
94
94
  "nx-migrations": {
95
95
  "migrations": "./migrations.json",
@@ -89,6 +89,10 @@
89
89
  "type": "string",
90
90
  "description": "Specifies the encryption key used to encrypt artifacts data before sending it to nx cloud."
91
91
  },
92
+ "neverConnectToCloud": {
93
+ "type": "boolean",
94
+ "description": "Set this to true to disable all connections to Nx Cloud."
95
+ },
92
96
  "parallel": {
93
97
  "type": "number",
94
98
  "description": "Specifies how many tasks are ran in parallel by Nx for the default tasks runner."
@@ -21,7 +21,7 @@ async function requirePowerpack() {
21
21
  if ('code' in e && e.code === 'MODULE_NOT_FOUND') {
22
22
  try {
23
23
  (0, child_process_1.execSync)(`${(0, package_manager_1.getPackageManagerCommand)().addDev} @nx/powerpack-license@latest`, {
24
- windowsHide: true,
24
+ windowsHide: false,
25
25
  });
26
26
  // @ts-ignore
27
27
  return await Promise.resolve().then(() => require('@nx/powerpack-license'));
@@ -35,7 +35,7 @@ async function installPackage(pkgName, version, nxJson) {
35
35
  if ((0, fs_1.existsSync)('package.json')) {
36
36
  const pmc = (0, package_manager_1.getPackageManagerCommand)();
37
37
  await new Promise((resolve) => (0, child_process_1.exec)(`${pmc.addDev} ${pkgName}@${version}`, {
38
- windowsHide: true,
38
+ windowsHide: false,
39
39
  }, (error, stdout) => {
40
40
  if (error) {
41
41
  spinner.fail();
@@ -43,7 +43,7 @@ async function viewLogs() {
43
43
  const pmc = (0, package_manager_1.getPackageManagerCommand)();
44
44
  (0, child_process_1.execSync)(`${pmc.exec} nx-cloud upload-and-show-run-details`, {
45
45
  stdio: [0, 1, 2],
46
- windowsHide: true,
46
+ windowsHide: false,
47
47
  });
48
48
  if (!cloudUsed) {
49
49
  output_1.output.note({
@@ -34,7 +34,7 @@ async function nxExecCommand(args) {
34
34
  NX_PROJECT_NAME: process.env.NX_TASK_TARGET_PROJECT,
35
35
  NX_PROJECT_ROOT_PATH: projectGraph.nodes?.[process.env.NX_TASK_TARGET_PROJECT]?.data?.root,
36
36
  },
37
- windowsHide: true,
37
+ windowsHide: false,
38
38
  });
39
39
  }
40
40
  else {
@@ -67,7 +67,7 @@ async function runScriptAsNxTarget(projectGraph, argv, nxArgs) {
67
67
  cwd: projectGraph.nodes?.[projectName]?.data?.root
68
68
  ? (0, path_2.joinPathFragments)(workspace_root_1.workspaceRoot, projectGraph.nodes?.[projectName]?.data?.root)
69
69
  : workspace_root_1.workspaceRoot,
70
- windowsHide: true,
70
+ windowsHide: false,
71
71
  });
72
72
  });
73
73
  }
@@ -81,7 +81,7 @@ function runTargetOnProject(scriptDefinition, targetName, project, projectName,
81
81
  const command = `${pm.exec} nx run ${projectName}:\\\"${targetName}\\\" ${extraArgs.join(' ')}`;
82
82
  (0, child_process_1.execSync)(command, {
83
83
  stdio: 'inherit',
84
- windowsHide: true,
84
+ windowsHide: false,
85
85
  });
86
86
  }
87
87
  function readScriptArgV(overrides) {
@@ -144,12 +144,12 @@ function write(patterns) {
144
144
  const prettierPath = getPrettierPath();
145
145
  (0, node_child_process_1.execSync)(`node "${prettierPath}" --write --list-different ${regularPatterns.join(' ')}`, {
146
146
  stdio: [0, 1, 2],
147
- windowsHide: true,
147
+ windowsHide: false,
148
148
  });
149
149
  if (swcrcPatterns.length > 0) {
150
150
  (0, node_child_process_1.execSync)(`node "${prettierPath}" --write --list-different ${swcrcPatterns.join(' ')} --parser json`, {
151
151
  stdio: [0, 1, 2],
152
- windowsHide: true,
152
+ windowsHide: false,
153
153
  });
154
154
  }
155
155
  }
@@ -160,7 +160,7 @@ async function check(patterns) {
160
160
  }
161
161
  const prettierPath = getPrettierPath();
162
162
  return new Promise((resolve) => {
163
- (0, node_child_process_1.exec)(`node "${prettierPath}" --list-different ${patterns.join(' ')}`, { encoding: 'utf-8', windowsHide: true }, (error, stdout) => {
163
+ (0, node_child_process_1.exec)(`node "${prettierPath}" --list-different ${patterns.join(' ')}`, { encoding: 'utf-8', windowsHide: false }, (error, stdout) => {
164
164
  if (error) {
165
165
  // The command failed so there are files with different formatting. Prettier writes them to stdout, newline separated.
166
166
  resolve(stdout.trim().split('\n'));
@@ -801,6 +801,6 @@ function getHelpTextFromTarget(projectName, targetName) {
801
801
  throw new Error(`No help command found for ${projectName}:${targetName}`);
802
802
  return (0, node_child_process_1.execSync)(command, {
803
803
  cwd: target.options?.cwd ?? workspace_root_1.workspaceRoot,
804
- windowsHide: true,
804
+ windowsHide: false,
805
805
  }).toString();
806
806
  }
@@ -7,6 +7,6 @@ function setupIntegratedWorkspace() {
7
7
  const pmc = (0, package_manager_1.getPackageManagerCommand)();
8
8
  (0, child_process_1.execSync)(`${pmc.exec} nx g @nx/angular:ng-add`, {
9
9
  stdio: [0, 1, 2],
10
- windowsHide: true,
10
+ windowsHide: false,
11
11
  });
12
12
  }
@@ -84,7 +84,7 @@ async function getLegacyMigrationFunctionIfApplicable(repoRoot, options) {
84
84
  output_1.output.log({ title: '📝 Setting up workspace' });
85
85
  (0, child_process_1.execSync)(`${pmc.exec} ${legacyMigrationCommand}`, {
86
86
  stdio: [0, 1, 2],
87
- windowsHide: true,
87
+ windowsHide: false,
88
88
  });
89
89
  if (useNxCloud) {
90
90
  output_1.output.log({ title: '🛠️ Setting up Nx Cloud' });
@@ -110,7 +110,7 @@ async function installDependencies(repoRoot, pkgInfo, pmc) {
110
110
  json.dependencies = (0, object_sort_1.sortObjectByKeys)(json.dependencies);
111
111
  }
112
112
  (0, fileutils_1.writeJsonFile)(`package.json`, json);
113
- (0, child_process_1.execSync)(pmc.install, { stdio: [0, 1, 2], windowsHide: true });
113
+ (0, child_process_1.execSync)(pmc.install, { stdio: [0, 1, 2], windowsHide: false });
114
114
  }
115
115
  async function resolvePackageVersion(packageName, version) {
116
116
  try {
@@ -63,7 +63,7 @@ function generateDotNxSetup(version) {
63
63
  function normalizeVersionForNxJson(pkg, version) {
64
64
  if (!(0, semver_1.valid)(version)) {
65
65
  version = (0, child_process_1.execSync)(`npm view ${pkg}@${version} version`, {
66
- windowsHide: true,
66
+ windowsHide: false,
67
67
  }).toString();
68
68
  }
69
69
  return version.trimEnd();
@@ -63,7 +63,7 @@ function performInstallation(currentInstallation, nxJson) {
63
63
  cp.execSync('npm i', {
64
64
  cwd: path.dirname(installationPath),
65
65
  stdio: 'inherit',
66
- windowsHide: true,
66
+ windowsHide: false,
67
67
  });
68
68
  }
69
69
  catch (e) {
@@ -4,7 +4,7 @@ exports.checkForUncommittedChanges = checkForUncommittedChanges;
4
4
  const child_process_1 = require("child_process");
5
5
  function checkForUncommittedChanges() {
6
6
  const gitResult = (0, child_process_1.execSync)('git status --porcelain', {
7
- windowsHide: true,
7
+ windowsHide: false,
8
8
  }).toString();
9
9
  const filteredResults = gitResult
10
10
  .split('\n')
@@ -41,7 +41,7 @@ function installDependencies(options) {
41
41
  }
42
42
  (0, child_process_1.execSync)(`${options.pmc.addDev} ${dependencies.join(' ')}`, {
43
43
  stdio: [0, 1, 2],
44
- windowsHide: true,
44
+ windowsHide: false,
45
45
  });
46
46
  }
47
47
  async function normalizeOptions(options) {
@@ -56,7 +56,7 @@ async function normalizeOptions(options) {
56
56
  };
57
57
  const isCRA5 = /^[^~]?5/.test(deps['react-scripts']);
58
58
  const npmVersion = (0, child_process_1.execSync)('npm -v', {
59
- windowsHide: true,
59
+ windowsHide: false,
60
60
  }).toString();
61
61
  // Should remove this check 04/2023 once Node 14 & npm 6 reach EOL
62
62
  const npxYesFlagNeeded = !npmVersion.startsWith('6'); // npm 7 added -y flag to npx
@@ -91,11 +91,11 @@ async function reorgnizeWorkspaceStructure(options) {
91
91
  output_1.output.log({ title: '🧶 Updating .gitignore file' });
92
92
  (0, child_process_1.execSync)(`echo "node_modules" >> .gitignore`, {
93
93
  stdio: [0, 1, 2],
94
- windowsHide: true,
94
+ windowsHide: false,
95
95
  });
96
96
  (0, child_process_1.execSync)(`echo "dist" >> .gitignore`, {
97
97
  stdio: [0, 1, 2],
98
- windowsHide: true,
98
+ windowsHide: false,
99
99
  });
100
100
  process.chdir('..');
101
101
  copyFromTempWorkspaceToRoot();
@@ -117,7 +117,7 @@ async function reorgnizeWorkspaceStructure(options) {
117
117
  }
118
118
  function createTempWorkspace(options) {
119
119
  (0, node_fs_1.rmSync)('temp-workspace', { recursive: true, force: true });
120
- (0, child_process_1.execSync)(`npx ${options.npxYesFlagNeeded ? '-y' : ''} create-nx-workspace@latest temp-workspace --appName=${options.reactAppName} --preset=react-monorepo --style=css --bundler=${options.isVite ? 'vite' : 'webpack'} --packageManager=${options.packageManager} ${options.nxCloud ? '--nxCloud=yes' : '--nxCloud=skip'} ${options.addE2e ? '--e2eTestRunner=playwright' : '--e2eTestRunner=none'}`, { stdio: [0, 1, 2], windowsHide: true });
120
+ (0, child_process_1.execSync)(`npx ${options.npxYesFlagNeeded ? '-y' : ''} create-nx-workspace@latest temp-workspace --appName=${options.reactAppName} --preset=react-monorepo --style=css --bundler=${options.isVite ? 'vite' : 'webpack'} --packageManager=${options.packageManager} ${options.nxCloud ? '--nxCloud=yes' : '--nxCloud=skip'} ${options.addE2e ? '--e2eTestRunner=playwright' : '--e2eTestRunner=none'}`, { stdio: [0, 1, 2], windowsHide: false });
121
121
  output_1.output.log({ title: '👋 Welcome to Nx!' });
122
122
  output_1.output.log({ title: '🧹 Clearing unused files' });
123
123
  (0, node_fs_1.cpSync)((0, path_1.join)('temp-workspace', 'apps', options.reactAppName, 'project.json'), 'project.json', { recursive: true });
@@ -209,7 +209,7 @@ async function addBundler(options) {
209
209
  });
210
210
  (0, child_process_1.execSync)(`echo "SKIP_PREFLIGHT_CHECK=true" > .env`, {
211
211
  stdio: [0, 1, 2],
212
- windowsHide: true,
212
+ windowsHide: false,
213
213
  });
214
214
  }
215
215
  }
@@ -59,7 +59,7 @@ function deduceDefaultBase() {
59
59
  try {
60
60
  (0, child_process_1.execSync)(`git rev-parse --verify main`, {
61
61
  stdio: ['ignore', 'ignore', 'ignore'],
62
- windowsHide: true,
62
+ windowsHide: false,
63
63
  });
64
64
  return 'main';
65
65
  }
@@ -67,7 +67,7 @@ function deduceDefaultBase() {
67
67
  try {
68
68
  (0, child_process_1.execSync)(`git rev-parse --verify dev`, {
69
69
  stdio: ['ignore', 'ignore', 'ignore'],
70
- windowsHide: true,
70
+ windowsHide: false,
71
71
  });
72
72
  return 'dev';
73
73
  }
@@ -75,7 +75,7 @@ function deduceDefaultBase() {
75
75
  try {
76
76
  (0, child_process_1.execSync)(`git rev-parse --verify develop`, {
77
77
  stdio: ['ignore', 'ignore', 'ignore'],
78
- windowsHide: true,
78
+ windowsHide: false,
79
79
  });
80
80
  return 'develop';
81
81
  }
@@ -83,7 +83,7 @@ function deduceDefaultBase() {
83
83
  try {
84
84
  (0, child_process_1.execSync)(`git rev-parse --verify next`, {
85
85
  stdio: ['ignore', 'ignore', 'ignore'],
86
- windowsHide: true,
86
+ windowsHide: false,
87
87
  });
88
88
  return 'next';
89
89
  }
@@ -132,7 +132,11 @@ function updateGitIgnore(root) {
132
132
  catch { }
133
133
  }
134
134
  function runInstall(repoRoot, pmc = (0, package_manager_1.getPackageManagerCommand)()) {
135
- (0, child_process_1.execSync)(pmc.install, { stdio: [0, 1, 2], cwd: repoRoot, windowsHide: true });
135
+ (0, child_process_1.execSync)(pmc.install, {
136
+ stdio: [0, 1, 2],
137
+ cwd: repoRoot,
138
+ windowsHide: false,
139
+ });
136
140
  }
137
141
  async function initCloud(installationSource) {
138
142
  const token = await (0, connect_to_nx_cloud_2.connectWorkspaceToCloud)({
@@ -87,7 +87,7 @@ async function initHandler(options) {
87
87
  else {
88
88
  (0, child_process_1.execSync)(`npx --yes create-nx-workspace@${version} ${args}`, {
89
89
  stdio: [0, 1, 2],
90
- windowsHide: true,
90
+ windowsHide: false,
91
91
  });
92
92
  }
93
93
  }
@@ -32,7 +32,7 @@ function installPlugins(repoRoot, plugins, pmc, updatePackageScripts) {
32
32
  (0, child_process_2.execSync)(`${pmc.exec} nx g ${plugin}:init --keepExistingVersions ${updatePackageScripts ? '--updatePackageScripts' : ''}`, {
33
33
  stdio: [0, 1, 2],
34
34
  cwd: repoRoot,
35
- windowsHide: true,
35
+ windowsHide: false,
36
36
  });
37
37
  }
38
38
  }
@@ -101,7 +101,7 @@ function runMigration() {
101
101
  }
102
102
  (0, child_process_2.execSync)(`${p} _migrate ${process.argv.slice(3).join(' ')}`, {
103
103
  stdio: ['inherit', 'inherit', 'inherit'],
104
- windowsHide: true,
104
+ windowsHide: false,
105
105
  });
106
106
  }
107
107
  }
@@ -128,21 +128,21 @@ function nxCliPath() {
128
128
  (0, child_process_2.execSync)(pmc.preInstall, {
129
129
  cwd: tmpDir,
130
130
  stdio: ['ignore', 'ignore', 'ignore'],
131
- windowsHide: true,
131
+ windowsHide: false,
132
132
  });
133
133
  // if it's berry ensure we set the node_linker to node-modules
134
134
  if (packageManager === 'yarn' && pmc.ciInstall.includes('immutable')) {
135
135
  (0, child_process_2.execSync)('yarn config set nodeLinker node-modules', {
136
136
  cwd: tmpDir,
137
137
  stdio: ['ignore', 'ignore', 'ignore'],
138
- windowsHide: true,
138
+ windowsHide: false,
139
139
  });
140
140
  }
141
141
  }
142
142
  (0, child_process_2.execSync)(pmc.install, {
143
143
  cwd: tmpDir,
144
144
  stdio: ['ignore', 'ignore', 'ignore'],
145
- windowsHide: true,
145
+ windowsHide: false,
146
146
  });
147
147
  // Set NODE_PATH so that these modules can be used for module resolution
148
148
  addToNodePath(path.join(tmpDir, 'node_modules'));
@@ -886,7 +886,7 @@ function runInstall() {
886
886
  output_1.output.log({
887
887
  title: `Running '${pmCommands.install}' to make sure necessary packages are installed`,
888
888
  });
889
- (0, child_process_1.execSync)(pmCommands.install, { stdio: [0, 1, 2], windowsHide: true });
889
+ (0, child_process_1.execSync)(pmCommands.install, { stdio: [0, 1, 2], windowsHide: false });
890
890
  }
891
891
  async function executeMigrations(root, migrations, isVerbose, shouldCreateCommits, commitPrefix) {
892
892
  let initialDeps = getStringifiedPackageJsonDeps(root);
@@ -191,7 +191,7 @@ function isReleaseType(value) {
191
191
  async function getCommitForVersionPlanFile(rawVersionPlan, isVerbose) {
192
192
  return new Promise((resolve) => {
193
193
  (0, node_child_process_1.exec)(`git log --diff-filter=A --pretty=format:"%s|%h|%an|%ae|%b" -n 1 -- ${rawVersionPlan.absolutePath}`, {
194
- windowsHide: true,
194
+ windowsHide: false,
195
195
  }, (error, stdout, stderr) => {
196
196
  if (error) {
197
197
  if (isVerbose) {
@@ -50,7 +50,7 @@ function createAPI(overrideReleaseConfig) {
50
50
  process.exit(1);
51
51
  }
52
52
  // If no release groups have version plans enabled, it doesn't make sense to use the plan command only to set yourself up for an error at release time
53
- if (!releaseGroups.some((group) => group.versionPlans === true)) {
53
+ if (!releaseGroups.some((group) => !!group.versionPlans)) {
54
54
  if (releaseGroups.length === 1) {
55
55
  output_1.output.warn({
56
56
  title: `Version plans are not enabled in your release configuration`,
@@ -8,7 +8,7 @@ async function execCommand(cmd, args, options) {
8
8
  ...options,
9
9
  stdio: ['pipe', 'pipe', 'pipe'], // stdin, stdout, stderr
10
10
  encoding: 'utf-8',
11
- windowsHide: true,
11
+ windowsHide: false,
12
12
  });
13
13
  let stdout = '';
14
14
  let stderr = '';
@@ -255,7 +255,7 @@ async function resolveGithubToken(hostname) {
255
255
  return (0, node_child_process_1.execSync)(`gh auth token`, {
256
256
  encoding: 'utf8',
257
257
  stdio: 'pipe',
258
- windowsHide: true,
258
+ windowsHide: false,
259
259
  }).trim();
260
260
  }
261
261
  }
@@ -13,7 +13,7 @@ async function launchEditor(filePath) {
13
13
  return new Promise((resolve, reject) => {
14
14
  const editorProcess = (0, node_child_process_1.spawn)(cmd, [...args, filePath], {
15
15
  stdio: 'inherit', // This will ensure the editor uses the current terminal
16
- windowsHide: true,
16
+ windowsHide: false,
17
17
  });
18
18
  editorProcess.on('exit', (code) => {
19
19
  if (code === 0) {
@@ -28,7 +28,7 @@ async function launchEditor(filePath) {
28
28
  function getGitConfig(key) {
29
29
  try {
30
30
  return (0, node_child_process_1.execSync)(`git config --get ${key}`, {
31
- windowsHide: true,
31
+ windowsHide: false,
32
32
  })
33
33
  .toString()
34
34
  .trim();
@@ -436,7 +436,7 @@ function runPreVersionCommand(preVersionCommand, { dryRun, verbose }, releaseGro
436
436
  maxBuffer: LARGE_BUFFER,
437
437
  stdio,
438
438
  env,
439
- windowsHide: true,
439
+ windowsHide: false,
440
440
  });
441
441
  }
442
442
  catch (e) {
@@ -77,7 +77,7 @@ async function printTargetRunHelpInternal({ project, target }, root, projectsCon
77
77
  else {
78
78
  const cp = (0, child_process_1.exec)(helpCommand, {
79
79
  env,
80
- windowsHide: true,
80
+ windowsHide: false,
81
81
  });
82
82
  cp.on('exit', (code) => {
83
83
  process.exit(code);
@@ -97,7 +97,7 @@ class BatchCommandRunner extends BatchFunctionRunner {
97
97
  [this.projectNameEnv]: env[this.projectNameEnv],
98
98
  [this.fileChangesEnv]: env[this.fileChangesEnv],
99
99
  },
100
- windowsHide: true,
100
+ windowsHide: false,
101
101
  });
102
102
  commandExec.on('close', () => {
103
103
  resolve();
@@ -456,7 +456,7 @@ export interface NxJsonConfiguration<T = '*' | string[]> {
456
456
  */
457
457
  useInferencePlugins?: boolean;
458
458
  /**
459
- * Set this to false to disable connection to Nx Cloud
459
+ * Set this to true to disable connection to Nx Cloud
460
460
  */
461
461
  neverConnectToCloud?: boolean;
462
462
  /**