Skip to content

Commit 06f4682

Browse files
chore(deps): update all non-major dependencies (v4) (#5466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benjamin Canac <[email protected]>
1 parent c0da1b2 commit 06f4682

File tree

5 files changed

+349
-460
lines changed

5 files changed

+349
-460
lines changed

docs/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@
99
"typecheck": "nuxt typecheck"
1010
},
1111
"dependencies": {
12-
"@ai-sdk/gateway": "^2.0.7",
13-
"@ai-sdk/mcp": "^0.0.7",
14-
"@ai-sdk/vue": "^2.0.90",
12+
"@ai-sdk/gateway": "^2.0.9",
13+
"@ai-sdk/mcp": "^0.0.8",
14+
"@ai-sdk/vue": "^2.0.93",
1515
"@iconify-json/logos": "^1.2.10",
1616
"@iconify-json/lucide": "^1.2.73",
17-
"@iconify-json/simple-icons": "^1.2.58",
18-
"@iconify-json/vscode-icons": "^1.2.33",
19-
"@modelcontextprotocol/sdk": "^1.21.1",
20-
"@nuxt/content": "^3.8.0",
17+
"@iconify-json/simple-icons": "^1.2.59",
18+
"@iconify-json/vscode-icons": "^1.2.35",
19+
"@modelcontextprotocol/sdk": "^1.22.0",
20+
"@nuxt/content": "^3.8.2",
2121
"@nuxt/image": "^2.0.0",
2222
"@nuxt/ui": "workspace:*",
2323
"@nuxtjs/plausible": "^2.0.1",
2424
"@octokit/rest": "^22.0.1",
25-
"@regle/core": "^1.9.8",
26-
"@regle/rules": "^1.9.8",
25+
"@regle/core": "^1.10.1",
26+
"@regle/rules": "^1.10.1",
2727
"@vercel/analytics": "^1.5.0",
2828
"@vercel/speed-insights": "^1.2.0",
2929
"@vueuse/integrations": "^13.9.0",
3030
"@vueuse/nuxt": "^13.9.0",
31-
"ai": "^5.0.90",
31+
"ai": "^5.0.93",
3232
"better-sqlite3": "^12.4.1",
3333
"capture-website": "^5.1.0",
3434
"joi": "^18.0.1",

docs/server/routes/mcp.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function createServer() {
204204
async () => {
205205
const result = await $fetch('/api/mcp/list-components')
206206
return {
207-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
207+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
208208
}
209209
}
210210
)
@@ -218,7 +218,7 @@ function createServer() {
218218
async () => {
219219
const result = await $fetch('/api/mcp/list-composables')
220220
return {
221-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
221+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
222222
}
223223
}
224224
)
@@ -233,10 +233,10 @@ function createServer() {
233233
componentName: z.string().describe('The name of the component (PascalCase)')
234234
}
235235
},
236-
async (params) => {
236+
async (params: { componentName: string }) => {
237237
const result = await $fetch('/api/mcp/get-component', { query: params })
238238
return {
239-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
239+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
240240
}
241241
}
242242
)
@@ -251,10 +251,10 @@ function createServer() {
251251
componentName: z.string().describe('The name of the component (PascalCase)')
252252
}
253253
},
254-
async (params) => {
254+
async (params: { componentName: string }) => {
255255
const result = await $fetch('/api/mcp/get-component-metadata', { query: params })
256256
return {
257-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
257+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
258258
}
259259
}
260260
)
@@ -269,10 +269,10 @@ function createServer() {
269269
category: z.string().optional().describe('Filter templates by category')
270270
}
271271
},
272-
async (params) => {
272+
async (params: { category?: string }) => {
273273
const result = await $fetch('/api/mcp/list-templates', { query: params })
274274
return {
275-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
275+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }],
276276
structuredContent: result as any
277277
}
278278
}
@@ -288,10 +288,10 @@ function createServer() {
288288
templateName: z.string().describe('The name of the template')
289289
}
290290
},
291-
async (params) => {
291+
async (params: { templateName: string }) => {
292292
const result = await $fetch('/api/mcp/get-template', { query: params })
293293
return {
294-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
294+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }],
295295
structuredContent: result as any
296296
}
297297
}
@@ -307,10 +307,10 @@ function createServer() {
307307
path: z.string().describe('The path to the content page (e.g., /docs/components/button)')
308308
}
309309
},
310-
async (params) => {
310+
async (params: { path: string }) => {
311311
const result = await $fetch<string>(`/raw${params.path}.md`)
312312
return {
313-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
313+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
314314
}
315315
}
316316
)
@@ -324,7 +324,7 @@ function createServer() {
324324
async () => {
325325
const result = await $fetch('/api/mcp/list-documentation-pages')
326326
return {
327-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
327+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
328328
}
329329
}
330330
)
@@ -338,7 +338,7 @@ function createServer() {
338338
async () => {
339339
const result = await $fetch('/api/mcp/list-getting-started-guides')
340340
return {
341-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
341+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
342342
}
343343
}
344344
)
@@ -353,10 +353,10 @@ function createServer() {
353353
version: z.enum(['v3', 'v4']).describe('The migration version (e.g., v4, v3)')
354354
}
355355
},
356-
async (params) => {
356+
async (params: { version: 'v3' | 'v4' }) => {
357357
const result = await $fetch('/api/mcp/get-migration-guide', { query: params })
358358
return {
359-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
359+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
360360
}
361361
}
362362
)
@@ -370,7 +370,7 @@ function createServer() {
370370
async () => {
371371
const result = await $fetch('/api/mcp/list-examples')
372372
return {
373-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
373+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
374374
}
375375
}
376376
)
@@ -385,10 +385,10 @@ function createServer() {
385385
exampleName: z.string().describe('The name of the example (PascalCase)')
386386
}
387387
},
388-
async ({ exampleName }) => {
388+
async ({ exampleName }: { exampleName: string }) => {
389389
const result = await $fetch(`/api/component-example/${exampleName}.json`)
390390
return {
391-
content: [{ type: 'text', text: result.code }]
391+
content: [{ type: 'text' as const, text: result.code }]
392392
}
393393
}
394394
)
@@ -405,10 +405,10 @@ function createServer() {
405405
search: z.string().optional().describe('Search term to filter components by name or description')
406406
}
407407
},
408-
async (params) => {
408+
async (params: { category?: string, search?: string }) => {
409409
const result = await $fetch('/api/mcp/search-components-by-category', { query: params })
410410
return {
411-
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]
411+
content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }]
412412
}
413413
}
414414
)

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@nuxt/ui",
33
"description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
44
"version": "4.1.0",
5-
"packageManager": "pnpm@10.21.0",
5+
"packageManager": "pnpm@10.22.0",
66
"repository": {
77
"type": "git",
88
"url": "git+https://github.com/nuxt/ui.git"
@@ -143,7 +143,7 @@
143143
"embla-carousel-wheel-gestures": "^8.1.0",
144144
"fuse.js": "^7.1.0",
145145
"hookable": "^5.5.3",
146-
"knitwork": "^1.2.0",
146+
"knitwork": "^1.3.0",
147147
"magic-string": "^0.30.21",
148148
"mlly": "^1.8.0",
149149
"motion-v": "^1.7.3",
@@ -165,9 +165,9 @@
165165
"@nuxt/eslint-config": "^1.10.0",
166166
"@nuxt/module-builder": "^1.0.2",
167167
"@nuxt/test-utils": "^3.20.1",
168-
"@release-it/conventional-changelog": "^10.0.1",
168+
"@release-it/conventional-changelog": "^10.0.2",
169169
"@vue/test-utils": "^2.4.6",
170-
"ai": "^5.0.90",
170+
"ai": "^5.0.93",
171171
"embla-carousel": "^8.6.0",
172172
"eslint": "^9.39.1",
173173
"happy-dom": "^20.0.10",

playgrounds/nuxt/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"typecheck": "nuxt typecheck"
1010
},
1111
"dependencies": {
12-
"@ai-sdk/gateway": "^2.0.7",
13-
"@ai-sdk/vue": "^2.0.90",
12+
"@ai-sdk/gateway": "^2.0.9",
13+
"@ai-sdk/vue": "^2.0.93",
1414
"@iconify-json/lucide": "^1.2.73",
15-
"@iconify-json/simple-icons": "^1.2.58",
15+
"@iconify-json/simple-icons": "^1.2.59",
1616
"@internationalized/date": "^3.10.0",
1717
"@nuxt/ui": "workspace:*",
18-
"ai": "^5.0.90",
18+
"ai": "^5.0.93",
1919
"nuxt": "^4.2.1",
2020
"zod": "^4.1.12"
2121
},

0 commit comments

Comments
 (0)