openapi-explorer-mcp 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -132,8 +132,13 @@ npm run typecheck
|
|
|
132
132
|
npm run build # tsc into dist/
|
|
133
133
|
npm run smoke # stdio checks against scripts/fixtures/pets.json, no network
|
|
134
134
|
npm run check # all three
|
|
135
|
+
npm run smoke:package # packs the tarball, installs it in a clean directory and runs the smoke there
|
|
135
136
|
```
|
|
136
137
|
|
|
138
|
+
`npm publish` runs `check` and `smoke:package` first. The package depends on TypeScript 5.9 directly: the type
|
|
139
|
+
generator declares TypeScript as a peer dependency, and without the pin npm installs TypeScript 7, whose JavaScript
|
|
140
|
+
API the generator can't use.
|
|
141
|
+
|
|
137
142
|
## License
|
|
138
143
|
|
|
139
144
|
MIT — see [LICENSE](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-explorer-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "MCP server for any OpenAPI 3 spec: search endpoints, inspect request and response shapes, generate TypeScript types, and call endpoints with credentials mapped to the spec's security schemes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Eugene Trofimov",
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
"build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc",
|
|
28
28
|
"typecheck": "tsc --noEmit",
|
|
29
29
|
"smoke": "node scripts/smoke.mjs",
|
|
30
|
+
"smoke:package": "node scripts/smoke-package.mjs",
|
|
30
31
|
"check": "npm run typecheck && npm run build && npm run smoke",
|
|
32
|
+
"prepublishOnly": "npm run check && npm run smoke:package",
|
|
31
33
|
"prepack": "npm run build"
|
|
32
34
|
},
|
|
33
35
|
"keywords": [
|
|
@@ -50,10 +52,10 @@
|
|
|
50
52
|
"dependencies": {
|
|
51
53
|
"@hey-api/openapi-ts": "^0.95.0",
|
|
52
54
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
55
|
+
"typescript": "~5.9.3",
|
|
53
56
|
"zod": "^4.6.5"
|
|
54
57
|
},
|
|
55
58
|
"devDependencies": {
|
|
56
|
-
"@types/node": "^20.19.43"
|
|
57
|
-
"typescript": "^5.9.3"
|
|
59
|
+
"@types/node": "^20.19.43"
|
|
58
60
|
}
|
|
59
61
|
}
|