Skip to content

Commit e60cc9f

Browse files
committed
build: update to angular v9.0.0-next.7
1 parent 9237f29 commit e60cc9f

File tree

13 files changed

+174
-157
lines changed

13 files changed

+174
-157
lines changed

WORKSPACE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
55
# Add NodeJS rules (explicitly used for sass bundle rules)
66
http_archive(
77
name = "build_bazel_rules_nodejs",
8-
sha256 = "3356c6b767403392bab018ce91625f6d15ff8f11c6d772dc84bc9cada01c669a",
9-
# Note that we cannot update to rules_nodejs#0.36.2 as it contains a bug where
10-
# node output binaries cannot be launched on windows. We can update once the
11-
# fix is released: https://github.com/bazelbuild/rules_nodejs/pull/1104.
12-
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.36.1/rules_nodejs-0.36.1.tar.gz"],
8+
sha256 = "da217044d24abd16667324626a33581f3eaccabf80985b2688d6a08ed2f864be",
9+
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.37.1/rules_nodejs-0.37.1.tar.gz"],
1310
)
1411

1512
# Add sass rules
@@ -76,9 +73,12 @@ load("@io_bazel_rules_webtesting//web:repositories.bzl", "web_test_repositories"
7673

7774
web_test_repositories()
7875

79-
load("@npm_bazel_karma//:browser_repositories.bzl", "browser_repositories")
76+
load("@io_bazel_rules_webtesting//web/versioned:browsers-0.3.1.bzl", "browser_repositories")
8077

81-
browser_repositories()
78+
browser_repositories(
79+
chromium = True,
80+
firefox = True,
81+
)
8282

8383
# Fetch transitive dependencies which are needed to use the Sass rules.
8484
load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies")

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"requiredAngularVersion": "^8.0.0 || ^9.0.0-0",
4141
"requiredMDCVersion": "^4.0.0-alpha.0",
4242
"dependencies": {
43-
"@angular/animations": "^8.2.2",
44-
"@angular/common": "^8.2.2",
45-
"@angular/compiler": "^8.2.2",
46-
"@angular/core": "^8.2.2",
47-
"@angular/elements": "^8.2.2",
48-
"@angular/forms": "^8.2.2",
49-
"@angular/platform-browser": "^8.2.2",
43+
"@angular/animations": "^9.0.0-next.7",
44+
"@angular/common": "^9.0.0-next.7",
45+
"@angular/compiler": "^9.0.0-next.7",
46+
"@angular/core": "^9.0.0-next.7",
47+
"@angular/elements": "^9.0.0-next.7",
48+
"@angular/forms": "^9.0.0-next.7",
49+
"@angular/platform-browser": "^9.0.0-next.7",
5050
"@types/googlemaps": "^3.37.0",
5151
"@types/youtube": "^0.0.38",
5252
"@webcomponents/custom-elements": "^1.1.0",
@@ -56,27 +56,27 @@
5656
"systemjs": "0.19.43",
5757
"tsickle": "^0.35.0",
5858
"tslib": "^1.9.3",
59-
"zone.js": "~0.9.1"
59+
"zone.js": "~0.10.2"
6060
},
6161
"devDependencies": {
62-
"@angular-devkit/core": "^8.2.1",
63-
"@angular-devkit/schematics": "^8.2.1",
64-
"@angular/bazel": "^8.2.2",
65-
"@angular/compiler-cli": "^8.2.2",
66-
"@angular/platform-browser-dynamic": "^8.2.2",
67-
"@angular/platform-server": "^8.2.2",
68-
"@angular/router": "^8.2.2",
69-
"@angular/upgrade": "^8.2.2",
62+
"@angular-devkit/core": "^9.0.0-next.5",
63+
"@angular-devkit/schematics": "^9.0.0-next.5",
64+
"@angular/bazel": "^9.0.0-next.7",
65+
"@angular/compiler-cli": "^9.0.0-next.7",
66+
"@angular/platform-browser-dynamic": "^9.0.0-next.7",
67+
"@angular/platform-server": "^9.0.0-next.7",
68+
"@angular/router": "^9.0.0-next.7",
69+
"@angular/upgrade": "^9.0.0-next.7",
7070
"@bazel/bazel": "^0.29.0",
7171
"@bazel/buildifier": "^0.28.0",
7272
"@bazel/ibazel": "^0.10.3",
73-
"@bazel/jasmine": "0.36.1",
74-
"@bazel/karma": "0.36.1",
75-
"@bazel/typescript": "0.36.1",
76-
"@bazel/protractor": "0.36.1",
73+
"@bazel/jasmine": "^0.37.1",
74+
"@bazel/karma": "^0.37.1",
75+
"@bazel/typescript": "^0.37.1",
76+
"@bazel/protractor": "^0.37.1",
7777
"@firebase/app-types": "^0.3.2",
7878
"@octokit/rest": "^16.28.7",
79-
"@schematics/angular": "^8.2.1",
79+
"@schematics/angular": "^9.0.0-next.5",
8080
"@types/browser-sync": "^2.26.1",
8181
"@types/chalk": "^0.4.31",
8282
"@types/fs-extra": "^4.0.3",
@@ -99,7 +99,7 @@
9999
"browser-sync": "^2.26.7",
100100
"chalk": "^1.1.3",
101101
"clang-format": "^1.2.4",
102-
"codelyzer": "^5.1.0",
102+
"codelyzer": "^5.1.1",
103103
"conventional-changelog": "^3.0.5",
104104
"dgeni": "^0.4.11",
105105
"dgeni-packages": "^0.27.1",

src/cdk-experimental/tsconfig-build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"typings.d.ts"
2323
],
2424
"angularCompilerOptions": {
25+
"enableIvy": false,
2526
"annotateForClosureCompiler": true,
2627
"strictMetadataEmit": true,
2728
"flatModuleOutFile": "index.js",

src/cdk/schematics/testing/test-case-setup.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ export async function createTestCaseSetup(migrationName: string, collectionPath:
8181
writeFile(relativePath, inputContent);
8282
});
8383

84+
const testAppTsconfigPath = 'projects/cdk-testing/tsconfig.app.json';
85+
const testAppTsconfig = JSON.parse(appTree.readContent(testAppTsconfigPath));
86+
87+
// include all TypeScript files in the project. Otherwise all test input
88+
// files won't be part of the program and cannot be migrated.
89+
testAppTsconfig.include.push('src/**/*.ts');
90+
91+
writeFile(testAppTsconfigPath, JSON.stringify(testAppTsconfig, null, 2));
92+
8493
const runFixers = async function() {
8594
// Switch to the new temporary directory to simulate that "ng update" is ran
8695
// from within the project.

src/cdk/tsconfig-build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"typings.d.ts"
2222
],
2323
"angularCompilerOptions": {
24+
"enableIvy": false,
2425
"annotateForClosureCompiler": true,
2526
"strictMetadataEmit": true,
2627
"flatModuleOutFile": "index.js",

src/google-maps/tsconfig-build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"typings.d.ts"
2222
],
2323
"angularCompilerOptions": {
24+
"enableIvy": false,
2425
"annotateForClosureCompiler": true,
2526
"strictMetadataEmit": true,
2627
"flatModuleOutFile": "index.js",

src/material-examples/tsconfig-build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"public-api.ts"
3939
],
4040
"angularCompilerOptions": {
41+
"enableIvy": false,
4142
"annotateForClosureCompiler": true,
4243
"strictMetadataEmit": true,
4344
"flatModuleOutFile": "index.js",

src/material-experimental/tsconfig-build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"typings.d.ts"
2525
],
2626
"angularCompilerOptions": {
27+
"enableIvy": false,
2728
"annotateForClosureCompiler": true,
2829
"strictMetadataEmit": true,
2930
"flatModuleOutFile": "index.js",

src/material-moment-adapter/tsconfig-build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"public-api.ts"
3737
],
3838
"angularCompilerOptions": {
39+
"enableIvy": false,
3940
"annotateForClosureCompiler": true,
4041
"strictMetadataEmit": true,
4142
"flatModuleOutFile": "index.js",

src/material/checkbox/testing/checkbox-harness.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import {MatCheckboxModule} from '@angular/material/checkbox';
22
import {MatCheckboxHarness} from './checkbox-harness';
33
import {runHarnessTests} from '@angular/material/checkbox/testing/shared.spec';
44

5-
describe('Non-MDC-based MatCheckboxHarness', () => {
5+
fdescribe('Non-MDC-based MatCheckboxHarness', () => {
66
runHarnessTests(MatCheckboxModule, MatCheckboxHarness);
77
});

src/material/tsconfig-build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"typings.d.ts"
2424
],
2525
"angularCompilerOptions": {
26+
"enableIvy": false,
2627
"annotateForClosureCompiler": true,
2728
"strictMetadataEmit": true,
2829
"flatModuleOutFile": "index.js",

src/youtube-player/tsconfig-build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"typings.d.ts"
2020
],
2121
"angularCompilerOptions": {
22+
"enableIvy": false,
2223
"annotateForClosureCompiler": true,
2324
"strictMetadataEmit": true,
2425
"flatModuleOutFile": "index.js",

0 commit comments

Comments
 (0)