forked from pingdotgg/t3code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknip.jsonc
More file actions
74 lines (74 loc) · 2.83 KB
/
Copy pathknip.jsonc
File metadata and controls
74 lines (74 loc) · 2.83 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
{
"$schema": "https://unpkg.com/knip@6/schema.json",
// These executables are supplied by the OS or installed separately from npm.
"ignoreBinaries": ["eas", "file", "mkfifo", "pkill", "pkg-config", "plutil", "sips"],
"workspaces": {
".": {
// Keep vendored reference repositories outside the root project.
"project": ["*.{js,mjs,cjs,ts,mts,cts}", ".github/**/*.cjs"],
"entry": [".github/scripts/thread-transfer-report.cjs"],
"vite": { "entry": [".github/**/*.test.cjs"] },
"vitest": { "entry": [".github/**/*.test.cjs"] },
},
"apps/server": {
// Vite+ pack entries and the launcher used by installed background services.
"entry": [
"src/bin.ts!",
"src/service-launcher.ts!",
"scripts/cli.ts",
"src/provider/testFixtures/*.mjs",
],
// Native msgpack acceleration and the Vite+ web build prerequisite.
"ignoreDependencies": ["msgpackr-extract", "@t3tools/web"],
},
"apps/desktop": {
// Electron loads these bundles by filename rather than importing them.
"entry": [
"src/main.ts!",
"src/preload.ts!",
"src/preview-pick-preload.ts!",
"src/preview-pip-preload.ts!",
"src/preview/Annotation.css!",
],
// The injected runtime resolves Playwright by string; release tooling runs
// electron-builder from this workspace, outside its package scripts.
"ignoreDependencies": ["playwright-core", "electron-builder"],
},
"apps/web": {
// Worktree setup invokes this directly from t3.json.
"entry": ["scripts/warm-dep-cache.ts"],
},
"apps/mobile": {
// Expo loads local config plugins by string; Metro handles platform variants.
"entry": ["index.ts!", "plugins/*.cjs"],
// Fonts are configured as asset paths; Expo autolinks the native packages.
"ignoreDependencies": [
"@expo-google-fonts/dm-sans",
"@t3tools/mobile-review-diff-native",
"@t3tools/mobile-terminal-native",
],
},
"apps/mobile/modules/t3-markdown-text": {
// React Native codegen discovers component specifications by filename.
"entry": ["src/*NativeComponent.ts!"],
},
"infra/relay": {
"entry": ["alchemy.run.ts!", "src/persistence/schema.ts!"],
},
"packages/*": {
// These workspace packages are private to this monorepo.
"includeEntryExports": true,
},
"packages/effect-acp": {
"includeEntryExports": true,
"entry": ["test/fixtures/*.ts"],
// Generated upstream protocol definitions are retained as a complete set.
"ignoreIssues": { "src/_generated/**": ["exports", "types"] },
},
"packages/effect-codex-app-server": {
"includeEntryExports": true,
"entry": ["test/fixtures/*.ts"],
"ignoreIssues": { "src/_generated/**": ["exports", "types"] },
},
},
}