Skip to content

Commit b6f7688

Browse files
FrozenPandazclaude
andcommitted
fix(core): remove windowsHide from fork() calls where it is not typed
ForkOptions in @types/node does not include windowsHide, causing typecheck failures. Since fork() spawns Node.js processes (not shell commands), there is no console window to hide on Windows. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ddc02c8 commit b6f7688

File tree

36 files changed

+40
-57
lines changed

36 files changed

+40
-57
lines changed

astro-docs/src/plugins/utils/cnw-generation.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export async function loadCnwPackage(
4040
const child = fork(subprocessPath, [], {
4141
cwd: workspaceRoot,
4242
silent: true,
43-
windowsHide: true,
4443
});
4544

4645
let stdout = '';

packages/detox/src/executors/build/build.impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export function runCliBuild(
4141
{
4242
cwd: pathResolve(workspaceRoot, projectRoot),
4343
env: process.env,
44-
windowsHide: true,
4544
}
4645
);
4746

packages/detox/src/executors/test/test.impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ function runCliTest(
6262
{
6363
cwd: pathResolve(workspaceRoot, projectRoot),
6464
env: process.env,
65-
windowsHide: true,
6665
}
6766
);
6867

packages/docker/src/release/version-utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ function updateProjectVersion(
125125
const fullImageRef =
126126
nxDockerImageRefEnvOverride ?? `${newImageRef}:${newVersion}`;
127127
if (!isDryRun) {
128-
execSync(`docker tag ${imageRef} ${fullImageRef}`);
128+
execSync(`docker tag ${imageRef} ${fullImageRef}`, {
129+
windowsHide: true,
130+
});
129131
}
130132
const logs = isDryRun
131133
? [`Image would be tagged with ${fullImageRef} but dry run is enabled.`]

packages/expo/src/executors/build-list/build-list.impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export function runCliBuildList(
4848
cwd: pathResolve(workspaceRoot, projectRoot),
4949
env: process.env,
5050
stdio: ['inherit', 'pipe', 'inherit', 'ipc'], // only stream stdout on child process
51-
windowsHide: true,
5251
}
5352
);
5453

packages/expo/src/executors/build/build.impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ function runCliBuild(
6565
...(options.local ? { YARN_ENABLE_IMMUTABLE_INSTALLS: 'false' } : {}),
6666
...process.env,
6767
},
68-
windowsHide: true,
6968
}
7069
);
7170

packages/expo/src/executors/export/export.impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ function exportAsync(
4747
{
4848
cwd: pathResolve(workspaceRoot, projectRoot),
4949
env: process.env,
50-
windowsHide: true,
5150
}
5251
);
5352

packages/expo/src/executors/prebuild/prebuild.impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export function prebuildAsync(
5454
{
5555
cwd: join(workspaceRoot, projectRoot),
5656
env: process.env,
57-
windowsHide: true,
5857
}
5958
);
6059

packages/expo/src/executors/run/run.impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ function runCliRun(
6666
{
6767
cwd: pathResolve(workspaceRoot, projectRoot),
6868
env: process.env,
69-
windowsHide: true,
7069
}
7170
);
7271

packages/expo/src/executors/serve/serve.impl.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ function serveAsync(
8080
cwd: pathResolve(workspaceRoot, projectRoot),
8181
env: process.env,
8282
stdio: ['inherit', 'pipe', 'pipe', 'ipc'],
83-
windowsHide: true,
8483
}
8584
);
8685

0 commit comments

Comments
 (0)