Skip to content

Knowledge Base

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

All articles

223 articles

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