yarn
yarn copied to clipboard
yarn global should not store packages in ~/.config
What is the current behavior?
yarn global
stores packages in ~/.config/yarn/global
by default on Linux.
What is the expected behavior?
~/.config
is for configuration files, data files should be stored in ~/.local/share
(see XDG spec)
One use-case: people backing up ~/.config
and wasting space with endless NodeJS modules :)
Please mention your node.js, yarn and operating system version.
yarn 1.7.0
Also see https://github.com/yarnpkg/yarn/issues/2049
This issue still exists. Any chance it gets fixed?