-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathknip.jsonc
More file actions
41 lines (41 loc) · 1.68 KB
/
Copy pathknip.jsonc
File metadata and controls
41 lines (41 loc) · 1.68 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
{
"$schema": "./node_modules/knip/schema.json",
// The shared compiler config is loaded through tsconfig `extends` paths.
// `cloudflare:workers` and `cloudflare:workflows` are platform modules, not
// installable package dependencies. Knip cannot infer either edge.
"ignoreDependencies": ["@cheatcode/tsconfig", "cloudflare"],
"includeEntryExports": true,
"workspaces": {
".": {
// Skill TypeScript files are executable snapshot entrypoints discovered by
// `cheatcode-skills`; they are intentionally outside the pnpm workspace graph.
"entry": ["skills/**/*.ts"]
},
"packages/db": {
"drizzle": {
"config": []
},
"entry": ["drizzle.config.ts"],
// Drizzle Kit loads this default export through its config convention.
"ignoreIssues": {
"drizzle.config.ts": ["exports"]
}
},
"infra/containers/sandbox/browser-driver": {
// This npm-lockfile workspace is installed only inside the sandbox image,
// never in CI, so Knip cannot resolve its deps there. Locally-installed
// node_modules make these ignores look redundant — they are not.
"ignoreDependencies": ["playwright-core", "zod"]
},
"infra/containers/sandbox/skill-runtime": {
"entry": ["bin/*.mjs"],
// Public helpers are documented for user-authored sandbox skills and have
// out-of-repo consumers that Knip cannot discover.
"includeEntryExports": false,
// Same in-image-only install: agent-browser and tsx resolve purely by
// installed binary path at sandbox runtime, invisible to CI.
"ignoreBinaries": ["agent-browser"],
"ignoreDependencies": ["agent-browser", "tsx"]
}
}
}