From e3f7007e217f9b8d9be4f7be5d550a1324f52678 Mon Sep 17 00:00:00 2001 From: James Broadhead Date: Fri, 3 Apr 2026 17:48:29 +0000 Subject: [PATCH] fix: resolve knip false positives for CSS imports and tools/ dependencies knip doesn't trace CSS @import directives or files in ignored directories, causing false positives for: - globals.css (used by build config and package exports) - tailwindcss/tw-animate-css (imported in globals.css) - json-schema-to-typescript (used in tools/generate-schema-types.ts) Co-authored-by: Isaac --- knip.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/knip.json b/knip.json index fae5b9c1..e8eb1eb3 100644 --- a/knip.json +++ b/knip.json @@ -8,14 +8,18 @@ ], "workspaces": { "packages/appkit": {}, - "packages/appkit-ui": {} + "packages/appkit-ui": { + "ignoreDependencies": ["tailwindcss", "tw-animate-css"] + } }, "ignore": [ "**/*.generated.ts", "**/*.example.tsx", + "**/*.css", "template/**", "tools/**", "docs/**" ], + "ignoreDependencies": ["json-schema-to-typescript"], "ignoreBinaries": ["tarball"] }