Skip to content

Commit a51edfc

Browse files
committed
fix: resolve linting errors and update version to 2.0.0
1 parent 85ac448 commit a51edfc

File tree

5 files changed

+581
-558
lines changed

5 files changed

+581
-558
lines changed

package.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcp-template",
3-
"version": "1.0.1",
3+
"version": "2.0.0",
44
"description": "Template for building MCP (Model Context Protocol) servers with TypeScript",
55
"main": "dist/index.js",
66
"bin": "dist/index.js",
@@ -17,13 +17,7 @@
1717
"prepare": "husky",
1818
"start": "node dist/index.js"
1919
},
20-
"keywords": [
21-
"mcp",
22-
"model-context-protocol",
23-
"typescript",
24-
"template",
25-
"mcp-server"
26-
],
20+
"keywords": ["mcp", "model-context-protocol", "typescript", "template", "mcp-server"],
2721
"author": "",
2822
"license": "CC-BY-NC-SA-4.0",
2923
"repository": {

shared/dependencies/core.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
2-
"description": "Core shared dependencies for all MCP servers",
3-
"version": "2.0.0",
4-
"dependencies": {
5-
"node-fetch-cache": "^3.0.0",
6-
"zod": "^3.22.0",
7-
"zod-to-json-schema": "^3.21.0"
8-
},
9-
"devDependencies": {
10-
"@types/node": "^20.0.0",
11-
"typescript": "^5.0.0",
12-
"vitest": "^1.0.0",
13-
"@vitest/coverage-v8": "^1.0.0",
14-
"biome": "^1.4.0",
15-
"husky": "^8.0.0",
16-
"commitlint": "^18.0.0",
17-
"@commitlint/config-conventional": "^18.0.0"
18-
},
19-
"peerDependencies": {
20-
"@modelcontextprotocol/sdk": "^0.4.0"
21-
},
22-
"sync_rules": {
23-
"dependencies": {
24-
"node-fetch-cache": "always_sync",
25-
"zod": "always_sync",
26-
"zod-to-json-schema": "always_sync"
27-
},
28-
"devDependencies": {
29-
"@types/node": "sync_major_minor",
30-
"typescript": "sync_major_minor",
31-
"vitest": "always_sync",
32-
"@vitest/coverage-v8": "always_sync",
33-
"biome": "always_sync",
34-
"husky": "always_sync",
35-
"commitlint": "always_sync",
36-
"@commitlint/config-conventional": "always_sync"
37-
}
38-
}
39-
}
2+
"description": "Core shared dependencies for all MCP servers",
3+
"version": "2.0.0",
4+
"dependencies": {
5+
"node-fetch-cache": "^3.0.0",
6+
"zod": "^3.22.0",
7+
"zod-to-json-schema": "^3.21.0"
8+
},
9+
"devDependencies": {
10+
"@types/node": "^20.0.0",
11+
"typescript": "^5.0.0",
12+
"vitest": "^1.0.0",
13+
"@vitest/coverage-v8": "^1.0.0",
14+
"biome": "^1.4.0",
15+
"husky": "^8.0.0",
16+
"commitlint": "^18.0.0",
17+
"@commitlint/config-conventional": "^18.0.0"
18+
},
19+
"peerDependencies": {
20+
"@modelcontextprotocol/sdk": "^0.4.0"
21+
},
22+
"sync_rules": {
23+
"dependencies": {
24+
"node-fetch-cache": "always_sync",
25+
"zod": "always_sync",
26+
"zod-to-json-schema": "always_sync"
27+
},
28+
"devDependencies": {
29+
"@types/node": "sync_major_minor",
30+
"typescript": "sync_major_minor",
31+
"vitest": "always_sync",
32+
"@vitest/coverage-v8": "always_sync",
33+
"biome": "always_sync",
34+
"husky": "always_sync",
35+
"commitlint": "always_sync",
36+
"@commitlint/config-conventional": "always_sync"
37+
}
38+
}
39+
}

shared/dependencies/optional.json

Lines changed: 79 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,80 @@
11
{
2-
"description": "Optional shared dependencies by category",
3-
"version": "2.0.0",
4-
"categories": {
5-
"web_apis": {
6-
"description": "For servers that interact with web APIs",
7-
"dependencies": {
8-
"cheerio": "^1.0.0",
9-
"jsdom": "^23.0.0",
10-
"xml2js": "^0.6.0"
11-
},
12-
"usage_examples": [
13-
"Web scraping servers",
14-
"HTML parsing servers",
15-
"API integration servers"
16-
]
17-
},
18-
"cli_support": {
19-
"description": "For servers that support CLI mode",
20-
"dependencies": {
21-
"commander": "^11.0.0",
22-
"chalk": "^5.0.0",
23-
"ora": "^7.0.0",
24-
"inquirer": "^9.0.0"
25-
},
26-
"usage_examples": [
27-
"Dual MCP/CLI servers",
28-
"Interactive setup tools",
29-
"Command-line utilities"
30-
]
31-
},
32-
"data_processing": {
33-
"description": "For servers that process data formats",
34-
"dependencies": {
35-
"csv-parser": "^3.0.0",
36-
"xlsx": "^0.18.0",
37-
"yaml": "^2.0.0"
38-
},
39-
"usage_examples": [
40-
"Data import/export servers",
41-
"File processing servers",
42-
"Configuration servers"
43-
]
44-
},
45-
"database": {
46-
"description": "For servers that interact with databases",
47-
"dependencies": {
48-
"sqlite3": "^5.0.0",
49-
"better-sqlite3": "^9.0.0"
50-
},
51-
"usage_examples": [
52-
"Local database servers",
53-
"Caching servers",
54-
"Persistence servers"
55-
]
56-
},
57-
"crypto": {
58-
"description": "For servers that need cryptographic functions",
59-
"dependencies": {
60-
"crypto-js": "^4.0.0",
61-
"bcrypt": "^5.0.0",
62-
"jsonwebtoken": "^9.0.0"
63-
},
64-
"usage_examples": [
65-
"Authentication servers",
66-
"Security servers",
67-
"Token management servers"
68-
]
69-
},
70-
"date_time": {
71-
"description": "For servers that work with dates and times",
72-
"dependencies": {
73-
"date-fns": "^2.0.0",
74-
"luxon": "^3.0.0"
75-
},
76-
"usage_examples": [
77-
"Calendar servers",
78-
"Scheduling servers",
79-
"Time tracking servers"
80-
]
81-
}
82-
},
83-
"sync_rules": {
84-
"detection": "auto_detect_usage",
85-
"strategy": "opt_in",
86-
"update_policy": "notify_only"
87-
}
88-
}
2+
"description": "Optional shared dependencies by category",
3+
"version": "2.0.0",
4+
"categories": {
5+
"web_apis": {
6+
"description": "For servers that interact with web APIs",
7+
"dependencies": {
8+
"cheerio": "^1.0.0",
9+
"jsdom": "^23.0.0",
10+
"xml2js": "^0.6.0"
11+
},
12+
"usage_examples": [
13+
"Web scraping servers",
14+
"HTML parsing servers",
15+
"API integration servers"
16+
]
17+
},
18+
"cli_support": {
19+
"description": "For servers that support CLI mode",
20+
"dependencies": {
21+
"commander": "^11.0.0",
22+
"chalk": "^5.0.0",
23+
"ora": "^7.0.0",
24+
"inquirer": "^9.0.0"
25+
},
26+
"usage_examples": [
27+
"Dual MCP/CLI servers",
28+
"Interactive setup tools",
29+
"Command-line utilities"
30+
]
31+
},
32+
"data_processing": {
33+
"description": "For servers that process data formats",
34+
"dependencies": {
35+
"csv-parser": "^3.0.0",
36+
"xlsx": "^0.18.0",
37+
"yaml": "^2.0.0"
38+
},
39+
"usage_examples": [
40+
"Data import/export servers",
41+
"File processing servers",
42+
"Configuration servers"
43+
]
44+
},
45+
"database": {
46+
"description": "For servers that interact with databases",
47+
"dependencies": {
48+
"sqlite3": "^5.0.0",
49+
"better-sqlite3": "^9.0.0"
50+
},
51+
"usage_examples": ["Local database servers", "Caching servers", "Persistence servers"]
52+
},
53+
"crypto": {
54+
"description": "For servers that need cryptographic functions",
55+
"dependencies": {
56+
"crypto-js": "^4.0.0",
57+
"bcrypt": "^5.0.0",
58+
"jsonwebtoken": "^9.0.0"
59+
},
60+
"usage_examples": [
61+
"Authentication servers",
62+
"Security servers",
63+
"Token management servers"
64+
]
65+
},
66+
"date_time": {
67+
"description": "For servers that work with dates and times",
68+
"dependencies": {
69+
"date-fns": "^2.0.0",
70+
"luxon": "^3.0.0"
71+
},
72+
"usage_examples": ["Calendar servers", "Scheduling servers", "Time tracking servers"]
73+
}
74+
},
75+
"sync_rules": {
76+
"detection": "auto_detect_usage",
77+
"strategy": "opt_in",
78+
"update_policy": "notify_only"
79+
}
80+
}

0 commit comments

Comments
 (0)