DEV Community

Writing your first React UI Library - Part 1: Lerna

Carlos Castro on June 16, 2020

This is the first post on a series on how to make your own UI React Library. What are we going to do? Setup a new project using Lern...
Collapse
 
hozefaj profile image
Hozefa

Awesome work buddy 👍🏽

Collapse
 
fpaz profile image
Frank 

i'm glad seeing you both here 🍻

Collapse
 
hozefaj profile image
Hozefa

Hey, how are you doing. Great to hear from you...

Thread Thread
 
fpaz profile image
Frank 

I've been great thanks! more than a year DEVing down under :)

Collapse
 
fpaz profile image
Frank 

This is good stuff Carlos! loving this and congrats on your post btw...

Collapse
 
davixyz profile image
Carlos Castro

Thanks a lot Frank! good to hear from you!

Collapse
 
soyandresdev profile image
Andres Hernandez Lozano

Hello, first thank you for your post... Can you help with how able to add other dependence like material/ui in all packages and when I'll try to build compile all dependencies necessary for the package.

Collapse
 
vinamrasareen profile image
Vinamra Sareen • Edited

Hi @davixyz, thank you for this amazing post, would it be possible to make a post with lerna version 7 as the support for some commands has been removed, one is mentioned below:

lerna add --scope=

Collapse
 
michaelbayday profile image
Michael Dinh

Any tips on implementing with typescript?

Collapse
 
davixyz profile image
Carlos Castro

I was just thinking of that, adding a part 5 to add typescript support, my believe is that we can add a tsconfig and use babel to transform still and produce typings and distribuite them as part of each package, we have this exact implementation at PayPal. Will look into and write something soon!

Collapse
 
karlkras profile image
Karl Krasnowsky

Guess you never got to this.

Collapse
 
eliransu profile image
Eliran Suisa

This was a great and straightforward reading, thanks!