mirror of
https://github.com/firecrawl/firecrawl.git
synced 2026-06-15 18:47:32 +03:00
chore(api): fix knip complaints
- Remove stale TEST_URL backwards-compat alias (was never imported from this file) - Remove rotate-api-key.ts from knip ignore (file was deleted) - Remove unused openai direct dependency (only needed as optional peer dep of langsmith) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,8 +15,6 @@ const config: KnipConfig = {
|
||||
ignore: [
|
||||
"native/**",
|
||||
"src/scraper/scrapeURL/engines/fire-engine/branding-script/**",
|
||||
// Superseded by the integration proxy added in #3520; kept for now.
|
||||
"src/controllers/v0/admin/rotate-api-key.ts",
|
||||
],
|
||||
ignoreDependencies: ["undici-types", "stripe"],
|
||||
};
|
||||
|
||||
@@ -130,7 +130,6 @@
|
||||
"marked": "^14.1.2",
|
||||
"multer": "^2.1.1",
|
||||
"ollama-ai-provider": "^1.2.0",
|
||||
"openai": "^5.20.2",
|
||||
"parse-diff": "^0.11.1",
|
||||
"pdf-parse": "^1.1.1",
|
||||
"pg": "^8.16.3",
|
||||
|
||||
4
apps/api/pnpm-lock.yaml
generated
4
apps/api/pnpm-lock.yaml
generated
@@ -205,9 +205,6 @@ importers:
|
||||
ollama-ai-provider:
|
||||
specifier: ^1.2.0
|
||||
version: 1.2.0(zod@4.1.12)
|
||||
openai:
|
||||
specifier: ^5.20.2
|
||||
version: 5.20.2(ws@8.20.1(bufferutil@4.0.9)(utf-8-validate@5.0.10))(zod@4.1.12)
|
||||
parse-diff:
|
||||
specifier: ^0.11.1
|
||||
version: 0.11.1
|
||||
@@ -10695,6 +10692,7 @@ snapshots:
|
||||
optionalDependencies:
|
||||
ws: 8.20.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)
|
||||
zod: 4.1.12
|
||||
optional: true
|
||||
|
||||
ox@0.11.3(typescript@5.9.2)(zod@3.25.76):
|
||||
dependencies:
|
||||
|
||||
@@ -9,7 +9,6 @@ import { TeamFlags } from "../../controllers/v1/types";
|
||||
// =========================================
|
||||
|
||||
export const TEST_API_URL = config.TEST_API_URL;
|
||||
export const TEST_URL = TEST_API_URL; // backwards compat temp
|
||||
|
||||
const stripTrailingSlash = (url: string) => {
|
||||
if (url.length < 1) throw new Error("Invalid URL supplied");
|
||||
|
||||
Reference in New Issue
Block a user