From 41830dd2dfc5914216cf3ebf4ad3568268be54a7 Mon Sep 17 00:00:00 2001 From: Martin Fleck Date: Wed, 9 Sep 2026 12:10:55 +0200 Subject: [PATCH] fix(glsp-client-theia): declare the @theia/process GLSP requires @eclipse-glsp/theia-integration requires it at runtime and declares it in no block of its own, so the edge resolves only by hoisting luck. - Declare @theia/process as a peer with a devDependency mirror, matching how every other runtime requirement of this package is declared - Add its row to the README peer table, which the readme gate requires for every declared peer - The suite is green with and without this, so it is no evidence: the break appears only under an install that re-resolves and moves the hoist, which is where it was found --- package-lock.json | 2 ++ packages/glsp-client-theia/README.md | 1 + packages/glsp-client-theia/package.json | 2 ++ 3 files changed, 5 insertions(+) diff --git a/package-lock.json b/package-lock.json index 0f4ee5b..4d87e22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24310,6 +24310,7 @@ "@hydranium/protocol": "1.0.0-next", "@theia/core": "^1.71.0", "@theia/output": "^1.71.0", + "@theia/process": "^1.71.0", "@theia/workspace": "^1.71.0", "@types/node": "^22.0.0", "inversify": "6.2.2", @@ -24327,6 +24328,7 @@ "@hydranium/protocol": "^1.0.0-next", "@theia/core": "^1.71.0", "@theia/output": "^1.71.0", + "@theia/process": "^1.71.0", "@theia/workspace": "^1.71.0", "inversify": "^6.0.0", "snabbdom": "^3.5.1" diff --git a/packages/glsp-client-theia/README.md b/packages/glsp-client-theia/README.md index 0f1f035..a607a38 100644 --- a/packages/glsp-client-theia/README.md +++ b/packages/glsp-client-theia/README.md @@ -74,6 +74,7 @@ hydranium GLSP server. The declared peer dependencies are: | `@hydranium/protocol` | `^1.0.0-next` | | `@theia/core` | `^1.71.0` | | `@theia/output` | `^1.71.0` | +| `@theia/process` | `^1.71.0` | | `@theia/workspace` | `^1.71.0` | | `inversify` | `^6.0.0` | | `snabbdom` | `^3.5.1` | diff --git a/packages/glsp-client-theia/package.json b/packages/glsp-client-theia/package.json index 75c7e0c..18e8bae 100644 --- a/packages/glsp-client-theia/package.json +++ b/packages/glsp-client-theia/package.json @@ -82,6 +82,7 @@ "@hydranium/protocol": "1.0.0-next", "@theia/core": "^1.71.0", "@theia/output": "^1.71.0", + "@theia/process": "^1.71.0", "@theia/workspace": "^1.71.0", "@types/node": "^22.0.0", "inversify": "6.2.2", @@ -96,6 +97,7 @@ "@hydranium/protocol": "^1.0.0-next", "@theia/core": "^1.71.0", "@theia/output": "^1.71.0", + "@theia/process": "^1.71.0", "@theia/workspace": "^1.71.0", "inversify": "^6.0.0", "snabbdom": "^3.5.1"