I ran np
and my prepublishOnly
script failed during the npm publish step. np
reported that The project was rolled back to its previous state.
However, I still have the Git commit and tag from the failed release.
prepublishOnly
script that will failnp
The Git commit and tag should be rolled back so that I can try again. I saw this was originally implemented in #334 , so this is possibly an uncaught edge case or regression.
np - 9.2.0
Node.js - 20.10.0
npm - 10.2.5
Git - 2.43.0
OS - MacOS Sonoma 14.2.1
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too