-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathknip.jsonc
More file actions
66 lines (66 loc) · 2.57 KB
/
Copy pathknip.jsonc
File metadata and controls
66 lines (66 loc) · 2.57 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
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreBinaries": ["playwright"],
"workspaces": {
".": {
"entry": ["plugins/**/*", "scripts/**/*.ts"],
"project": [],
"ignoreDependencies": []
},
"packages/ui": {},
"packages/runtime": {
"entry": ["scripts/generate-json-schema.ts"]
},
"apps/mesh": {
"entry": [
"src/cli.ts",
"migrations/**/*.ts",
"scripts/**/*.ts",
// Dev-only module loaded via require() - needs explicit entry
"src/api/routes/dev-only.ts",
// Browser asset served verbatim from the Vite public dir; deck HTML
// files reference it via <script src="/deck-runtime/v1/...">.
"public/deck-runtime/**/*.js",
// Playwright Component Testing harness. The mount template is loaded
// via ct/playwright/index.html + ctTemplateDir (index.css is imported
// from it), and the I/O stubs are wired only through resolve.alias in
// playwright-ct.config.ts — both are reachable by tooling knip can't
// trace. The *.ct.tsx specs are already entries via the playwright config.
"ct/playwright/index.tsx",
"ct/harness/stubs/**"
],
"ignore": ["src/api/index.ts"],
"ignoreDependencies": [
// Resolved at bundle-time by scripts/bundle-server-script.ts ALWAYS_INCLUDE
"@jitl/quickjs-wasmfile-release-sync",
// Imported only by the sandbox daemon, which is text-imported into
// server.js and spawned as a separate `bun run` process. Declared as
// a direct dep so `bunx decocms@latest` installs it; the host runner
// points the daemon at it via NODE_PATH at spawn time.
"node-pty"
]
},
"packages/mesh-sdk": {
"ignoreDependencies": ["sonner"]
},
"packages/sandbox": {
// daemon/entry.ts is bundled via `bun build` into a standalone binary
// that runs inside sandbox VMs; org-fs/sidecar-main.ts likewise into
// the orgfs-sidecar image (deploy/helm/sandbox-env/orgfs-sidecar).
// The skills *.mjs CLIs are COPY'd into the sandbox image and executed
// there via the _bin shims (e.g. `slides-create`), never imported.
// Without marking them as entries, knip treats their graphs as unused.
"entry": [
"daemon/entry.ts",
"daemon/org-fs/sidecar-main.ts",
"image/skills/*/*.mjs"
]
},
"packages/typegen": {}
},
"ignoreDependencies": ["@types/*"],
// TODO(@camudo): Remove this config once I fix all unused type exports
"ignoreIssues": {
"**/*": ["types"]
}
}