Merge branch 'main' into justin/simplified-api

This commit is contained in:
Justin Spahr-Summers 2025-01-13 20:34:08 +00:00
commit 2e35b15353
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
{
"name": "@modelcontextprotocol/sdk",
"version": "1.1.0",
"version": "1.1.1",
"description": "Model Context Protocol implementation for TypeScript",
"license": "MIT",
"author": "Anthropic, PBC (https://anthropic.com)",
@ -19,12 +19,15 @@
"mcp"
],
"exports": {
"./*": "./dist/*"
"./*": {
"import": "./dist/esm/*",
"require": "./dist/cjs/*"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/*"
"./dist/esm/*"
]
}
},
@ -32,8 +35,10 @@
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.prod.json",
"prepack": "tsc -p tsconfig.prod.json",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.prod.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"prepack": "npm run build:esm && npm run build:cjs",
"lint": "eslint src/",
"test": "jest",
"start": "npm run server",