File tree Expand file tree Collapse file tree 3 files changed +710
-1
lines changed Expand file tree Collapse file tree 3 files changed +710
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ web_modules/
69
69
# Output of 'npm pack'
70
70
* .tgz
71
71
72
+ # Output of 'npm run fetch:spec-types'
73
+ spec.types.ts
74
+
72
75
# Yarn Integrity file
73
76
.yarn-integrity
74
77
Original file line number Diff line number Diff line change 35
35
" dist"
36
36
],
37
37
"scripts" : {
38
+ "fetch:spec-types" : " curl -o spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts" ,
38
39
"build" : " npm run build:esm && npm run build:cjs" ,
39
40
"build:esm" : " mkdir -p dist/esm && echo '{\" type\" : \" module\" }' > dist/esm/package.json && tsc -p tsconfig.prod.json" ,
40
41
"build:esm:w" : " npm run build:esm -- -w" ,
43
44
"examples:simple-server:w" : " tsx --watch src/examples/server/simpleStreamableHttp.ts --oauth" ,
44
45
"prepack" : " npm run build:esm && npm run build:cjs" ,
45
46
"lint" : " eslint src/" ,
46
- "test" : " jest" ,
47
+ "test" : " npm run fetch:spec-types && jest" ,
47
48
"start" : " npm run server" ,
48
49
"server" : " tsx watch --clear-screen=false src/cli.ts server" ,
49
50
"client" : " tsx src/cli.ts client"
You can’t perform that action at this time.
0 commit comments