We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.yarnrc
npm
Current behavior
npm allows in the .npmrc:
.npmrc
prefix=${XDG_DATA_HOME}/npm
However, when I type in my shell:
yarn config set prefix '${XDG_DATA_HOME}/npm'
I see this in my ~/.yarnrc:
~/.yarnrc
prefix "/home/ravi/.local/share/npm"
What is the expected behavior? .yarnrc contains:
prefix "${XDG_DATA_HOME}/npm"
Please mention your node.js, yarn and operating system version.
$ node --version v8.5.0 $ yarn --version 1.1.0 $ uname -a Linux svelte 4.9.52-1-MANJARO #1 SMP PREEMPT Wed Sep 27 16:40:38 UTC 2017 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
Will likely be required in conjunction with #2334.
Sorry, something went wrong.
Closing as v2 allows environment variables to be used in .yarnrc.yml files.
.yarnrc.yml
https://yarnpkg.com/getting-started/migration
No branches or pull requests
Feature (supported by
npm
)Current behavior
npm
allows in the.npmrc
:However, when I type in my shell:
I see this in my
~/.yarnrc
:What is the expected behavior?
.yarnrc contains:
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: