I forgot to mention why I didn't include Bun! I've heard complaints from community members that dependency resolution for Workspaces with Bun is a somewhat buggy, so I didn't include it quite yet. I've also experienced this myself. Maybe in the future, we'll talk more about Bun!
9:22 even if it doesn't do anything in the end in some cases, I still like to separate regular and dev dependencies just so that it's clearer what's supposed to be used for app code and what's more related to development tooling.
A new feature of pnpm is Catalogs, and it allows defining the version of dependencies used by multiple monorepo packages, allowing for them all to use the same version easily.
Yarn modern workspaces + turborepo is my favourite combination. Especially its package hoisting common deps. You know you’ve messed up when you see node mods within a package itself (unless intentional)
What about Bun? I’m using Bun in turbo repo right now but noticed that whenever I install a new package it seems to break builds complaining that it can’t find vite config, and I need to remove node modules and reinstall.
I forgot to mention why I didn't include Bun! I've heard many complaints similar to this one that dependency resolution for Workspaces with Bun is a somewhat buggy, so I didn't include it quite yet. I imagine it will get better in the future! Going to make a pinned comment for this.
i see thanks! Glad to know at least it’s not some obscure issue in my repo. Looking forward to the rest of the video series, these are probably the best videos so far on actually understanding Turborepo and best practices!
How about make a video to manage imports? I mean if I'm gonna import an app into another one the linter show an error and rather rules like that. Btw good video :)
I forgot to mention why I didn't include Bun! I've heard complaints from community members that dependency resolution for Workspaces with Bun is a somewhat buggy, so I didn't include it quite yet. I've also experienced this myself.
Maybe in the future, we'll talk more about Bun!
Sir please continue this series
9:22 even if it doesn't do anything in the end in some cases, I still like to separate regular and dev dependencies just so that it's clearer what's supposed to be used for app code and what's more related to development tooling.
Totally works! Exactly what I meant by “whatever you want.” 😁
dude, continue this series, pls
🫡
I subscribed since the part 1, can't wait for the next part
A new feature of pnpm is Catalogs, and it allows defining the version of dependencies used by multiple monorepo packages, allowing for them all to use the same version easily.
Yes, a great feature. I wanted to shown syncpack as the agnostic version, and I’d 100% do Catalogs in a pnpm-specific video.
Looking forward to the next part
keep these coming
Yarn modern workspaces + turborepo is my favourite combination. Especially its package hoisting common deps. You know you’ve messed up when you see node mods within a package itself (unless intentional)
Thanks for the explanation of peerDependencies
🫡
Subbed! Really helpful
Thank you!!!
🙌
Waited for 3 months
Sorry, I was on Parental Leave! The rest will happen much quicker.
What about Bun? I’m using Bun in turbo repo right now but noticed that whenever I install a new package it seems to break builds complaining that it can’t find vite config, and I need to remove node modules and reinstall.
I forgot to mention why I didn't include Bun! I've heard many complaints similar to this one that dependency resolution for Workspaces with Bun is a somewhat buggy, so I didn't include it quite yet. I imagine it will get better in the future! Going to make a pinned comment for this.
i see thanks! Glad to know at least it’s not some obscure issue in my repo. Looking forward to the rest of the video series, these are probably the best videos so far on actually understanding Turborepo and best practices!
I am learning about turborepo, i got far on a project using npm, is there a way to go back to using pnpm? Been using npm only since.
Try out `npx @turbo/workspaces convert`.
@anthonyshewww thanks a ton.
How about make a video to manage imports? I mean if I'm gonna import an app into another one the linter show an error and rather rules like that. Btw good video :)
You may be interested in github.com/vercel/turborepo/discussions/9435.
Upload video regularly
no u
Waiting for next video please do upload once in week. Last videos was uploaded 3 to 4 momths ago and thanks
100% agree
I was on Parental Leave. Definitely looking to post more often!
Thanks, both!