码迷,mamicode.com
首页 > Web开发 > 详细

bower.json 的版本范围

时间:2018-09-30 18:21:15      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:版本   json   org   仓库   .com   ocs   有一个   tps   意思   

bower.json 的版本范围

有小伙伴问 ~2.2.0 什么意思。
而且在git 的tags 中没有了 2.2.0 版本,怎么样?

实际上 ~2.2.0 的意思是 >=2.2.0 <2.3.0,查看了开源仓库的 tags,有一个 2.2.1,所以是符合的。

语义化版本 https://semver.org/lang/zh-CN/

semver The semantic versioner for npm
https://docs.npmjs.com/misc/semver

bower.json 的版本范围

标签:版本   json   org   仓库   .com   ocs   有一个   tps   意思   

原文地址:https://www.cnblogs.com/F4NNIU/p/9727172.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!