[fix] Exclude demo-snapshots from knip checks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
snomiao
2025-11-01 12:23:14 +00:00
parent 75daf2e4d2
commit f1193a2f86

View File

@@ -41,7 +41,9 @@ const config: KnipConfig = {
'src/workbench/extensions/manager/types/generatedManagerTypes.ts',
'packages/registry-types/src/comfyRegistryTypes.ts',
// Used by a custom node (that should move off of this)
'src/scripts/ui/components/splitButton.ts'
'src/scripts/ui/components/splitButton.ts',
// Demo snapshots for API changelog system
'demo-snapshots/**'
],
compilers: {
// https://github.com/webpro-nl/knip/issues/1008#issuecomment-3207756199