question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Forcibly republish the package with the same version

See original GitHub issue

Is your feature request related to a problem? Please describe.

Let’s have a situation that I want to keep my package version in sync with other software. I.e.: my-dto:1.2.3, other-software:1.2.3. The problem following: once I have published the package, I can’t easily unpublish it nor forcibly update it. The question is: Is there any way to forcibly republish the package in my private Verdaccio instance with the same version?

Describe the solution you’d like

I want to be able to forcibly update the package which has already been published.

Describe alternatives you’ve considered

or at least be able to unpublish it quickly and then publish it again, so I don’t need to remove entries from the database to erase old package.

Additional context

  • I stripped fragile data with XXX.
  • My Verdaccio version: 4.1.0
  1. The package is already published by in my registry under https://npm.XXX.systems/@my-dto
yarn publish --registry=https://npm.XXX.systems
yarn publish v1.17.3
[1/4] Bumping version...
info Current version: 9.4.0
question New version: 9.4.0
[2/4] Logging in...
[3/4] Publishing...
error Couldn't publish package: "https://npm.XXX.systems/@my%2fdto: this package is already present"
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:8
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

9reactions
Qix-commented, Oct 19, 2019

Please remember that people use Verdaccio for development, too. Trying to add a feature to @storybookjs is currently a massive headache - I have spent the last two hours trying to figure out how to get Verdaccio to play nice.

I’m developing locally. I don’t care about npm’s silly package publishing policies. If I write --force, I mean it. Let me publish over versions without having to unpublish.

If you’re really scared about this, at least let me specify it in the Verdaccio configuration that force publishes are OK.

6reactions
DanielRufcommented, Dec 26, 2019

A dev mode sounds good.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to publish multiple versions of same package to gitlab ...
Use a Package Proxy like Nexus, jFrog or Verdaccio; You configure your npmrc to only use the GitLab Registry once a specific Scope...
Read more >
How to Publish an Updated Version of an npm Package
Here is my understanding of the steps that are most commonly expected to be run when publishing a new version of an npm...
Read more >
One simple trick for JavaScript package maintainers to avoid ...
In much the same way we should consider publishing versions with the “next” dist-tag first a best practice. Only after the early-adopter crowd ......
Read more >
Duplicate Packages - aptly
If you see publishing conflict, you have something published under the same prefix with this other libnacl-dev package. So aptly can be forced...
Read more >
Frequently Asked Questions about the GNU Licenses
Why does the GPL permit users to publish their modified versions? ... Is “convey” in GPLv3 the same thing as what GPLv2 means...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found