Skip to content

refactor(rsc): use Vite ESTree types - #1347

Draft
hi-ogawa wants to merge 1 commit into
mainfrom
vite-estree
Draft

refactor(rsc): use Vite ESTree types#1347
hi-ogawa wants to merge 1 commit into
mainfrom
vite-estree

Conversation

@hi-ogawa

Copy link
Copy Markdown
Contributor

Summary

  • type RSC transforms against Vite 8’s exported ESTree namespace
  • adapt estree-walker once so its classic ESTree declarations do not leak into transform code
  • remove the direct @types/estree dependency, workspace override, and @oxc-project/types tsconfig remapping

@types/estree remains a transitive dependency of estree-walker; this PR only removes RSC’s direct dependency and type workaround.

Tests

  • pnpm -C packages/plugin-rsc build
  • pnpm -C packages/plugin-rsc tsc
  • pnpm -C packages/plugin-rsc test --run

Co-authored-by: OpenCode <noreply@opencode.ai>
@hi-ogawa
hi-ogawa marked this pull request as draft July 29, 2026 08:48
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.

1 participant