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 95e3519fe21..3c38e546c89 100644 --- a/config/patches/@vscode__windows-process-tree@0.8.0.patch +++ b/config/patches/@vscode__windows-process-tree@0.8.0.patch @@ -7,7 +7,7 @@ index 855bd4b86f0a3c18c7594212c0e42b6e35bc4001..5f15551cb1520af996f216500a83ac68 "target_name": "windows_process_tree", "dependencies": [ - " { it('keeps the gyp project path local so pnpm Windows source builds find it', () => { expect(PATCH).toContain( - '+ "node_modules/node-addon-api/node_addon_api.gyp:node_addon_api_except",' + '+ "../../node-addon-api/node_addon_api.gyp:node_addon_api_except",' ) const buildScript = readFileSync( join(projectDir, 'config/scripts/build-windows-process-tree-relay-addon.mjs'), @@ -26,6 +26,7 @@ describe('windows-process-tree node-addon-api gyp path', () => { }) it('resolves node_addon_api.gyp to a real file from the package directory', () => { + expect(existsSync(resolve(PACKAGE_DIR, LOCAL_GYP))).toBe(true) const resolved = execFileSync(process.execPath, ['-p', RESOLVED_GYP], { cwd: PACKAGE_DIR, encoding: 'utf8' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8a07ec53f93..6dab187c3ae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,7 +9,7 @@ overrides: patchedDependencies: '@vscode/windows-process-tree@0.8.0': - hash: 78f9cd88b7e14e56dbe43312011d21084dd05f314171ca21a24d58d1d1ab26b7 + hash: 0df1b8fb1db110383f88ff947d79ad29579709a347a7be03792e5f347c407929 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=78f9cd88b7e14e56dbe43312011d21084dd05f314171ca21a24d58d1d1ab26b7) + version: 0.8.0(patch_hash=0df1b8fb1db110383f88ff947d79ad29579709a347a7be03792e5f347c407929) 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=78f9cd88b7e14e56dbe43312011d21084dd05f314171ca21a24d58d1d1ab26b7)': + '@vscode/windows-process-tree@0.8.0(patch_hash=0df1b8fb1db110383f88ff947d79ad29579709a347a7be03792e5f347c407929)': dependencies: node-addon-api: 7.1.0 optional: true