@@DipeshMalvia Still waiting, this setup tutorial helped me migrate our projects from multirepo to monorepo easily. Thanks. Still waiting on lerna publishing
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
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?
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 ?
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!
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 :)
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?
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.
@@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
@@DipeshMalvia I have another problem with the puppeteer, it's showing an error stranger 'ReferenceError: _nullishCoalesce is not defined', being that in typescript worked :(
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.
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}' ]
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
your videos are awesome, love how simple and clear they are!
Glad you like them!
This is the best Lerna explaination.
Thank you
Looking for a short and sweet demo of the lerna workflow and this video did the trick. Thank you!
Glad it was helpful!
super easiest way to learn Mono Repo
Thanks Man
Great explanation, simple and direct! Thank you!
When are you uploading the continuation of this video?
Very well articulated..learnt couple of new things today
Thanks Tapendra!
This is absolutely very clear explanation & informative. Great job Dipesh!
Glad it helped!
Excellent course, thank you for your work!
Glad you like it!
Perfectly explained 👌
Glad you liked it
Very nice explanation Dipesh!
Thanks a ton
This was honestly super helpful. Thanks!
Glad it was helpful!
@Dipesh Malvia thank you this was what i was looking for how lerna works. Kudos for the great video :)
Still using this content for helping me in 2024. 👏
Pretty much my requirements for my new webapp and I really wanted to run it in a monorepo, thanks
Great explanation!!!
Appreciate your efforts. Thank you!!
Why are you not using nx.json ??? to cache and easy handle dependencies?
IT'S A GREAT VIDEO! Thank you so much!
You're very welcome!
Maaan, you are amazing. Thank you.
Can you make a video on how to use lerna with husky
Thanks for creating this video!
Thanks you for your video
Welcome!
That was pretty useful, thanks!
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 ???
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
Looks like lena does not link dependencies to packages anymore. Did they do it on purpose?
Nice explanation! how does the shared Node_modules manage smape package different versions?
great tutorial! thx!
Glad you liked it!
This is really helpful. Would be appreciated if you can share your knowledge on learna publishing as well.
Sure I will
@@DipeshMalvia Still waiting, this setup tutorial helped me migrate our projects from multirepo to monorepo easily. Thanks. Still waiting on lerna publishing
cant u use yarn instead of npm and get rid of package.lock
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
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?
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 ?
Can you make a video on webpack configuration and how to build a react project with the help of webpack
great information, thank you!!!
A great video! Will there be a video with the shared package?
Not yet but will work on it.
hello sir, just wondering why not choose yarn as the package manager.. thanks for your tutorial by the way
Yarn is in fact fast compared to npm. I usually do mix and match sometimes Yarn sometimes NPM.
Just what I was after, thank you! Do you have an idea of when the common package video will be released?
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!
@@DipeshMalvia Wow, thank you so much for the quick reply, subscribed!
Hi Dipesh, still waiting for the common package video and if possible can you make a video on microfrontends?
@@DipeshMalvia Hi, would it still be possible to make this tutorial? Thank you :)
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 :)
The "bootstrap" command was removed by default in v7, and is no longer maintained.
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?
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.
@@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
@@DipeshMalvia I have another problem with the puppeteer, it's showing an error stranger
'ReferenceError: _nullishCoalesce is not defined', being that in typescript worked :(
can we have multiple react apps
Great tutorial ^_^
Thanks 😊
Thank you!
create a video on multi cra with a shared folder also in it and also show us some deployment
Sure I will take a note on this. Thanks!
Thank you
You're welcome
great!
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.
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.
great
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}' ]
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
I think, you should write webpack config and add npm script for backend. That will create build
Cool!
Follow up video?
hero!
Thanks Nyal!
Still waiting for your next video on lerna
you don't need body-parser in 2021
THis was just an example of any random package
TUTORIAL IS TOO OLD HENCE USELESS. COMMAND WONT EXECUTE AS EXPECTED SPECIALLY THE HOIST COMMAND
outdated
Agree, the video was posted 2 years back.