-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknip.jsonc
More file actions
30 lines (30 loc) · 1.11 KB
/
Copy pathknip.jsonc
File metadata and controls
30 lines (30 loc) · 1.11 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
{
"ignoreBinaries": ["everyapp"],
"entry": [
"src/types/index.ts",
// Detect Tanstack Start Routes
"src/router.tsx",
"src/routes/**/*.tsx",
// Cloudflare Workers entry point (exports Durable Objects)
"src/server.ts",
// TanStack Start server functions (consumed via RPC, not direct imports)
"src/serverFunctions/**/*.ts",
// Schema types are exported for API consumers
"src/types/schemas/**/*.ts",
// Drizzle config (plugin disabled due to cloudflare:workers import issues)
"drizzle.config.ts",
// DB index re-exports schema for convenience
"src/db/index.ts",
],
"project": ["**/*.{js,ts,tsx}", "!src/routeTree.gen.ts"],
"ignore": ["src/routeTree.gen.ts", "drizzle-prod.config.ts"],
// Ignore exports that are used within the same file (e.g., repository functions used in namespace objects)
"ignoreExportsUsedInFile": true,
// Disable Drizzle plugin - it tries to load drizzle.config.ts which imports cloudflare:workers
"drizzle": false,
"ignoreDependencies": [
// Tailwindcss used via @tailwindcss/vite plugin
"tailwindcss",
"daisyui",
],
}