refactor: swap rollup with native rolldown (using tsdown)#6789
refactor: swap rollup with native rolldown (using tsdown)#6789juliusmarminge merged 28 commits intomainfrom
Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
WalkthroughThis update migrates the build system from Rollup (and related scripts) to tsdown across multiple packages. All Rollup configuration files, SWC dependencies, and entrypoint scripts are removed. New Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as Developer
participant Tsdown as tsdown
participant Entrypoints as entrypoints.ts
participant Turbo as turbo.json
Dev->>Tsdown: Run build (tsdown)
Tsdown->>Entrypoints: onSuccess: generateEntrypoints(inputs)
Entrypoints->>Entrypoints: Update package.json (main/module/types, exports)
Entrypoints->>Entrypoints: Generate per-entrypoint package.json
Entrypoints->>Turbo: Update build task outputs in turbo.json
Entrypoints-->>Tsdown: Done
Tsdown-->>Dev: Build complete (dual ESM/CJS outputs)
Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes detected related to the linked issues. Suggested reviewers
Poem
✨ Finishing Touches
🧪 Generate Unit Tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
🚅 Deployed to the trpc-pr-6789 environment in trpc-sse-and-websockets
|
@trpc/client
@trpc/next
@trpc/react-query
@trpc/server
@trpc/tanstack-react-query
@trpc/upgrade
commit: |
|
This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you. |
Closes #6814
Closes #6554
trying out swapping out rollup for rolldown powered tsdown
Preview builds:
Summary by CodeRabbit
Summary by CodeRabbit
Refactor
Chores
Style
No changes to user-facing APIs or functionality.