@hydranium/data-client-theia 1.0.0-next.210 → 1.0.0-next.212

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -72,7 +72,7 @@ running hydranium data server to connect to. The declared peer dependencies are:
72
72
  | `@theia/core` | `^1.70.0` |
73
73
  | `@theia/workspace` | `^1.70.0` |
74
74
  | `inversify` | `^6.0.0` |
75
- | `vscode-jsonrpc` | `9.0.1` |
75
+ | `vscode-jsonrpc` | `^9.0.0` |
76
76
 
77
77
  ## Wiring
78
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydranium/data-client-theia",
3
- "version": "1.0.0-next.210",
3
+ "version": "1.0.0-next.212",
4
4
  "description": "Theia-coupled client primitives for the hydranium data-server protocol head; companion of @hydranium/data-server. Bridges framework typed errors (e.g. ConflictError) across Theia's RPC boundary so their code + data survive the wire.",
5
5
  "keywords": [
6
6
  "hydranium",
@@ -73,8 +73,8 @@
73
73
  "watch": "tsc -b -w --preserveWatchOutput"
74
74
  },
75
75
  "devDependencies": {
76
- "@hydranium/client-theia": "1.0.0-next.210",
77
- "@hydranium/protocol": "1.0.0-next.210",
76
+ "@hydranium/client-theia": "1.0.0-next.212",
77
+ "@hydranium/protocol": "1.0.0-next.212",
78
78
  "@theia/core": "^1.70.0",
79
79
  "@theia/workspace": "^1.70.0",
80
80
  "@types/node": "^22.0.0",
@@ -82,19 +82,19 @@
82
82
  "reflect-metadata": "0.2.2",
83
83
  "rimraf": "^5.0.0",
84
84
  "typescript": "^7.0.2",
85
- "vscode-jsonrpc": "9.0.1"
85
+ "vscode-jsonrpc": "9.0.0"
86
86
  },
87
87
  "peerDependencies": {
88
- "@hydranium/client-theia": "1.0.0-next.210",
89
- "@hydranium/protocol": "1.0.0-next.210",
88
+ "@hydranium/client-theia": "1.0.0-next.212",
89
+ "@hydranium/protocol": "1.0.0-next.212",
90
90
  "@theia/core": "^1.70.0",
91
91
  "@theia/workspace": "^1.70.0",
92
92
  "inversify": "^6.0.0",
93
- "vscode-jsonrpc": "9.0.1"
93
+ "vscode-jsonrpc": "^9.0.0"
94
94
  },
95
95
  "engines": {
96
96
  "node": ">=22.13"
97
97
  },
98
- "//peerDependencies": "`vscode-jsonrpc` is EXACT rather than a range, because it is one link of an atomic chain with no independently movable link: `vscode-languageserver-protocol` depends on it at exactly 9.0.1, so any other value an adopter supplies is a SECOND physical copy rather than an upgrade. This wire stack breaks on copy identity rather than on structure — `ParameterStructures.auto` is a singleton compared by `===` in connection.js, so a request type built by one copy and sent over a connection owned by the other throws `Unknown parameter structure auto`. A caret or union range was rejected because npm then resolves a `vscode-jsonrpc@8.2.0` tree SILENTLY, with no diagnostic at all, and the failure surfaces only later at server init. Exact does not fail the install either — npm downgrades an unsatisfiable peer to a warning — but it is a NAMED ERESOLVE warning printing the required version beside the found one, and a hard error for anyone installing with `--strict-peer-deps`. It does NOT prevent a NESTED copy — `@eclipse-glsp/*` carries its own exact `vscode-jsonrpc@8.2.0` dependency and root `overrides` do not ship — so a consumer of the GLSP head must pin the chain in its own manifest, and docs/adopting/requirements.md carries the block to paste.",
99
- "//prepack": "The publish guard, and it deliberately is NOT a `prepare`: npm runs a workspace `prepare` BEFORE the root `postinstall` that applies patches/vscode-jsonrpc+9.0.1.patch, so building there fails on a cold clone and npm rolls the entire install back. `prepack` runs only when a tarball is made (`npm pack`, `npm publish`) and never on install, so it cannot break the install it has no business touching. It FAILS rather than rebuilds, because the rebuild is exactly the part that ordering defeats. What it defends against: `files` lists `lib`, `lib` is gitignored, and a `files` entry matching nothing is skipped SILENTLY — so `npm publish` from an unbuilt tree emits a tarball of `src` and nothing else, with no error."
98
+ "//peerDependencies": "`vscode-jsonrpc` takes a caret, so the framework shares the transport the LSP connection resolves, which an `init` scaffold pins: each `vscode-languageserver-protocol` release pins its transport exactly, so an exact peer would name a copy a fresh install rarely holds. The caret excludes 8.x, so a tree whose top holds GLSP's copy fails the peer with a named ERESOLVE warning, an error under `--strict-peer-deps`, rather than resolving silently. No peer reaches a NESTED copy, such as GLSP's or one the LSP packages nest; docs/adopting/requirements.md has the chain. The wire compares message types and `ResponseError`s by copy identity, so the framework sends typed messages by method name and recognises errors with `isResponseError` rather than `instanceof`.",
99
+ "//prepack": "The publish guard, a `prepack` rather than a `prepare`: `prepack` runs only when a tarball is made (`npm pack`, `npm publish`) and never on install, so it cannot break the install it has no business touching. What it defends against: `files` lists `lib`, `lib` is gitignored, and a `files` entry matching nothing is skipped SILENTLY — so `npm publish` from an unbuilt tree emits a tarball of `src` and nothing else, with no error."
100
100
  }