-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathknip.json
More file actions
212 lines (212 loc) · 7.21 KB
/
knip.json
File metadata and controls
212 lines (212 loc) · 7.21 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreWorkspaces": [
"vendor/**",
"vendor/eliza",
"vendor/eliza/packages/*"
],
"workspaces": {
".": {
"entry": ["scripts/**/*.ts"],
"project": ["scripts/**/*.ts"],
"ignore": ["vendor/**", "8004/**", "**/node_modules/**"]
},
"packages/types": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/contracts": {
"entry": ["ts/index.ts"],
"project": ["ts/**/*.ts"],
"ignore": ["lib/**"]
},
"packages/sdk": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/shared": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts", "src/**/*.tsx"]
},
"packages/cli": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/db": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/kms": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/auth": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts", "src/**/*.tsx"]
},
"packages/messaging": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/bridge": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/bots": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/token": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/ui": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts", "src/**/*.tsx"]
},
"packages/farcaster": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/deployment": {
"entry": ["scripts/**/*.ts"],
"project": ["scripts/**/*.ts"],
"ignore": ["**/tests/**"]
},
"packages/eliza-plugin": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/a2a": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/api": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/config": {
"entry": ["index.ts"],
"project": ["**/*.ts"],
"ignore": ["chainlink/**"]
},
"packages/mcp": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"packages/training": {
"entry": ["src/index.ts"],
"project": ["src/**/*.ts"]
},
"apps/oauth3": {
"entry": ["api/index.ts", "web/app.ts", "lib/index.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "lib/**/*.ts"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/autocrat": {
"entry": ["api/index.ts", "web/main.tsx", "lib/index.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/bazaar": {
"entry": ["api/index.ts", "web/App.tsx", "web/client.tsx", "lib/index.ts", "scripts/dev.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts", "scripts/**/*.ts"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/crucible": {
"entry": ["api/index.ts", "web/client.tsx", "lib/index.ts", "scripts/dev.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts", "scripts/**/*.ts"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/documentation": {
"entry": ["lib/index.ts", "server/a2a-server.ts"],
"project": ["lib/**/*.ts", "server/**/*.ts"],
"ignore": ["**/playwright.config.ts", "**/tests/**", "api/**", "build/**"]
},
"apps/dws": {
"entry": ["api/index.ts", "web/main.tsx", "lib/index.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts"],
"ignore": ["**/tests/**"]
},
"apps/factory": {
"entry": ["api/server.ts", "web/main.tsx", "lib/index.ts", "scripts/dev-local.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts", "scripts/**/*.ts"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/gateway": {
"entry": ["api/dev-proxy.ts", "api/jns-gateway.ts", "api/oracle-server.ts", "api/rpc-server.ts", "api/x402-server.ts", "api/leaderboard-server.ts", "api/a2a-server.ts", "web/main.tsx", "lib/index.ts", "dev-server.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/indexer": {
"entry": ["api/main.ts", "api/api-server.ts", "api/rest-server.ts", "api/a2a-server.ts", "api/mcp-server.ts", "web/main.tsx", "scripts/dev.ts"],
"project": ["api/**/*.ts", "web/**/*.tsx", "scripts/**/*.ts"],
"ignore": ["**/tests/**"]
},
"packages/monitoring": {
"entry": ["api/heartbeat.ts", "api/a2a-mcp-server.ts", "web/main.tsx", "lib/index.ts", "scripts/dev.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts", "scripts/**/*.ts"],
"ignore": ["**/playwright.config.ts", "**/tests/**"]
},
"apps/node": {
"entry": ["api/cli.ts", "api/app/index.ts", "web/main.tsx", "lib/index.ts", "scripts/dev.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts", "scripts/**/*.ts"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/vpn": {
"entry": ["api/index.ts", "web/main.tsx", "lib/index.ts"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/wallet": {
"entry": ["web/main.tsx", "lib/index.ts", "extension/background/index.ts", "extension/content/index.ts", "extension/popup/index.tsx"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx", "lib/**/*.ts", "extension/**/*.ts", "extension/**/*.tsx"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
},
"apps/otto": {
"entry": ["api/index.ts", "web/main.tsx"],
"project": ["api/**/*.ts", "web/**/*.ts", "web/**/*.tsx"],
"ignore": ["**/synpress.config.ts", "**/playwright.config.ts", "**/tests/**"]
}
},
"ignore": [
"vendor/**",
"vendor_examples/**",
"8004/**",
"**/node_modules/**",
"packages/contracts/lib/**",
"packages/tests/**",
"packages/solana/**",
"**/dist/**",
"**/*.config.ts",
"**/*.config.js",
"**/synpress.config.ts",
"**/playwright.config.ts",
"**/eslint.config.js",
"**/*.test.ts",
"**/__tests__/**",
"**/test-fixtures.ts"
],
"ignoreDependencies": [
"@playwright/test",
"@synthetixio/synpress",
"@jejunetwork/tests",
"depcheck",
"playwright-core",
"prettier",
"prettier-plugin-solidity",
"solhint",
"autoprefixer",
"postcss",
"vitepress"
],
"rules": {
"classMembers": "off",
"enumMembers": "off",
"nsExports": "off",
"nsTypes": "off"
},
"playwright": false,
"playwright-test": false,
"playwright-ct": false
}