2
考慮到bower支持安裝全球bower命名空間中技術上不存在的項目,可能會出現以下問題。如何重命名與Bower一起安裝的組件
Bower install https://github.com/bitovi/canjs.com/archive/v1.1.6.zip
結果
Components
|- v1.1.6
|--bower.json
|-- (complete installation of all required pieces here).
這可能會導致潛在的混亂和維修問題的道路,因爲它現在是開發商回顧「can.js」住在V1.1.6。很明顯,有一些可以實現的修復(即將所有項目使用can.js指向此目錄),但這並不能解決核心問題。
bower.json看起來是這樣的:
{
"name": "v1.1.6",
"main" : "",
"version": "0.0.0",
"repository": {
"type": "asset",
"url": "https://github.com/bitovi/canjs.com/archive/v1.1.6.zip"
}
}
是重命名的目錄和足夠的更新bower.json還是有需要被更新另一個資源?