unfold / heroku-buildpack-pnpm

Run PNPM install on Heroku
MIT License
38 stars 39 forks source link

Allow --filter argument for selectively installing dependencies #47

Open Xetera opened 1 year ago

Xetera commented 1 year ago

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

FlorianBruniaux commented 6 months ago

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

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

thanks

hampusborgos commented 6 months ago

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.