Skip to content

Commit 7d8bb67

Browse files
committed
chore: remove @angular/animations from peerDeps, add TypeScript
@angular/animations are not required for every Angular applications. When installing `nativescript-angular`, the user shouldn't see a warning for unmet peer dependency if he's not using @angular/animations. TypeScript should be >2.2 or tns-core-modules won't be working, so we should have this as peer dependency.
1 parent cfafe83 commit 7d8bb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: nativescript-angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747
"@angular/common": "~4.0.0",
4848
"@angular/compiler": "~4.0.0",
4949
"@angular/platform-browser": "~4.0.0",
50-
"@angular/animations": "~4.0.0",
5150
"@angular/router": "~4.0.0",
5251
"@angular/forms": "~4.0.0",
5352
"@angular/http": "~4.0.0",
5453
"tns-core-modules": "^3.0.0 || ^3.0.0-rc.1 || >=3.0.0-2017",
5554
"rxjs": "^5.0.1",
55+
"typescript": "^2.2.0",
5656
"zone.js": "^0.8.4"
5757
},
5858
"devDependencies": {

0 commit comments

Comments
 (0)