-
Notifications
You must be signed in to change notification settings - Fork 121
Expand file tree
/
Copy pathknip.ts
More file actions
57 lines (55 loc) · 1.5 KB
/
knip.ts
File metadata and controls
57 lines (55 loc) · 1.5 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
import type { KnipConfig } from "knip";
const config: KnipConfig = {
biome: false,
ignoreIssues: {
"apps/studio.giselles.ai/emails/**/*.tsx": ["duplicates"],
},
workspaces: {
"apps/playground": {
ignoreDependencies: [
"@aws-sdk/client-s3",
"@supabase/realtime-js",
"@supabase/supabase-js",
"happy-dom",
"jsdom",
"pg",
],
},
"apps/studio.giselles.ai": {
entry: ["emails/**/*.tsx"],
ignore: [
"scripts/**",
"trigger.config.ts",
"trigger/investigate-private-key-job.ts",
],
// Ignore deps that are resolved dynamically in next.config, used only at build/runtime,
// or intentionally pinned to force a safe peer resolution (e.g. webpack)
ignoreDependencies: [
"@aws-sdk/client-s3",
"@embedpdf/pdfium",
"import-in-the-middle",
"require-in-the-middle",
"@react-email/preview-server",
"pino-pretty",
"prettier",
"shiki",
"webpack",
],
},
"internal-packages/workflow-designer-ui": {
ignoreDependencies: ["tailwindcss"],
ignore: [
// Not currently used in the product, but kept as a reference implementation for future use
"src/editor/properties-panel/content-generation-node-properties-panel/**/*",
// Will be used in the future
"src/editor/properties-panel/app-entry-node-properties-panel/app-icon-select.tsx",
],
},
"packages/rag": {
ignore: ["src/chunker/__fixtures__/code-sample.ts"],
},
},
ignore: ["turbo/generators/config.ts"],
ignoreBinaries: ["vercel"],
};
export default config;