What problem does it solve?
Import, merge, or consolidate multiple repositories into a single Nx workspace, enabling teams to adopt Nx across projects, unify codebases, and preserve history during migrations.
Core Features & Use Cases
- Import code from a source repository or folder into the current workspace, preserving commit history.
- Support subdirectory imports (one-repo-at-a-time) or whole-repo imports, with guidance for destination structure and conflict resolution.
- Follow best practices for workspace setup (apps/libs layout, tsconfig, nx.json) and handle common migration scenarios, including preserving history and streamlining future work.
Quick Start
Run nx import with the appropriate flags to bring code from a source repository into the current Nx workspace, ensuring the destination directory is empty before importing.