-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathknip.json
64 lines (64 loc) · 1.82 KB
/
knip.json
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
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"includeEntryExports": true,
"ignoreWorkspaces": ["services/data"],
"workspaces": {
".": {
"ignoreBinaries": ["corepack use pnpm@latest-10"],
"ignoreDependencies": ["husky", "lint-staged", "corepack"]
},
"packages/@liexp/*": {
"includeEntryExports": false,
"entry": ["src/**/*.{ts,tsx}"],
"project": ["src/**/*.{ts,tsx}", "lib/**/*.js"]
},
"services/web": {
"entry": [
"src/client/index.tsx",
"src/server/server.tsx",
"src/server/entry.tsx"
],
"includeEntryExports": false,
"project": ["src/**/*.{ts,tsx}"],
"ignore": [
"src/client/components/events/AddEventModal.tsx",
"src/client/pages/DocsPage.tsx",
"src/client/templates/PageTemplate.tsx",
"src/client/state/commands.ts"
]
},
"services/admin-web": {
"entry": ["src/index.tsx"],
"includeEntryExports": false,
"project": ["src/**/*.{ts,tsx}"]
},
"services/ai-bot": {
"entry": ["src/run.ts"],
"project": ["src/**/*.{ts,tsx}"],
"ignoreDependencies": ["@aws-sdk/client-sso-oidc", "@aws-sdk/client-sts"]
},
"services/api": {
"entry": [
"src/run.ts",
"src/**/*.{spec,e2e}.ts",
"test/AppTest.ts",
"ormconfig.js"
],
"project": [
"**/*.{ts,js}",
"!src/migrations/*.ts",
"!src/**/*.{spec,e2e}.ts"
],
"ignore": ["ormconfig.js", "test/__mocks__/**/*", "test/globalSetup.ts"]
},
"services/worker": {
"entry": ["src/run.ts", "src/bin/cli.ts"],
"project": ["src/**/*.ts"]
},
"services/storybook": {
"entry": [".storybook/*.{ts,tsx}", "src/stories/**/*.tsx"],
"includeEntryExports": false,
"project": ["src/**/*.{ts,tsx}"]
}
}
}