Monorepo: how to avoid installing dependencies for _all_ packages?

with turborepo i could do pnpm i --filter=app to install only the packages needed by my app and its packages i have A LOT of apps and installing all packages for each deployment is slow and wasteful
2 Replies
ac
ac6mo ago
Would also love to know this! We have the same issue.
fforres
fforres6mo ago
You can disable default package install setting the SKIP_DEPENDENCY_INSTALL true env vatiable. And do a manual pnpm i --filter after. I think here was another case of it https://discord.com/channels/595317990191398933/1064502845061210152/1378045593313738955

Did you find this page helpful?