Skip to content

Conversation

@BarryThePenguin
Copy link
Contributor

It looks like tsup is no longer actively maintained, and they're recommending people migrate to tsdown instead

@changeset-bot
Copy link

changeset-bot bot commented Oct 25, 2025

⚠️ No Changeset found

Latest commit: 615c72e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@BarryThePenguin BarryThePenguin force-pushed the refactor/replace-tsup-with-tsdown branch from 673718e to 1c0e973 Compare October 25, 2025 04:41
@codecov
Copy link

codecov bot commented Oct 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.66%. Comparing base (3a09488) to head (615c72e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1528      +/-   ##
==========================================
+ Coverage   83.28%   83.66%   +0.37%     
==========================================
  Files         106      106              
  Lines        3417     3410       -7     
  Branches      876      899      +23     
==========================================
+ Hits         2846     2853       +7     
+ Misses        483      468      -15     
- Partials       88       89       +1     
Flag Coverage Δ
ajv-validator 0.49% <ø> (-0.02%) ⬇️
arktype-validator 0.85% <ø> (-0.03%) ⬇️
auth-js 2.02% <ø> (-0.06%) ⬇️
bun-compress 0.20% <ø> (-0.01%) ⬇️
casbin 0.97% <ø> (-0.03%) ⬇️
class-validator 0.55% <ø> (-0.02%) ⬇️
clerk-auth 0.67% <ø> (-0.02%) ⬇️
cloudflare-access 1.82% <ø> (-0.06%) ⬇️
conform-validator 0.73% <ø> (-0.03%) ⬇️
effect-validator 0.26% <ø> (-0.01%) ⬇️
esbuild-transpiler 0.67% <ø> (-0.02%) ⬇️
event-emitter 1.70% <ø> (-0.02%) ⬇️
firebase-auth 1.67% <ø> (-0.05%) ⬇️
graphql-server 2.76% <ø> (-0.08%) ⬇️
hello 0.11% <ø> (-0.01%) ⬇️
mcp 5.93% <ø> (-0.14%) ⬇️
medley-router 0.29% <ø> (-0.01%) ⬇️
node-ws 2.08% <ø> (-0.06%) ⬇️
oauth-providers 19.90% <ø> (-0.56%) ⬇️
oidc-auth 7.17% <ø> (-0.21%) ⬇️
otel 2.96% <ø> (-0.01%) ⬇️
prometheus 1.08% <ø> (-0.04%) ⬇️
react-renderer 0.97% <ø> (+<0.01%) ⬆️
sentry 0.49% <ø> (-0.02%) ⬇️
session 8.02% <ø> (-0.23%) ⬇️
ssg-plugins-essential 3.14% <ø> (-0.09%) ⬇️
standard-validator 2.17% <ø> (-0.07%) ⬇️
stytch-auth 3.88% <ø> (-0.11%) ⬇️
swagger-editor 0.44% <ø> (+0.01%) ⬆️
swagger-ui 1.11% <ø> (-0.04%) ⬇️
trpc-server 0.38% <ø> (+0.01%) ⬆️
tsyringe 0.20% <ø> (-0.01%) ⬇️
typebox-validator 0.47% <ø> (-0.02%) ⬇️
typia-validator 1.26% <ø> (-0.04%) ⬇️
ua-blocker 1.41% <ø> (-0.01%) ⬇️
valibot-validator 0.32% <ø> (-0.01%) ⬇️
zod-openapi 4.46% <ø> (+0.44%) ⬆️
zod-validator 0.58% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@BarryThePenguin BarryThePenguin force-pushed the refactor/replace-tsup-with-tsdown branch 8 times, most recently from 255799c to 05cdef5 Compare October 25, 2025 06:03
@BarryThePenguin BarryThePenguin force-pushed the refactor/replace-tsup-with-tsdown branch from 05cdef5 to 615c72e Compare October 25, 2025 06:06
import { defineConfig } from 'tsdown'

export default defineConfig({
attw: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh, tsdown includes the arethetypeswrong and publint?? It's cool!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can all tsdown.config.tss in the packages look for tsdown.config.ts in the top, and can we remove the tsdown.config.ts`s?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that would be good except

  • @hono/zod-openapi having a dependency on @hono/zod-validator, as CI needs to build @hono/zod-validator before building @hono/zod-openapi
  • Each workspace has slightly different config, eg entry, attw.profile, etc..

I'll do my best to remove any duplicate configuration, but I think we'll still need to include most of them

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