@ryantotweets
Ryan Toronto
2 years
I've been using monorepos by default for every library I work on these days and I gotta say it's been working out better than expected. I start off with something like this: - packages/library - packages/docs - packages/test-app No more npm linking or webpack aliases. Love it.
1
0
14

Replies

@ryanmr
Ryan Rampersad
2 years
@ryantotweets Are you using lerna or yarn or something else?
1
0
0
@ryantotweets
Ryan Toronto
2 years
@ryanmr Depends on the project. By default I start with a "boring monorepo" (just a package.json and no tooling, ex: ) Usually only add lerna once I have libraries that depend on each other, etc. These days I'd probably reach for turborepo.
1
0
2