Skip to content

Namespace cache by installer & installer version

Compare
Choose a tag to compare
@swarajban swarajban released this 21 Jun 11:05
· 79 commits to master since this release

Cached files will now be located in <cache_directory>/<installer name>/<md5_config.tar.gz> instead of just <cache_directory/<md5_config.tar.gz>. This will allow you to work with different versions of installers and still being able to trust npm-cache

Example new directory structure:

~/.package_cache/bower/1.4.1
~/.package_cache/bower/1.4.1/d41929551e416aa2ffb36c462afe3d34.tar.gz
~/.package_cache/composer/1.0.0-alpha9
~/.package_cache/composer/1.0.0-alpha9/c1742a40235c0671609fe5f87d6f7e4a.tar.gz
~/.package_cache/npm/1.4.28
~/.package_cache/npm/1.4.28/704d24c9f8406b7965a190bd0c664186.tar.gz