mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Remove 18 unreferenced i18n subtrees (75 leaves per locale, 450 strings across de/en/es/fr/it/pl) left behind by the settings D0-D8 reshuffle and the medication advanced/erweitert naming drift: settings.ai.disableCoach (superseded by settings.coach.activate), doctorReport.dialog/sections, the dead settings.sections export.hero / export.cards.doctorReport / layout.medications / layout.mood / integrations.tabs subtrees and the orphaned integrations connections/channels blurbs, the medications detail.advanced.title/group + detail.edit duplicates, insights.recovery .scoreLink, insights.range, targets.relativeDay (duplicate of targets.consistency.relativeDay), and insights.subPage.primary / lastMeasurement. Each subtree confirmed unused; the i18n coverage, locale-integrity, and sections-parity suites stay green. The per-slug settings.sections.<slug>.description keys are kept — they back the SectionPlaceholder fallback and the parity test asserts them. Point the stale knip entry at src/proxy.ts (renamed from middleware.ts) and drop the no-match src/lib/health glob. Resolve the analytics Rest Mode annotation as of the scored window: thread a single scoredAt instant into both the health-score computation and resolveRestMode, instead of letting the annotation read a later now().
83 lines
1.8 KiB
JSON
83 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://unpkg.com/knip@6/schema.json",
|
|
"entry": [
|
|
"src/app/**/page.tsx",
|
|
"src/app/**/layout.tsx",
|
|
"src/app/**/route.ts",
|
|
"src/app/**/loading.tsx",
|
|
"src/app/**/not-found.tsx",
|
|
"src/app/**/error.tsx",
|
|
"src/app/**/global-error.tsx",
|
|
"src/app/**/template.tsx",
|
|
"src/app/**/opengraph-image.tsx",
|
|
"src/app/**/twitter-image.tsx",
|
|
"src/app/**/icon.tsx",
|
|
"src/app/**/apple-icon.tsx",
|
|
"src/app/**/manifest.ts",
|
|
"src/app/**/robots.ts",
|
|
"src/app/**/sitemap.ts",
|
|
"src/app/**/default.tsx",
|
|
"src/proxy.ts",
|
|
"src/instrumentation.ts",
|
|
"src/lib/jobs/**/*.ts",
|
|
"scripts/**/*.ts",
|
|
"scripts/**/*.mjs",
|
|
"e2e/**/*.spec.ts",
|
|
"e2e/**/*.test.ts",
|
|
"tests/**/*.test.ts",
|
|
"tests/**/setup.ts",
|
|
"vitest.config.ts",
|
|
"vitest.config.integration.ts",
|
|
"playwright.config.ts",
|
|
"next.config.ts",
|
|
"eslint.config.*",
|
|
"knip.json"
|
|
],
|
|
"project": [
|
|
"src/**/*.{ts,tsx}",
|
|
"scripts/**/*.{ts,mjs}",
|
|
"tests/**/*.ts",
|
|
"e2e/**/*.ts"
|
|
],
|
|
"ignore": [
|
|
"src/generated/**",
|
|
"prisma/**",
|
|
"public/**",
|
|
".next/**",
|
|
"**/__mocks__/**",
|
|
"e2e/setup/test-helpers.ts",
|
|
"src/components/charts/compliance-line-chart.tsx",
|
|
"src/lib/logging/index.ts"
|
|
],
|
|
"ignoreDependencies": [
|
|
"@types/node",
|
|
"@types/react",
|
|
"@types/react-dom",
|
|
"@hookform/resolvers",
|
|
"react-hook-form",
|
|
"@prisma/client",
|
|
"next-themes",
|
|
"@vitejs/plugin-react",
|
|
"shadcn",
|
|
"tailwindcss",
|
|
"testcontainers",
|
|
"tw-animate-css"
|
|
],
|
|
"ignoreBinaries": [
|
|
"docker",
|
|
"docker-compose",
|
|
"pg_isready",
|
|
"tsx",
|
|
"cosign"
|
|
],
|
|
"ignoreExportsUsedInFile": true,
|
|
"ignoreIssues": {
|
|
"src/components/ui/**": [
|
|
"exports",
|
|
"types"
|
|
],
|
|
"src/lib/validations/**": [
|
|
"types"
|
|
]
|
|
}
|
|
} |