forked from langfuse/langfuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknip.jsonc
More file actions
67 lines (67 loc) 路 2.36 KB
/
Copy pathknip.jsonc
File metadata and controls
67 lines (67 loc) 路 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"ignore": [".agents/skills/**", "scripts/**", "vitest.workspace.ts"],
// Re-enable once Knip tracks all workspace packages and catalog entries stop false-positiveing.
"rules": {
"catalog": "off",
},
"ignoreIssues": {
"web/**": ["files", "exports", "types"],
"packages/shared/**": ["files", "exports", "types"],
"worker/**": ["files", "exports", "types"],
},
"workspaces": {
"worker": {
// Tests intentionally load these from @langfuse/shared's dependency tree.
"ignoreDependencies": [
"@aws-sdk/client-bedrock-runtime",
"@langchain/aws",
"@langchain/core",
],
},
"web": {
// Include runtime JavaScript modules such as src/env.mjs in dependency analysis.
"project": ["src/**/*.{ts,tsx,mjs}"],
"ignoreDependencies": [
// Tailwind loads this plugin from an @plugin directive in globals.css.
"@tailwindcss/forms",
// Tailwind loads this plugin from an @plugin directive in globals.css.
"@tailwindcss/typography",
// Tailwind loads this plugin from an @plugin directive in globals.css.
"tailwindcss-animate",
// Turbopack resolves this loader from its string name in next.config.mjs.
"raw-loader",
// The next-auth patch requires this module from core/lib/oauth/client.js.
"https-proxy-agent",
// In-app-agent servertests vi.mock these runtime deps of the shared
// agent module (@langfuse/shared/in-app-agent/server); the mock
// specifiers must resolve from web.
"@aws-sdk/client-lambda-microvms",
"@aws-sdk/credential-providers",
"dockerode",
"@types/dockerode",
],
},
"ee": {
"project": ["src/**/*.ts"],
},
"packages/in-app-agent-sandbox-runtime": {
"entry": ["src/server.ts"],
"project": ["src/**/*.ts"],
},
"packages/config-eslint": {
"project": ["*.js"],
// eslint-plugin-import loads these from the resolver names in next.js settings.
"ignoreDependencies": [
"eslint-import-resolver-node",
"eslint-import-resolver-typescript",
],
},
"packages/eslint-plugin": {
"project": ["src/**/*.ts"],
},
"packages/config-typescript": {
// The shared Next.js tsconfig names a plugin supplied by its consuming workspace.
"ignoreUnresolved": ["next"],
},
},
}