-
Notifications
You must be signed in to change notification settings - Fork 316
/
knip.jsonc
62 lines (62 loc) · 2.1 KB
/
knip.jsonc
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
{
"$schema": "https://unpkg.com/knip@3/schema-jsonc.json",
"workspaces": {
"vscode": {
"entry": [
"src/extension.*.ts",
"scripts/*.ts",
"test/integration/*.ts",
"webviews/index.tsx",
"webviews/minion/index.tsx",
"playwright.v2.config.ts",
"typehacks/vscode.ts",
"webviews/postcss.config.js",
"webviews/vite.config.mts",
"../agent/src/index.ts",
"../agent/src/TestClient.ts"
],
"ignore": [
"src/tree-sitter/query-tests/test-data/**",
"src/jsonrpc/agent-protocol.ts",
"test/fixtures/**",
"test/integration/single-root/**",
"test/integration/multi-root/**",
"webviews/utils/useFeatureFlags.tsx",
"webviews/components/shadcn/**"
],
"ignoreBinaries": ["code", "code-insiders"],
"ignoreDependencies": [
"@vscode/vsce",
"ovsx",
"path-browserify",
"os-browserify",
"@vscode/codicons",
"buildkite-test-collector",
"postcss",
"postcss-nested"
]
},
"agent": {
"entry": ["src/cli/root.ts", "src/index.ts", "src/cli/scip-codegen/command.ts"],
"vitest": {
"entry": ["**/__tests__/**/*.ts"]
},
"ignore": ["src/vscode-shim.ts"]
},
"web": {
"entry": ["demo/index.tsx", "lib/agent/agent.worker.ts"],
"ignore": ["lib/agent/shims/**"],
"ignoreDependencies": [
"buffer",
"util",
"events",
"stream-browserify",
"path-browserify",
"@vscode/codicons"
]
},
"lib/prompt-editor": {}
},
"ignore": ["**/__mocks__/**", "**/mocks.*", "**/__tests__/**", "lints/**", "**/test-data/**"],
"exclude": []
}