why use dependsOn and sync rather than pnpm? #345
-
|
What is the advantage of using moon's dependsOn configuration and sync command rather than pnpm? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
|
@tomdavidson moon supports both explicit ( However, explicit is required when you are depending on other projects that are not JavaScript. For example, your frontend application can depend on a backend application that is written in Ruby or something. In the end, it's all about choice. Use whichever you like best. https://moonrepo.dev/docs/faq#what-should-be-considered-the-source-of-truth |
Beta Was this translation helpful? Give feedback.
-
@milesj Apologies for digging this up again, but we're struggling to uncover some clear information about how deep this implicit dependency scanning affects the various behaviour throughout moon. What we want: then when we run In reality, this isn't happening. What we looked for and found:
output from
|
Beta Was this translation helpful? Give feedback.
@tomdavidson moon supports both explicit (
dependsOn) and implicit dependencies (package.jsondependency scanning), so you're welcome to use whichever approach you like best. Or you can use them together.However, explicit is required when you are depending on other projects that are not JavaScript. For example, your frontend application can depend on a backend application that is written in Ruby or something.
In the end, it's all about choice. Use whichever you like best.
https://moonrepo.dev/docs/faq#what-should-be-considered-the-source-of-truth