Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/pages/[...slug].vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { joinURL } from 'ufo'
import type { NavigationItem } from 'comark-content'
import { Mermaid } from '@comark/nuxt/plugins/mermaid'
import { Mermaid } from '@comark/vue/plugins/mermaid'
import * as prose from '@nuxt/ui/components/prose'

definePageMeta({
Expand Down Expand Up @@ -42,8 +42,8 @@

const surroundLinks = computed(() => findSurroundLinks(navigation?.value, selfPath.value))

const fm = computed<Record<string, any>>(() => page.value?.data ?? {})

Check warning on line 45 in app/pages/[...slug].vue

View workflow job for this annotation

GitHub Actions / ci

Unexpected any. Specify a different type
const tocLinks = computed<any[]>(() => (page.value?.meta as any)?.toc?.links ?? [])

Check warning on line 46 in app/pages/[...slug].vue

View workflow job for this annotation

GitHub Actions / ci

Unexpected any. Specify a different type

Check warning on line 46 in app/pages/[...slug].vue

View workflow job for this annotation

GitHub Actions / ci

Unexpected any. Specify a different type
// Landing-style pages (e.g. /ecosystem) have no headings to list, so the aside would only hold the
// page actions and squeeze the content. Docs pages keep it for the menu and page actions.
const showAside = computed(() => layout?.value !== 'page' || tocLinks.value.length > 0)
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default defineNuxtConfig({
resolve('./modules/config/index.ts'),
resolve('./modules/css.ts'),
'@nuxt/ui',
'@comark/nuxt',
'@comark/vue',
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
'@nuxtjs/robots',
'@nuxtjs/sitemap',
'nuxt-seo-utils',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"dependencies": {
"@ai-sdk/gateway": "^4.0.138",
"@ai-sdk/vue": "^4.0.165",
"@comark/nuxt": "^0.9.0",
"@comark/vue": "^0.9.1",
"@iconify-json/logos": "^1.2.19",
"@iconify-json/lucide": "^1.2.152",
"@iconify-json/simple-icons": "^1.2.101",
Expand All @@ -70,7 +70,7 @@
"@vueuse/core": "^15.0.0",
"ai": "^7.0.165",
"beautiful-mermaid": "^1.1.3",
"comark": "^0.9.0",
"comark": "^0.9.1",
"comark-content": "^0.5.1",
"defu": "^6.1.7",
"exsolve": "^1.2.0",
Expand Down
92 changes: 35 additions & 57 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ allowBuilds:

minimumReleaseAgeExclude:
# First-party packages, published and consumed here in the same session.
- '@comark/nuxt'
- '@comark/vue'
- comark
- comark-content
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/consumer/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ allowBuilds:
vue-demi: false

minimumReleaseAgeExclude:
- '@comark/nuxt'
- '@comark/vue'
- comark
- comark-content
Expand Down
Loading