-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathknip.jsonc
More file actions
50 lines (45 loc) · 1.64 KB
/
knip.jsonc
File metadata and controls
50 lines (45 loc) · 1.64 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
{
"$schema": "https://unpkg.com/knip@6/schema.json",
"typescript": true,
// vpx is the vite-plus CLI shorthand (vp dlx <pkg>); not a package dep
"ignoreBinaries": ["vpx"],
"workspaces": {
".": {
"ignoreDependencies": [
// Git commit-message hook binary managed by vite-plus (vp config)
"@commitlint/cli",
// Referenced as `specifier` strings in vite.config.ts `lint.jsPlugins`; never imported
"@tanstack/eslint-plugin-query",
"@tanstack/eslint-plugin-router",
"eslint-plugin-fsd-lint",
"eslint-plugin-react-hooks",
"oxlint-tsgolint",
// TypeScript compiler implementation; resolved implicitly by the build toolchain
"@typescript/native-preview",
// Enforced in pnpm-workspace.yaml to exist since it's needed for Vite+
"vitest",
],
},
"apps/server": {
"ignoreDependencies": [
// Used as a Node.js loader via `node --import tsx`, not as a standalone binary
"tsx",
],
},
"apps/web": {
"entry": ["src/server.ts", "src/start.ts", "src/router.tsx"],
"ignoreDependencies": [
// Peer/companion package required at runtime by @tanstack/devtools-vite
"@tanstack/devtools-a11y",
// Used inside the vite.config.ts `run.tasks.build.command` string; not an import
"cross-env",
// Peer dependency of @tailwindcss/vite; imported through that plugin, not directly
"tailwindcss",
],
},
"packages/i18n": {
// src/paraglide/ is fully generated by `paraglide-js compile`; not hand-written source
"ignore": ["src/paraglide/**"],
},
},
}