Skip to content

Commit c8990c3

Browse files
dante01yoonclaude
andcommitted
chore: configure knip to ignore generated ingest-types
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c65a1ff commit c8990c3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

knip.config.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,13 @@ const config: KnipConfig = {
2626
},
2727
'packages/registry-types': {
2828
project: ['src/**/*.{js,ts}']
29+
},
30+
'packages/ingest-types': {
31+
project: ['src/**/*.{js,ts}'],
32+
entry: ['src/index.ts']
2933
}
3034
},
31-
ignoreBinaries: ['python3', 'gh'],
35+
ignoreBinaries: ['python3', 'gh', 'generate'],
3236
ignoreDependencies: [
3337
// Weird importmap things
3438
'@iconify-json/lucide',
@@ -41,9 +45,12 @@ const config: KnipConfig = {
4145
'@iconify/utils'
4246
],
4347
ignore: [
44-
// Auto generated manager types
48+
// Auto generated API types
4549
'src/workbench/extensions/manager/types/generatedManagerTypes.ts',
4650
'packages/registry-types/src/comfyRegistryTypes.ts',
51+
'packages/ingest-types/src/types.gen.ts',
52+
'packages/ingest-types/src/zod.gen.ts',
53+
'packages/ingest-types/openapi-ts.config.ts',
4754
// Used by a custom node (that should move off of this)
4855
'src/scripts/ui/components/splitButton.ts',
4956
// Used by stacked PR (feat/glsl-live-preview)

0 commit comments

Comments
 (0)