-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have a new type of dependencies called buildDependencies. #4058
Comments
I like that feature request. Could use this to build the git dependencies, and fallback to |
So what is the process of getting this looked at about getting it implemented? |
I don't understand why do we need this on top of |
@BYK a scenario where it came up for me is at the company I work for. I needed to build an application on a build server which had very limited internet access. So I used While Now So it would be nice to have items that are required to build in Also, this would allow a smaller footprint and quicker build time too. Another solution which might be even more flexible is to have custom For example You can have
Now if you do Hope my explanation helps. |
@mastrauckas I think this is an interesting proposal but compared to the added complexity I'm not completely sold on it. Would you mind if we sleep on this some more (you too) and try to see the possible downsides along with upsides? |
@BYK That sounds good. |
Hey - I've just had a conversation with heroku about a similar idea (heroku/heroku-buildpack-nodejs#779) My use-case is simple - I run builds on a build-machine, which needs to pull dependencies like webpack and babel. However, I don't want it to pull all my test and ci dependencies (cypress, jest, storybook) as that makes my builds take much longer. I think this is a really common JS use-case to be honest - all JS projects I've seen have this sort of setup. So Could we add |
Do you want to request a feature or report a bug?
feature
What is the current behavior?
Currently there is
yarn install
andyarn install --production
. When on a build server it might be nice to have ayarn install --build
which installsdependencies
and a new type of dependencies calledbuildDependencies
.The text was updated successfully, but these errors were encountered: