Open toupeira opened 6 years ago
What is the current behavior?
yarn global stores packages in ~/.config/yarn/global by default on Linux.
yarn global
~/.config/yarn/global
What is the expected behavior?
~/.config is for configuration files, data files should be stored in ~/.local/share (see XDG spec)
~/.config
~/.local/share
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?
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