Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

chore(ui): make knip recognize .mjs scripts and openapi-typescript (#30052)

ryan-crabbe-berria75ed0079cfc
diff --git a/ui/litellm-dashboard/knip.json b/ui/litellm-dashboard/knip.json
index e95c0acef3f..6f129398981 100644
--- a/ui/litellm-dashboard/knip.json
+++ b/ui/litellm-dashboard/knip.json
@@ -1,8 +1,9 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
- "entry": ["scripts/**/*.ts"],
- "project": ["src/**/*.{ts,tsx}", "tests/**/*.{ts,tsx}", "scripts/**/*.ts", "e2e_tests/**/*.ts"],
+ "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"]