docs(deps): update @nuxt/content (#2706)

This commit is contained in:
Farnabaz
2024-11-20 16:14:37 +03:30
committed by GitHub
parent b120e8d998
commit 7d8b721bdd
4 changed files with 23 additions and 32 deletions

View File

@@ -272,9 +272,9 @@ const { data: ast } = await useAsyncData(`component-code-${name}-${hash({ props:
<div v-if="component" class="flex justify-center border border-b-0 border-[var(--ui-border-muted)] relative p-4 z-[1]" :class="[!options.length && 'rounded-t-[calc(var(--ui-radius)*1.5)]', props.class]">
<component :is="component" v-bind="{ ...componentProps, ...componentEvents }">
<template v-for="slot in Object.keys(slots || {})" :key="slot" #[slot]>
<MDCSlot :name="slot" unwrap="p">
<slot :name="slot">
{{ slots?.[slot] }}
</MDCSlot>
</slot>
</template>
</component>
</div>

View File

@@ -41,15 +41,6 @@ export default defineNuxtConfig({
markdown: {
highlight: {
langs: ['bash', 'ts', 'typescript', 'diff', 'vue', 'json', 'yml', 'css', 'mdc']
},
remarkPlugins: {
'remark-mdc': {
options: {
experimental: {
autoUnwrap: false
}
}
}
}
}
}

View File

@@ -7,7 +7,7 @@
"@iconify-json/lucide": "^1.2.15",
"@iconify-json/simple-icons": "^1.2.12",
"@iconify-json/vscode-icons": "^1.2.2",
"@nuxt/content": "https://pkg.pr.new/@nuxt/content@8f8b373",
"@nuxt/content": "https://pkg.pr.new/@nuxt/content@cb33501",
"@nuxt/image": "^1.8.1",
"@nuxt/ui": "latest",
"@nuxt/ui-pro": "https://pkg.pr.new/@nuxt/ui-pro@ea4f068",

40
pnpm-lock.yaml generated
View File

@@ -246,8 +246,8 @@ importers:
specifier: ^1.2.2
version: 1.2.2
'@nuxt/content':
specifier: https://pkg.pr.new/@nuxt/content@8f8b373
version: https://pkg.pr.new/@nuxt/content@8f8b373(@libsql/client@0.14.0)(magicast@0.3.5)(pg@8.13.1)(rollup@4.27.3)
specifier: https://pkg.pr.new/@nuxt/content@cb33501
version: https://pkg.pr.new/@nuxt/content@cb33501(@libsql/client@0.14.0)(magicast@0.3.5)(pg@8.13.1)(rollup@4.27.3)
'@nuxt/image':
specifier: ^1.8.1
version: 1.8.1(ioredis@5.4.1)(magicast@0.3.5)(rollup@4.27.3)
@@ -1409,8 +1409,8 @@ packages:
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
engines: {node: '>= 8'}
'@nuxt/content@https://pkg.pr.new/@nuxt/content@8f8b373':
resolution: {tarball: https://pkg.pr.new/@nuxt/content@8f8b373}
'@nuxt/content@https://pkg.pr.new/@nuxt/content@cb33501':
resolution: {tarball: https://pkg.pr.new/@nuxt/content@cb33501}
version: 3.0.0-alpha.6
peerDependencies:
'@libsql/client': '*'
@@ -1544,8 +1544,8 @@ packages:
'@nuxtjs/color-mode@3.5.2':
resolution: {integrity: sha512-cC6RfgZh3guHBMLLjrBB2Uti5eUoGM9KyauOaYS9ETmxNWBMTvpgjvSiSJp1OFljIXPIqVTJ3xtJpSNZiO3ZaA==}
'@nuxtjs/mdc@0.9.4':
resolution: {integrity: sha512-2R4ueW064l02zi7X3381RWjTH2zF9eC6wqjo8uYm3ePz5s7kH9DgrsBnq6E8zaKXnsjp5LcTPQF7byChRK4TCQ==}
'@nuxtjs/mdc-edge@0.9.5-28868278.5250e66':
resolution: {integrity: sha512-7rbsB5J5OS0FGylKrlyy84UpXE7qSbaC3dwE9XwxgHzLv7MVtrDYn22+jXHgsUdCnZoomHS2hizGCYUDRdeX+g==}
'@nuxtjs/plausible@1.1.1':
resolution: {integrity: sha512-vjpMg84+oQ5zte+XeDMMwXIa4lIkS19i8CfOBNjqoX9zZWmWNsL6zIzPn4zdg9puzapKQYw1IBCki1E0PG11mA==}
@@ -4874,8 +4874,8 @@ packages:
micromark-util-sanitize-uri@2.0.1:
resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==}
micromark-util-subtokenize@2.0.2:
resolution: {integrity: sha512-xKxhkB62vwHUuuxHe9Xqty3UaAsizV2YKq5OV344u3hFBbf8zIYrhYOWhAQb94MtMPkjTOzzjJ/hid9/dR5vFA==}
micromark-util-subtokenize@2.0.3:
resolution: {integrity: sha512-VXJJuNxYWSoYL6AJ6OQECCFGhIU2GGHMw8tahogePBrjkG8aCCas3ibkp7RnVOSTClg2is05/R7maAhF1XyQMg==}
micromark-util-symbol@2.0.1:
resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==}
@@ -5867,8 +5867,8 @@ packages:
remark-gfm@4.0.0:
resolution: {integrity: sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==}
remark-mdc@3.3.2:
resolution: {integrity: sha512-R0gZ4F41I3GmfNkSE7+W0NFY5/J0g0nC7SKtUSy3Qwg+1bpgRxgn76AlIu3uFryh9L127duSi0iTvIBMt9s18A==}
remark-mdc@3.4.0:
resolution: {integrity: sha512-0bKazg69CnSp5aLIQapkZcv0nS+2SuLd7xz4TMOcxEhukSXKL7f40bEPbNKGbJ4eY65nWAQKyCD1JCtzndmnxw==}
remark-parse@11.0.0:
resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==}
@@ -8033,11 +8033,11 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.17.1
'@nuxt/content@https://pkg.pr.new/@nuxt/content@8f8b373(@libsql/client@0.14.0)(magicast@0.3.5)(pg@8.13.1)(rollup@4.27.3)':
'@nuxt/content@https://pkg.pr.new/@nuxt/content@cb33501(@libsql/client@0.14.0)(magicast@0.3.5)(pg@8.13.1)(rollup@4.27.3)':
dependencies:
'@libsql/client': 0.14.0
'@nuxt/kit': 3.14.159(magicast@0.3.5)(rollup@4.27.3)
'@nuxtjs/mdc': 0.9.4(magicast@0.3.5)(rollup@4.27.3)
'@nuxt/kit': 3.14.1592(magicast@0.3.5)(rollup@4.27.3)
'@nuxtjs/mdc': '@nuxtjs/mdc-edge@0.9.5-28868278.5250e66(magicast@0.3.5)(rollup@4.27.3)'
'@sqlite.org/sqlite-wasm': 3.47.0-build1
better-sqlite3: 11.5.0
c12: 2.0.1(magicast@0.3.5)
@@ -8060,7 +8060,7 @@ snapshots:
ohash: 1.1.4
pathe: 1.1.2
pg: 8.13.1
remark-mdc: 3.3.2
remark-mdc: 3.4.0
scule: 1.3.0
shiki: 1.23.1
slugify: 1.6.6
@@ -8596,7 +8596,7 @@ snapshots:
- rollup
- supports-color
'@nuxtjs/mdc@0.9.4(magicast@0.3.5)(rollup@4.27.3)':
'@nuxtjs/mdc-edge@0.9.5-28868278.5250e66(magicast@0.3.5)(rollup@4.27.3)':
dependencies:
'@nuxt/kit': 3.14.1592(magicast@0.3.5)(rollup@4.27.3)
'@shikijs/transformers': 1.23.1
@@ -8623,7 +8623,7 @@ snapshots:
rehype-sort-attributes: 5.0.1
remark-emoji: 5.0.1
remark-gfm: 4.0.0
remark-mdc: 3.3.2
remark-mdc: 3.4.0
remark-parse: 11.0.0
remark-rehype: 11.1.1
scule: 1.3.0
@@ -12277,7 +12277,7 @@ snapshots:
micromark-util-html-tag-name: 2.0.1
micromark-util-normalize-identifier: 2.0.1
micromark-util-resolve-all: 2.0.1
micromark-util-subtokenize: 2.0.2
micromark-util-subtokenize: 2.0.3
micromark-util-symbol: 2.0.1
micromark-util-types: 2.0.1
@@ -12420,7 +12420,7 @@ snapshots:
micromark-util-encode: 2.0.1
micromark-util-symbol: 2.0.1
micromark-util-subtokenize@2.0.2:
micromark-util-subtokenize@2.0.3:
dependencies:
devlop: 1.1.0
micromark-util-chunked: 2.0.1
@@ -12447,7 +12447,7 @@ snapshots:
micromark-util-normalize-identifier: 2.0.1
micromark-util-resolve-all: 2.0.1
micromark-util-sanitize-uri: 2.0.1
micromark-util-subtokenize: 2.0.2
micromark-util-subtokenize: 2.0.3
micromark-util-symbol: 2.0.1
micromark-util-types: 2.0.1
transitivePeerDependencies:
@@ -13767,7 +13767,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
remark-mdc@3.3.2:
remark-mdc@3.4.0:
dependencies:
'@types/mdast': 4.0.4
'@types/unist': 3.0.3