Extending Nx: Polyglot Superpowers
summary
Shows how to add real polyglot support to Nx by building a Go plugin: two generators (app and lib), a build executor that runs go build, and a graph processor that runs go list and calls addExplicitDependency with the originating file so Nx renders edges and explains why they exist. Generated projects gain affected checks, remote caching and DTE with no CI changes. Community plugins for Go, .NET (∼7,000 downloads) and Rust already implement this.
AI-written summary · about
chapters (5)
- 0:00Introduction to NX extensibility
- 5:55Core extension concepts
- 11:34Implementing a Go plugin
- 17:17Advanced graph customization
- 21:29Publishing and community resources
related talks
20mWhat and Why nx 20 reasons in 20 minutes
21mProgressively enhance your DX with Nx
30mSmart Monorepo and Fast CI with Nx
21mFast React Monorepos with High Quality DX
29mThe balancing act of delivering high quality DX
22mFine-Tuning Your Angular Workflow with Nx: Beyond the CLI
24mNX Generators or how to skip boring tasks
25mGive superpower to your React workspace with Nx
