Skip to content

Commit 78ca963

Browse files
HugoRCDatinux
andauthored
docs: update @nuxt/content and remove custom content components (#490)
Co-authored-by: Sébastien Chopin <[email protected]> Co-authored-by: Sébastien Chopin <[email protected]>
1 parent a732a80 commit 78ca963

File tree

10 files changed

+2517
-2138
lines changed

10 files changed

+2517
-2138
lines changed

docs/app/assets/main.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "tailwindcss";
1+
@import "tailwindcss" theme(static);
22
@import "@nuxt/ui-pro";
33

44
@source "../../content/**/*";
@@ -8,7 +8,7 @@
88
--ui-bg: rgb(2, 4, 32);
99
}
1010

11-
@theme {
11+
@theme static {
1212
--font-sans: 'Public Sans', sans-serif;
1313

1414
--breakpoint-3xl: 1920px;

docs/app/components/content/Field.vue

-31
This file was deleted.

docs/app/components/content/FieldGroup.vue

-5
This file was deleted.

docs/app/components/content/PricingTable.vue

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const props = defineProps<{
33
tabs?: string[]
44
}>()
55
6-
// TODO: Fix hydration issue
76
const { data: table } = await useAsyncData('pricing-table', () => {
87
return queryCollection('cloudflarePricing').first()
98
})

docs/app/pages/docs/[...slug].vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ onMounted(() => {
6868
</div>
6969

7070
<template v-if="page.body?.toc" #right>
71-
<UContentToc :title="toc?.title" :links="page.body?.toc?.links" highlight />
71+
<UContentToc :title="toc?.title" :links="page.body?.toc?.links" highlight class="backdrop-blur-none" />
7272
</template>
7373
</UPage>
7474
</template>

docs/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
"dependencies": {
1313
"@iconify-json/heroicons": "^1.2.2",
1414
"@iconify-json/logos": "^1.2.4",
15-
"@iconify-json/lucide": "^1.2.26",
15+
"@iconify-json/lucide": "^1.2.28",
1616
"@iconify-json/ph": "^1.2.2",
17-
"@iconify-json/simple-icons": "^1.2.25",
18-
"@iconify-json/vscode-icons": "^1.2.15",
19-
"@nuxt/content": "https://pkg.pr.new/@nuxt/content@52659d0",
17+
"@iconify-json/simple-icons": "^1.2.27",
18+
"@iconify-json/vscode-icons": "^1.2.16",
19+
"@nuxt/content": "^3.2.2",
2020
"@nuxt/fonts": "^0.10.3",
2121
"@nuxt/image": "^1.9.0",
22-
"@nuxt/scripts": "^0.10.4",
23-
"@nuxt/ui": "3.0.0-alpha.13",
24-
"@nuxt/ui-pro": "3.0.0-alpha.13",
22+
"@nuxt/scripts": "^0.10.5",
23+
"@nuxt/ui": "3.0.0-beta.2",
24+
"@nuxt/ui-pro": "3.0.0-beta.2",
2525
"@nuxtjs/plausible": "^1.2.0",
2626
"@rollup/plugin-yaml": "^4.1.2",
2727
"@tsparticles/engine": "^3.8.1",
@@ -32,7 +32,7 @@
3232
"medium-zoom": "^1.1.0",
3333
"nuxt": "^3.15.4",
3434
"nuxt-cloudflare-analytics": "^1.0.8",
35-
"nuxt-llms": "^0.0.2",
36-
"nuxt-og-image": "^4.1.4"
35+
"nuxt-llms": "^0.1.0",
36+
"nuxt-og-image": "^4.1.6"
3737
}
3838
}

package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -38,45 +38,45 @@
3838
"test:watch": "vitest watch"
3939
},
4040
"dependencies": {
41-
"@cloudflare/workers-types": "^4.20250204.0",
42-
"@nuxt/devtools-kit": "^2.0.0",
41+
"@cloudflare/workers-types": "^4.20250303.0",
42+
"@nuxt/devtools-kit": "^2.1.3",
4343
"@nuxt/kit": "^3.15.4",
4444
"@uploadthing/mime-types": "^0.3.4",
4545
"citty": "^0.1.6",
46-
"confbox": "^0.1.8",
46+
"confbox": "^0.2.1",
4747
"defu": "^6.1.4",
4848
"destr": "^2.0.3",
49-
"h3": "^1.15.0",
49+
"h3": "^1.15.1",
5050
"mime": "^4.0.6",
5151
"nitro-cloudflare-dev": "^0.2.1",
5252
"ofetch": "^1.4.1",
5353
"pathe": "^2.0.3",
54-
"pkg-types": "^1.3.1",
55-
"std-env": "^3.8.0",
54+
"pkg-types": "^2.1.0",
55+
"std-env": "^3.8.1",
5656
"ufo": "^1.5.4",
5757
"uncrypto": "^0.1.3",
58-
"unstorage": "^1.14.4",
58+
"unstorage": "^1.15.0",
5959
"zod": "^3.24.2"
6060
},
6161
"devDependencies": {
62-
"@nuxt/devtools": "^2.0.0",
63-
"@nuxt/eslint-config": "^1.0.1",
62+
"@nuxt/devtools": "^2.1.3",
63+
"@nuxt/eslint-config": "^1.1.0",
6464
"@nuxt/module-builder": "^0.8.4",
6565
"@nuxt/schema": "^3.15.4",
66-
"@nuxt/test-utils": "^3.15.4",
66+
"@nuxt/test-utils": "^3.17.1",
6767
"@nuxthub/core": "link:",
68-
"@types/node": "^22.13.1",
69-
"changelogen": "^0.5.7",
70-
"eslint": "^9.20.1",
68+
"@types/node": "^22.13.9",
69+
"changelogen": "^0.6.1",
70+
"eslint": "^9.21.0",
7171
"nuxt": "^3.15.4",
7272
"typescript": "5.6.3",
73-
"vitest": "^3.0.5",
74-
"wrangler": "^3.107.3"
73+
"vitest": "^3.0.7",
74+
"wrangler": "^3.112.0"
7575
},
7676
"resolutions": {
7777
"h3": "^1.14.0"
7878
},
79-
"packageManager": "pnpm@10.3.0",
79+
"packageManager": "pnpm@10.5.2",
8080
"pnpm": {
8181
"onlyBuiltDependencies": [
8282
"@parcel/watcher",

playground/app/assets/main.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
@import "tailwindcss";
2-
@import "@nuxt/ui-pro";
1+
@import "tailwindcss" theme(static);
2+
@import "@nuxt/ui";

playground/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@
88
"preview": "nuxi preview"
99
},
1010
"dependencies": {
11-
"@ai-sdk/vue": "^1.1.16",
11+
"@ai-sdk/vue": "^1.1.19",
1212
"@cloudflare/puppeteer": "^0.0.14",
13-
"@iconify-json/simple-icons": "^1.2.24",
13+
"@iconify-json/simple-icons": "^1.2.27",
1414
"@kgierke/nuxt-basic-auth": "^1.7.0",
15-
"@nuxt/ui": "3.0.0-alpha.13",
15+
"@nuxt/ui": "3.0.0-beta.2",
1616
"@nuxthub/core": "latest",
17-
"@nuxtjs/mdc": "^0.13.5",
18-
"@vueuse/core": "^12.6.1",
19-
"@vueuse/nuxt": "^12.6.1",
20-
"ai": "^4.1.40",
17+
"@nuxtjs/mdc": "^0.14.0",
18+
"@vueuse/core": "^12.7.0",
19+
"@vueuse/nuxt": "^12.7.0",
20+
"ai": "^4.1.50",
2121
"aws4fetch": "^1.0.20",
22-
"drizzle-orm": "^0.39.3",
22+
"drizzle-orm": "^0.40.0",
2323
"nuxt": "^3.15.4",
24-
"nuxt-auth-utils": "^0.5.15",
24+
"nuxt-auth-utils": "^0.5.16",
2525
"postgres": "^3.4.5",
26-
"puppeteer": "^24.2.1",
27-
"tailwindcss": "^4.0.6",
28-
"workers-ai-provider": "^0.0.11",
26+
"puppeteer": "^24.3.1",
27+
"tailwindcss": "^4.0.9",
28+
"workers-ai-provider": "^0.1.1",
2929
"zod": "^3.24.2"
3030
},
3131
"devDependencies": {

0 commit comments

Comments
 (0)