在Python中,使用pip freeze
时,通常会冻结完整版本号:
# requirements.txt
patsy==0.2.1
pelican==3.3
pika==0.9.13
Pillow==2.4.0
prettytable==0.7.2
prettytime==0.0.2
py==1.4.20
但是,我注意到使用bower.json
创建的--save
并不总是如此:
"angular-touch": "1.3.0",
"angular-ui-utils": "bower",
"angular-bootstrap": "~0.11.0",
"angular-ui-router": null,
"venturocket-angular-slider": null,
"css-toggle-switch": null,
"ngprogress": null,
"ng-tags-input": "2.0.1",
"angular-growl-v2": null,
"ng-file-upload": null,
这会导致问题,例如,当我们登上运行bower install
的新开发人员,然后获得不同版本的例如ng-file-upload
{{1}}比团队的现有成员有变化,没有人意识到。
是否有命令完全冻结我当前的凉亭包列表?