@movk/nuxt-docs 1.17.1 → 1.17.2
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/app/types/index.d.ts +7 -0
- package/modules/module.ts +3 -3
- package/package.json +4 -5
package/app/types/index.d.ts
CHANGED
|
@@ -6,6 +6,13 @@ export interface ExtendedButtonProps extends ButtonProps {
|
|
|
6
6
|
|
|
7
7
|
declare module 'nuxt/schema' {
|
|
8
8
|
interface AppConfig {
|
|
9
|
+
ui: {
|
|
10
|
+
colors: {
|
|
11
|
+
primary: string
|
|
12
|
+
neutral: string
|
|
13
|
+
}
|
|
14
|
+
icons: Record<string, string>
|
|
15
|
+
}
|
|
9
16
|
seo: {
|
|
10
17
|
titleTemplate: string
|
|
11
18
|
title: string
|
package/modules/module.ts
CHANGED
|
@@ -130,17 +130,17 @@ export default defineNuxtModule<ModuleOptions>({
|
|
|
130
130
|
}
|
|
131
131
|
})
|
|
132
132
|
|
|
133
|
-
nuxt.options.appConfig.header = defu(nuxt.options.appConfig.header, {
|
|
133
|
+
nuxt.options.appConfig.header = defu(nuxt.options.appConfig.header as Record<string, any>, {
|
|
134
134
|
title: startCase(siteName)
|
|
135
135
|
})
|
|
136
136
|
|
|
137
|
-
nuxt.options.appConfig.seo = defu(nuxt.options.appConfig.seo, {
|
|
137
|
+
nuxt.options.appConfig.seo = defu(nuxt.options.appConfig.seo as Record<string, any>, {
|
|
138
138
|
titleTemplate: `%s - ${siteName}`,
|
|
139
139
|
title: siteName,
|
|
140
140
|
description: meta.description || ''
|
|
141
141
|
})
|
|
142
142
|
|
|
143
|
-
nuxt.options.appConfig.github = defu(nuxt.options.appConfig.github, {
|
|
143
|
+
nuxt.options.appConfig.github = defu(nuxt.options.appConfig.github as Record<string, any>, {
|
|
144
144
|
owner: gitInfo?.owner,
|
|
145
145
|
name: gitInfo?.name,
|
|
146
146
|
url: gitInfo?.url,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movk/nuxt-docs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.17.
|
|
4
|
+
"version": "1.17.2",
|
|
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,14 +29,13 @@
|
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"app",
|
|
32
|
-
"content.config.ts",
|
|
33
32
|
"modules",
|
|
34
|
-
"nuxt.config.ts",
|
|
35
|
-
"nuxt.schema.ts",
|
|
36
33
|
"providers",
|
|
37
34
|
"server",
|
|
38
35
|
"utils",
|
|
39
|
-
"
|
|
36
|
+
"content.config.ts",
|
|
37
|
+
"nuxt.config.ts",
|
|
38
|
+
"nuxt.schema.ts",
|
|
40
39
|
"README.md"
|
|
41
40
|
],
|
|
42
41
|
"dependencies": {
|