@leeguoo/yapi-mcp 0.3.0 → 0.3.1

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/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@leeguoo/yapi-mcp",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "YApi Auto MCP Server - Model Context Protocol server for YApi integration, enables AI tools like Cursor to interact with YApi API documentation",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "yapi-auto-mcp": "dist/cli.js",
8
- "yapi-mcp": "dist/cli.js"
8
+ "yapi-mcp": "dist/cli.js",
9
+ "yapi": "dist/yapi-cli.js"
9
10
  },
10
11
  "files": [
11
12
  "dist",
@@ -23,7 +24,7 @@
23
24
  "lint": "eslint . --ext .ts",
24
25
  "format": "prettier --write \"src/**/*.ts\"",
25
26
  "inspect": "pnpx @modelcontextprotocol/inspector",
26
- "prepare": "pnpm run build && chmod +x ./dist/cli.js",
27
+ "prepare": "pnpm run build && chmod +x ./dist/cli.js ./dist/yapi-cli.js",
27
28
  "pub:release": "pnpm build && npm publish"
28
29
  },
29
30
  "engines": {