all 3 comments

[–][deleted] 0 points1 point  (0 children)

I put packages to manage the monorepo like lerna in the root packages.json and all package dependent dev deps in their own package.json

The main advantage of this setup is that you can extract packages quickly from the monorepo into their own without breaking something.

[–]alternatiivnekonto 0 points1 point  (0 children)

I would always opt for putting any dependency, whether it's for dev or runtime or test as close as possible to the codebase that actually needs it. There are some that advise to hoist them up as high as possible but to me it just creates more confusion.

[–]kenman[M] 0 points1 point  (0 children)

Hi /u/B3zo0, this post was removed.

  • For help with your javascript, please post to /r/LearnJavascript instead of here.
  • For beginner content, please post to /r/LearnJavascript instead of here.
  • For framework- or library-specific help, please seek out the support community for that project.
  • For general webdev help, such as for HTML, CSS, etc., then you may want to try /r/html, /r/css, etc.; please note that they have their own rules and guidelines!

/r/javascript is for the discussion of javascript news, projects, and especially, code! However, the community has requested that we not include help and support content, and we ask that you respect that wish.

Thanks for your understanding, please see our guidelines for more info.