-
Notifications
You must be signed in to change notification settings - Fork 279
refactor(types): move @types/* dependencies into individual workspaces
#1688
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
refactor(types): move @types/* dependencies into individual workspaces
#1688
Conversation
|
| "@types/bun": "^1.0.0", | ||
| "@types/node": "^25.0.3", | ||
| "@types/ws": "^8.18.0", |
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.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1688 +/- ##
==========================================
+ Coverage 92.11% 92.69% +0.57%
==========================================
Files 111 112 +1
Lines 3678 3737 +59
Branches 960 946 -14
==========================================
+ Hits 3388 3464 +76
+ Misses 255 245 -10
+ Partials 35 28 -7
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:
|
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
| const decompressedResponse = new Response(decompressedReadableStream as any) | ||
| const decompressedResponse = new Response(decompressedReadableStream) |
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.
No more type assertion ✨
cc4289f to
69dcb46
Compare
.github/actions/what-changed/main.ts
Outdated
| import * as exec from '@actions/exec' | ||
|
|
||
| const exclude = new Set(['@hono/bun-transpiler']) | ||
| const exclude = new Set(['@hono/bun-compiler', '@hono/bun-transpiler']) |
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.
Adding the @hono/bun-compiler is a typo?
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.
Hey @BarryThePenguin !
Can you look at this?
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.
Ah, yes! Forgot about this.. There are a couple of things here..
@hono/bun-compileris a typo, yes. This should be@hono/bun-compress- Bun v1.3.3 introduced CompressionStream and DecompressionStream, so the tests for
@hono/bun-compressaren't actually testing the code. - It looks like
@hono/bun-compressgets quite a few downloads, so it's probably worth keeping around
So I think it's probably worth the effort of testing the package on the older version of bun
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.
Got them! So, can you update this branch?
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.
Looks like that's sorted now 👀
2af149d to
e6abe6e
Compare
e6abe6e to
ceb8414
Compare
yusukebe
left a comment
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.
LGTM!
|
Thank you! Let's go! |
Moving
@types/*dependencies around and cleaning up some type assertions