You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(migration): integrate batch import rewriting into migration command
Add NAPI bindings for rewrite_imports_in_directory to expose the Rust
batch import rewriting functionality to TypeScript. The migration command
now rewrites vite/vitest imports in all TypeScript/JavaScript files,
not just config files.
Changes:
- Add BatchRewriteResult and BatchRewriteError NAPI structs
- Add rewriteImportsInDirectory NAPI function
- Call rewriteAllImports in both standalone and monorepo migrations
- Display progress showing modified files and any errors
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments