Preview Turborepo Tasks at the Pipeline Level

Share this video with your friends

Social Share Links

Send Tweet
Published 2 years ago
Updated 2 years ago

Another really good tool that Turborepo offers is the --dry flag. The dry flag will display details about the affected workspaces and tasks that would be run. It will help you to know what Turborepo is doing under the hood.

Instructor: [0:00] Another very good tool that Turborepo offers is the --dry flag. This will show you what Turborepo would run when it executes the build pipeline. It tells us the packages in scope. Then, it will tell us what would happen when we run utils build. [0:21] It tells us the cache, where does this project live, what command it is executing, what are the outputs, and where does the log file live. It shows the dependencies. The utils package doesn't have any dependency, but it has two dependents, the blog and the dashboard.

[0:44] The same goes for the other packages. Dashboard, it shows us the same information. For blog, it shows us the same information. Here, we can see that one of the dependencies of the blog package is the @monorepo/utils package. This is super handy when you need to know what is going on with your pipelines.

[1:03] To recap, you can always use the --dry flag to know what Turborepo is doing under the hood.

egghead
egghead
~ 10 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today