Skip to content

Commit

Permalink
Adds injectEnvironmentFiles to the documentation (#5838)
Browse files Browse the repository at this point in the history
**What's the problem this PR addresses?**

Fixes #5816
  • Loading branch information
arcanis authored Oct 24, 2023
1 parent 70b7c10 commit 8b92696
Showing 1 changed file with 12 additions and 0 deletions.
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

0 comments on commit 8b92696

Please sign in to comment.