remove unused rsc-html-stream dep#771
Conversation
commit: |
|
|
/bigbonk review |
There was a problem hiding this comment.
Removing the dependency itself looks correct — if nothing imports rsc-html-stream at runtime anymore, it shouldn't be in dependencies.
However, there are stale references to rsc-html-stream left in source code and tests that should be cleaned up in this PR:
Source comments:
packages/vinext/src/build/standalone.ts:78— comment mentionsrsc-html-streamas an example of a package with subpath-only exportspackages/vinext/src/build/standalone.ts:330— comment says "The prod-server imports packages likersc-html-streamat runtime"
Tests:
tests/standalone-build.test.ts:359-398— test "copies vinext runtime dependencies" usesrsc-html-streamas the fake runtime dep nametests/standalone-build.test.ts:401-447— test "copies vinext runtime dependencies that only expose subpath exports" also usesrsc-html-stream
The tests aren't broken (they create fake packages with that name and don't actually install from npm), but it's misleading to use a package name that vinext no longer depends on. Consider renaming to a generic placeholder like some-runtime-dep or picking an actual current dependency (e.g., magic-string) for the examples and comments.
Not a blocker — the dependency removal itself is clean — but would be nice to sweep these while you're at it.
|
Reviewed PR #771. The dependency removal from |
No description provided.