Skip to content

Option to ignore packages already published error #70

Closed
@spaceribs

Description

@spaceribs

Hello! This is a feature request to get a configuration to ignore the following failure:

npm ERR! 400 Bad Request - PUT https://npm.pkg.github.com/@spaceribs%2fservice-window-ref - failed to stream package from json: unhandled input: Cannot publish over existing version.

The reason why is that I'm using this alongside: https://github.com/jscutlery/semver in an Nx monorepo, and changes that occur to say the top level package.json are not guaranteed to bump the package version. At the moment, I'm just ignoring errors for my final publishing step, but it would be much better if I could just ignore if the package already exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions