@hydranium/core 1.0.0-next.214 → 1.0.0-next.216

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 +3 -2
  2. package/package.json +5 -29
package/README.md CHANGED
@@ -71,8 +71,9 @@ and its generated AST already in place; `hydranium-cli init` scaffolds both.
71
71
  The browser-neutral entries are gated in CI (`scripts/check-neutral-bundles.mts`
72
72
  bundles them for the browser and fails on a `node:*` import, including a
73
73
  transitive one) — see [what "gated neutral" does and does not promise](../../docs/concepts/browser-hosting.md#a-note-on-what-gated-neutral-does-and-does-not-promise).
74
- Each subpath also has a `./lib/…` twin, so a consumer on
75
- `moduleResolution: "Node"` can reach it.
74
+ Resolve the subpaths with [a resolver that reads
75
+ `exports`](../../docs/adopting/requirements.md#a-resolver-that-reads-exports);
76
+ `"Node"` (node10) reaches none of them.
76
77
 
77
78
  Importing `./node` has two deliberate side effects at module load: it installs
78
79
  the `node:fs`-backed log-file sink and the `node:async_hooks`-backed write-lock
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydranium/core",
3
- "version": "1.0.0-next.214",
3
+ "version": "1.0.0-next.216",
4
4
  "description": "Foundational runtime of the hydranium framework: AST coordination layer (services, integrity, AST extension, serialization, multi-client documents) plus the LSP textual head at the /lsp subpath. Consumed by protocol-head packages (@hydranium/data-server, @hydranium/glsp-server).",
5
5
  "keywords": [
6
6
  "ast",
@@ -44,18 +44,10 @@
44
44
  "types": "./lib/lsp/index.d.ts",
45
45
  "default": "./lib/lsp/index.js"
46
46
  },
47
- "./lib/lsp": {
48
- "types": "./lib/lsp/index.d.ts",
49
- "default": "./lib/lsp/index.js"
50
- },
51
47
  "./node": {
52
48
  "types": "./lib/node/index.d.ts",
53
49
  "default": "./lib/node/index.js"
54
50
  },
55
- "./lib/node": {
56
- "types": "./lib/node/index.d.ts",
57
- "default": "./lib/node/index.js"
58
- },
59
51
  "./testing": {
60
52
  "types": "./lib/testing/index.d.ts",
61
53
  "default": "./lib/testing/index.js"
@@ -64,29 +56,13 @@
64
56
  "types": "./lib/testing/node/index.d.ts",
65
57
  "default": "./lib/testing/node/index.js"
66
58
  },
67
- "./lib/testing/node": {
68
- "types": "./lib/testing/node/index.d.ts",
69
- "default": "./lib/testing/node/index.js"
70
- },
71
- "./lib/testing": {
72
- "types": "./lib/testing/index.d.ts",
73
- "default": "./lib/testing/index.js"
74
- },
75
59
  "./testing/playwright": {
76
60
  "types": "./lib/testing/playwright/index.d.ts",
77
61
  "default": "./lib/testing/playwright/index.js"
78
62
  },
79
- "./lib/testing/playwright": {
80
- "types": "./lib/testing/playwright/index.d.ts",
81
- "default": "./lib/testing/playwright/index.js"
82
- },
83
63
  "./messages": {
84
64
  "types": "./lib/messages/index.d.ts",
85
65
  "default": "./lib/messages/index.js"
86
- },
87
- "./lib/messages": {
88
- "types": "./lib/messages/index.d.ts",
89
- "default": "./lib/messages/index.js"
90
66
  }
91
67
  },
92
68
  "publishConfig": {
@@ -107,8 +83,8 @@
107
83
  "diff": "^5.2.0"
108
84
  },
109
85
  "devDependencies": {
110
- "@hydranium/langium": "1.0.0-next.214",
111
- "@hydranium/protocol": "1.0.0-next.214",
86
+ "@hydranium/langium": "1.0.0-next.216",
87
+ "@hydranium/protocol": "1.0.0-next.216",
112
88
  "@playwright/test": "^1.40.0",
113
89
  "@types/diff": "^5.2.0",
114
90
  "rimraf": "^5.0.0",
@@ -120,8 +96,8 @@
120
96
  "vscode-languageserver-types": "^3.17.5"
121
97
  },
122
98
  "peerDependencies": {
123
- "@hydranium/langium": "1.0.0-next.214",
124
- "@hydranium/protocol": "1.0.0-next.214",
99
+ "@hydranium/langium": "1.0.0-next.216",
100
+ "@hydranium/protocol": "1.0.0-next.216",
125
101
  "@playwright/test": "^1.40.0",
126
102
  "vscode-jsonrpc": "^9.0.0",
127
103
  "vscode-languageserver": "~10.0.1",