Skip to content

chore: Consolidar atualizações de dependências#24

Merged
sthevan027 merged 2 commits into
mainfrom
chore/combined-dependency-updates
May 4, 2026
Merged

chore: Consolidar atualizações de dependências#24
sthevan027 merged 2 commits into
mainfrom
chore/combined-dependency-updates

Conversation

@sthevan027
Copy link
Copy Markdown
Owner

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

  • react-router-dom ^6.30.3 → ^7.14.2
  • typescript ^5.9.3 → ^6.0.3
  • @vitejs/plugin-react ^4.7.0 → ^5.2.0
  • tailwindcss ^3.4.19 → ^4.2.4 + @tailwindcss/vite ^4.2.4
  • postcss ^8.5.12 → ^8.5.13

Mudanças de suporte

  • Vite: plugin @tailwindcss/vite; Tailwind removido do PostCSS (mantido autoprefixer).
  • CSS: @import "tailwindcss" + @config para o tailwind.config.js existente; sintaxe v4 em @apply (!important!util, bg-opacity-50bg-black/50).
  • TypeScript 6: src/vite-env.d.ts com referência a vite/client para imports de .css.

Verificação local

  • pnpm run build OK
  • pnpm test OK (8 testes)
  • pnpm run lint OK

Após merge

Fechar os PRs #19, #20, #21, #22, #23 do Dependabot como superseded por este.

Riscos para main

  • React Router v7: uso continua com BrowserRouter / Routes / Route (compatível).
  • Tailwind v4: tema e utilitários herdados do config JS; regressões visuais são possíveis — vale smoke test manual na UI (tema escuro, modais, tooltips).

- react-router-dom 7, typescript 6, @vitejs/plugin-react 5
- tailwindcss 4 com @tailwindcss/vite; PostCSS sem plugin tailwind
- Ajustes em index.css para Tailwind v4 (@import, @config, utilitários)
- vite-env.d.ts para imports de CSS com TypeScript 6

Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread package.json
"react-chartjs-2": "^5.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.3",
"react-router-dom": "^7.14.2",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant