Skip to content

Commit 4de112a

Browse files
committed
revert "Add all angular dependencies to update-angular.sh"
Addresses #3274. These dependencies should not be in bower.json because they are not used in Ionic. Many people's build processes pull in all of these and automatically bundle them into the browser. If they do that, it will break with the addition of `scenario` and `mocks`. Additionally, we will add unneeded overhead with `aria`, `messages` and `resources`.
1 parent 5d380bd commit 4de112a

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

bower.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@
5050
"dependencies": {
5151
"angular": "1.3.13",
5252
"angular-animate": "1.3.13",
53-
"angular-aria": "1.3.13",
54-
"angular-messages": "1.3.13",
55-
"angular-mocks": "1.3.13",
56-
"angular-resource": "1.3.13",
5753
"angular-sanitize": "1.3.13",
58-
"angular-scenario": "1.3.13",
5954
"angular-ui-router": "0.2.13"
6055
}
6156
}

scripts/update-angular.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ function run {
2020

2121
replaceJsonProp "bower.json" "angular" "$VERSION"
2222
replaceJsonProp "bower.json" "angular-animate" "$VERSION"
23-
replaceJsonProp "bower.json" "angular-aria" "$VERSION"
24-
replaceJsonProp "bower.json" "angular-messages" "$VERSION"
25-
replaceJsonProp "bower.json" "angular-mocks" "$VERSION"
26-
replaceJsonProp "bower.json" "angular-resource" "$VERSION"
2723
replaceJsonProp "bower.json" "angular-sanitize" "$VERSION"
28-
replaceJsonProp "bower.json" "angular-scenario" "$VERSION"
2924

3025
}
3126

0 commit comments

Comments
 (0)