docus 3.0.0-alpha.0 → 3.0.0-alpha.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/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![docus](https://docus-puce.vercel.app/__og-image__/static/og.png)](https://docus.dev)
2
+
1
3
  # Docus
2
4
 
3
5
  Documentation Theme and CLI to write beautiful docs with Markdown.
@@ -1,3 +1,5 @@
1
+ import { extendViteConfig } from '@nuxt/kit'
2
+
1
3
  // Flag enabled when developing docs theme
2
4
  const dev = !!process.env.NUXT_DOCS_DEV
3
5
 
@@ -8,6 +10,16 @@ export default defineNuxtConfig({
8
10
  '@nuxt/image',
9
11
  '@nuxtjs/robots',
10
12
  'nuxt-og-image',
13
+ () => {
14
+ // Update @nuxt/content optimizeDeps options
15
+ extendViteConfig((config) => {
16
+ config.optimizeDeps ||= {}
17
+ config.optimizeDeps.include ||= []
18
+ config.optimizeDeps.include.push('@nuxt/content > slugify')
19
+ config.optimizeDeps.include = config.optimizeDeps.include
20
+ .map(id => id.replace(/^@nuxt\/content > /, 'docus > @nuxt/content > '))
21
+ })
22
+ },
11
23
  ],
12
24
  devtools: {
13
25
  enabled: dev,
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/nuxtlabs/docus"
7
7
  },
8
8
  "private": false,
9
- "version": "3.0.0-alpha.0",
9
+ "version": "3.0.0-alpha.2",
10
10
  "keywords": [],
11
11
  "license": "MIT",
12
12
  "bin": {
@@ -34,8 +34,9 @@
34
34
  "@iconify-json/lucide": "^1.2.47",
35
35
  "@iconify-json/simple-icons": "^1.2.38",
36
36
  "@iconify-json/vscode-icons": "^1.2.22",
37
- "@nuxt/content": "https://pkg.pr.new/@nuxt/content@d98bf49",
37
+ "@nuxt/content": "https://pkg.pr.new/@nuxt/content@d5ac591",
38
38
  "@nuxt/image": "^1.10.0",
39
+ "@nuxt/kit": "^3.17.5",
39
40
  "@nuxt/ui-pro": "^3.1.3",
40
41
  "@nuxtjs/robots": "^5.2.10",
41
42
  "c12": "^3.0.4",