-
Notifications
You must be signed in to change notification settings - Fork 207
Expand file tree
/
Copy pathknip.json
More file actions
114 lines (114 loc) · 2.77 KB
/
Copy pathknip.json
File metadata and controls
114 lines (114 loc) · 2.77 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"rules": {
"files": "error",
"dependencies": "error",
"devDependencies": "error",
"optionalPeerDependencies": "error",
"unlisted": "error",
"binaries": "error",
"unresolved": "error",
"catalog": "error",
"cycles": "error",
"exports": "error",
"nsExports": "error",
"types": "error",
"nsTypes": "error",
"duplicates": "error",
"enumMembers": "error",
"namespaceMembers": "error"
},
"workspaces": {
".": {
"entry": [
"scripts/**/*.{js,mjs}",
"tests/**/*.spec.ts",
"playwright*.ts"
],
"project": [
"scripts/**/*.{js,mjs}",
"tests/**/*.ts",
"playwright*.ts"
],
"ignoreDependencies": [
"@anthropic-ai/sdk",
"@lydell/node-pty",
"@modelcontextprotocol/sdk",
"@xterm/addon-serialize",
"@xterm/addon-unicode11",
"@xterm/headless",
"better-sqlite3-multiple-ciphers",
"bull",
"chokidar",
"electron-updater",
"web-streams-polyfill",
"ws",
"electron-builder-squirrel-windows"
]
},
"frontend": {
"entry": [
"src/main.tsx",
"src/remote/main.tsx",
"src/**/*.test.{ts,tsx}",
"vite.config.ts"
],
"project": ["src/**/*.{ts,tsx}", "vite.config.{ts,js}"],
"vite": {
"config": ["vite.config.ts"]
}
},
"main": {
"entry": [
"src/index.ts",
"src/preload.ts",
"src/daemon/headless.ts",
"src/ptyHost/ptyHostMain.ts",
"src/services/mcpPermissionBridge.ts",
"src/**/*.test.ts",
"src/**/__tests__/**/*.ts",
"build-mcp-bridge.js"
],
"project": ["src/**/*.ts", "build-mcp-bridge.js"],
"ignoreBinaries": [
"fc-list",
"system_profiler",
"xclip",
"gcloud",
"wsl.exe",
"wmic",
"awk",
"pkill",
"wslpath",
"explorer.exe",
"dscl"
]
},
"packages/runpane": {
"entry": [
"src/cli.ts",
"src/doctor.ts",
"src/installers.ts",
"src/releases.ts",
"src/telemetry.ts",
"scripts/mark-executable.js"
],
"project": ["src/**/*.ts", "scripts/**/*.js"],
"ignoreBinaries": ["ditto"]
},
"mobile": {
"entry": ["capacitor.config.ts", "src/**/*.test.ts", "scripts/**/*.mjs"],
"project": ["src/**/*.ts", "scripts/**/*.mjs", "capacitor.config.ts"],
"ignoreDependencies": [
"@capacitor/app",
"@capacitor/browser",
"@capacitor/keyboard",
"@capacitor/push-notifications"
]
},
"shared": {
"entry": ["types/*.ts"],
"project": ["types/*.ts"]
}
}
}