Course lesson
Use the Nx Task Pipeline to Run Commands Within Local Dependencies
Since dependencies on other local packages in the workspace are really just symlinks to those projects, we'll run into issues if we haven't ran their build script.
- Duration
- 3 min
- Access
- Included
- Transcript
- Retained from source evidence
Since dependencies on other local packages in the workspace are really just symlinks to those projects, we'll run into issues if we haven't ran their build script.
We can make sure that this happens automatically by using Nx's task pipeline features. In our nx.json we can add a dependsOn field and set the commands that need to be ran within a project's dependencies.