litellm/ui/litellm-dashboard/knip.json
ryan-crabbe-berri a75ed0079c
chore(ui): make knip recognize .mjs scripts and openapi-typescript (#30052)
The knip entry/project globs only matched scripts/**/*.ts, so the two
.mjs scripts went unanalyzed and produced "no matches" config hints.
openapi-typescript was also reported as unused because gen-api-types.mjs
invokes its binary through a dynamic execFileSync path that knip cannot
trace statically; ignoreDependencies records that it is genuinely used.
2026-06-10 11:44:24 -07:00

12 lines
455 B
JSON

{
"$schema": "https://unpkg.com/knip@5/schema.json",
"entry": ["scripts/**/*.{ts,mjs}"],
"project": ["src/**/*.{ts,tsx}", "tests/**/*.{ts,tsx}", "scripts/**/*.{ts,mjs}", "e2e_tests/**/*.ts"],
"ignore": ["src/lib/http/schema.d.ts"],
"ignoreDependencies": ["openapi-typescript"],
"playwright": {
"config": "e2e_tests/playwright.config.ts",
"entry": ["e2e_tests/**/*.spec.ts", "e2e_tests/**/*.setup.ts", "e2e_tests/globalSetup.ts"]
}
}