Repository navigation
Expand file tree
/
Copy pathknip.json
More file actions
74 lines (74 loc) · 1.91 KB
/
Copy pathknip.json
File metadata and controls
74 lines (74 loc) · 1.91 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",
"workspaces": {
".": {
"entry": ["scripts/**/*.{ts,mjs,cjs}"],
"project": "scripts/**/*.{ts,mjs,cjs}"
},
"apps/studio": {
"entry": [
"src/index.ts",
"src/preload.ts",
"forge.config.ts",
"native/build.ts",
"e2e/global-setup.ts",
"e2e/**/*.test.ts"
],
"project": "{src,e2e}/**/*.{ts,tsx}",
"ignoreDependencies": ["ignore", "tus-js-client", "wpcom", "@wp-playground/blueprints"]
},
"apps/cli": {
"entry": [
"index.ts",
"php-server-child.ts",
"process-manager-daemon.ts",
"proxy-daemon.ts",
"logger.ts",
"ai/eval-runner-entry.ts",
"commands/**/*.ts",
"vite.config.*.ts"
],
"project": "**/*.ts",
// Only bundled packages import these: pi, to resize images in its Read tool, and
// @studio/providers, to turn generated images into WebP. They stay installed because
// they read their .wasm files from their own folders.
"ignoreDependencies": ["@silvia-odwyer/photon-node", "@jsquash/jpeg", "@jsquash/png", "@jsquash/webp"]
},
"apps/ui": {
"entry": [
"src/main.local.tsx",
"src/main.cloud.tsx",
"src/dev/{chat,animation,annotate-tip,update-preview,email-preview,sidebar-preview,chat-replies}.tsx"
],
"project": "src/**/*.{ts,tsx}"
},
"apps/local": {
"entry": ["src/index.ts"],
"project": "src/**/*.{ts,tsx}"
},
"packages/agent": {
"project": "**/*.ts"
},
"packages/blueprints": {
"project": "**/*.ts"
},
"packages/ds": {
"project": "**/*.{ts,tsx}"
},
"packages/common": {
"entry": ["globals.ts"],
"project": "**/*.ts"
},
"tools/capture-harness": {
"entry": ["src/tests/*.test.ts"],
"project": "**/*.ts"
},
"tools/eslint-plugin-studio": {
"project": "**/*.{js,ts}"
}
},
"ignoreDependencies": [
"@automattic/wp-babel-makepot"
],
"ignoreBinaries": ["attrib", "apt-get", "Xvfb", "ditto", "dpkg-deb", "pgrep"]
}