-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cannot renovate repos with .npmrc that uses env vars #851
Comments
In your case is it just |
While in my example the env var is being used for the npm registry token, note that the more general issue is that target repos may have In my case, my specific issue could be resolved in two ways I think:
An, arguably over-engineered, general solution to the problem would be supporting explicitly passing env vars to yarn, e.g., Outside of registry tokens, I am not really sure what folks use the env var interpolation for, so I can't really opine on which approach is best. Any of them solve our specific problem, though. |
This feature adds support for ignoring .npmrc files in a repository. Set config option to true if you wish to ignore. Closes #851
This feature adds support for ignoring .npmrc files in a repository. Set config option to true if you wish to ignore. Closes #851
@SpainTrain please try the fix. you could set it using env if it can apply to all your repos, otherwise configure it in |
Thanks! Will test today! |
Works great. Thank you ❤️ |
.npmrc
files allow use of env vars, e.g.,However, after #807 the environment is no longer passed to npm/yarn and when trying to renovate repos with
.npmrc
files like this, one receivesDue to deployment requirements, it is not possible to remove
.npmrc
from the target repo.The text was updated successfully, but these errors were encountered: