Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add oppurtunity to configre yarn global folder globally #7103

Open
glensc opened this issue Mar 12, 2019 · 1 comment
Open

Add oppurtunity to configre yarn global folder globally #7103

glensc opened this issue Mar 12, 2019 · 1 comment

Comments

@glensc
Copy link

glensc commented Mar 12, 2019

there's support for local .yarnrc for configuring:

but that is not sufficient, it needs to be global config:

because .config/yarn/global (XDG_CONFIG_HOME) is wrong path for such purpose by XDG spec, I want to re-configure it to be .cache/yarn/global (XDG_CACHE_HOME) or at least .local/share/yarn/global (XDG_DATA_HOME)

@anka-213
Copy link

anka-213 commented Apr 7, 2020

I think it is actually the correct place for the package.json and yarn.lock files, since the list of installed packages is a form of configuration.

However, it is definitely not the correct place to actually install the packages. I think the default should change in addition to it being configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants