Skip to content

Commit 56a6d96

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 1b6b270 commit 56a6d96

File tree

8 files changed

+87
-84
lines changed

8 files changed

+87
-84
lines changed

package-lock.json

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

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"node": ">= 5.4.1"
2626
},
2727
"dependencies": {
28-
"@angular/animations": "~4.3.6",
29-
"@angular/common": "~4.3.6",
30-
"@angular/compiler": "~4.3.6",
31-
"@angular/core": "~4.3.6",
32-
"@angular/forms": "~4.3.6",
33-
"@angular/http": "~4.3.6",
34-
"@angular/platform-browser": "~4.3.6",
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",
@@ -40,11 +40,11 @@
4040
"zone.js": "^0.8.12"
4141
},
4242
"devDependencies": {
43-
"@angular/compiler-cli": "~4.3.6",
44-
"@angular/platform-browser-dynamic": "~4.3.6",
45-
"@angular/platform-server": "~4.3.6",
46-
"@angular/router": "~4.3.6",
47-
"@angular/tsc-wrapped": "~4.3.6",
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",
4848
"@google-cloud/storage": "^1.1.1",
4949
"@types/chalk": "^0.4.31",
5050
"@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.3.0",
27-
"@angular/common": "^4.3.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/lib/menu/menu.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ describe('MdMenu', () => {
8484
}).not.toThrowError();
8585
});
8686

87+
<<<<<<< HEAD
8788
it('should close the menu when a click occurs outside the menu', fakeAsync(() => {
89+
=======
90+
it('should close the menu when a click occurs outside', fakeAsync(() => {
91+
>>>>>>> wip: angular 5 support
8892
const fixture = TestBed.createComponent(SimpleMenu);
8993
fixture.detectChanges();
9094
fixture.componentInstance.trigger.openMenu();

src/lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"homepage": "https://github.com/angular/material2#readme",
2424
"peerDependencies": {
2525
"@angular/cdk": "0.0.0-PLACEHOLDER",
26-
"@angular/core": "^4.3.0",
27-
"@angular/common": "^4.3.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/material-examples/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"homepage": "https://github.com/angular/material2#readme",
2525
"peerDependencies": {
2626
"@angular/cdk": "0.0.0-PLACEHOLDER",
27-
"@angular/core": "^4.3.0",
28-
"@angular/common": "^4.3.0",
29-
"@angular/http": "^4.3.0",
27+
"@angular/core": "~5.0.0-beta.0",
28+
"@angular/common": "~5.0.0-beta.0",
29+
"@angular/http": "~5.0.0-beta.0",
3030
"@angular/material": "0.0.0-PLACEHOLDER"
3131
},
3232
"dependencies": {

tools/dashboard/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
},
1111
"private": true,
1212
"dependencies": {
13-
"@angular/animations": "^4.2.6",
13+
"@angular/animations": "~5.0.0-beta.0",
1414
"@angular/cdk": "github:angular/cdk-builds",
15-
"@angular/common": "^4.2.6",
16-
"@angular/compiler": "^4.2.6",
17-
"@angular/core": "^4.2.6",
18-
"@angular/forms": "^4.2.6",
19-
"@angular/http": "^4.2.6",
15+
"@angular/common": "~5.0.0-beta.0",
16+
"@angular/compiler": "~5.0.0-beta.0",
17+
"@angular/core": "~5.0.0-beta.0",
18+
"@angular/forms": "~5.0.0-beta.0",
19+
"@angular/http": "~5.0.0-beta.0",
2020
"@angular/material": "github:angular/material2-builds",
21-
"@angular/platform-browser": "^4.2.6",
22-
"@angular/platform-browser-dynamic": "^4.2.6",
23-
"@angular/router": "^4.2.6",
21+
"@angular/platform-browser": "~5.0.0-beta.0",
22+
"@angular/platform-browser-dynamic": "~5.0.0-beta.0",
23+
"@angular/router": "~5.0.0-beta.0",
2424
"@swimlane/ngx-charts": "^6.0.0",
2525
"angularfire2": "^4.0.0-rc.1",
2626
"core-js": "^2.4.1",
@@ -31,8 +31,8 @@
3131
},
3232
"devDependencies": {
3333
"@angular/cli": "^1.2.0",
34-
"@angular/compiler-cli": "^4.2.6",
35-
"@angular/language-service": "^4.2.6",
34+
"@angular/compiler-cli": "~5.0.0-beta.0",
35+
"@angular/language-service": "~5.0.0-beta.0",
3636
"@types/jasmine": "2.5.45",
3737
"@types/node": "~6.0.60",
3838
"ts-node": "~3.0.4",

tools/screenshot-test/package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,26 @@
99
},
1010
"private": true,
1111
"dependencies": {
12-
"@angular/animations": "^4.0.2",
13-
"@angular/cdk": "angular/cdk-builds",
14-
"@angular/common": "^4.3.0",
15-
"@angular/compiler": "^4.3.0",
16-
"@angular/compiler-cli": "^4.3.0",
17-
"@angular/core": "^4.3.0",
18-
"@angular/forms": "^4.3.0",
19-
"@angular/http": "^4.3.0",
12+
"@angular/animations": "~5.0.0-beta.0",
13+
"@angular/common": "~5.0.0-beta.0",
14+
"@angular/compiler": "~5.0.0-beta.0",
15+
"@angular/compiler-cli": "~5.0.0-beta.0",
16+
"@angular/core": "~5.0.0-beta.0",
17+
"@angular/forms": "~5.0.0-beta.0",
18+
"@angular/http": "~5.0.0-beta.0",
2019
"@angular/material": "angular/material2-builds",
21-
"@angular/platform-browser": "^4.3.0",
22-
"@angular/platform-browser-dynamic": "^4.3.0",
23-
"@angular/router": "^4.3.0",
20+
"@angular/platform-browser": "~5.0.0-beta.0",
21+
"@angular/platform-browser-dynamic": "~5.0.0-beta.0",
22+
"@angular/router": "~5.0.0-beta.0",
2423
"core-js": "^2.4.1",
2524
"firebase": "^3.7.6",
2625
"rxjs": "^5.0.1",
2726
"ts-helpers": "^1.1.1",
28-
"zone.js": "^0.8.4"
27+
"zone.js": "^0.8.12"
2928
},
3029
"devDependencies": {
3130
"@angular/cli": "^1.0.0",
32-
"@angular/compiler-cli": "^4.3.0",
31+
"@angular/compiler-cli": "~5.0.0-beta.0",
3332
"@types/node": "^6.0.42",
3433
"ts-node": "1.2.1",
3534
"typescript": "~2.2.1"

0 commit comments

Comments
 (0)