Skip to content

Commit 99742fa

Browse files
committed
build: bump to angular 6.0.0-rc.1 and rxjs 6.0.0-rc.0
Bumps to the latest Angular and RxJS RCs and fixes a compilation error in the postinstall script.
1 parent 7857b92 commit 99742fa

File tree

9 files changed

+75
-100
lines changed

9 files changed

+75
-100
lines changed

BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ filegroup(
2626
"protobufjs",
2727
"protractor",
2828
"reflect-metadata",
29+
"rxjs",
2930
"tsickle",
3031
"tslib",
3132
"tsutils",

WORKSPACE

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ workspace(name = "angular_material")
33
# Add nodejs rules
44
http_archive(
55
name = "build_bazel_rules_nodejs",
6-
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.5.3.zip",
7-
strip_prefix = "rules_nodejs-0.5.3",
8-
sha256 = "17a5515f59777b00cb25dbc710017a14273f825029b2ec60e0969d28914870be",
6+
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.6.0.zip",
7+
strip_prefix = "rules_nodejs-0.6.0",
8+
sha256 = "e8a2bb5ca51fbafb244bc507bcebcae33a63d969f47413b319a8dcce032845bf",
99
)
1010

1111
# NOTE: this rule installs nodejs, npm, and yarn, but does NOT install
@@ -28,9 +28,9 @@ sass_repositories()
2828
# Add TypeScript rules
2929
http_archive(
3030
name = "build_bazel_rules_typescript",
31-
url = "https://github.com/bazelbuild/rules_typescript/archive/0.11.1.zip",
32-
strip_prefix = "rules_typescript-0.11.1",
33-
sha256 = "7406bea7954e1c906f075115dfa176551a881119f6820b126ea1eacb09f34a1a",
31+
url = "https://github.com/bazelbuild/rules_typescript/archive/df4a1a561d88e187438ac7791a5ac33995f2d317.zip",
32+
strip_prefix = "rules_typescript-df4a1a561d88e187438ac7791a5ac33995f2d317",
33+
sha256 = "51a84f156eeddf126e9370b5c193b4709eeb330448e2de5afcda40232e0b56bc",
3434
)
3535

3636
# Setup TypeScript Bazel workspace

angular.tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"es2015"
99
],
1010
"experimentalDecorators": true,
11-
"types": []
11+
"types": ["jasmine"]
1212
},
1313
"include": [
1414
"node_modules/@angular/**/*"

package-lock.json

Lines changed: 48 additions & 77 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 & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
"node": ">= 5.4.1"
2727
},
2828
"dependencies": {
29-
"@angular/animations": "6.0.0-rc.0",
30-
"@angular/common": "6.0.0-rc.0",
31-
"@angular/compiler": "6.0.0-rc.0",
32-
"@angular/core": "6.0.0-rc.0",
33-
"@angular/forms": "6.0.0-rc.0",
34-
"@angular/platform-browser": "6.0.0-rc.0",
29+
"@angular/animations": "6.0.0-rc.1",
30+
"@angular/common": "6.0.0-rc.1",
31+
"@angular/compiler": "6.0.0-rc.1",
32+
"@angular/core": "6.0.0-rc.1",
33+
"@angular/forms": "6.0.0-rc.1",
34+
"@angular/platform-browser": "6.0.0-rc.1",
3535
"core-js": "^2.4.1",
36-
"rxjs": "6.0.0-beta.1",
36+
"rxjs": "6.0.0-rc.0",
3737
"systemjs": "0.19.43",
3838
"tsickle": "^0.27.2",
3939
"tslib": "^1.9.0",
@@ -42,13 +42,13 @@
4242
"devDependencies": {
4343
"@angular-devkit/core": "^0.4.5",
4444
"@angular-devkit/schematics": "^0.4.5",
45-
"@angular/bazel": "6.0.0-rc.0",
46-
"@angular/compiler-cli": "6.0.0-rc.0",
47-
"@angular/http": "6.0.0-rc.0",
48-
"@angular/platform-browser-dynamic": "6.0.0-rc.0",
49-
"@angular/platform-server": "6.0.0-rc.0",
50-
"@angular/router": "6.0.0-rc.0",
51-
"@angular/upgrade": "6.0.0-rc.0",
45+
"@angular/bazel": "6.0.0-rc.1",
46+
"@angular/compiler-cli": "6.0.0-rc.1",
47+
"@angular/http": "6.0.0-rc.1",
48+
"@angular/platform-browser-dynamic": "6.0.0-rc.1",
49+
"@angular/platform-server": "6.0.0-rc.1",
50+
"@angular/router": "6.0.0-rc.1",
51+
"@angular/upgrade": "6.0.0-rc.1",
5252
"@bazel/ibazel": "0.3.1",
5353
"@google-cloud/storage": "^1.1.1",
5454
"@schematics/angular": "^0.4.5",
@@ -57,7 +57,7 @@
5757
"@types/glob": "^5.0.33",
5858
"@types/gulp": "3.8.32",
5959
"@types/hammerjs": "^2.0.35",
60-
"@types/jasmine": "^2.6.0",
60+
"@types/jasmine": "2.2.34",
6161
"@types/merge2": "^0.3.30",
6262
"@types/minimist": "^1.2.0",
6363
"@types/node": "^7.0.21",

src/cdk/a11y/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ ts_library(
3838
"//src/cdk/platform",
3939
"//src/cdk/testing",
4040
"@rxjs",
41+
"@rxjs//operators",
4142
],
4243
tsconfig = "//src/cdk:tsconfig-build.json",
4344
)

src/cdk/overlay/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ ts_library(
4343
"//src/cdk/scrolling",
4444
"//src/cdk/testing",
4545
"@rxjs",
46+
"@rxjs//operators",
4647
],
4748
tsconfig = "//src/cdk:tsconfig-build.json",
4849
)

src/cdk/tree/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ ts_library(
2525
":tree",
2626
"//src/cdk/collections",
2727
"@rxjs",
28+
"@rxjs//operators",
2829
],
2930
tsconfig = "//src/cdk:tsconfig-build.json",
3031
)

src/lib/tabs/tab-group.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ describe('MatTabGroup', () => {
279279
tick();
280280

281281
tabs = component._tabs.toArray();
282-
expect(tabs[3].origin).toBeGreaterThanOrEqual(0);
282+
expect(tabs[3].origin! >= 0).toBe(true);
283283

284284
// Add a new tab in the beginning and select it, expect an origin < than 0 (animate left)
285285
fixture.componentInstance.tabs.push({label: 'New tab', content: 'to left of index'});

0 commit comments

Comments
 (0)