|
1 | 1 | { |
2 | 2 | "name": "@modelcontextprotocol/sdk", |
3 | | - "version": "1.21.0", |
| 3 | + "version": "1.21.1", |
4 | 4 | "description": "Model Context Protocol implementation for TypeScript", |
5 | 5 | "license": "MIT", |
6 | 6 | "author": "Anthropic, PBC (https://anthropic.com)", |
|
55 | 55 | "dist" |
56 | 56 | ], |
57 | 57 | "scripts": { |
58 | | - "fetch:spec-types": "curl -o spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts", |
| 58 | + "fetch:spec-types": "tsx scripts/fetch-spec-types.ts", |
| 59 | + "typecheck": "tsgo --noEmit", |
59 | 60 | "build": "npm run build:esm && npm run build:cjs", |
60 | 61 | "build:esm": "mkdir -p dist/esm && echo '{\"type\": \"module\"}' > dist/esm/package.json && tsc -p tsconfig.prod.json", |
61 | 62 | "build:esm:w": "npm run build:esm -- -w", |
|
65 | 66 | "prepack": "npm run build:esm && npm run build:cjs", |
66 | 67 | "lint": "eslint src/ && prettier --check .", |
67 | 68 | "lint:fix": "eslint src/ --fix && prettier --write .", |
68 | | - "test": "npm run fetch:spec-types && jest", |
| 69 | + "check": "npm run typecheck && npm run lint", |
| 70 | + "test": "jest", |
69 | 71 | "start": "npm run server", |
70 | | - "server": "tsx watch --clear-screen=false src/cli.ts server", |
71 | | - "client": "tsx src/cli.ts client" |
| 72 | + "server": "tsx watch --clear-screen=false scripts/cli.ts server", |
| 73 | + "client": "tsx scripts/cli.ts client" |
72 | 74 | }, |
73 | 75 | "dependencies": { |
74 | 76 | "ajv": "^8.17.1", |
|
107 | 109 | "@types/node": "^22.0.2", |
108 | 110 | "@types/supertest": "^6.0.2", |
109 | 111 | "@types/ws": "^8.5.12", |
| 112 | + "@typescript/native-preview": "^7.0.0-dev.20251103.1", |
110 | 113 | "eslint": "^9.8.0", |
111 | 114 | "eslint-config-prettier": "^10.1.8", |
112 | 115 | "jest": "^29.7.0", |
|
0 commit comments