Skip to content

Intro

Learn how to create custom Nx plugins to enforce best practices, integrate tools, and share functionality across your organization's repositories.

Local Generators

Learn how to create, run, and customize local generators in your Nx workspace to automate common development tasks and standardize workflows.

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.

Creating Files

Learn how to create, update, and manage files in your Nx workspace using generators, including working with static and dynamic file templates.

Modifying Files

Learn different approaches to modify existing files in your Nx workspace using generators, from simple JSON updates to advanced AST manipulation.

Migration Generators

Learn how to create migration generators for your Nx plugin to automatically update configuration files when your plugin makes breaking changes.

Create 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.

Local Executors

Learn how to create, run, and customize local executors in your Nx workspace to standardize development, building, and deployment tasks.

Compose Executors

Learn how to compose and chain Nx executors together, including how to invoke other targets and executors from within your custom executors.

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.

Project Graph Plugins

Learn how to create project graph plugins for Nx to add custom nodes and dependencies, enabling support for additional languages and technologies.

CreateNodes Compatibility

Understand which createNodes API version is used by different Nx versions and how to write plugins that support multiple Nx versions.

Organization-Specific Plugin

Learn how to create a custom Nx plugin that encodes your organization's best practices into code generators for consistent project creation.

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.

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.

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.

Publish Your 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.