Skip to content

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

@yrtimiD

Description

@yrtimiD

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions