@vkuttyp/docus 5.4.7 → 5.4.9

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.
@@ -80,7 +80,7 @@ const editLink = computed(() => {
80
80
  >
81
81
  <template #links>
82
82
  <UButton
83
- v-for="(link, index) in (page as DocsCollectionItem).links"
83
+ v-for="(link, index) in ((page as any).links || [])"
84
84
  :key="index"
85
85
  size="sm"
86
86
  v-bind="link"
package/content.config.ts CHANGED
@@ -5,7 +5,8 @@ import { joinURL } from 'ufo'
5
5
 
6
6
  const { options } = useNuxt()
7
7
  const cwd = joinURL(options.rootDir, 'content')
8
- const locales = options.i18n?.locales
8
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
+ const locales = (options as any).i18n?.locales
9
10
 
10
11
  const createDocsSchema = () => z.object({
11
12
  links: z.array(z.object({
package/nuxt.config.ts CHANGED
@@ -11,6 +11,7 @@ export default defineNuxtConfig({
11
11
  '@nuxt/content',
12
12
  '@nuxt/image',
13
13
  '@nuxtjs/robots',
14
+ '@nuxtjs/i18n',
14
15
  '@nuxtjs/mcp-toolkit',
15
16
  'nuxt-og-image',
16
17
  'nuxt-llms',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vkuttyp/docus",
3
3
  "description": "Nuxt layer for Docus documentation theme",
4
- "version": "5.4.7",
4
+ "version": "5.4.9",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
7
7
  "repository": {
@@ -21,6 +21,9 @@
21
21
  "utils",
22
22
  "README.md"
23
23
  ],
24
+ "scripts": {
25
+ "postinstall": "patch-package"
26
+ },
24
27
  "dependencies": {
25
28
  "@iconify-json/lucide": "^1.2.81",
26
29
  "@iconify-json/simple-icons": "^1.2.63",
@@ -45,11 +48,14 @@
45
48
  "scule": "^1.3.0",
46
49
  "tailwindcss": "^4.1.18",
47
50
  "ufo": "^1.6.1",
48
- "zod": "^4.2.1",
49
- "zod-to-json-schema": "^3.25.0"
51
+ "zod": "^4.0.0",
52
+ "zod-to-json-schema": "^3.23.3"
50
53
  },
51
54
  "peerDependencies": {
52
55
  "better-sqlite3": "12.x",
53
56
  "nuxt": "4.x"
57
+ },
58
+ "devDependencies": {
59
+ "patch-package": "^8.0.1"
54
60
  }
55
61
  }