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