fix(core): add windowsHide for depencies-and-lockfile plugin with bun (#26718)
## Current Behavior Using bun as a package manager on windows causes cmd windows to pop up when the project graph is computed. ## Expected Behavior We shouldn't see any windows pop up. ## Related Issue(s) Fixes https://github.com/nrwl/nx-console/issues/2149
This commit is contained in:
parent
acddf894a4
commit
0cefa29eca
@ -57,6 +57,7 @@ export const createNodes: CreateNodes = [
|
||||
? readFileSync(lockFilePath).toString()
|
||||
: execSync(`bun ${lockFilePath}`, {
|
||||
maxBuffer: 1024 * 1024 * 10,
|
||||
windowsHide: true,
|
||||
}).toString();
|
||||
const lockFileHash = getLockFileHash(lockFileContents);
|
||||
|
||||
@ -102,6 +103,7 @@ export const createDependencies: CreateDependencies = (
|
||||
? readFileSync(lockFilePath).toString()
|
||||
: execSync(`bun ${lockFilePath}`, {
|
||||
maxBuffer: 1024 * 1024 * 10,
|
||||
windowsHide: true,
|
||||
}).toString();
|
||||
const lockFileHash = getLockFileHash(lockFileContents);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user