Skip to content

Conversation

@Che-Zhu
Copy link
Collaborator

@Che-Zhu Che-Zhu commented Jan 9, 2026

Summary

This PR fixes a critical build failure in user-created applications.

Related Issue

Problem

When pre-installing all shadcn/ui components via shadcn add --all, the resizable component pulls in react-resizable-panels@4.3.2, which has TypeScript type definitions incompatible with React 19.

Impact: Users cannot run pnpm run build successfully. The build always fails with:

react-resizable-panels: has no exported member 'ImperativePanelGroupHandle'

Users must manually upgrade react-resizable-panels before they can build, which is a poor out-of-box experience.

Solution

Stop pre-installing shadcn/ui components in the sandbox runtime. Users can add components on-demand:

pnpm dlx shadcn add <component-name>

This avoids shipping broken dependencies and gives users a working pnpm run build out of the box.

- Define VS Code-inspired dark theme color system
- Document two-section sidebar architecture
- Specify component standards (Button, Card, Tabs)
- Include typography, border radius, and shadow systems
- Reference related files (globals.css, style.md)
…iable

- Add NEXT_VERSION=15.5.9 environment variable for centralized version control
- Update global npm install to use create-next-app@${NEXT_VERSION}
- Update npx command to use create-next-app@${NEXT_VERSION}

This ensures version consistency and makes future upgrades easier by
requiring changes in only one place.
…lict

The react-resizable-panels package (dependency of shadcn resizable component)
has type incompatibility with React 19. Disable pre-installing all components
and allow on-demand installation instead.

Addresses: shadcn-ui/ui#9200
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

✅ PR Check Results: Passed

Build Checks

Check Status
Lint & Build ✅ Passed
Docker Build ✅ Passed

✨ Great work!

All checks passed successfully. Your PR is ready for review.

Details:

  • ✅ Code quality verified (linting passed)
  • ✅ Build successful
  • ✅ Docker image build verified (linux/amd64)
    Commit: 195dae020fe5a926511aaf1288f2549334a62c12
    Branch: regular-update

🔗 View Details:

@Che-Zhu Che-Zhu merged commit 6dc60c7 into main Jan 9, 2026
7 checks passed
@Che-Zhu Che-Zhu deleted the regular-update branch January 18, 2026 14:49
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