Currently, while deploying an npm package, the package is triggering an async indexing of the entire package versions metadata.
To do so, it delete the package.json and reads all the versions metadata to create the package.json from scratch. While this works very well for tens of versions, a package with thousands of versions may take a few minutes to complete.
Suggested fix (toggleable) should read the package.json and only update the changes from the last change. Reindexing should still use the old mechanism - so both mechanism should live side by side.