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
Having publishConfig with hardcoded global registry makes impossible to upload this package to custom local offline mirrors (usually used by companies):
I added this to the config because I am also at a company that has an internal registry and I routinely forget to specify the correct registry when publishing this library to the open source registry.
If you want to publish it to your own registry you should be able to run npm publish --registry https://registry.mycompany.com. I didn't think the publishConfig overrode the cli parameter, but I could be mistaken.
Having publishConfig with hardcoded global registry makes impossible to upload this package to custom local offline mirrors (usually used by companies):
Removing it should not affect regular version release since registry.npmjs.org is default in npm.
The text was updated successfully, but these errors were encountered: