Skip to content
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

feature request: support configuration via config file #510

Open
simonhaenisch opened this issue Jul 11, 2024 · 0 comments
Open

feature request: support configuration via config file #510

simonhaenisch opened this issue Jul 11, 2024 · 0 comments

Comments

@simonhaenisch
Copy link

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).

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

No branches or pull requests

1 participant