Reputation: 803
In my application, all the packages except Chart and angular-chart are already installed.
I need to install only these two.
Question: How to skip the rest of the packages from being updated or downloaded again?
{
"name": "ui-chromeapp",
"version": "0.0.0",
"dependencies": {
"angular": "~1.2.23",
"angular-bootstrap": "~0.11.0",
"bootstrap": "~3.2.0",
"angular-ui-router": "~0.2.11",
"underscore": "~1.7.0",
"jquery.easy-pie-chart": "~2.1.4",
"sprintf": "~1.0.2",
"jquery.scrollTo":"~2.1.1",
"angular-translate":"~2.8.1",
"angular-translate-loader-static-files" : "~2.8.1",
"Chart.js" : "1.0.1"
},
"devDependencies": {},
"resolutions": {
"Chart.js": "1.0.1"
}
}
Upvotes: 1
Views: 268
Reputation: 18392
Hint: While using bower install
command, after your ran it once before, no new packages / dependencies were installed. When using bower update
new versions of your packages will be downloaded (depending on your bower.json configuration -> package version config). All in all, both commands do not install a package in the same package-version again.
Just remove the version option handlers and you wil be fine. It's not a issue, it's a nice behavior.
{
"name": "ui-chromeapp",
"version": "0.0.0",
"dependencies": {
"angular": "1.2.23",
"angular-bootstrap": "0.11.0",
"bootstrap": "3.2.0",
"angular-ui-router": "0.2.11",
"underscore": "1.7.0",
"jquery.easy-pie-chart": "2.1.4",
"sprintf": "1.0.2",
"jquery.scrollTo":"2.1.1",
"angular-translate":"2.8.1",
"angular-translate-loader-static-files" : "2.8.1",
"Chart.js" : "1.0.1"
},
"devDependencies": {},
"resolutions": {
"Chart.js": "1.0.1"
}
}
Upvotes: 1