Skip to content

why use dependsOn and sync rather than pnpm? #345

Answered by milesj
tomdavidson asked this question in Q&A
Discussion options

You must be logged in to vote

@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

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@milesj
Comment options

@tomdavidson
Comment options

@milesj
Comment options

@tomdavidson
Comment options

@milesj
Comment options

Answer selected by tomdavidson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants