apideck-libraries / better-ajv-errors

Human-friendly JSON Schema validation for APIs 👮‍♀️
MIT License
41 stars 6 forks source link

Removing publishConfig.registry #17

Closed kochcj1 closed 2 years ago

kochcj1 commented 2 years ago

Explicitly specifying that the package be published to https://registry.npmjs.org keeps the package from being able to be installed to a private registry. See https://stackoverflow.com/questions/70962883/why-cant-i-publish-this-specific-package-to-a-private-npm-registry-hosted-by-ve.

elsmr commented 2 years ago

Hi I tried removing these lines, but npm publish fails for me after

kochcj1 commented 2 years ago

@elsmr, thanks for reviewing this pull request. What error did it give you when you tried to publish? I wonder if getting rid of all of publishConfig from package.json would help. I'm also curious what your registry is set to (run npm get registry).