Commit a03a52c
committed
docs: clarify npm version behavior with prerelease versions
When the current version is a prerelease (e.g., 1.2.0-5), running
npm version with patch, minor, or major will remove the prerelease
suffix without incrementing the version number (e.g., 1.2.0-5 becomes
1.2.0 with npm version patch, not 1.2.1).
This behavior was not documented, leading to confusion for developers
and incorrect guidance from LLMs trained on the incomplete documentation.
Fixes: #86371 parent cbc6fa9 commit a03a52c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments