Skip to content

feat: remove v2 logic & support v3#179

Merged
jrgarciadev merged 35 commits intomainfrom
feat/v3
Mar 21, 2026
Merged

feat: remove v2 logic & support v3#179
jrgarciadev merged 35 commits intomainfrom
feat/v3

Conversation

@wingkwong
Copy link
Member

@wingkwong wingkwong commented Mar 18, 2026

📝 Description

This PR is to adopt HeroUI v3 and remove unused logic from v2.

Summary:

  • Simplified all CLI commands (add, remove, upgrade, list, env, doctor) to only manage @heroui/react and @heroui/styles instead of individual component packages
  • Removed components.json registry and all component-level tracking logic
  • Removed tailwind config, App.tsx, and pnpm checks from doctor command
  • Added peer dependency detection to add and upgrade actions — missing or outdated peer deps are displayed and installed/upgraded automatically
  • Added confirmation prompts before add, remove, and upgrade actions
  • add action shows packages and peer dependencies in separate tables before installation
  • upgrade action displays upgradable packages and peer dependencies in boxed tables
  • remove action shows installed versions only (no "new version" display)
  • doctor action reports missing peer dependencies with the original version range from peerDependencies
  • getPackageInfo now handles directory paths (appends /package.json) and exits gracefully on read errors
  • Removed dead code: fix.ts, setup.ts, beta.ts, component.ts, plugin-copy.ts, HeroUI Chat codebase helpers, laravel/remix template logic, and outdated screenshots
  • Consolidated @heroui/react and @heroui/styles into shared HEROUI_PACKAGES constant
  • Bumped dependencies
  • Updated README to reflect all command changes

✅ Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)
  • Improvement (non-breaking change which improves an existing feature)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

@wingkwong wingkwong marked this pull request as ready for review March 19, 2026 13:37
@wingkwong wingkwong requested a review from jrgarciadev as a code owner March 19, 2026 13:37
@jrgarciadev jrgarciadev merged commit 7c7b798 into main Mar 21, 2026
3 checks passed
@jrgarciadev jrgarciadev deleted the feat/v3 branch March 21, 2026 16:06
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.

2 participants