File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ web_modules/
70
70
* .tgz
71
71
72
72
# Output of 'npm run fetch:spec-types'
73
- src / spec.types.ts
73
+ spec.types.ts
74
74
75
75
# Yarn Integrity file
76
76
.yarn-integrity
Original file line number Diff line number Diff line change 35
35
" dist"
36
36
],
37
37
"scripts" : {
38
- "fetch:spec-types" : " curl -o src/ spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts" ,
38
+ "fetch:spec-types" : " curl -o spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts" ,
39
39
"build" : " npm run build:esm && npm run build:cjs" ,
40
40
"build:esm" : " mkdir -p dist/esm && echo '{\" type\" : \" module\" }' > dist/esm/package.json && tsc -p tsconfig.prod.json" ,
41
41
"build:esm:w" : " npm run build:esm -- -w" ,
Original file line number Diff line number Diff line change 6
6
* (note: a few don't have SDK types, see MISSING_SDK_TYPES below)
7
7
*/
8
8
import * as SDKTypes from "./types.js" ;
9
- import * as SpecTypes from "./spec.types.js" ;
9
+ import * as SpecTypes from ".. /spec.types.js" ;
10
10
import fs from "node:fs" ;
11
11
12
12
/* eslint-disable @typescript-eslint/no-unused-vars */
@@ -666,7 +666,7 @@ function checkLoggingLevel(
666
666
}
667
667
668
668
// This file is .gitignore'd, and fetched by `npm run fetch:spec-types` (called by `npm run test`)
669
- const SPEC_TYPES_FILE = 'src/ spec.types.ts' ;
669
+ const SPEC_TYPES_FILE = 'spec.types.ts' ;
670
670
const SDK_TYPES_FILE = 'src/types.ts' ;
671
671
672
672
const MISSING_SDK_TYPES = [
You can’t perform that action at this time.
0 commit comments