Failed to publish specific version.
Publishing a specific version with np
fails starting from version v9.0.0
. v8.0.4
is the last workable version.
Error message:
✖ Error: Increment 0.178.0 should be one of patch, minor, major, prepatch, preminor, premajor, or prerelease.
at new Version (file:///Users/tianfeng/code/node-saucectl/node_modules/np/source/version.js:70:11)
at ui (file:///Users/tianfeng/code/node-saucectl/node_modules/np/source/ui.js:147:50)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///Users/tianfeng/code/node-saucectl/node_modules/np/source/cli-implementation.js:134:18
np
.npx np 0.178.0
.The command should successfully publish the specified version without errors.
np - from v9.0.0
to v10.0.5
Node.js - v22.2.0
npm - 10.7.0
Git - git version 2.39.3 (Apple Git-145)
OS - macOS 14.0
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