Skip to content

Conversation

@maxchehab
Copy link
Contributor

Accidentally published an incorrect version under 0.2.0. I ran npm unpublish to revert, but in order to publish the correct version we need to bump a version.

@maxchehab maxchehab requested a review from marktran March 15, 2020 20:34
Copy link
Member

@marktran marktran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a 0.2.0 on https://www.npmjs.com/package/@workos-inc/node

There's no way to overwrite it?

@maxchehab maxchehab merged commit 152d4de into master Mar 15, 2020
@maxchehab maxchehab deleted the fix/update-package-version branch March 15, 2020 20:36
@maxchehab
Copy link
Contributor Author

@marktran I removed the incorrect version from the registry, however they assert that you can't rewrite it.

https://docs.npmjs.com/cli/unpublish

Even if a package version is unpublished, that specific name and version combination can never be reused. In order to publish the package again, a new version number must be used. Additionally, new versions of packages with every version unpublished may not be republished until 24 hours have passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants