A New UI for Nx Migration
Blog post from Nx
Nx 21 Launch Week introduces the Migrate UI in Nx Console, a visual tool designed to streamline the migration process for developers by providing full visibility and control over codebase updates. This new feature enhances the traditional command-line approach by offering guided steps through each migration, allowing users to review and approve changes before they are applied. The process begins with a notification badge indicating an available Nx update, leading to a step-by-step migration that updates package dependencies and presents detailed descriptions of each change. Users can inspect file changes through a visual diff view, choose to accept or undo migrations, and troubleshoot errors with clear messages and links to the migration source code. Once all migrations are completed, the Migrate UI simplifies finalization by offering options to squash commits into a single entry or preserve individual changes, thus maintaining a clean git history. Available in the latest version of Nx Console for VSCode and Cursor editors, this tool aims to improve the developer experience by making migrations more transparent and manageable.