Skip to content

refactor: Monorepo restructure and UI package overhaul - #328

Merged
saddlepaddle merged 6 commits into
mainfrom
disastrous-lizard-ba5ea3
Dec 12, 2025
Merged

saddlepaddle merged 6 commits into
mainfrom
disastrous-lizard-ba5ea3

Conversation

@saddlepaddle

Copy link
Copy Markdown
Collaborator

Summary

  • Restructured monorepo to follow onbook patterns
  • Moved typescript-config to tooling/typescript
  • Created packages/shared for shared constants/types
  • Renamed packages/api to packages/trpc with proper tRPC setup
  • Created packages/queries for React Query hooks
  • Overhauled packages/ui with all shadcn components and ai-elements
  • Updated package exports to use wildcard patterns (@superset/ui/button, @superset/ui/ai-elements/message)
  • Replaced @/ path aliases with relative imports in UI package
  • Added .cache to .gitignore and removed tracked cache files
  • Updated turbo.jsonc with proper globalEnv and task configurations

Changes

Packages

  • tooling/typescript - TypeScript configs (base, next, electron, internal-package)
  • packages/shared - Shared constants and types
  • packages/trpc - tRPC router setup (renamed from api)
  • packages/queries - React Query hooks for tasks
  • packages/ui - Complete shadcn component library + ai-elements

UI Package Highlights

  • All shadcn/ui components installed and organized under src/components/ui/
  • AI elements from Vercel AI SDK registry under src/components/ai-elements/
  • Custom modifications preserved (showArrow on Tooltip, variant on Input, icon sizes on Button)
  • Wildcard exports for cleaner imports

Test plan

  • bun install succeeds with no sherif errors
  • bun run typecheck passes for all 10 packages
  • Verify desktop app builds and runs correctly
  • Verify website builds correctly

🤖 Generated with Claude Code

@vercel

vercel Bot commented Dec 12, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
website Ready Ready Preview Comment Dec 12, 2025 3:10am

@coderabbitai

coderabbitai Bot commented Dec 12, 2025 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

45 files out of 153 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch disastrous-lizard-ba5ea3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

globals.css imports tw-animate-css but package was missing from dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Change SpeechRecognition callback types from `any` to `void`
- Add biome-ignore comments for intentional shadcn/ui patterns:
  - document.cookie usage in sidebar
  - role attributes on divs (group, list, region, separator, link)
  - dangerouslySetInnerHTML for CSS injection in chart
  - array index keys in slider thumbs and error lists
  - click handler without keyboard equivalent in input-group

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Upgrade setup-bun@v1 to v2 and bun 1.3.2 to 1.3.3
- Fix --frozen-lockfile to --frozen (correct bun syntax)
- Use bun instead of bunx for drizzle-kit commands
- Add working-directory for drizzle commands
- Use pooled and unpooled DB URLs in preview workflow
- Add placeholder DATABASE_URL vars for build validation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 12, 2025 •

Copy link
Copy Markdown
Contributor

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

AviPeltz added a commit that referenced this pull request Oct 10, 2026
Bumps next from 16.3.6 to 16.3.8 in every Next.js app and in the root
overrides entry, which is what the lockfile actually resolves against.
Closes Dependabot alerts #328-#357 (six advisories per app manifest).

Dependabot's #8281 bumps only apps/web/package.json without the
override or the lockfile, so the installed version stays 16.3.6 there.

This branch was successfully deployed

1 active deployment
Preview — f78bab70 Deployed Dec 12, 2025 by vercel[bot]
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