Skip to content

Commit f5666ed

Browse files
committed
wip: angular 5 support
This the PR to introduce Angular 5 support. I'll keep it updated and will fix any new issues as beta and RC versions are released. It should be merged once Angular 5 final is released.
1 parent 374aaff commit f5666ed

File tree

9 files changed

+177
-130
lines changed

9 files changed

+177
-130
lines changed

package-lock.json

Lines changed: 85 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,29 @@
2222
"version": "2.0.0-beta.8",
2323
"license": "MIT",
2424
"engines": {
25-
"node": ">= 5.4.1 < 7"
25+
"node": ">= 5.4.1 <= 8.2.1"
2626
},
2727
"dependencies": {
28-
"@angular/animations": "~4.1.0",
29-
"@angular/common": "~4.1.0",
30-
"@angular/compiler": "~4.1.0",
31-
"@angular/core": "~4.1.0",
32-
"@angular/forms": "~4.1.0",
33-
"@angular/http": "~4.1.0",
34-
"@angular/platform-browser": "~4.1.0",
28+
"@angular/animations": "~5.0.0-beta.0",
29+
"@angular/common": "~5.0.0-beta.0",
30+
"@angular/compiler": "~5.0.0-beta.0",
31+
"@angular/core": "~5.0.0-beta.0",
32+
"@angular/forms": "~5.0.0-beta.0",
33+
"@angular/http": "~5.0.0-beta.0",
34+
"@angular/platform-browser": "~5.0.0-beta.0",
3535
"core-js": "^2.4.1",
3636
"rxjs": "^5.0.1",
3737
"systemjs": "0.19.43",
38+
"tsickle": "^0.23.4",
3839
"tslib": "^1.7.1",
39-
"zone.js": "^0.8.4"
40+
"zone.js": "^0.8.12"
4041
},
4142
"devDependencies": {
42-
"@angular/compiler-cli": "~4.1.0",
43-
"@angular/platform-browser-dynamic": "~4.1.0",
44-
"@angular/platform-server": "~4.1.0",
45-
"@angular/router": "~4.1.0",
46-
"@angular/tsc-wrapped": "~4.1.0",
43+
"@angular/compiler-cli": "~5.0.0-beta.0",
44+
"@angular/platform-browser-dynamic": "~5.0.0-beta.0",
45+
"@angular/platform-server": "~5.0.0-beta.0",
46+
"@angular/router": "~5.0.0-beta.0",
47+
"@angular/tsc-wrapped": "~5.0.0-beta.0",
4748
"@google-cloud/storage": "^1.1.1",
4849
"@types/chalk": "^0.4.31",
4950
"@types/fs-extra": "^3.0.1",

src/cdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/angular/material2#readme",
2525
"peerDependencies": {
26-
"@angular/core": "^4.0.0",
27-
"@angular/common": "^4.0.0"
26+
"@angular/core": "~5.0.0-beta.0",
27+
"@angular/common": "~5.0.0-beta.0"
2828
},
2929
"dependencies": {
3030
"tslib": "^1.7.1"

src/demo-app/autocomplete/autocomplete-demo.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<md-card>
2424

2525
<div>Template-driven value (currentState): {{ currentState }}</div>
26-
<div>Template-driven dirty: {{ modelDir?.dirty }}</div>
26+
<div>Template-driven dirty: {{ modelDir ? modelDir.dirty : false }}</div>
2727

2828
<!-- Added an ngIf below to test that autocomplete works with ngIf -->
2929
<md-input-container *ngIf="true">
@@ -53,4 +53,4 @@
5353
<md-option *ngFor="let state of tdStates" [value]="state.name">
5454
<span>{{ state.name }}</span>
5555
</md-option>
56-
</md-autocomplete>
56+
</md-autocomplete>

0 commit comments

Comments
 (0)