diff --git a/config/patches/@vscode__windows-process-tree@0.8.0.patch b/config/patches/@vscode__windows-process-tree@0.8.0.patch index cf68eea1985..c0e002c44fe 100644 --- a/config/patches/@vscode__windows-process-tree@0.8.0.patch +++ b/config/patches/@vscode__windows-process-tree@0.8.0.patch @@ -2,6 +2,15 @@ diff --git a/binding.gyp b/binding.gyp index 855bd4b86f0a3c18c7594212c0e42b6e35bc4001..5f15551cb1520af996f216500a83ac68b57f5104 100644 --- a/binding.gyp +++ b/binding.gyp +@@ -3,7 +3,7 @@ + { + "target_name": "windows_process_tree", + "dependencies": [ +- " { + it('keeps the gyp project path absolute so pnpm Windows source builds find it', () => { + expect(PATCH).toContain( + String.raw`+ " { + const resolved = execFileSync(process.execPath, ['-p', ABSOLUTE_GYP], { + cwd: PACKAGE_DIR, + encoding: 'utf8' + }).trim() + expect(isAbsolute(resolved)).toBe(true) + expect(existsSync(resolved)).toBe(true) + }) +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 91d7d60db8c..060daf376f3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,7 +9,7 @@ overrides: patchedDependencies: '@vscode/windows-process-tree@0.8.0': - hash: 7c08bebce9b36829be6035218db2383f1a889c21ec907ea7e85c36fc54795a05 + hash: 679908cbad6a7791d2fdf4aeececfc717879e04c0b8ed240a016d3dc02d5f2a6 path: config/patches/@vscode__windows-process-tree@0.8.0.patch '@xterm/addon-ligatures@0.11.0-beta.287': hash: 47405b9994b5acf1b4e90b49250358c1ca03649854d59560e7732b72fe336920 @@ -407,7 +407,7 @@ importers: optionalDependencies: '@vscode/windows-process-tree': specifier: 0.8.0 - version: 0.8.0(patch_hash=7c08bebce9b36829be6035218db2383f1a889c21ec907ea7e85c36fc54795a05) + version: 0.8.0(patch_hash=679908cbad6a7791d2fdf4aeececfc717879e04c0b8ed240a016d3dc02d5f2a6) sherpa-onnx-darwin-arm64: specifier: 1.12.37 version: 1.12.37 @@ -9606,7 +9606,7 @@ snapshots: convert-source-map: 2.0.0 tinyrainbow: 3.1.0 - '@vscode/windows-process-tree@0.8.0(patch_hash=7c08bebce9b36829be6035218db2383f1a889c21ec907ea7e85c36fc54795a05)': + '@vscode/windows-process-tree@0.8.0(patch_hash=679908cbad6a7791d2fdf4aeececfc717879e04c0b8ed240a016d3dc02d5f2a6)': dependencies: node-addon-api: 7.1.0 optional: true