[bug][migration] Fonte customizada não é portada automaticamente na migração Fresh → TanStack
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 2
- Avg merge
- 20h 12m
- Merged PRs (30d)
- 36
Description
Em migrações Fresh → TanStack, a fonte customizada da loja é descartada e não portada — o site passa a usar o fallback do sistema.
Causa: a declaração de fonte (<link> do Google Fonts ou @font-face) precisa ser adicionada manualmente ao app.tsx / layout.tsx do projeto TanStack. O script de migração não porta esse dado automaticamente.
Impacto: bug recorrente em todas as migrações — sempre precisa ser corrigido manualmente após a migração.
Sugestão: detectar o uso de fontes no projeto Fresh (ex: import de CSS com @font-face, <Link> com Google Fonts) e incluir o porte como etapa explícita do script/checklist de migração.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Fresh → TanStack migration script and its migration checklist or entry point. Review how CSS imports, @font-face declarations, and Google Fonts links are represented, along with the generated app.tsx or layout.tsx. Done means custom fonts are detected and ported, or the migration explicitly records the required font step instead of silently dropping it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100