@cainli/mcp-server-mysql 2.0.10 → 2.0.11

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.
Files changed (2) hide show
  1. package/dist/evals.js +0 -0
  2. package/package.json +31 -27
package/dist/evals.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cainli/mcp-server-mysql",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "MCP server for interacting with MySQL databases with write operations support",
5
5
  "license": "MIT",
6
6
  "author": "cainli (https://github.com/cainli)",
@@ -16,6 +16,31 @@
16
16
  "README.md",
17
17
  "assets"
18
18
  ],
19
+ "scripts": {
20
+ "start": "node dist/index.js",
21
+ "dev": "ts-node index.ts",
22
+ "build": "tsc && npm run chmod:win",
23
+ "chmod:win": "node -e \"const os=require('os');if(os.platform()!=='win32'){const fs=require('fs');const dist='dist';const files=fs.readdirSync(dist).filter(f=>f.endsWith('.js'));files.forEach(f=>fs.chmodSync(dist+'/'+f,0o755));console.log('Made executable:',files.join(', '))}\"",
24
+ "prepare": "npm run build",
25
+ "watch": "tsc --watch",
26
+ "setup:test:db": "tsx scripts/setup-test-db.ts",
27
+ "pretest": "pnpm run setup:test:db",
28
+ "test": "pnpm run setup:test:db && vitest run",
29
+ "test:socket": "pnpm run setup:test:db && vitest run tests/integration/socket-connection.test.ts",
30
+ "test:watch": "pnpm run setup:test:db && vitest",
31
+ "test:coverage": "vitest run --coverage",
32
+ "test:unit": "vitest run --config vitest.unit.config.ts",
33
+ "test:integration": "vitest run --config vitest.integration.config.ts",
34
+ "test:e2e": "vitest run --config vitest.e2e.config.ts",
35
+ "stdio": "node dist/index.js --stdio",
36
+ "exec": " pnpm build && npx node --env-file=.env dist/index.js",
37
+ "lint": "npm run lint:eslint && npm run lint:markdown",
38
+ "lint:eslint": "eslint .",
39
+ "lint:markdown": "markdownlint .",
40
+ "lint:fix": "npm run lint:eslint:fix && npm run lint:markdown:fix",
41
+ "lint:eslint:fix": "eslint . --fix",
42
+ "lint:markdown:fix": "markdownlint . --fix"
43
+ },
19
44
  "dependencies": {
20
45
  "@ai-sdk/openai": "^1.3.22",
21
46
  "@modelcontextprotocol/sdk": "1.15.1",
@@ -41,6 +66,9 @@
41
66
  "typescript": "^5.8.3",
42
67
  "vitest": "^1.6.1"
43
68
  },
69
+ "overrides": {
70
+ "esbuild": "^0.23.0"
71
+ },
44
72
  "publishConfig": {
45
73
  "access": "public"
46
74
  },
@@ -59,29 +87,5 @@
59
87
  "mcp-patch",
60
88
  "mcp-options",
61
89
  "mcp-head"
62
- ],
63
- "scripts": {
64
- "start": "node dist/index.js",
65
- "dev": "ts-node index.ts",
66
- "build": "tsc && npm run chmod:win",
67
- "chmod:win": "node -e \"const os=require('os');if(os.platform()!=='win32'){const fs=require('fs');const dist='dist';const files=fs.readdirSync(dist).filter(f=>f.endsWith('.js'));files.forEach(f=>fs.chmodSync(dist+'/'+f,0o755));console.log('Made executable:',files.join(', '))}\"",
68
- "watch": "tsc --watch",
69
- "setup:test:db": "tsx scripts/setup-test-db.ts",
70
- "pretest": "pnpm run setup:test:db",
71
- "test": "pnpm run setup:test:db && vitest run",
72
- "test:socket": "pnpm run setup:test:db && vitest run tests/integration/socket-connection.test.ts",
73
- "test:watch": "pnpm run setup:test:db && vitest",
74
- "test:coverage": "vitest run --coverage",
75
- "test:unit": "vitest run --config vitest.unit.config.ts",
76
- "test:integration": "vitest run --config vitest.integration.config.ts",
77
- "test:e2e": "vitest run --config vitest.e2e.config.ts",
78
- "stdio": "node dist/index.js --stdio",
79
- "exec": " pnpm build && npx node --env-file=.env dist/index.js",
80
- "lint": "npm run lint:eslint && npm run lint:markdown",
81
- "lint:eslint": "eslint .",
82
- "lint:markdown": "markdownlint .",
83
- "lint:fix": "npm run lint:eslint:fix && npm run lint:markdown:fix",
84
- "lint:eslint:fix": "eslint . --fix",
85
- "lint:markdown:fix": "markdownlint . --fix"
86
- }
87
- }
90
+ ]
91
+ }