-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathknip.jsonc
More file actions
91 lines (91 loc) · 2.55 KB
/
knip.jsonc
File metadata and controls
91 lines (91 loc) · 2.55 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
{
"$schema": "node_modules/knip/schema-jsonc.json",
"include": ["files", "exports"],
"ignoreFiles": [
"integrations/otel-js/otel-v1/**",
"integrations/otel-js/otel-v2/**",
"integrations/val.town/vals/tutorial/code.ts",
],
"ignoreIssues": {
"**/generated_types.ts": ["exports", "types"],
},
"workspaces": {
"e2e": {
"entry": [
"package.json",
"vitest.config.mts",
"helpers/**/*.ts",
"scenarios/**/*.test.ts",
"scenarios/**/package.json",
"scenarios/**/*.ts",
"scenarios/**/*.mjs",
],
"project": [
"helpers/**/*.ts",
"scenarios/**/*.test.ts",
"scenarios/**/package.json",
"scenarios/**/*.ts",
"scenarios/**/*.mjs",
],
"ignore": ["runScenarioDir", "runNodeScenarioDir"],
"ignoreFiles": [
"helpers/scenario-runtime.ts",
"scenarios/**/scenario.ts",
"scenarios/**/scenario.mjs",
"scenarios/**/scenario.*.ts",
"scenarios/**/scenario.*.mjs",
],
"ignoreDependencies": ["openai", "openai-v4", "openai-v5"],
},
"js": {
"entry": [
"src/auto-instrumentations/bundler/*.ts",
"tests/**/*.{ts,tsx,mts,cts,cjs,mjs}",
"scripts/**/*.ts",
"examples/**/*.{ts,tsx,js,jsx,mjs,cjs}",
"smoke/**/*.{ts,tsx,js,jsx,mjs,cjs}",
"dev/**/*.ts",
"util/**/*.ts",
],
"project": [
"src/**/*.{ts,tsx,mts,cts}",
"tests/**/*.{ts,tsx,mts,cts,cjs,mjs}",
"scripts/**/*.ts",
"examples/**/*.{ts,tsx,js,jsx,mjs,cjs}",
"smoke/**/*.{ts,tsx,js,jsx,mjs,cjs,d.ts}",
"dev/**/*.ts",
"util/**/*.ts",
],
},
"js/src/wrappers/claude-agent-sdk": {
"entry": ["*.test.ts"],
"project": ["*.ts"],
},
"js/src/wrappers/vitest": {
"entry": ["*.test.ts"],
"project": ["*.ts"],
},
"integrations/otel-js": {
"entry": [
"src/**/*.test.ts",
"tests/**/*.ts",
"examples/**/*.{ts,js,mjs,cjs}",
"smoke/**/*.{ts,js,mjs,cjs}",
],
"project": [
"src/**/*.ts",
"tests/**/*.ts",
"examples/**/*.{ts,js,mjs,cjs}",
"smoke/**/*.{ts,js,mjs,cjs}",
],
},
"integrations/temporal-js": {
"entry": ["examples/**/*.{ts,js,mjs,cjs}"],
"project": ["src/**/*.ts", "examples/**/*.{ts,js,mjs,cjs}"],
},
"integrations/templates-nunjucks": {
"entry": ["smoke/**/*.{ts,tsx,js,jsx,mjs,cjs}"],
"project": ["src/**/*.ts", "smoke/**/*.{ts,tsx,js,jsx,mjs,cjs,d.ts}"],
},
},
}