Skip to content

Knowledge Base

Browse practical guides, troubleshooting steps, recipes, and technical reference articles from the Nx team.

All articles

226 articles

Filter by topic
All Knowledge Base articles, newest first
Topics
Migrate server-side rendered React Module Federation apps
Migrate Angular Module Federation off the Nx wrappers
Migrate from Nx Module Federation to the official plugins
Migrate server-side rendered Angular Module Federation apps
Authenticate with the Nx Cloud Public API
Debug CI failures with the Public API
Investigate flaky tasks with the Public API
Query the Nx Cloud Public API
Read raw resource-utilization reports
Resource Usage
Use the Nx Cloud Public API with an AI agent
Configure Inputs for Task Caching
Configure Outputs for Task Caching
Fix sandbox violations
Task Sandboxing
Adding Nx to an NPM/Yarn/PNPM Monorepo
Adding Nx to your Existing Project
Assignment Rules
Bring Your Own Compute
Cache Security
CI Workflow Examples by Provider
Cypress Component Testing
GitHub Actions Pricing and How to Cut Your CI Bill
Launch Templates
Merge Atomized Playwright Outputs
Migrate to Inferred Tasks
Migrating an Angular CLI Project to Nx
Migrating from Turborepo to Nx
Module Federation with Server-Side Rendering
Monorepo CI best practices
Nx and the Angular CLI
Nx vs Bazel
Nx vs Blacksmith
Nx vs Buildkite
Nx vs Depot
Nx vs Develocity
Nx vs Rush Stack
Nx vs Turborepo
Nx vs Vite+
Optimize Testing with Feature-Based Testing
Self-hosted remote cache
Set the Affected Base Commit in CI
Set Up Bun with Mise on CI
Speed Up CI with a Build Cache
Troubleshoot Convert to Inferred Migration
Use the Docker layer cache with Nx Agents
What Is a Flaky Test? Causes, Detection, and Fixes
What is a Monorepo?
Advanced Angular Micro Frontends with Dynamic Module Federation
Micro Frontends with Angular
Module Federation Consumer and Provider (v23+)
NxModuleFederationPlugin
Automatically Split Slow Tasks by File (Atomizer)
Detect and Retry Flaky Tasks
Faster Builds with Module Federation
GitHub Actions integration
Gradle Tutorial
Incremental Builds for .NET Projects
Nx CLI and CI Access Tokens
Nx Console & Nx Cloud Integration
Optimize Your Time to Green (TTG)
Bring your own AI API key
Pruning Projects for Deployment
Add a Rust Application to an Nx Workspace
createConfig - @nx/angular-rspack
Enforce Module Boundaries Rule
Custom Workspace ESLint Rules
Playwright web server readiness
Change Cache Location
Unknown Local Cache Error
Fix Nx Commands Failing in an AI Agent Sandbox
Storybook best practices for making the most out of Nx
Configure Webpack in your Nx workspace
Webpack plugins
Heartbeat and Main Job Completion Handling
Launch Template Examples
Nx Cloud and Personal Access Tokens
Reduce the Number of Affected Projects in a CI Pipeline Execution
Understanding "CI Execution Failed"
Convert from a Standalone Repository to a Monorepo
Enforce Organizational Best Practices with a Local Plugin
GitHub App Permissions
Bundling Projects for Deployment
Using Yarn Plug'n'Play with Nx
Use Repositories from Multiple GitHub Organizations in Nx Cloud
Creating an Install Package
Scrape Prometheus metrics from Nx Cloud
Configure the npm proxy cache for Nx Agents
Docker Layer Caching
npm Read-Through Cache
Bun Workspaces: Setup, Commands, and Best Practices
Migrate a Polyrepo to a Monorepo
npm Workspaces: Setup, Commands, and Best Practices
Nx vs Lerna
pnpm Workspaces: Setup, Commands, and Best Practices
Yarn Workspaces: Setup, Commands, and Best Practices
Add Language Support to Nx
Angular - Configuring styles and preprocessor options
Angular - Set up Compodoc for Storybook on Nx
How Storybook is configured on your Nx workspace
Publishing Storybook - One main Storybook instance for all projects
Publishing Storybook - One main Storybook instance using Storybook Composition
Publishing Storybook - One Storybook instance per scope
Set up Storybook for Angular Projects
Set up Storybook for React Projects
Setting up Storybook Composition with Nx
Setting up Storybook Interaction Tests with Nx
Creating Custom Steps
Local Generators
Getting Started - Angular Rspack
React Router with Nx
Nx and Angular Versions
Create a Custom Plugin Preset
CreateNodes API Compatibility
Write a Performant Project Graph Plugin
Create a Sync Generator
Executors and Configurations
Pass Args to Commands
Profiling Performance
Enable AI features
Migration Generators
Migrate from start-ci-run to start-nx-agents
Monorepo vs Polyrepo
Code Ownership
Manage Library Versions with Module Federation
Micro Frontends with React
Monorepo Folder Structure
Project Size
What is Micro Frontend Architecture?
Configuring ESLint with TypeScript
Dependency Management Strategies
Migrate from .eslintrc to ESLint Flat Config
Use TypeScript 7.0 alongside TypeScript 6.0
Dedicated Compute Cluster
Docker Read-Through Cache
Vite Module Federation
Define Secondary Entry Points for TypeScript Packages
Enable TypeScript Batch Mode
Identify Dependencies Between Folders
Run Tasks in Parallel
Troubleshoot Cache Misses
Write a Simple Executor
Compile TypeScript Libraries to Multiple Formats
Deploying a Node App to Fly.io
Set Up Application Proxies
Preserving Git Histories when Migrating Projects to Nx
Defining a Task Pipeline
Reduce Repetitive Configuration
Setup Incremental Builds for Angular Applications
Nx Console Migrate UI
Adding Images, Fonts, and Files
How to configure Next.js plugins
Configure Vite on your Nx workspace
Deploying Nuxt applications to Vercel
Switch to Workspaces and Project References
Workspace Watching
Publish Your Nx Plugin
JavaScript and TypeScript
Migrating to @nx/vitest from @nx/vite
Import an Existing Project into an Nx Workspace
Deploying Next.js Applications to Vercel
Migrate `nx` imports to `@nx/devkit`
Configuring the Cloud Runner
Release Docker Images
ESLint Plugin
Custom images for Nx Agents
Recording Non-Nx Commands
Add and Deploy Netlify Edge Functions with Node
Automate GitHub Releases
Automate GitLab Releases
Build-time Internationalization (i18n) with Angular Rspack
Composing Generators
Configuring Browser Support
createServer - @nx/angular-rspack/ssr
Creating Files with a Generator
Deploying AWS Lambda Functions in Node.js
Handling Configurations
Hook into the Task Running Lifecycle
Install Nx in a Non-JavaScript Repository
Manual Migration of Existing Code Bases
Migrate Angular with Webpack to Rspack
Migrate from @nx-dotnet/core to @nx/dotnet
Modifying Files with a Generator
Nx Console Telemetry
Nx Devkit and Angular Devkit
Project Dependency Rules
Publishable and Buildable Nx Libraries
React Compiler with Nx
Reduce Wasted Time in CI
Release TypeScript/JavaScript Packages to NPM
Resolve Circular Dependencies
Run Root-Level NPM Scripts with Nx
Running Custom Commands
Set up Storybook for Vue and Nuxt Projects
Skip Task Caching
Terminal UI
Testing Without Building Dependencies
Troubleshoot Nx Console Issues
Troubleshoot Nx Console Issues
Troubleshoot Nx Installations
TSC Batch Mode
TypeScript Project Linking
Upgrading Storybook
Using Nx Release with Rust
Using setupNodeEvents with Cypress preset
Using Tailwind CSS with Angular
Using Tailwind CSS with Module Federation
Using Tailwind CSS with React
Dependency Checks ESLint Rule
Nx Console Project Details View
Source Control Integration
Migrating to Cypress V11
Update Your Global Nx Installation
Compose Executors
Connecting Nx Cloud to your existing Google identity provider
Enable End to End Encryption
Disable Graph Links Created from Analyzing Source Files
How to configure Webpack and Vite for Storybook
Include All package.json Files as Projects
Including Assets in Your Build
Keep Nx Versions in Sync
Large Next.js Apps Made Faster with Nx
Nx Agents at Scale
Nx Console Generate Command
Nx Console Run Command
Wait for Tasks