heroku-buildpack-pnpm
heroku-buildpack-pnpm copied to clipboard
Allow --filter argument for selectively installing dependencies
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
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
Hello 👋🏻 any new on this one ? is it possible to avoid installing all the packages ?
Overriding the command like
pnpm --filter \!expo install
thanks
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.