diff --git a/config/knip.config.ts b/config/knip.config.ts index 81ae2861eeb..6724a5fbb44 100644 --- a/config/knip.config.ts +++ b/config/knip.config.ts @@ -30,10 +30,12 @@ const bundledPluginEntries = [ const bundledPluginIgnoredRuntimeDependencies = [ "@agentclientprotocol/claude-agent-acp", + "@a2ui/lit", "@azure/identity", "@clawdbot/lobster", "@discordjs/opus", "@homebridge/ciao", + "@lit/context", "@matrix-org/matrix-sdk-crypto-wasm", "@mozilla/readability", "@openai/codex", @@ -42,6 +44,7 @@ const bundledPluginIgnoredRuntimeDependencies = [ "@zed-industries/codex-acp", "jiti", "json5", + "lit", "linkedom", "openclaw", "pdfjs-dist", @@ -169,7 +172,7 @@ const config = { // Bundled plugins often load their public surface via string specifiers in // `index.ts` contracts, so Knip needs these convention-based entry files. entry: bundledPluginEntries, - project: ["index.ts!", "src/**/*.ts!"], + project: ["index.ts!", "src/**/*.{js,mjs,ts}!"], ignoreDependencies: bundledPluginIgnoredRuntimeDependencies, }, },