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

publishConfig in package.json prevents publishing to local repositories #16

Closed
yrtimiD opened this issue Jan 7, 2019 · 1 comment
Closed

Comments

@yrtimiD
Copy link

yrtimiD commented Jan 7, 2019

Your package.json has next block:
"publishConfig": { "registry": "https://registry.npmjs.org" }

As I just discovered, it overrides any repository configurations configured in my .npmrc file, which prevents me from publishing this package to our internal corporate repository.
If these values are not 100% necessary for you, can you remove it? Global npmjs.org is always used by default anyway.

@juliangruber
Copy link
Owner

no problem!

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

2 participants