-
Notifications
You must be signed in to change notification settings - Fork 2
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
npm doesn't use rc #5
Comments
|
hmm, it says
but what you want is to load npm's configuration. Probably the simplest thing would be to depend on npm, but just the configuration loading utilities, and probably lobby the npm crew to maintain their configuration system at a dependable module for other npm related tools to depend on. Obviously extra tooling around npm improves their ecosystem and thus their business so I think this is an easy argument to make. |
Indeed, surprised they moved the config logic into core since it's kinda useful for tools outside of it. Anyway, I tried using |
you should let them know you are doing this, otherwise they might change the api, maybe not because it's config, but maybe. |
Fixed in 2869a17. |
you should probably use npm's config module instead of rc
https://www.npmjs.com/package/npm-config
because npm doesn't do exactly the same thing as rc, because of historical reasons, although it may be similar.
where as rc does this:
dominictarr/rc#88 (comment)
but I can't change that because I have no idea what else it might break
The text was updated successfully, but these errors were encountered: