In my package.json one of my dependencies is... "@packageXXX": "^0.7.0",
When I do a "npm outdated" I see... @packageXXX current: 0.7.0 wanted: 0.7.0 latest: 0.8.0
When I do "npm i" it doesn't install the latest minor version "0.8.0"
My understand is having the caret there is suppose to update to the latest minor version, but it doesn't. Can someone explain what I'm doing wrong?
This is the case with 0.x.x since a leading zero indicates that the package isn't into a "stable" version yet. Until your package hits 1.x.x you'll need to do these updates manually (and be careful...your package isn't stable yet, meaning breaking changes can occur!).
主要版本零(0.yz)用于初始开发。随时可能发生任何变化。公共API不应被认为是稳定的。
| 归档时间: |
|
| 查看次数: |
557 次 |
| 最近记录: |