Skip to content

Commit 9f3a54e

Browse files
feat(mcp): allow opt-in mcp resources and endpoints (#720)
1 parent 2df4cdd commit 9f3a54e

File tree

2 files changed

+8
-28
lines changed

2 files changed

+8
-28
lines changed

package.json

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -107,38 +107,17 @@
107107
"default": "./dist/index.mjs"
108108
},
109109
"./*.mjs": {
110-
"types": [
111-
"./dist/*.d.ts",
112-
"./dist/*/index.d.ts"
113-
],
114-
"default": [
115-
"./dist/*.mjs",
116-
"./dist/*/index.mjs"
117-
]
110+
"types": "./dist/*.d.ts",
111+
"default": "./dist/*.mjs"
118112
},
119113
"./*.js": {
120-
"types": [
121-
"./dist/*.d.ts",
122-
"./dist/*/index.d.ts"
123-
],
124-
"default": [
125-
"./dist/*.js",
126-
"./dist/*/index.js"
127-
]
114+
"types": "./dist/*.d.ts",
115+
"default": "./dist/*.js"
128116
},
129117
"./*": {
130-
"types": [
131-
"./dist/*.d.ts",
132-
"./dist/*/index.d.ts"
133-
],
134-
"require": [
135-
"./dist/*.js",
136-
"./dist/*/index.js"
137-
],
138-
"default": [
139-
"./dist/*.mjs",
140-
"./dist/*/index.mjs"
141-
]
118+
"types": "./dist/*.d.ts",
119+
"require": "./dist/*.js",
120+
"default": "./dist/*.mjs"
142121
}
143122
}
144123
}

src/resources.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './resources/index';

0 commit comments

Comments
 (0)