@hydranium/client-theia 1.0.0-next.175 → 1.0.0-next.177

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 (1) hide show
  1. package/package.json +18 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydranium/client-theia",
3
- "version": "1.0.0-next.175",
3
+ "version": "1.0.0-next.177",
4
4
  "description": "Cross-head Theia client primitives shared by the hydranium protocol heads. Provides the socket-forwarding connection-handler base that the data-server and GLSP Theia integrations subclass, plus the preference-driven Output-channel logger; carries no head-specific dependency.",
5
5
  "keywords": [
6
6
  "hydranium",
@@ -13,16 +13,23 @@
13
13
  "bugs": {
14
14
  "url": "https://github.com/eclipse-emfcloud/hydranium/issues"
15
15
  },
16
+ "license": "MIT",
17
+ "author": {
18
+ "name": "Hydranium Team"
19
+ },
16
20
  "repository": {
17
21
  "type": "git",
18
22
  "url": "https://github.com/eclipse-emfcloud/hydranium.git",
19
23
  "directory": "packages/client-theia"
20
24
  },
21
- "license": "MIT",
22
- "author": {
23
- "name": "Hydranium Team"
24
- },
25
+ "files": [
26
+ "lib",
27
+ "src",
28
+ "!lib/**/*.tsbuildinfo"
29
+ ],
25
30
  "sideEffects": false,
31
+ "main": "lib/index.js",
32
+ "types": "lib/index.d.ts",
26
33
  "exports": {
27
34
  ".": {
28
35
  "types": "./lib/index.d.ts",
@@ -61,24 +68,20 @@
61
68
  "default": "./lib/testing/index.js"
62
69
  }
63
70
  },
64
- "main": "lib/index.js",
65
- "types": "lib/index.d.ts",
66
- "files": [
67
- "lib",
68
- "src",
69
- "!lib/**/*.tsbuildinfo"
70
- ],
71
+ "publishConfig": {
72
+ "access": "public"
73
+ },
71
74
  "scripts": {
72
75
  "build": "tsc -b",
73
76
  "clean": "rimraf lib tsconfig.tsbuildinfo",
74
- "lint": "eslint src test --max-warnings 0",
77
+ "lint": "oxlint --format stylish --config ../../oxlint.config.cjs src test --max-warnings 0",
75
78
  "prepack": "node -e \"const m=require('./package.json'),fs=require('node:fs');const missing=[m.main,...Object.values(m.bin||{})].filter(entry=>entry&&!fs.existsSync(entry));if(missing.length){console.error('prepack '+m.name+': not built ('+missing.join(', ')+' missing). Run the build before packing: a files entry that matches nothing is skipped silently, so the tarball would ship src only.');process.exit(1);}\"",
76
79
  "test": "npm run typecheck:test && vitest run",
77
80
  "typecheck:test": "tsc --noEmit -p tsconfig.test.json",
78
81
  "watch": "tsc -b -w --preserveWatchOutput"
79
82
  },
80
83
  "devDependencies": {
81
- "@hydranium/protocol": "1.0.0-next.175",
84
+ "@hydranium/protocol": "1.0.0-next.177",
82
85
  "@theia/core": "^1.70.0",
83
86
  "@theia/editor": "^1.70.0",
84
87
  "@theia/filesystem": "^1.70.0",
@@ -91,7 +94,7 @@
91
94
  "vscode-jsonrpc": "9.0.1"
92
95
  },
93
96
  "peerDependencies": {
94
- "@hydranium/protocol": "1.0.0-next.175",
97
+ "@hydranium/protocol": "1.0.0-next.177",
95
98
  "@theia/core": "^1.70.0",
96
99
  "@theia/editor": "^1.70.0",
97
100
  "@theia/filesystem": "^1.70.0",
@@ -102,9 +105,6 @@
102
105
  "engines": {
103
106
  "node": ">=22.13"
104
107
  },
105
- "publishConfig": {
106
- "access": "public"
107
- },
108
108
  "//peerDependencies": "@theia/core stays at 1.70 here, matching the sibling Theia packages, even though the connection-resilience bindings need 1.71: Theia only began binding `SocketWriteBuffer` then, and before that each connection built one privately, so there is no binding to rebind. Rather than split the package's floor for one feature, `bindConnectionResilience` probes for that binding and warns instead of installing when it is absent — a capability check rather than a version parse, so it answers about the container in front of it. Everything else the feature touches exists at 1.70, and the emitted declarations deliberately name no type that 1.70 lacks, so the package still compiles there. Verified by unpacking 1.70, 1.71 and 1.72, not inferred from a changelog. `vscode-jsonrpc` is EXACT because it is one link of an atomic chain: `vscode-languageserver-protocol` depends on it at exactly 9.0.1, so any other value is a second physical copy, and this wire stack breaks on copy identity.",
109
109
  "//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."
110
110
  }