Home / Companies / Nx / Blog / May 2025

May 2025 Summaries

11 posts from Nx

Filter
Month: Year:
Post Summaries Back to Blog
The Model Context Protocol (MCP), introduced by Anthropic in late 2024, serves as an open standard enabling AI agents to connect with various digital environments, such as the web and software systems. This blog post details the process of creating an MCP server using an Nx monorepo, demonstrated through a fictional SaaS company called Astra Arcana. The server is built to allow AI tools to understand workspace architecture and execute tasks such as obtaining ingredients, incantations, and recipes via a JSON-RPC server using the Typescript SDK. The post guides through setting up the server, registering tools, and enabling AI to perform actions, like casting spells, with a focus on using AI agents beyond data reading. Additionally, it covers the steps for publishing the server as an NPM package, including setting up a local Verdaccio registry for testing and configuring the Nx release process for versioning and publishing. The future installment promises to explore alternative MCP transport layers and hosting solutions.
May 29, 2025 2,557 words in the original blog post.
Nx has introduced a new integration that enhances AI coding assistants by allowing them to access and interact with the Nx terminal, significantly improving the debugging process in large-scale development environments. This integration eliminates the need for manual context sharing by enabling the Large Language Model (LLM) to autonomously retrieve terminal outputs, stack traces, build logs, and error messages directly from the terminal. The system utilizes the Model Context Protocol (MCP) hosted by Nx Console to establish communication between the terminal, the editor, and the AI assistant, providing comprehensive insights into source code, browser environments, and terminal outputs. This feature is designed to improve the developer experience by giving AI assistants a holistic understanding of the development workflow, thereby allowing them to make more informed decisions and offer contextually relevant assistance. By integrating deep contextual awareness of monorepos, CI pipelines, and terminal processes, Nx aims to transform AI assistants into truly intelligent counterparts capable of scaling with complex codebases.
May 28, 2025 1,120 words in the original blog post.
The text explores the integration of AI into software development, emphasizing that while AI tools can significantly enhance productivity by 10-30% through faster coding, content creation, and skill acquisition, they require intentional workflows and practice to be effective. The author highlights the importance of understanding and quality over speed, cautioning against relying on AI-generated code without comprehension and stressing the need for structured approaches like Plan → Act → Review → Repeat. The narrative also discusses the variety of AI tools available, such as AI-integrated editors and terminal-based agents, and the importance of maintaining consistent coding standards and using AI for documentation and debugging. The text concludes by asserting that developers who invest in understanding AI's capabilities and developing sustainable workflows will gain a competitive advantage, underscoring the ongoing need for critical thinking and familiarity with codebases in this evolving technological landscape.
May 27, 2025 2,799 words in the original blog post.
On May 28, 2025, at 1pm ET/5pm UTC, Jordan Powell from Nx and Ilyass Elfouih from Bitovi will present a session focused on enhancing development speed and CI/CD workflow efficiency using Nx and Bitovi. The session will explore a real-world scenario involving a frontend team updating a shared component, encountering a code owner approval issue, and leveraging Nx Cloud to address and validate the change without needing to run a full test suite. The event will be available for viewing on YouTube.
May 14, 2025 78 words in the original blog post.
Nx is exploring the integration of predictable code generators with intelligent Large Language Models (LLMs) to enhance the developer experience, particularly in enterprise settings where consistency and adherence to coding standards are crucial. While Nx's code generators offer a reliable structure for creating new projects, libraries, or components, AI assistants provide the contextual awareness needed to integrate these elements into existing projects seamlessly. This integration allows developers to maintain control over the generation process through tools like the Nx Console UI, enabling adjustments and ensuring that new code aligns with existing workspace structures. The collaboration between Nx's predictable generators and AI's adaptability offers a balanced approach to speed and control, enhancing workspace integration and improving code consistency. By leveraging this combination, Nx aims to provide a powerful development workflow that incorporates deep AI integration, while users can benefit from enhanced workflows and maintain consistency across projects.
May 13, 2025 1,206 words in the original blog post.
Nx 21 introduces significant enhancements to the developer experience (DX) within monorepos through features like continuous tasks and an improved terminal UI. Continuous tasks, unlike finite tasks that run and shut down after completion, are long-lived and run until interrupted, enabling seamless dependencies between tasks such as serving a backend whenever a frontend is served. This advancement allows developers to set up task pipelines where tasks can depend on continuous tasks without waiting for them to complete, thereby streamlining workflows and reducing the need for multiple terminal windows or custom scripts. The configuration of these tasks can be detailed within the `nx.json` file or at the project level, ensuring that all build tasks automatically run prerequisite tasks on dependent projects. Additionally, continuous tasks can be applied to custom commands, allowing for real-time updates such as re-generating models upon schema changes, thereby enhancing local development and testing environments. The new features aim to make development processes more efficient and intuitive, offering tools to better visualize and manage task dependencies, ultimately improving the overall DX within the Nx framework.
May 09, 2025 1,438 words in the original blog post.
Nx 21 Launch Week introduces significant improvements to the developer experience, particularly with the release of a new terminal user interface (TUI) as part of the migration to Rust. The new TUI, built using the Rust library Ratatui, provides a clear and interactive way to manage multiple project tasks by organizing outputs into a scrollable list rather than a single, mixed stream. This enhancement allows developers to inspect specific tasks, filter projects, and pin outputs for continuous monitoring, addressing previous challenges with task visibility and separation in monorepos. While this updated TUI is currently unavailable on Windows due to issues with pseudo-terminals, it is accessible for macOS and Linux users.
May 09, 2025 769 words in the original blog post.
Nx 21 introduces several new features aimed at enhancing developer experience, notably Continuous Tasks and a revamped Terminal UI. Continuous Tasks allow for dependencies on tasks that may not conclude, optimizing workflows for Module Federation by enabling simultaneous serving of host and remote applications. The release also includes Rspack Plugins that improve compatibility and functionality with Nx’s Module Federation, streamlining configuration processes by replacing previous helpers and executors. These advancements permit contributors to work on individual applications independently while maintaining seamless integration with overarching projects. The introduction of a new Terminal UI further enhances usability by allowing users to view logs in specific frames, making the development process more intuitive and efficient.
May 08, 2025 774 words in the original blog post.
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.
May 07, 2025 884 words in the original blog post.
Nx 21 Launch Week introduces significant updates and features aimed at enhancing developer experience and performance within Nx workspaces. Key highlights include continuous tasks, which allow for easier configuration of task pipelines by marking tasks as continuous, enabling dependent tasks to run without waiting for completion, and the new Terminal UI that organizes logs for ongoing tasks, improving user interaction. The release also debuts improved compatibility for the @nx/gradle plugin, resulting in faster task execution through a newly designed project graph plugin and batch task processing. The Migrate UI in Nx Console simplifies migration processes, allowing users to see and approve changes more efficiently. Additionally, React Router 7 integration caters to various modes, supporting the transition from Remix with guided migration tools. Changes in versioning implementation offer greater flexibility across different programming languages, while breaking changes include increased minimum Node version requirements and the removal of older APIs in favor of optimized hooks and caching solutions. These updates are part of Nx's commitment to refining its ecosystem, with further details to be shared throughout the launch week.
May 05, 2025 1,870 words in the original blog post.
Nx has enhanced its integration with AI assistants to streamline the development process by connecting continuous integration (CI) pipelines directly to editors, thereby reducing workflow delays and improving productivity. This integration leverages the Nx Console extension, Nx Cloud, and an MCP server to provide real-time notifications in editors like VS Code, Cursor, and IntelliJ whenever a CI build fails. The system offers a one-click solution for AI assistance, which analyzes the failure using detailed contextual data from the MCP server and Nx Cloud, and suggests targeted fixes without requiring developers to leave their editors. This approach minimizes context switching, eliminates wasted wait time, and accelerates feedback loops by allowing developers to receive immediate notifications and apply fixes quickly, ultimately increasing development velocity and enabling more efficient codebase management.
May 01, 2025 1,109 words in the original blog post.