heroku-buildpack-pnpm icon indicating copy to clipboard operation
heroku-buildpack-pnpm copied to clipboard

Allow --filter argument for selectively installing dependencies

Open Xetera opened this issue 1 year ago • 2 comments

Is your enhancement request related to a problem? Please describe. The size of our dependencies are way too big when used with a monorepo as it installs every dependency in the monorepo image

Describe the solution you'd like pnpm --filter=package install allows you to selectively install dependencies for the repo you're working with to avoid having unused dependencies

Describe alternatives you've considered You can just like... ignore it I guess but that's not really a solution. It's also not possible to delete dependencies after you install them without a ton of trouble

Xetera avatar Jun 15 '23 19:06 Xetera

Hello 👋🏻 any new on this one ? is it possible to avoid installing all the packages ?

Overriding the command like pnpm --filter \!expo install

thanks

FlorianBruniaux avatar Mar 14 '24 15:03 FlorianBruniaux

Honestly I've personally stopped using Heroku entirely in favor of Vercel / Fly. So if someone wants to improve the package with more features, just give a shout-out.

hampusborgos avatar Mar 18 '24 10:03 hampusborgos