How to specify which order should run the build task of package #1347
-
how to set up the turborepo to run the build scripts from each package.json of the packages repo in some specific order? I have the packages: a, b, c, I wanna run the build in this order: b,c, a I think the answer is here: https://turborepo.org/docs/core-concepts/pipelines#implicit-dependencies-and-specific-package-tasks But I couldn't figure out it yet, my suggestion, if possible, is to have some example package with this setup. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
You have 2 options: 1) Make that link visible in each package dependencies(C depends on B and A depdends on C)
Then you just need to configure the pipelines with the
2) Make that link visible in the
|
Beta Was this translation helpful? Give feedback.
-
https://www.tgmarinho.com/posts/2022-06-09-deploy-monorepo-turborepo-heroku |
Beta Was this translation helpful? Give feedback.
-
I tried this out with dev script |
Beta Was this translation helpful? Give feedback.
You have 2 options:
1) Make that link visible in each package dependencies
(C depends on B and A depdends on C)
Then you just need to configure the pipelines with the
^
before the task's name.2) Make that link visible in the
turbo.json
file(no package depends on each others)