What problem does it solve?
nx import handles the complexity of bringing external applications or libraries into an existing Nx monorepo, preserving git history while aligning dependencies, workspace globs, and Nx configuration.
Core Features & Use Cases
- Guided import strategies: Offers subdirectory-at-a-time and whole-repo workflows with rules for applications versus libraries, directory conventions, and rehydrating Nx plugins.
- Post-import validation: Highlights fixes for pnpm workspace globs, dependency merging, executor paths, ESLint/Jest/Vite/Next.js configs, and stale files so the imported code integrates cleanly.
- Risk mitigation tips: Documents common pitfalls like duplicate scripts, typecheck issues, plugin detection, and version conflicts, plus reference links for ESLint and testing deep dives.
Quick Start
Run nx import with the source repository path and target app or lib directory to pull projects in while preserving history and then adjust pnpm globs and Nx configs as needed.