-
Notifications
You must be signed in to change notification settings - Fork 507
/
knip.ts
56 lines (53 loc) · 1.2 KB
/
knip.ts
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
import type { KnipConfig } from "knip";
const config: KnipConfig = {
ignoreWorkspaces: ["packages/nuxt"],
ignoreDependencies: ["cz-conventional-changelog"],
workspaces: {
".": {
entry: "checkly.config.ts",
},
"apps/dashboard": {
entry: ["lib/trpc/index.ts", "trpc.config.ts"],
},
"apps/api": {
entry: ["**/*.test.ts", "src/pkg/testutil/*.ts", "src/worker.ts", "./vitest.*.ts"],
},
"internal/billing": {
entry: ["src/index.ts", "**/*.test.ts"],
},
"internal/db": {
entry: "src/index.ts",
},
"packages/rbac": {
entry: ["src/index.ts", "**/*.test.ts"],
},
"internal/hash": {
entry: ["src/index.ts", "**/*.test.ts"],
},
"internal/id": {
entry: "src/index.ts",
},
"internal/keys": {
entry: ["src/index.ts", "**/*.test.ts"],
},
"internal/resend": {
entry: "src/index.ts",
},
"internal/vercel": {
entry: "src/index.ts",
},
"packages/*": {
entry: ["**/*.test.ts"],
},
"tools/bootstrap": {
entry: "main.ts",
},
"tools/k6": {
entry: "load.js",
},
"tools/migrate": {
entry: "main.ts",
},
},
};
export default config;