From 7ad53cefeef963b204785c0214e037bc5c7f5e47 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Thu, 7 May 2026 03:46:17 -0700 Subject: [PATCH] fix(ci): account for canvas a2ui deps --- config/knip.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, }, },