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: 1 comment 9 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.
@tomdavidson moon supports both explicit (
dependsOn
) and implicit dependencies (package.json
dependency 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