Monorepo Lerna Project Setup - React and Node.js Application | Multiple JavaScript Packages

  Рет қаралды 45,635

Dipesh Malvia

Dipesh Malvia

Күн бұрын

Пікірлер: 87
@alexbennett3806
@alexbennett3806 3 жыл бұрын
your videos are awesome, love how simple and clear they are!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Glad you like them!
@parag1193
@parag1193 8 ай бұрын
This is the best Lerna explaination. Thank you
@rafaelnunes567
@rafaelnunes567 3 жыл бұрын
Great explanation, simple and direct! Thank you! When are you uploading the continuation of this video?
@HardGas911
@HardGas911 2 жыл бұрын
Looking for a short and sweet demo of the lerna workflow and this video did the trick. Thank you!
@DipeshMalvia
@DipeshMalvia 2 жыл бұрын
Glad it was helpful!
@fabioleitedev
@fabioleitedev 2 ай бұрын
Still using this content for helping me in 2024. 👏
@qasimqadrii
@qasimqadrii 2 жыл бұрын
super easiest way to learn Mono Repo Thanks Man
@tapendragodara1942
@tapendragodara1942 3 жыл бұрын
Very well articulated..learnt couple of new things today
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Thanks Tapendra!
@manasmangalpattanaik3539
@manasmangalpattanaik3539 3 жыл бұрын
This is absolutely very clear explanation & informative. Great job Dipesh!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Glad it helped!
@RezaMohseni
@RezaMohseni Жыл бұрын
Perfectly explained 👌
@DipeshMalvia
@DipeshMalvia 11 ай бұрын
Glad you liked it
@sriharshasamana
@sriharshasamana 3 жыл бұрын
Very nice explanation Dipesh!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Thanks a ton
@Noah-vm8id
@Noah-vm8id 2 жыл бұрын
Pretty much my requirements for my new webapp and I really wanted to run it in a monorepo, thanks
@guillaumetech6044
@guillaumetech6044 3 жыл бұрын
Excellent course, thank you for your work!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Glad you like it!
@kirillzlobin7135
@kirillzlobin7135 Жыл бұрын
Great explanation!!!
@arkapatra8514
@arkapatra8514 3 жыл бұрын
@Dipesh Malvia thank you this was what i was looking for how lerna works. Kudos for the great video :)
@LalitKant-d3t
@LalitKant-d3t Жыл бұрын
Appreciate your efforts. Thank you!!
@nipunasudha
@nipunasudha 3 жыл бұрын
This was honestly super helpful. Thanks!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Glad it was helpful!
@marcyanus1430
@marcyanus1430 2 жыл бұрын
Thanks for creating this video!
@johnconnor9787
@johnconnor9787 Жыл бұрын
Maaan, you are amazing. Thank you. Can you make a video on how to use lerna with husky
@daniel33gomez
@daniel33gomez 2 жыл бұрын
That was pretty useful, thanks!
@nikeshgadekar9740
@nikeshgadekar9740 3 жыл бұрын
This is really helpful. Would be appreciated if you can share your knowledge on learna publishing as well.
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Sure I will
@bon-dijello9021
@bon-dijello9021 3 жыл бұрын
@@DipeshMalvia Still waiting, this setup tutorial helped me migrate our projects from multirepo to monorepo easily. Thanks. Still waiting on lerna publishing
@Atif1702
@Atif1702 2 жыл бұрын
Thank you for such good content. I have one question. Now when we are all done with the setup, I want to add an npm package in just web-client. How can I do that? If I run yarn add , it creates a node_modules folder in web-client. Which command to use here now? Thanks
@arksincorporation
@arksincorporation 2 жыл бұрын
i was also think of something which is kind of similar to your problem, which actually where am i going to install the module? should i install it in its relative folder? or at the root directory where lerna is located to?
@subhranshudas8862
@subhranshudas8862 2 жыл бұрын
Nice explanation! how does the shared Node_modules manage smape package different versions?
@GiriJeedigunta
@GiriJeedigunta 3 жыл бұрын
Thank you for this crisp and clear explanation on lerna. How do we go about adding dependencies in the future? Say I want to add a package for the web-client, do I have to run the install in the root or in the web-api folder? If you can shed some light that would be helpful :)
@licokr
@licokr 3 жыл бұрын
IT'S A GREAT VIDEO! Thank you so much!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
You're very welcome!
@quangngoc8645
@quangngoc8645 3 жыл бұрын
Thanks you for your video
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Welcome!
@sglee
@sglee 3 жыл бұрын
great tutorial! thx!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Glad you liked it!
@OleksandrDanylchenko2k
@OleksandrDanylchenko2k 3 жыл бұрын
A great video! Will there be a video with the shared package?
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Not yet but will work on it.
@cristianscript5649
@cristianscript5649 Жыл бұрын
Why are you not using nx.json ??? to cache and easy handle dependencies?
@drewbird87
@drewbird87 3 жыл бұрын
great information, thank you!!!
@mohammedfahimullah4999
@mohammedfahimullah4999 2 жыл бұрын
I have a question. In this architecture so anyone can change any line. Is that right? A frontend developer even has the access to backend code ???
@scottwager8106
@scottwager8106 3 жыл бұрын
Just what I was after, thank you! Do you have an idea of when the common package video will be released?
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Hey the initial response was not so good for this topic but now I see people are very much interested for Lerna and Monorepo, so I will soon complete the recording for common package video and publish it. Thanks!
@scottwager8106
@scottwager8106 3 жыл бұрын
@@DipeshMalvia Wow, thank you so much for the quick reply, subscribed!
@TheKNdheeraj0
@TheKNdheeraj0 3 жыл бұрын
Hi Dipesh, still waiting for the common package video and if possible can you make a video on microfrontends?
@scottwager8106
@scottwager8106 3 жыл бұрын
@@DipeshMalvia Hi, would it still be possible to make this tutorial? Thank you :)
@anilakgunes1567
@anilakgunes1567 2 жыл бұрын
Image that our monorepo project is great and we have lots of request and we need to scale up our backend. Can we scale just backend or we need to scale entire repo ?
@kirillzlobin7135
@kirillzlobin7135 Жыл бұрын
Looks like lena does not link dependencies to packages anymore. Did they do it on purpose?
@dhairyadoctor2728
@dhairyadoctor2728 2 жыл бұрын
Hello, When I am running the command npx lerna clean -y it is only deleting the node modules from server-api only. Can you help me in that case
@vishalyadav8789
@vishalyadav8789 3 жыл бұрын
Can you make a video on webpack configuration and how to build a react project with the help of webpack
@jimmyjiang7494
@jimmyjiang7494 3 жыл бұрын
hello sir, just wondering why not choose yarn as the package manager.. thanks for your tutorial by the way
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Yarn is in fact fast compared to npm. I usually do mix and match sometimes Yarn sometimes NPM.
@anasequeira4169
@anasequeira4169 2 жыл бұрын
Thank you!
@raphael.portela
@raphael.portela 2 жыл бұрын
cant u use yarn instead of npm and get rid of package.lock
@hallexcosta
@hallexcosta 3 жыл бұрын
Bro, could you help me with a problem I'm having? I have a monorepo project with the following packages packages/ mobile/ server/ index.js -> require('../shared/axios') shared/ axios / hashGenerator/ Do you know what I need to do so that my `server` package can access my files from my `shared` package and then send the project to production?
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Question will be how you are managing your monorepo are you using yarn workspaces or lerna. you need to add the dependency of shared package into your server package.json file then you can give a try.
@hallexcosta
@hallexcosta 3 жыл бұрын
@@DipeshMalvia Problem solved, I'm using typescript in my project and forgot it compiles the packages shared, then I chose to use command lerna run build to compile all packages with script build, the build's work now. Thanks for helping me :D
@hallexcosta
@hallexcosta 3 жыл бұрын
@@DipeshMalvia I have another problem with the puppeteer, it's showing an error stranger 'ReferenceError: _nullishCoalesce is not defined', being that in typescript worked :(
@diegomauricio777
@diegomauricio777 3 жыл бұрын
Great tutorial ^_^
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Thanks 😊
@muhammadjaffarrazadar967
@muhammadjaffarrazadar967 3 жыл бұрын
create a video on multi cra with a shared folder also in it and also show us some deployment
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Sure I will take a note on this. Thanks!
@sametpalitci1273
@sametpalitci1273 3 жыл бұрын
Thank you
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
You're welcome
@ArtiomNeganov
@ArtiomNeganov 3 жыл бұрын
Thank you very much! What I was looking for. IMHO you could have skipped the details of creating web-client and server-api making the video twice shorter.
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Yes, I know that but I wanted to keep it simple and cover the as much steps as possible. The Lerna topic is not so common.
@DuyTran-ss4lu
@DuyTran-ss4lu 2 жыл бұрын
Cool!
@pronobmozumder
@pronobmozumder 10 ай бұрын
great!
@mohdsahil226
@mohdsahil226 3 жыл бұрын
scope is not working. Could you please help? "start": "lerna run start --scope={client}" lerna notice filter including "{client}" lerna info filter [ '{client}' ] lerna ERR! EFILTER No packages remain after filtering [ '{client}' ]
@codewithaditya4871
@codewithaditya4871 2 жыл бұрын
can we have multiple react apps
@akashshrestha01
@akashshrestha01 2 жыл бұрын
great
@eveguel-boolean
@eveguel-boolean Жыл бұрын
The "bootstrap" command was removed by default in v7, and is no longer maintained.
@jaydave791
@jaydave791 3 жыл бұрын
I am creating a react app with nodejs as backend, The structure of application is I have react app as web-client package, server as server-api package and a common package for data validation. Everything is working fine I can use the common package for data validation on both client and server side. Deploying web-client is also not a ploblem as I can run build command by react to build my front end and deploy it anywhere. But for backend if my repository is not hosted anywhere how can I deploy the backend
@sameeravhad6266
@sameeravhad6266 10 ай бұрын
I think, you should write webpack config and add npm script for backend. That will create build
@nyalooo
@nyalooo 3 жыл бұрын
hero!
@DipeshMalvia
@DipeshMalvia 3 жыл бұрын
Thanks Nyal!
@StephenRayner
@StephenRayner 3 жыл бұрын
Follow up video?
@ankit2saurabh
@ankit2saurabh 2 жыл бұрын
Still waiting for your next video on lerna
@evgenylevchenya8734
@evgenylevchenya8734 3 жыл бұрын
you don't need body-parser in 2021
@kirillzlobin7135
@kirillzlobin7135 Жыл бұрын
THis was just an example of any random package
@ayushwaghe4038
@ayushwaghe4038 7 ай бұрын
TUTORIAL IS TOO OLD HENCE USELESS. COMMAND WONT EXECUTE AS EXPECTED SPECIALLY THE HOIST COMMAND
@omkarbhale442
@omkarbhale442 Жыл бұрын
outdated
@DipeshMalvia
@DipeshMalvia Жыл бұрын
Agree, the video was posted 2 years back.
Yarn Workspaces Setup - Multiple JavaScript Packages (Mono-Repo)
14:27
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 122 МЛН
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 65 МЛН
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 2,7 МЛН
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 16 МЛН
How to Create a React Typescript Monorepo with Git Submodules
40:54
Alex Eagleson
Рет қаралды 13 М.
Создаём монорепозиторий: сервер на nest + клиент на React
34:21
Setup Lerna Monorepo with Husky
18:45
CodeDunks
Рет қаралды 8 М.
I used a Monorepo for 12 months - here’s my opinion
9:50
Software Developer Diaries
Рет қаралды 28 М.
How to setup React Monorepo (Lerna, CRA, Typescript, Craco, Yarn Workspaces)
16:19
All The JavaScript You Need To Know For React
28:00
PedroTech
Рет қаралды 633 М.
Getting started with Turborepo
34:31
Hamed Bahram
Рет қаралды 43 М.
Michał Jach - Modern Monorepo with Lerna
25:43
meet.js
Рет қаралды 25 М.
Monorepos: Yarn Workspaces and Lerna for beginners!
24:19
Mostly Code
Рет қаралды 10 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 122 МЛН