@movk/nuxt-docs 1.11.1 → 1.12.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/README.md CHANGED
@@ -78,6 +78,21 @@ pnpm dev
78
78
 
79
79
  访问 `http://localhost:3000` 查看你的文档网站。
80
80
 
81
+ ### AI 助手 Skill
82
+
83
+ 为你的 AI 助手(Cursor、Claude Code 等)添加 Movk Nuxt Docs 专业知识,加速文档编写:
84
+
85
+ ```bash
86
+ npx skills add mhaibaraai/movk-nuxt-docs
87
+ ```
88
+
89
+ 此 Skill 为 AI 助手提供 Movk Nuxt Docs 专业知识,帮助你更高效地编写文档:
90
+
91
+ - 📝 MDC 组件用法和现成模板
92
+ - 🎨 中文文档写作规范和内容结构模式
93
+ - 🔧 nuxt.config.ts 和 app.config.ts 配置参考
94
+ - 📚 入门页、功能介绍页等常用页面模板
95
+
81
96
  ### 作为 Layer 使用
82
97
 
83
98
  在现有 Nuxt 项目中使用 Movk Nuxt Docs 作为 layer:
package/app/app.config.ts CHANGED
@@ -107,8 +107,8 @@ export default defineAppConfig({
107
107
  clearChat: 'i-lucide-trash-2',
108
108
  streaming: 'i-lucide-chevron-down',
109
109
  providers: {
110
- mistral: 'i-simple-icons-mistralai',
111
- kwaipilot: 'i-lucide-wand'
110
+ deepseek: 'i-ri-deepseek-fill',
111
+ alibaba: 'i-simple-icons-alibabacloud'
112
112
  }
113
113
  }
114
114
  }
package/modules/config.ts CHANGED
@@ -17,7 +17,8 @@ export default defineNuxtModule({
17
17
  const url = inferSiteURL()
18
18
  const meta = await getPackageJsonMetadata(dir)
19
19
  const gitInfo = await getLocalGitInfo(dir) || getGitEnv()
20
- const siteName = meta.name || gitInfo?.name || ''
20
+
21
+ const siteName = nuxt.options?.site?.name || meta.name || gitInfo?.name || ''
21
22
 
22
23
  nuxt.options.site = defu(nuxt.options.site, {
23
24
  url,
package/nuxt.config.ts CHANGED
@@ -109,7 +109,7 @@ export default defineNuxtConfig({
109
109
  import('vite-plugin-wasm'),
110
110
  import('vite-plugin-top-level-await')
111
111
  ])
112
- config.plugins!.push(wasm.default(), topLevelAwait.default())
112
+ config.plugins!.push(wasm.default(), topLevelAwait.default() as any)
113
113
 
114
114
  const build = config.build || ((config as any).build = {})
115
115
  build.rollupOptions ??= {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@movk/nuxt-docs",
3
3
  "type": "module",
4
- "version": "1.11.1",
4
+ "version": "1.12.1",
5
5
  "private": false,
6
6
  "description": "Modern Nuxt 4 documentation theme with auto-generated component docs, AI chat assistant, MCP server, and complete developer experience optimization.",
7
7
  "author": "YiXuan <mhaibaraai@gmail.com>",
@@ -29,27 +29,27 @@
29
29
  "README.md"
30
30
  ],
31
31
  "dependencies": {
32
- "@ai-sdk/gateway": "^3.0.32",
33
- "@ai-sdk/mcp": "^1.0.18",
34
- "@ai-sdk/vue": "^3.0.67",
35
- "@iconify-json/lucide": "^1.2.87",
36
- "@iconify-json/simple-icons": "^1.2.69",
32
+ "@ai-sdk/gateway": "^3.0.39",
33
+ "@ai-sdk/mcp": "^1.0.19",
34
+ "@ai-sdk/vue": "^3.0.77",
35
+ "@iconify-json/lucide": "^1.2.89",
36
+ "@iconify-json/simple-icons": "^1.2.70",
37
37
  "@iconify-json/vscode-icons": "^1.2.40",
38
38
  "@movk/core": "^1.1.0",
39
39
  "@nuxt/a11y": "^1.0.0-alpha.1",
40
- "@nuxt/content": "^3.11.0",
40
+ "@nuxt/content": "^3.11.2",
41
41
  "@nuxt/image": "^2.0.0",
42
- "@nuxt/kit": "^4.3.0",
42
+ "@nuxt/kit": "^4.3.1",
43
43
  "@nuxt/ui": "^4.4.0",
44
- "@nuxtjs/mcp-toolkit": "^0.6.2",
45
- "@nuxtjs/mdc": "^0.20.0",
44
+ "@nuxtjs/mcp-toolkit": "^0.6.3",
45
+ "@nuxtjs/mdc": "^0.20.1",
46
46
  "@octokit/rest": "^22.0.1",
47
47
  "@openrouter/ai-sdk-provider": "^2.1.1",
48
48
  "@vercel/analytics": "^1.6.1",
49
49
  "@vercel/speed-insights": "^1.3.1",
50
50
  "@vueuse/core": "^14.2.0",
51
51
  "@vueuse/nuxt": "^14.2.0",
52
- "ai": "^6.0.67",
52
+ "ai": "^6.0.77",
53
53
  "defu": "^6.1.4",
54
54
  "dompurify": "^3.3.1",
55
55
  "exsolve": "^1.0.8",
@@ -57,7 +57,7 @@
57
57
  "mermaid": "^11.12.2",
58
58
  "minimark": "^0.2.0",
59
59
  "motion-v": "^1.10.2",
60
- "nuxt": "^4.3.0",
60
+ "nuxt": "^4.3.1",
61
61
  "nuxt-component-meta": "^0.17.1",
62
62
  "nuxt-llms": "^0.2.0",
63
63
  "nuxt-og-image": "^5.1.13",