The idea itself seems really cool, but isn't it hard to scale this up if we have many apps?.. am thinking of the monorepo size... It would be cool if different package manager install profiles itself can be globalized to minimize the size and get shared to run apps also does the rush takes more time to build if we deploy an app that does not include a component that another app uses?
I'm sure there are ways around excess build times! I think the key would be to know what your dependencies are, and then try to only build when the dependencies have changed. You'd have to do some work with the CI tool of your choice to make this happen, but I think it is possible! I think the other problem is worse... managing 15 different repos that are all somehow related and trying to keep them in sync.
there is packages cache and only building what you need or change. Have you worked with 10 different repos at the same time for one app? crazy. Webpack is also a monorepo
Awesome video, but I found that after `rush deploy` you don't need to build it again, it should auto migrate the `build` file over unless you had it inside .gitignore of your app. Maybe they patched it from the point of the video.
Hi @Leigh Halliday🙂 , can you tell me how do you make the name of the branch appear in your terminal? Or can do you do a video for that. Or better give me the link to an article where I can learn how to place that, please. Thanks
@@leighhalliday Yes, we're using lerna where I'm working, mostly to bump all modules at once with `lerna bootstrap`, and publish the new version of the monorepo to npm (private registry) with `lerna publish` (we're using a script to handle these commands and linking them through npm custom scripts) What caught my interest in rush (which I learned about from your video) is that it's by microsoft, but what stopped me from diving deep is that it doesn't seem to be widely adopted (other than a post I found on reddit saying they use it at Uber)
I am using lerna with tsdx and cra , lerna does have good utilities where you can publish only the sub projects which are updated.. I am yet to check how rush handles it. The main concern I see is the new config json files which is more config over convention.. more code to maintain which you aren't really owning
Can you do a tutorial on DevOps and scalable architecture for developers? I can containerize the components of my full stack apps but I really don't know how to setup CORS and the network between them, or how to decide which DB to use or how to scale it, how to use CI/CD, how to actually deploy and orchestrate containers, etc.
tsdx is not actively maintained, when you use it with rush the unit tests dont work. A bunch of libraries like rollup and eslint are out of date. Unfortunately even in 2021 there are no gold standard updated tooling to just easily bootstrap a typescript react component library. If you do please let me know.
I had high hope with Rush. Build up a project for more than a month. It's very buggy with no support. I don't think microsoft is very serious about Rush, neither the core developers. It feels more like their toy project. I moved on.
Would anyone like to see me make the same video but with Lerna?
Of course!!❤️❤️❤️❤️❤️❤️🔥🔥🔥🔥
Can you do the same with Nx by Nrwl byes well?? I highly recommend it. It is so versatile you can make a series out of Nx..
yeah sir Leigh and it would be great , if u make it run along side with storybook/or react-styleguidist
Absolutely!
Great idea
Yes i would really appreciate that !
"royally messed up"
ah!! Mr. Halliday, you're a man of culture as well.
Nice video as always!
Culture is my middle name! Thanks Abhinav!
pnpm it let you share one node_modules folder so you will avoiding have alot of them for each npm project ...
you can use any package manager(yarn or npm) to install mono-repo....
something that I really take care on monorepos is the graph dependency and different versions within apps and libs, one just need to be very carefull
This is incredibly helpful, thank you !
This was a great video - thanks for sharing!
The idea itself seems really cool, but isn't it hard to scale this up if we have many apps?.. am thinking of the monorepo size...
It would be cool if different package manager install profiles itself can be globalized to minimize the size and get shared to run apps also does the rush takes more time to build if we deploy an app that does not include a component that another app uses?
I'm sure there are ways around excess build times! I think the key would be to know what your dependencies are, and then try to only build when the dependencies have changed. You'd have to do some work with the CI tool of your choice to make this happen, but I think it is possible!
I think the other problem is worse... managing 15 different repos that are all somehow related and trying to keep them in sync.
there is packages cache and only building what you need or change. Have you worked with 10 different repos at the same time for one app? crazy. Webpack is also a monorepo
🎉Incredible AWESOME ❤
Good video. Should be great if you create any rig packages into rush structure.
Awesome video, but I found that after `rush deploy` you don't need to build it again, it should auto migrate the `build` file over unless you had it inside .gitignore of your app. Maybe they patched it from the point of the video.
Hi @Leigh Halliday🙂 , can you tell me how do you make the name of the branch appear in your terminal? Or can do you do a video for that. Or better give me the link to an article where I can learn how to place that, please. Thanks
Hey Mile! I am using oh-my-zsh with the powerlevel10k theme, which is what shows it :)
there is no need to cd into every app/lib to run scripts. In a monorepo u should always run scripts from repository root folder
Nice, thank you.
Thank You. This video was very useful. You have helped me to understand Rush Configuring. Best regards :)
Awesome! Glad it helped :)
Can we do this with only using yarn workspace?
Maybe! But I am not familiar with yarn workspaces... give it a try!
I got some error with netlify, think I followed all your steps correctly, but it could not build it
dude you are awesome
Thanks for the video.
Any thoughts on Rush vs Lerna ?
I'd love to tell you but I haven't used Lerna yet :) Have you?
@@leighhalliday Yes, we're using lerna where I'm working, mostly to bump all modules at once with `lerna bootstrap`, and publish the new version of the monorepo to npm (private registry) with `lerna publish` (we're using a script to handle these commands and linking them through npm custom scripts)
What caught my interest in rush (which I learned about from your video) is that it's by microsoft, but what stopped me from diving deep is that it doesn't seem to be widely adopted (other than a post I found on reddit saying they use it at Uber)
I am using lerna with tsdx and cra , lerna does have good utilities where you can publish only the sub projects which are updated.. I am yet to check how rush handles it. The main concern I see is the new config json files which is more config over convention.. more code to maintain which you aren't really owning
learned a lot
Can you do a tutorial on DevOps and scalable architecture for developers? I can containerize the components of my full stack apps but I really don't know how to setup CORS and the network between them, or how to decide which DB to use or how to scale it, how to use CI/CD, how to actually deploy and orchestrate containers, etc.
Hey Malik! Sorry, I wish I knew that stuff, but it's definitely outside of my strengths. I can barely get Docker working well on my mac locally!
@@leighhalliday That's all good! Just wondering, thanks for the awesome content
@@malikbrahimi7504 is use TechWorld with Nana for that
Good stuff. It would be great if you would explore lerna as well.
Hey Viktor! Great idea! I'll add it to my list.
Can you do the same but between react js and react native please
Hey Yoyo! I'm not very experienced with React Native... in the future perhaps I'll cover RN, but not right now.
Awesome stuff
Thank you Morteza :)
Muchas gracias una vez más. Saludos.
De nada Rubia!! Gracias por tu apoyo!
Did you try with tsdx react storybook, keep getting loaders error, thinking its like yarn workspaces no-hoist issue.
Hey Christopher, no that's not something that I've tried yet.
@@leighhalliday do u at work use Storybook? Any thought on it. Its a tool i wanna add to my bag.
Yes! At work we use it... but I don't do a lot of frontend dev at work so I am not super familiar with it.
tsdx is not actively maintained, when you use it with rush the unit tests dont work. A bunch of libraries like rollup and eslint are out of date. Unfortunately even in 2021 there are no gold standard updated tooling to just easily bootstrap a typescript react component library. If you do please let me know.
Thank you!
You're welcome, Igor!
Can you do work on reversing code and using undocumented APIs
Hey John! I think the closest I'll get to that is this video on web scraping: ruclips.net/video/iUtiHjBhYL8/видео.html
Saludos!
I had high hope with Rush. Build up a project for more than a month. It's very buggy with no support. I don't think microsoft is very serious about Rush, neither the core developers. It feels more like their toy project. I moved on.
Too.....many...... ADS! Otherwise thanks good info.
Think of it like you're helping me retire one day :)