Skip to content

Commit d47ac33

Browse files
zhensherlockcodex
andcommitted
chore(deps): update dependencies and generated templates
Co-Authored-By: Codex <267193182+codex@users.noreply.github.com>
1 parent 140f8c4 commit d47ac33

15 files changed

Lines changed: 1577 additions & 1560 deletions

File tree

.changeset/orange-suits-jam.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'create-mcp-kit': patch
3+
'@mcp-tool-kit/shared': patch
4+
---
5+
6+
chore(deps): update dependencies and generated templates

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"license": "MIT",
1515
"devDependencies": {
1616
"@types/lodash-es": "^4.17.12",
17-
"vitepress": "^2.0.0-alpha.17",
18-
"vitepress-plugin-group-icons": "^1.7.3",
19-
"vitepress-plugin-llms": "^1.12.0"
17+
"vitepress": "^2.0.0-alpha.18",
18+
"vitepress-plugin-group-icons": "^1.7.5",
19+
"vitepress-plugin-llms": "^1.13.3"
2020
},
2121
"dependencies": {
2222
"lodash-es": "^4.18.1"

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,33 +36,33 @@
3636
"modelcontextprotocol",
3737
"typescript"
3838
],
39-
"packageManager": "pnpm@10.33.0",
39+
"packageManager": "pnpm@10.34.5",
4040
"devDependencies": {
4141
"@biomejs/biome": "2.3.14",
42-
"@changesets/changelog-github": "^0.5.2",
43-
"@changesets/cli": "^2.30.0",
44-
"@commitlint/cli": "^20.5.0",
45-
"@commitlint/config-conventional": "^20.5.0",
46-
"@rollup/plugin-terser": "^0.4.4",
42+
"@changesets/changelog-github": "^0.7.0",
43+
"@changesets/cli": "^2.31.1",
44+
"@commitlint/cli": "^21.2.1",
45+
"@commitlint/config-conventional": "^21.2.0",
46+
"@rollup/plugin-terser": "^1.0.0",
4747
"@rollup/plugin-typescript": "^12.3.0",
48-
"@types/node": "^22.19.17",
49-
"@vitest/coverage-v8": "^4.1.2",
50-
"c8": "^10.1.3",
48+
"@types/node": "^22.20.1",
49+
"@vitest/coverage-v8": "^4.1.10",
50+
"c8": "^12.0.0",
5151
"cross-env": "^10.1.0",
52-
"eslint": "^9.39.4",
52+
"eslint": "^10.7.0",
5353
"eslint-plugin-import": "^2.32.0",
54-
"eslint-plugin-prettier": "^5.5.5",
55-
"execa": "^9.6.1",
56-
"globals": "^17.4.0",
54+
"eslint-plugin-prettier": "^5.5.6",
55+
"execa": "^10.0.0",
56+
"globals": "^17.7.0",
5757
"husky": "^9.1.7",
58-
"lint-staged": "^16.4.0",
59-
"prettier": "^3.8.1",
58+
"lint-staged": "^17.1.1",
59+
"prettier": "^3.9.6",
6060
"rimraf": "^6.1.3",
61-
"rolldown": "^1.0.0-rc.13",
62-
"tsx": "^4.21.0",
63-
"turbo": "^2.9.4",
61+
"rolldown": "^1.2.0",
62+
"tsx": "^4.23.1",
63+
"turbo": "^2.10.6",
6464
"typescript": "^5.9.3",
65-
"typescript-eslint": "^8.58.0",
66-
"vitest": "^4.1.2"
65+
"typescript-eslint": "^8.65.0",
66+
"vitest": "^4.1.10"
6767
}
6868
}

packages/create-mcp-kit/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,14 @@
4444
"clean:dist": "rimraf dist",
4545
"dev": "rolldown -c rolldown.config.ts --watch",
4646
"build:types": "tsc --noEmit",
47-
"build": "npm run clean:dist && npm run build:types && rolldown -c rolldown.config.ts"
47+
"build": "npm run clean:dist && npm run build:types && rolldown -c rolldown.config.ts",
48+
"start": "node ./dist/index.js"
4849
},
4950
"bugs": {
5051
"url": "https://github.com/my-mcp-hub/mcp-kit/issues"
5152
},
5253
"dependencies": {
53-
"@clack/prompts": "^0.11.0",
54+
"@clack/prompts": "^1.7.0",
5455
"@mcp-tool-kit/shared": "workspace:^",
5556
"gradient-string": "^3.0.0",
5657
"handlebars": "^4.7.9",

packages/create-mcp-kit/template/client-js/package.json.hbs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,40 +27,40 @@
2727
"prepare": "husky"
2828
},
2929
"dependencies": {
30-
"@modelcontextprotocol/sdk": "^1.23.0",
31-
"dotenv": "^17.2.3"
30+
"@modelcontextprotocol/sdk": "^1.29.0",
31+
"dotenv": "^17.4.2"
3232
},
3333
"devDependencies": {
3434
{{#if (includes plugins 'commitlint')}}
35-
"@commitlint/cli": "^20.1.0",
36-
"@commitlint/config-conventional": "^20.0.0",
35+
"@commitlint/cli": "^21.2.1",
36+
"@commitlint/config-conventional": "^21.2.0",
3737
{{/if}}
3838
{{#if (includes plugins 'vitest')}}
39-
"@vitest/coverage-v8": "^4.0.14",
39+
"@vitest/coverage-v8": "^4.1.10",
4040
{{/if}}
4141
{{#if (includes plugins 'changelog')}}
4242
"compare-func": "^2.0.0",
4343
{{/if}}
4444
{{#if (includes plugins 'changelog')}}
45-
"conventional-changelog-angular": "^8.1.0",
45+
"conventional-changelog-angular": "^8.3.1",
4646
"conventional-changelog-cli": "^5.0.0",
4747
{{/if}}
4848
"cross-env": "^10.1.0",
49-
"esbuild": "^0.25.12",
49+
"esbuild": "^0.28.1",
5050
{{#if (includes plugins 'style')}}
51-
"eslint": "^9.39.1",
51+
"eslint": "^9.39.5",
5252
"eslint-plugin-import": "^2.32.0",
53-
"eslint-plugin-prettier": "^5.5.4",
54-
"globals": "^16.5.0",
53+
"eslint-plugin-prettier": "^5.5.6",
54+
"globals": "^17.7.0",
5555
{{/if}}
5656
"husky": "^9.1.7",
5757
{{#if (includes plugins 'style')}}
58-
"lint-staged": "^16.2.6",
59-
"prettier": "^3.6.2",
58+
"lint-staged": "^17.1.1",
59+
"prettier": "^3.9.6",
6060
{{/if}}
6161
{{#if (includes plugins 'vitest')}}
62-
"vitest": "^4.0.14",
62+
"vitest": "^4.1.10",
6363
{{/if}}
64-
"rimraf": "^6.1.0"
64+
"rimraf": "^6.1.3"
6565
}
6666
}

packages/create-mcp-kit/template/client-ts/eslint.config.js.hbs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{{#if (includes plugins 'style')}}
2-
import tsParser from '@typescript-eslint/parser'
3-
import tsPlugin from '@typescript-eslint/eslint-plugin'
42
import importPlugin from 'eslint-plugin-import'
53
import prettierPlugin from 'eslint-plugin-prettier'
64
import globals from 'globals'
5+
import tseslint from 'typescript-eslint'
76

87
export default [
98
{
@@ -18,7 +17,7 @@ export default [
1817
},
1918
{
2019
languageOptions: {
21-
parser: tsParser,
20+
parser: tseslint.parser,
2221
parserOptions: {
2322
ecmaVersion: 'latest',
2423
sourceType: 'module',
@@ -29,7 +28,7 @@ export default [
2928
},
3029
},
3130
plugins: {
32-
'@typescript-eslint': tsPlugin,
31+
'@typescript-eslint': tseslint.plugin,
3332
import: importPlugin,
3433
prettier: prettierPlugin,
3534
},

packages/create-mcp-kit/template/client-ts/package.json.hbs

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,47 +27,46 @@
2727
"prepare": "husky"
2828
},
2929
"dependencies": {
30-
"@modelcontextprotocol/sdk": "^1.23.0",
31-
"dotenv": "^17.2.3"
30+
"@modelcontextprotocol/sdk": "^1.29.0",
31+
"dotenv": "^17.4.2"
3232
},
3333
"devDependencies": {
3434
{{#if (includes plugins 'commitlint')}}
35-
"@commitlint/cli": "^20.1.0",
36-
"@commitlint/config-conventional": "^20.0.0",
35+
"@commitlint/cli": "^21.2.1",
36+
"@commitlint/config-conventional": "^21.2.0",
3737
{{/if}}
3838
{{#if (includes plugins 'style')}}
39-
"@typescript-eslint/eslint-plugin": "^8.48.0",
40-
"@typescript-eslint/parser": "^8.48.0",
39+
"typescript-eslint": "^8.65.0",
4140
{{/if}}
4241
{{#if (includes plugins 'vitest')}}
43-
"@vitest/coverage-v8": "^4.0.14",
42+
"@vitest/coverage-v8": "^4.1.10",
4443
{{/if}}
4544
{{#if (includes plugins 'changelog')}}
4645
"compare-func": "^2.0.0",
4746
{{/if}}
48-
"concurrently": "^9.2.1",
47+
"concurrently": "^10.0.3",
4948
{{#if (includes plugins 'changelog')}}
50-
"conventional-changelog-angular": "^8.1.0",
49+
"conventional-changelog-angular": "^8.3.1",
5150
"conventional-changelog-cli": "^5.0.0",
5251
{{/if}}
5352
"cross-env": "^10.1.0",
54-
"esbuild": "^0.25.12",
53+
"esbuild": "^0.28.1",
5554
{{#if (includes plugins 'style')}}
56-
"eslint": "^9.39.1",
55+
"eslint": "^9.39.5",
5756
"eslint-plugin-import": "^2.32.0",
58-
"eslint-plugin-prettier": "^5.5.4",
59-
"globals": "^16.5.0",
57+
"eslint-plugin-prettier": "^5.5.6",
58+
"globals": "^17.7.0",
6059
{{/if}}
6160
"husky": "^9.1.7",
6261
{{#if (includes plugins 'style')}}
63-
"lint-staged": "^16.2.6",
64-
"prettier": "^3.6.2",
62+
"lint-staged": "^17.1.1",
63+
"prettier": "^3.9.6",
6564
{{/if}}
66-
"tsx": "^4.20.6",
65+
"tsx": "^4.23.1",
6766
"typescript": "^5.9.3",
6867
{{#if (includes plugins 'vitest')}}
69-
"vitest": "^4.0.14",
68+
"vitest": "^4.1.10",
7069
{{/if}}
71-
"rimraf": "^6.1.0"
70+
"rimraf": "^6.1.3"
7271
}
7372
}

packages/create-mcp-kit/template/server-js/package.json.hbs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,58 +41,58 @@
4141
"prepare": "husky"
4242
},
4343
"dependencies": {
44-
"@modelcontextprotocol/sdk": "^1.23.0",
45-
"dotenv": "^17.2.3",
44+
"@modelcontextprotocol/sdk": "^1.29.0",
45+
"dotenv": "^17.4.2",
4646
{{#if (or (includes transports 'streamable') (includes transports 'sse'))}}
47-
"express": "^5.1.0",
48-
"nanoid": "^5.1.6",
47+
"express": "^5.2.1",
48+
"nanoid": "^6.0.0",
4949
{{/if}}
50-
"yargs": "^17.7.2",
50+
"yargs": "^18.0.0",
5151
"zod": "^3.25.76"
5252
},
5353
"devDependencies": {
5454
{{#if (includes plugins 'commitlint')}}
55-
"@commitlint/cli": "^20.1.0",
56-
"@commitlint/config-conventional": "^20.0.0",
55+
"@commitlint/cli": "^21.2.1",
56+
"@commitlint/config-conventional": "^21.2.0",
5757
{{/if}}
5858
{{#if (includes plugins 'inspector')}}
59-
"@modelcontextprotocol/inspector": "^0.17.2",
59+
"@modelcontextprotocol/inspector": "^1.0.0",
6060
{{/if}}
6161
{{#if (includes plugins 'vitest')}}
62-
"@vitest/coverage-v8": "^4.0.14",
63-
"c8": "^10.1.3",
62+
"@vitest/coverage-v8": "^4.1.10",
63+
"c8": "^12.0.0",
6464
{{/if}}
6565
{{#if (includes plugins 'changelog')}}
6666
"compare-func": "^2.0.0",
6767
{{/if}}
6868
{{#if (includes plugins 'changelog')}}
69-
"conventional-changelog-angular": "^8.1.0",
69+
"conventional-changelog-angular": "^8.3.1",
7070
"conventional-changelog-cli": "^5.0.0",
7171
{{/if}}
7272
"cross-env": "^10.1.0",
73-
"esbuild": "^0.25.12",
73+
"esbuild": "^0.28.1",
7474
{{#if (includes plugins 'style')}}
75-
"eslint": "^9.39.1",
75+
"eslint": "^9.39.5",
7676
"eslint-plugin-import": "^2.32.0",
77-
"eslint-plugin-prettier": "^5.5.3",
78-
"globals": "^16.5.0",
77+
"eslint-plugin-prettier": "^5.5.6",
78+
"globals": "^17.7.0",
7979
{{/if}}
8080
"husky": "^9.1.7",
8181
{{#if (includes plugins 'style')}}
82-
"lint-staged": "^16.2.6",
82+
"lint-staged": "^17.1.1",
8383
{{/if}}
8484
{{#if (includes plugins 'vitest')}}
8585
"nyc": "^17.1.0",
8686
{{/if}}
8787
{{#if (includes plugins 'style')}}
88-
"prettier": "^3.6.2",
88+
"prettier": "^3.9.6",
8989
{{/if}}
9090
{{#if (includes plugins 'inspector')}}
9191
"tree-kill": "^1.2.2",
9292
{{/if}}
9393
{{#if (includes plugins 'vitest')}}
94-
"vitest": "^4.0.14",
94+
"vitest": "^4.1.10",
9595
{{/if}}
96-
"rimraf": "^6.1.0"
96+
"rimraf": "^6.1.3"
9797
}
9898
}

packages/create-mcp-kit/template/server-js/src/services/web.js.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export async function webServer(server, options) {
8383
transports.sse[transport.sessionId] = transport
8484

8585
const interval = setInterval(() => {
86-
res.raw.write(`event: ping\ndata: {"time":"${new Date().toISOString()}"}\n\n`)
86+
res.write(`event: ping\ndata: {"time":"${new Date().toISOString()}"}\n\n`)
8787
}, 15000)
8888

8989
res.on('close', () => {

packages/create-mcp-kit/template/server-js/src/utils/index.js.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
{{#if (or (includes transports 'streamable') (includes transports 'sse'))}}
12
import { nanoid } from 'nanoid'
23

34
export function generateSessionId() {
45
return nanoid()
56
}
67

8+
{{/if}}
79
export function getOptions(argv, pkg) {
810
return {
911
name: pkg.name,

0 commit comments

Comments
 (0)