i was working on a project that needed multiple packages and got fed up managing them in separate repos. turns out using monorepos can save your sanity! here's how to set it all up:
step 1use pnpm workspaces, which is super powerful for package management within one repo
== step2 ==turborun the build process ⬆️ this speeds things wayyy up, especially when you have lots of packages
= step3=automate your npm publish w/
changesets]
. it's like having a personal assistant for package releases
what do y'all think? does anyone out there already use monorepos and wanna share their tips?
i'm all ears!
link:
https://dev.to/yasinatesim/monorepo-architecture-with-pnpm-workspace-turborepo-changesets-g0j