Guides
Focused instructions to complete a specific task
Write a Simple Generator
Learn how to create, run, and customize local generators in your Nx workspace to automate common development tasks and standardize workflows.
Compose 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.
Provide Options for Generators
Learn how to define and customize options for Nx generators, including TypeScript schemas, static options, and dynamic prompts for user input.
Create Files
Learn how to create, update, and manage files in your Nx workspace using generators, including working with static and dynamic file templates.
Modify Files
Learn different approaches to modify existing files in your Nx workspace using generators, from simple JSON updates to advanced AST manipulation.
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.
Write a Migration
Learn how to create migration generators for your Nx plugin to automatically update configuration files when your plugin makes breaking changes.
Write a Simple Executor
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.
Create a 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.
Infer Tasks or Projects
Learn how to create project graph plugins for Nx to add custom nodes and dependencies, enabling support for additional languages and technologies.
Publish a 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.
Hook into the 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.