Skip to content

Adds injectEnvironmentFiles to the documentation #5838

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

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/docusaurus/static/configuration/yarnrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,18 @@
},
"_exampleKeys": ["homepage"]
},
"injectEnvironmentFiles": {
"_package": "@yarnpkg/core",
"title": "Array of .env files which will get injected into any subprocess spawned by Yarn.",
"description": "By default Yarn will automatically inject the variables stored in the `.env.yarn` file, but you can use this setting to change this behavior.\n\nNote that adding a question mark at the end of the path will silence the error Yarn would throw should the file be missing, which may come in handy when declaring local configuration files.",
"type": "array",
"items": {
"type": "string",
"format": "uri-reference"
},
"default": [],
"_exampleItems": [".my-env", ".my-local-env?"]
},
"installStatePath": {
"_package": "@yarnpkg/core",
"title": "Path where the install state will be persisted.",
Expand Down