Skip to content

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Jun 30, 2023

What's the problem this PR addresses?

It was raised in #5544 (comment) that automatically injecting the .env file in the environment could break compatibility with some software that already do this in their own way. It makes sense, and I prefer to avoid doing that if there's a reasonable compromise.

Also closes #5545.

How did you fix it?

Yarn will now default into loading the .env.yarn file, rather than .env.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 5533fb4 into master Jun 30, 2023
@arcanis arcanis deleted the mael/dotenv-feedback branch June 30, 2023 22:00
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

Successfully merging this pull request may close these issues.

[Bug?]: yarn plugin import removes injectEnvironmentFiles: [] from .yarnrc.yml
1 participant