Skip to content

chore: tsup -> tsdown - #11222

Merged
TkDodo merged 7 commits into
mainfrom
feature/tsdown
Aug 18, 2026
Merged

chore: tsup -> tsdown#11222
TkDodo merged 7 commits into
mainfrom
feature/tsdown

Conversation

@TkDodo

@TkDodoTkDodo commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Build Improvements
    • Migrated package builds to a newer build system while preserving modern and legacy outputs, declarations, source maps, watch mode, and framework-specific builds.
    • Updated Solid integrations for improved framework build support.
  • Chores
    • Removed obsolete build configuration and dependency references.
    • Updated tooling settings, build scripts, and package configuration.
    • Improved declaration generation reliability for Angular packages.

@TkDodo
TkDodo requested a review from a team as a code ownerAugust 18, 2026 10:26
@nx-cloud

nx-cloudBot commented Aug 18, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 8a4dcaa

CommandStatusDurationResult
nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded5m 5sView ↗
nx run-many --target=build --exclude=examples/*...✅ Succeeded2sView ↗

☁️ Nx Cloud last updated this comment at 2026-08-18 13:01:42 UTC

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

8 package(s) bumped directly, 17 bumped as dependents.

🟨 Minor bumps

PackageVersionReason
@tanstack/eslint-plugin-query5.101.4 → 5.102.0Changeset
@tanstack/preact-query5.101.4 → 5.102.0Changeset
@tanstack/query-core5.101.4 → 5.102.0Changeset
@tanstack/react-query5.101.4 → 5.102.0Changeset
@tanstack/solid-query5.101.4 → 5.102.0Changeset
@tanstack/vue-query5.101.4 → 5.102.0Changeset
@tanstack/angular-query-experimental5.101.4 → 5.102.0Dependent
@tanstack/angular-query-persist-client5.101.4 → 5.102.0Dependent
@tanstack/preact-query-devtools5.101.4 → 5.102.0Dependent
@tanstack/preact-query-persist-client5.101.4 → 5.102.0Dependent
@tanstack/query-async-storage-persister5.101.4 → 5.102.0Dependent
@tanstack/query-broadcast-client-experimental5.101.4 → 5.102.0Dependent
@tanstack/query-devtools5.101.4 → 5.102.0Dependent
@tanstack/query-persist-client-core5.101.4 → 5.102.0Dependent
@tanstack/query-sync-storage-persister5.101.4 → 5.102.0Dependent
@tanstack/react-query-devtools5.101.4 → 5.102.0Dependent
@tanstack/react-query-next-experimental5.101.4 → 5.102.0Dependent
@tanstack/react-query-persist-client5.101.4 → 5.102.0Dependent
@tanstack/solid-query-devtools5.101.4 → 5.102.0Dependent
@tanstack/solid-query-persist-client5.101.4 → 5.102.0Dependent

🟩 Patch bumps

PackageVersionReason
@tanstack/lit-query0.2.11 → 0.2.12Changeset
@tanstack/svelte-query6.1.38 → 6.1.39Changeset
@tanstack/svelte-query-devtools6.1.38 → 6.1.39Dependent
@tanstack/svelte-query-persist-client6.1.38 → 6.1.39Dependent
@tanstack/vue-query-devtools6.1.38 → 6.1.39Dependent

@socket-security

socket-securityBot commented Aug 18, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@coderabbitai

coderabbitaiBot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 04b0ea76-a0ef-47e2-9e30-992303d719e4

📥 Commits

Reviewing files that changed from the base of the PR and between e805e00 and 8a4dcaa.

📒 Files selected for processing (1)
  • packages/query-devtools/tsdown.config.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/query-devtools/tsdown.config.ts

Included review availability: Your plan includes up to 10 reviews per rolling hour; 8 remain after this review.


📝 Walkthrough

Walkthrough

The repository migrates package builds from tsup to tsdown. It updates shared build helpers, package scripts, root configuration links, Solid integrations, ignore rules, and development dependencies.

Changes

tsdown migration

Layer / File(s)Summary
Shared build contracts
.github/renovate.json, .gitignore, eslint.config.js, package.json, scripts/getTsdownConfig.js, packages/eslint-plugin-query/..., packages/preact-query-devtools/...
Repository tooling and shared build configurations now use tsdown options, types, and output handling.
Package build wiring
packages/angular-query-persist-client/..., packages/preact-query-*/..., packages/query-*/..., packages/react-query-*/..., packages/vue-query/...
Package scripts invoke tsdown. Package configurations and root links reference the tsdown shared configuration.
Specialized build configurations
packages/query-devtools/..., packages/solid-query-devtools/..., packages/solid-query-persist-client/..., packages/solid-query/...
New tsdown configurations define production, development, JSX, declaration, environment, minification, browser resolution, and Solid plugin settings.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Merge Risk:⚪ Minimal · up to 8a4dc

The PR replaces tsup configuration with tsdown across packages; no actionable merge-blocking risk remains beyond normal checks.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check nameStatusExplanationResolution
Description check⚠️ WarningNo pull request description was provided, so the required changes, checklist, testing, and release impact sections are missing.Add the template sections and describe the migration, motivation, local test results, and whether a changeset is required.
✅ Passed checks (4 passed)
Check nameStatusExplanation
Title check✅ PassedThe title clearly and concisely summarizes the primary change from tsup to tsdown.
Docstring Coverage✅ PassedDocstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check✅ PassedCheck skipped because no linked issues were found for this pull request.
Out of Scope Changes check✅ PassedCheck skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/tsdown

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.

@pkg-pr-new

pkg-pr-newBot commented Aug 18, 2026

Copy link
Copy Markdown
More templates

@tanstack/angular-query-experimental

npm i https://pkg.pr.new/@tanstack/angular-query-experimental@11222

@tanstack/eslint-plugin-query

npm i https://pkg.pr.new/@tanstack/eslint-plugin-query@11222

@tanstack/lit-query

npm i https://pkg.pr.new/@tanstack/lit-query@11222

@tanstack/preact-query

npm i https://pkg.pr.new/@tanstack/preact-query@11222

@tanstack/preact-query-devtools

npm i https://pkg.pr.new/@tanstack/preact-query-devtools@11222

@tanstack/preact-query-persist-client

npm i https://pkg.pr.new/@tanstack/preact-query-persist-client@11222

@tanstack/query-async-storage-persister

npm i https://pkg.pr.new/@tanstack/query-async-storage-persister@11222

@tanstack/query-broadcast-client-experimental

npm i https://pkg.pr.new/@tanstack/query-broadcast-client-experimental@11222

@tanstack/query-core

npm i https://pkg.pr.new/@tanstack/query-core@11222

@tanstack/query-devtools

npm i https://pkg.pr.new/@tanstack/query-devtools@11222

@tanstack/query-persist-client-core

npm i https://pkg.pr.new/@tanstack/query-persist-client-core@11222

@tanstack/query-sync-storage-persister

npm i https://pkg.pr.new/@tanstack/query-sync-storage-persister@11222

@tanstack/react-query

npm i https://pkg.pr.new/@tanstack/react-query@11222

@tanstack/react-query-devtools

npm i https://pkg.pr.new/@tanstack/react-query-devtools@11222

@tanstack/react-query-next-experimental

npm i https://pkg.pr.new/@tanstack/react-query-next-experimental@11222

@tanstack/react-query-persist-client

npm i https://pkg.pr.new/@tanstack/react-query-persist-client@11222

@tanstack/solid-query

npm i https://pkg.pr.new/@tanstack/solid-query@11222

@tanstack/solid-query-devtools

npm i https://pkg.pr.new/@tanstack/solid-query-devtools@11222

@tanstack/solid-query-persist-client

npm i https://pkg.pr.new/@tanstack/solid-query-persist-client@11222

@tanstack/svelte-query

npm i https://pkg.pr.new/@tanstack/svelte-query@11222

@tanstack/svelte-query-devtools

npm i https://pkg.pr.new/@tanstack/svelte-query-devtools@11222

@tanstack/svelte-query-persist-client

npm i https://pkg.pr.new/@tanstack/svelte-query-persist-client@11222

@tanstack/vue-query

npm i https://pkg.pr.new/@tanstack/vue-query@11222

@tanstack/vue-query-devtools

npm i https://pkg.pr.new/@tanstack/vue-query-devtools@11222

commit: 8a4dcaa

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize
react full12.28 KB (-0.35% 🔽)
react minimal9.23 KB (-0.34% 🔽)

@TkDodo
TkDodo merged commit 267154c into mainAug 18, 2026
9 checks passed
@TkDodo
TkDodo deleted the feature/tsdown branch August 18, 2026 13:19
Sign up for freeto 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

@TkDodo@schiller-manuel