-
Notifications
You must be signed in to change notification settings - Fork 258
refactor: replace tsup with tsdown #1528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
refactor: replace tsup with tsdown #1528
Conversation
|
673718e to
1c0e973
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
255799c to
05cdef5
Compare
05cdef5 to
615c72e
Compare
| import { defineConfig } from 'tsdown' | ||
|
|
||
| export default defineConfig({ | ||
| attw: true, |
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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-openapihaving a dependency on@hono/zod-validator, as CI needs to build@hono/zod-validatorbefore 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
It looks like
tsupis no longer actively maintained, and they're recommending people migrate totsdowninstead