Files
Reactive-Resume/knip.json
T
Amruth Pillai a5935dee0f refactor(utils): replace MONTH_NAMES array, drop @uiw/color-convert, use z.enum for localeSchema
Finding 1: Replace hand-rolled MONTH_NAMES[12] array with Intl.DateTimeFormat("en-US", {month:"long"}).
Finding 2: Drop @uiw/color-convert fallback — parseColorString already rejects the same inputs, return "#000000" instead. Remove dep from utils and server package.json.
Finding 3: Replace 56 z.literal calls in z.union with z.enum([...]); identical parse behavior and inferred type.

Claude-Session: https://claude.ai/code/session_012Bnvt1MghwHj4qQRxuQUGa
2026-07-04 20:53:51 +02:00

58 lines
1.2 KiB
JSON

{
"$schema": "https://unpkg.com/knip@6/schema.json",
"tags": ["-lintignore"],
"workspaces": {
".": {
"ignoreFiles": [".ncurc.cjs"]
},
"apps/web": {
"entry": ["lingui.config.ts", "vite.config.ts", "vitest.config.ts"],
"vite": {
"config": []
},
"vitest": {
"config": []
}
},
"apps/server": {
"ignoreDependencies": [
"@ai-sdk/anthropic",
"@ai-sdk/google",
"@ai-sdk/openai",
"@ai-sdk/openai-compatible",
"@aws-sdk/client-s3",
"@better-auth/api-key",
"@better-auth/drizzle-adapter",
"@better-auth/infra",
"@better-auth/passkey",
"@orpc/experimental-ratelimit",
"@sindresorhus/slugify",
"@t3-oss/env-core",
"ai",
"bcrypt",
"cjk-regex",
"deepmerge-ts",
"drizzle-zod",
"es-toolkit",
"fast-json-patch",
"jsonrepair",
"node-html-parser",
"nodemailer",
"ollama-ai-provider-v2",
"phosphor-icons-react-pdf",
"react-email",
"react-pdf-html",
"resumable-stream",
"sharp",
"ts-pattern",
"unique-names-generator",
"uuid"
]
},
"packages/api": {
"ignoreDependencies": ["ioredis"]
}
},
"ignoreDependencies": ["@reactive-resume/config", "npm-check-updates"]
}