|
|
@@ -1,11 +1,7 @@
|
|
|
{
|
|
|
"$schema": "https://unpkg.com/knip@5/schema.json",
|
|
|
- "exclude": [
|
|
|
- "duplicates"
|
|
|
- ],
|
|
|
- "ignoreWorkspaces": [
|
|
|
- "vendor/*"
|
|
|
- ],
|
|
|
+ "exclude": ["duplicates"],
|
|
|
+ "ignoreWorkspaces": ["vendor/*"],
|
|
|
"workspaces": {
|
|
|
".": {
|
|
|
"entry": [
|
|
|
@@ -15,138 +11,59 @@
|
|
|
"examples/acp-agent/tests/**/*.e2e.ts",
|
|
|
"examples/acp-agent/tests/**/*.snapshot.ts"
|
|
|
],
|
|
|
- "project": [
|
|
|
- "scripts/**/*.ts",
|
|
|
- "examples/**/*.ts"
|
|
|
- ]
|
|
|
+ "project": ["scripts/**/*.ts", "examples/**/*.ts"]
|
|
|
},
|
|
|
"packages/*/*": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/util/brand": {
|
|
|
- "project": [
|
|
|
- "src/**/*.ts"
|
|
|
- ],
|
|
|
- "ignoreDependencies": [
|
|
|
- "cordis"
|
|
|
- ]
|
|
|
+ "project": ["src/**/*.ts"],
|
|
|
+ "ignoreDependencies": ["cordis"]
|
|
|
},
|
|
|
"packages/llm/llm-deepseek": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/llm/llm-pi-ai": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/web/web-search-exa": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/web/web-search-perplexity": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
+ },
|
|
|
+ "packages/workflow/workflow-vm": {
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/web/web-search-deepseek": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/ui/acp-agent": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/ui/stdio-agent": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/subagent/subagent-spawn": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/subagent/subagent-acp": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts",
|
|
|
- "tests/mock-acp-server.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts", "tests/mock-acp-server.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
},
|
|
|
"packages/fs/tool-fs": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
- },
|
|
|
- "packages/workflow/workflow-vm": {
|
|
|
- "entry": [
|
|
|
- "tests/**/*.spec.ts",
|
|
|
- "tests/**/*.e2e.ts"
|
|
|
- ],
|
|
|
- "project": [
|
|
|
- "src/**/*.ts",
|
|
|
- "tests/**/*.ts"
|
|
|
- ]
|
|
|
+ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
+ "project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
}
|
|
|
}
|
|
|
}
|