-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknip.config.ts
More file actions
37 lines (35 loc) · 998 Bytes
/
knip.config.ts
File metadata and controls
37 lines (35 loc) · 998 Bytes
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
import type { KnipConfig } from "knip";
const config: KnipConfig = {
workspaces: {
"packages/typegraph": {
entry: [
"src/**/index.ts",
"examples/*.ts",
"test-d/**/*.test-d.ts",
"type-smoke/**/*.ts",
],
project: [
"src/**/*.ts",
"tests/**/*.ts",
"examples/**/*.ts",
"test-d/**/*.ts",
"type-smoke/**/*.ts",
],
ignore: [
"**/test-utils.ts",
// Public API utilities for advanced users (schema introspection, vector operations)
"src/backend/drizzle/columns/vector.ts",
"src/backend/drizzle/vector-index.ts",
"src/core/embedding.ts",
"src/core/external-ref.ts",
],
},
"apps/docs": {
entry: ["src/**/*.{astro,ts,tsx}"],
project: ["src/**/*.{astro,ts,tsx}"],
// Astro/Starlight plugins loaded via config
ignoreDependencies: ["@astrojs/starlight-tailwind", "tailwindcss"],
},
},
};
export default config;