chore: Consolidar atualizações de dependências#24
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3ee16d6146
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "react-chartjs-2": "^5.3.1", | ||
| "react-dom": "^18.3.1", | ||
| "react-router-dom": "^6.30.3", | ||
| "react-router-dom": "^7.14.2", |
There was a problem hiding this comment.
Raise the declared Node engine to match upgraded deps
This upgrade pulls in Node-20-only packages (react-router-dom@7.14.2 and @vitejs/plugin-react@5.2.0), but package.json still advertises "node": ">=18.0.0"; that mismatch will break installs/builds for teams or CI still on Node 18 (especially with engine-strict), even though the project claims that version is supported. Please bump the engine floor (and related docs/CI) or pin these deps to Node-18-compatible versions.
Useful? React with 👍 / 👎.
Alinha package.json com react-router-dom 7 e @vitejs/plugin-react 5 (Node 20+). O CI já usa node-version 20. Co-authored-by: Cursor <cursoragent@cursor.com>
O que inclui
Substitui e unifica os PRs do Dependabot #19–#23 numa única alteração com migração necessária para Tailwind CSS v4.
Pacotes
Mudanças de suporte
@tailwindcss/vite; Tailwind removido do PostCSS (mantido autoprefixer).@import "tailwindcss"+@configpara otailwind.config.jsexistente; sintaxe v4 em@apply(!important→!util,bg-opacity-50→bg-black/50).src/vite-env.d.tscom referência avite/clientpara imports de.css.Verificação local
pnpm run buildOKpnpm testOK (8 testes)pnpm run lintOKApós merge
Fechar os PRs #19, #20, #21, #22, #23 do Dependabot como superseded por este.
Riscos para
mainBrowserRouter/Routes/Route(compatível).