Intro
Learn how to create custom Nx plugins to enforce best practices, integrate tools, and share functionality across your organization's repositories.
Compose Executors
Learn how to compose and chain Nx executors together, including how to invoke other targets and executors from within your custom executors.
Composing Generators
Learn how to combine and reuse Nx generators to build complex workflows from simpler building blocks, including using Nx Devkit generators and jscodeshift codemods.
Custom Plugin Preset
Learn how to create a custom preset generator for your Nx plugin that can be used with create-nx-workspace to generate customized workspaces.
Create a Sync Generator
Learn how to create and register sync generators in Nx to ensure your file system is in the correct state before tasks run, including global and task-specific sync generators.
Creating an Install Package
Learn how to create a custom "create-x" package for your Nx plugin to provide a seamless project bootstrapping experience with npm, yarn, or other package managers.
Creating Files with a Generator
Learn how to create, update, and manage files in your Nx workspace using generators, including working with static and dynamic file templates.
Enforce Organizational Best Practices with a Local Plugin
Learn how to create a custom Nx plugin that encodes your organization's best practices into code generators for consistent project creation.
Extending the Project Graph
Learn how to create project graph plugins for Nx to add custom nodes and dependencies, enabling support for additional languages and technologies.
Task Running Lifecycle
Learn how to extend Nx's task running process with preTasksExecution and postTasksExecution hooks to implement custom logic before and after tasks run.
Integrate a New Tool with a Tooling Plugin
Learn how to create a custom Nx plugin that integrates a tool or framework into an Nx repository, using Astro as an example.
Local Generators
Learn how to create, run, and customize local generators in your Nx workspace to automate common development tasks and standardize workflows.
Migration Generators
Learn how to create migration generators for your Nx plugin to automatically update configuration files when your plugin makes breaking changes.
Modifying Files with a Generator
Learn different approaches to modify existing files in your Nx workspace using generators, from simple JSON updates to advanced AST manipulation.
Publish Your Nx Plugin
Learn how to publish your Nx plugin to npm and get it listed in the official Nx plugin registry so others can discover and use it.
Write a Simple Executor
Learn how to create, run, and customize local executors in your Nx workspace to standardize development, building, and deployment tasks.