You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically to support a ~/.corepackrc file that allows the same config as the COREPACK_environment variables.
Could be exactly like ~/.npmrc with equivalent npm_config_ env vars, or a yarn-like ~/.corepackrc.yml would also work (I don't care about the format really).
We have a use case for this for automatic machine setup, where adding a config dot-file to the user's home folder is a lot more elegant than modifying their shell's rc file to export extra variables (I generally dislike the idea of automatically modifying user config files).
The text was updated successfully, but these errors were encountered:
We're currently running into an issue where some of our git hook scripts are non-interactive and when Yarn version is upgraded, even though we have the Yarn release .cjs file in the repo, corepack doesn't have it in its own cache and tries to download it. We could disable the prompt using an environment variable, but it's not that straightforward to set it up for everyone locally.
Basically to support a
~/.corepackrc
file that allows the same config as theCOREPACK_
environment variables.Could be exactly like
~/.npmrc
with equivalentnpm_config_
env vars, or a yarn-like~/.corepackrc.yml
would also work (I don't care about the format really).We have a use case for this for automatic machine setup, where adding a config dot-file to the user's home folder is a lot more elegant than modifying their shell's rc file to export extra variables (I generally dislike the idea of automatically modifying user config files).
The text was updated successfully, but these errors were encountered: