In a continuous strive for improvement, we have revamped the project inference API, aiming to provide greater flexibility and power in defining and managing projects. This talk will walk through the evolution of the project inference API, highlighting the transition from a 1:1 file-to-project mapping to a more nuanced approach that handles complex project configurations. We'll explore the key advantages of the new API, including the ability to define multiple projects within a single file and set more comprehensive project properties. Join us to learn about these exciting changes and understand how they can enhance your work with Nx.
Craigory Coppola (@enderagent)
Meet Craigory, a member on the Nx Core Team for the past two years and the innovator behind the .NET plugin for Nx. Residing in Kentucky, he contributes primarily to Nx's core and plugin support. When he's not immersed in code, Craigory engages in woodworking, electronics, gaming, and cherishes his role as a father. Join him as he explores the intricacies of the new project inference API in Nx, illuminating its flexibility and power.
Slides: https://craigory.dev/presentations/vi...
Demo Repo: https://github.com/AgentEnder/inferen...
== Chapters ==
0:00 Intro
0:31 What is Project Inference
1:20 Why Inference?
1:56 Inference API v1 and Shortcomings
3:55 Project Graph API v2
6:54 Example: building a spell check plugin for Nx
13:41 createDependencies function
15:27 Supporting v1 and v2
18:12 Next steps