Move completion cache results to ~/.bower/cache/__bowercompletion__

for cache-clean command to be able to clean it.

__bowercompletion__ to avoid potential naming conflicts.
This commit is contained in:
Mickael Daniel
2012-12-25 13:50:57 +01:00
parent 8a00820dbb
commit 8dbffe6fa7
2 changed files with 31 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ var folder = process.platform === 'win32'
var config = require('rc') ('bower', {
cache : path.join(roaming, folder, 'cache'),
links : path.join(roaming, folder, 'links'),
completion : path.join(roaming, folder, 'completion'),
completion : path.join(roaming, folder, 'cache/__bowercompletion__'),
json : 'component.json',
endpoint : 'https://bower.herokuapp.com',
directory : 'components'