Skip to content

Streamline imports and update dependencies in various components#1

Open
flaviomeyer wants to merge 1 commit into
Jamessdevops:mainfrom
flaviomeyer:fix/update-dependencies
Open

Streamline imports and update dependencies in various components#1
flaviomeyer wants to merge 1 commit into
Jamessdevops:mainfrom
flaviomeyer:fix/update-dependencies

Conversation

@flaviomeyer
Copy link
Copy Markdown

Upgrade to Next.js 15.5.18

Dependencies (apps/web/package.json)

  • next: 15.0.3 → 15.5.18
  • eslint-config-next: 15.0.3 → 15.5.18
  • react: 19.0.0-rc-02c0e824-20241028 → ^19.0.0 (stable)
  • react-dom: 19.0.0-rc-02c0e824-20241028 → ^19.0.0 (stable)
  • @types/react: ^18.3.12 → ^19.0.0
  • @types/react-dom: ^18.3.1 → ^19.0.0

Config (apps/web/next.config.ts)

  • Moved typedRoutes from experimental to top-level config (no longer experimental in 15.5)

Lint fixes

Stricter rules in the newer eslint-config-next surfaced unused imports and variables:

File Fix
src/app/page.tsx Removed unused imports: FeatureChips, HomeTopNav, PromoBanner
src/components/chat/V0ChatInput.tsx Removed unused imports: Mic, Paperclip
src/components/editor/EditorTopBar.tsx Removed unused imports: ChevronLeft, ChevronRight, Database, MoreHorizontal, Share2, Terminal; prefixed unused onTerminalToggle prop with _
src/components/home/CommandPrompt.tsx Removed unused import: MoreHorizontal; prefixed unused destructured props chips, onChipClick, onMoreClick with _
src/components/home/HeroComposer.tsx Fixed unescaped ''
src/components/layout/TopNav.tsx Removed unused import: ChevronDown; prefixed unused Avatar and display with _

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