Skip to content

Commit 9fb260b

Browse files
committed
chore(knip): ignore genuinely-listed @shikijs/magic-move css-subpath dep in docs
1 parent 2be6640 commit 9fb260b

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
@@ -51,7 +51,12 @@
5151
// component and mirrors its imports verbatim (see the file header). These
5252
// packages are provided transitively by the `comark-docs` layer, not
5353
// declared in `docs/package.json`, so knip sees them as unlisted.
54-
"ignoreDependencies": ["ai", "@ai-sdk/vue", "@comark/nuxt.*", "@nuxt/ui.*"]
54+
//
55+
// `@shikijs/magic-move` is declared in `docs/package.json` but only ever
56+
// referenced as the `@shikijs/magic-move/style.css` subpath in the
57+
// `nuxt.config.ts` `css` array; knip can't map that CSS-only subpath back
58+
// to the package, so it mis-reports the (genuinely-listed) dep as unlisted.
59+
"ignoreDependencies": ["ai", "@ai-sdk/vue", "@comark/nuxt.*", "@nuxt/ui.*", "@shikijs/magic-move"]
5560
},
5661
"examples/hub-next": {
5762
// The React client build's root sits at `src/client` (`next dev

0 commit comments

Comments
 (0)