chore: remover código morto e artefatos, adicionar CI e script typecheck

- componentes sem nenhuma importação (card, items, DeleteButton, IdInput,
  NutriScoreBadge, NutritionBar, NutritionChart, PageTitle, PersuasiveCTA,
  landing/SearchBar), imports e variável não usados (avisos do lint)
- sw.js na raiz: não é referenciado e carrega script de terceiros
  (fenoofaussut.net)
- bun.lock (o deploy e o README usam pnpm), graphify-out/ e os bancos
  SQLite versionados em prisma/prisma (pnpm db:push recria o banco)
- devDependency depcheck sem uso
- .gitignore: *.sqlite, *.sqlite-journal, graphify-out/
- script typecheck e workflow do GitHub Actions (lint, typecheck, test, build)
This commit is contained in:
evandro committed 2026-10-10 04:16:04 -03:00
1 parent bf688257ef
commit a9ab66e26f
122 files changed
+36 -15241

No files matched your search

+1 -1
View File
@@ -6,6 +6,7 @@
"test": "node --import ./tests/helpers/register.mjs --test tests/*.test.ts",
"dev": "next dev",
"lint": "next lint",
"typecheck": "tsc --noEmit",
"postinstall": "prisma generate",
"build": "prisma generate && next build",
"start": "next start",
@@ -42,7 +43,6 @@
"@types/node": "^20.19.39",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"depcheck": "^1.4.7",
"eslint": "^8.57.1",
"eslint-config-next": "^15.5.24",
"postcss": "^8.5.10",