Skip to content

Workflow for test-publishing to a local registry, e.g. Verdaccio #2363

@AlanSl

Description

@AlanSl

As discussed on #805 there's no Lerna "unpublish" command or general support for overwriting an existing published version because lerna publish is intended for best-practice publication to a public registry like NPM.

I'm wondering what would be a good approach for test-publishing to a local registry, such as Verdaccio running on http://localhost:4873, where you might want to repeatedly publish locally to the same version number, until the published version works as intended and you are ready to publish a real new version to the public repository.

Is there an intended approach for this? There are lots of good pointers on using things like from-git and from-package with CI but I can't see anything clean for this case.

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