typescript-library-starter icon indicating copy to clipboard operation
typescript-library-starter copied to clipboard

[proposal] add lerna or any monorepos handler

Open Carghaez opened this issue 6 years ago • 3 comments

Hi guys! I love your project and would like to use it to build my SDK.

My SDK is a monorepo with many packages written in typescript and I think it would be really great if you can add lerna or something similar to manage the monorepo libraries.

I ask you because I have no idea how to manage a monorepo system with your boilerplate. Even just a guide would be very useful :)

Thanks a lot for any replies and happy coding!

Carghaez avatar Nov 28 '18 11:11 Carghaez

Hey Carghaez, I am trying to do the exact same thing - can you post an update on your findings, what approach did you end up using? Are you using this? Any useful links/tips?

gcloeval avatar Feb 25 '19 03:02 gcloeval

Hey, I just thought I'd chime in here, because the reason I'm in the issues here is because I've followed this guide for setting up a typescript monorepo using lerna following this guide: https://blog.logrocket.com/setting-up-a-monorepo-with-lerna-for-a-typescript-project-b6a81fe8e4f8

But this seems to only work when the tsconfig module option is commonjs, which means that the rollup config here doesn't work.

dwjohnston avatar May 23 '19 02:05 dwjohnston

With Lerna Monorepo pattern, Feel free to suggest https://github.com/SatadruBhattacharjee/monorepo-typescript-library-starter

SatadruBhattacharjee avatar Aug 04 '19 07:08 SatadruBhattacharjee