Skip to content

Commit 94e6430

Browse files
committed
fix: include source files and TypeScript configs in npm package
- Add src/, tsconfig.*.json, and spec.types.ts to files array - This enables postinstall builds when installed from GitHub fork - Required for downstream packages to build the SDK during installation
1 parent 24662c8 commit 94e6430

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232
}
3333
},
3434
"files": [
35-
"dist"
35+
"dist",
36+
"src",
37+
"tsconfig.*.json",
38+
"spec.types.ts"
3639
],
3740
"scripts": {
3841
"fetch:spec-types": "curl -o spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts",

0 commit comments

Comments
 (0)