goldbergyoni / nodebestpractices

:white_check_mark: The Node.js best practices list (July 2024)
https://twitter.com/nodepractices/
Creative Commons Attribution Share Alike 4.0 International
99.36k stars 10.11k forks source link

I am kind of missing monorepo best practices #1180

Open osadan opened 2 years ago

osadan commented 2 years ago

I run into the section regarding to export independent logic to packages. And this can have a big downside if you want to debug your package within it's consumer , you can get over this "headache" either by linkink your package (which can lead to other difficulties especially with npm install). Or using monorepo - though I think the monorepo should also have some best practices in order to avoid some complexity that can happen overtime .

goldbergyoni commented 2 years ago

Welcome! Makes tons of sense, it should be clarified HOW to work with libraries. This is on our roadmap for 2022, a first fresh blog post already exists:)

What advice would you share on this regard?