Specifying what task must run after another task #5368
Unanswered
jakubmazanec
asked this question in
Help
Replies: 2 comments 4 replies
-
|
The way to configure this is to make {
"pipeilne": {
"format": {
"dependsOn": ["document"]
},
"document": {}
}
}I agree that it feels weird, to configure it like this though. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Bump this. I have basically the same case: generate api, format after. But I can run format without format too. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Imagine I have packages in a monorepo that have two tasks:
{ "scripts": { "format": "prettier", "document": "typedoc" } }Is there a way to configure Turborepo so it runs
formattask also afterdocumenttask? Because formatting must be always done after generating documentation, but not vice versa, so I can't use the usualdependsOnfield inturbo.json. Documentation also doesn't seem to help, so maybe this functionality isn't supported? Thanks for the help.Beta Was this translation helpful? Give feedback.
All reactions