Skip to content

Commit 59cf3e7

Browse files
committed
chore(knip): ignore comark-docs layer deps in the shadowed AssistantChat
1 parent 764301f commit 59cf3e7

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

knip.jsonc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@
4646
// Nuxt auto-registers `app/components` and `app/composables`; the files
4747
// here shadow same-named pieces of the comark-docs layer (AppHeaderBrand,
4848
// useFilteredNavigation, ...), so nothing imports them explicitly.
49-
"entry": ["app/components/*.vue", "app/composables/*.ts"]
49+
"entry": ["app/components/*.vue", "app/composables/*.ts"],
50+
// `app/components/AssistantChat.vue` shadows the comark-docs layer's own
51+
// component and mirrors its imports verbatim (see the file header). These
52+
// packages are provided transitively by the `comark-docs` layer, not
53+
// declared in `docs/package.json`, so knip sees them as unlisted.
54+
"ignoreDependencies": ["ai", "@ai-sdk/vue", "@comark/nuxt.*", "@nuxt/ui.*"]
5055
},
5156
"examples/hub-next": {
5257
// The React client build's root sits at `src/client` (`next dev

0 commit comments

Comments
 (0)