-
Notifications
You must be signed in to change notification settings - Fork 20
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
Remove node_modules from .cfignore #8
Comments
It's true that there are good reasons to avoid I think if you're going to remove Perhaps the best story for folks who want a customized version, is to fork the project, change whatever you want, and then in your |
Some people do commit node_modules in git, others download them during build and some run npm install during deployment (e.g. cf push). In any case it should be up to the application to decide. A dependency should not force a particular process. One can easily add/remove |
So, looking at this again, I think you're right. Would you like to send a PR with the fixed .cfignore file? |
Fix #8 - Remove node_modules from .cfignore
@dotchev - I updated npm to a 1.0.1 with your fix. Please test and post results back here. |
closing as I believe this has been resolved |
There are several good reasons to avoid
npm install
during productive use.Currently npm does not guarantee that you will get the same (bit for bit) dependencies as during your tests. So this results in the following risks:
So it should be possible to push an app with pre-downloaded dependencies, i.e. with node_modules.
Currently this is not possible as .cfignore skips
node_modules
from cf push.The text was updated successfully, but these errors were encountered: