fix(packaging): inline the fast-uri URIComponent type; drop stale typesVersions (#2394)
This commit is contained in:
parent
14160f724b
commit
801111ea15
1 changed files with 117 additions and 12 deletions
7
.changeset/dist-types-skiplibcheck.md
Normal file
7
.changeset/dist-types-skiplibcheck.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
'@modelcontextprotocol/server': patch
|
||||
'@modelcontextprotocol/client': patch
|
||||
'@modelcontextprotocol/node': patch
|
||||
---
|
||||
|
||||
Fix the published declaration files for consumers compiling with `skipLibCheck: false`: the bundled `.d.mts` no longer leaves a dangling `URIComponent` reference (ajv's published types import it from `fast-uri`, whose export-assigned namespace the dts bundler cannot link — the type is now inlined via a dts-only path mapping), and no longer imports `json-schema-typed` from an undeclared dependency (it is inlined via `dts.resolve`). `@modelcontextprotocol/node` and `@modelcontextprotocol/server` drop stale `typesVersions` entries pointing at subpaths that never shipped. Package READMEs note that TypeScript >=6.0 requires `"types": ["node"]` since the published declarations reference `Buffer`.
|
||||
Loading…
Reference in a new issue