When reading the blog post it stated that during the fetching phase/step, yarn looks inside the global cache directory. Which folder is this exactly?
~/.yarn-cache
npm offers a number of npm cache commands - could yarn offer the same?
It should :)
yarn cache ls
yarn cache clean
ideally yarn cache dir or something would print out the path (npm doesn't have this, sadly)
Created #880 to fix this, pending approval.
Not related, but is there a way to change the yarn cache dir?
npm also expose the cache dir the script environment as process.env.npm_config_cache. Is this covered also?
Most helpful comment
~/.yarn-cache