Skip to content
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

Persist npm's cache between builds #86

Closed
wants to merge 2 commits into from

Conversation

mojodna
Copy link

@mojodna mojodna commented Dec 13, 2013

$npm_config_cache allows npm's cache to be location somewhere other than $HOME/.npm

This also changes cache operations to explicitly deal with $cache_dir/node_modules to allow composed buildpacks to effectively use the cache (otherwise the "Caching node_modules" step would stomp on other users of the cache).

Allows other buildpacks to effectively make use of the cache.
@zeke
Copy link
Contributor

zeke commented Dec 18, 2013

Sweet. Can you sync with heroku master add a test case? See https://github.com/heroku/heroku-buildpack-nodejs#testing

@hunterloftis
Copy link
Contributor

I'm closing this because it looks stale - please ping me if you'd like to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants