fix(ci): account for canvas a2ui deps

This commit is contained in:
Vincent Koc
2026-05-07 03:46:17 -07:00
parent 1c33990108
commit 7ad53cefee

View File

@@ -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,
},
},