|
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)", |
|
59 | 59 | "dist" |
60 | 60 | ], |
61 | 61 | "scripts": { |
62 | | - "fetch:spec-types": "curl -o spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts", |
| 62 | + "fetch:spec-types": "tsx scripts/fetch-spec-types.ts", |
| 63 | + "typecheck": "tsgo --noEmit", |
63 | 64 | "build": "npm run build:esm && npm run build:cjs", |
64 | 65 | "build:esm": "mkdir -p dist/esm && echo '{\"type\": \"module\"}' > dist/esm/package.json && tsc -p tsconfig.prod.json", |
65 | 66 | "build:esm:w": "npm run build:esm -- -w", |
|
69 | 70 | "prepack": "npm run build:esm && npm run build:cjs", |
70 | 71 | "lint": "eslint src/ && prettier --check .", |
71 | 72 | "lint:fix": "eslint src/ --fix && prettier --write .", |
72 | | - "test": "npm run fetch:spec-types && jest", |
| 73 | + "check": "npm run typecheck && npm run lint", |
| 74 | + "test": "jest", |
73 | 75 | "start": "npm run server", |
74 | | - "server": "tsx watch --clear-screen=false src/cli.ts server", |
75 | | - "client": "tsx src/cli.ts client" |
| 76 | + "server": "tsx watch --clear-screen=false scripts/cli.ts server", |
| 77 | + "client": "tsx scripts/cli.ts client" |
76 | 78 | }, |
77 | 79 | "dependencies": { |
78 | 80 | "ajv": "^8.17.1", |
|
111 | 113 | "@types/node": "^22.0.2", |
112 | 114 | "@types/supertest": "^6.0.2", |
113 | 115 | "@types/ws": "^8.5.12", |
| 116 | + "@typescript/native-preview": "^7.0.0-dev.20251103.1", |
114 | 117 | "eslint": "^9.8.0", |
115 | 118 | "eslint-config-prettier": "^10.1.8", |
116 | 119 | "jest": "^29.7.0", |
|
0 commit comments