NPM 版本管理
npm install 问题
package.json中对应版本前为^ 符号,这样就可能存在本次安装的包版本有升级。
升级从左向右的第一个不为0的版本
注意:以上说法不一定正确,持保留意见。可能是版本升级
标准版本
| Syntax | Description | 版本示例 |
|---|---|---|
| New product | Start with 1.0.0 | 1.0.0 |
| Patch release | Increment the third digit(位数) | 1.0.1 |
| Minor (次要)release | Increment the middle digit and reset last digit to zero | 1.1.0 |
| Major(重大) release | Increment the first digit and reset middle and last digits to zero | 2.0.0 |
大约 2 分钟