Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 21c8c7e

Browse files
authored
build: update to Angular 15 RC (#1177)
Bumps up the various Angular dependencies to the v15 RC.
1 parent 99e359a commit 21c8c7e

File tree

5 files changed

+718
-386
lines changed

5 files changed

+718
-386
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
# https://circleci.com/docs/2.0/reusing-config/#getting-started-with-config-reuse
1111
version: 2.1
1212

13+
orbs:
14+
browser-tools: circleci/[email protected]
15+
1316
# Cache key for CircleCI. We want to invalidate the cache whenever the Yarn lock file changes.
1417
var_1: &cache_key material-angular-io-{{ .Branch }}-{{ checksum "yarn.lock" }}
15-
var_2: &default_docker_image circleci/node:16.10.0-browsers
18+
var_2: &default_docker_image cimg/node:16.14.0-browsers
1619

1720
# Settings common to each job
1821
var_3: &job_defaults
@@ -83,6 +86,7 @@ jobs:
8386
- restore_cache:
8487
key: *cache_key
8588
- *yarn_install
89+
- browser-tools/install-browser-tools
8690
- run: yarn test --watch false --progress=false
8791

8892
audit_pages_for_a11y:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.10.0
1+
16.14.0

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,37 +34,37 @@
3434
},
3535
"private": true,
3636
"dependencies": {
37-
"@angular/animations": "^15.0.0-next.5",
38-
"@angular/cdk": "^15.0.0-next.4",
39-
"@angular/cdk-experimental": "^15.0.0-next.4",
40-
"@angular/common": "^15.0.0-next.5",
41-
"@angular/compiler": "^15.0.0-next.5",
37+
"@angular/animations": "^15.0.0-rc.1",
38+
"@angular/cdk": "^15.0.0-rc.0",
39+
"@angular/cdk-experimental": "^15.0.0-rc.0",
40+
"@angular/common": "^15.0.0-rc.1",
41+
"@angular/compiler": "^15.0.0-rc.1",
4242
"@angular/components-examples": "https://github.com/angular/material2-docs-content.git#5fbab42ef9cfab45a6e9b8ffc48ff91d57ce0337",
43-
"@angular/core": "^15.0.0-next.5",
44-
"@angular/forms": "^15.0.0-next.5",
45-
"@angular/google-maps": "^15.0.0-next.4",
46-
"@angular/localize": "^15.0.0-next.5",
47-
"@angular/material": "^15.0.0-next.4",
48-
"@angular/material-experimental": "^15.0.0-next.4",
49-
"@angular/material-moment-adapter": "^15.0.0-next.4",
50-
"@angular/platform-browser": "^15.0.0-next.5",
51-
"@angular/platform-browser-dynamic": "^15.0.0-next.5",
52-
"@angular/router": "^15.0.0-next.5",
53-
"@angular/youtube-player": "^15.0.0-next.4",
43+
"@angular/core": "^15.0.0-rc.1",
44+
"@angular/forms": "^15.0.0-rc.1",
45+
"@angular/google-maps": "^15.0.0-rc.0",
46+
"@angular/localize": "^15.0.0-rc.1",
47+
"@angular/material": "^15.0.0-rc.0",
48+
"@angular/material-experimental": "^15.0.0-rc.0",
49+
"@angular/material-moment-adapter": "^15.0.0-rc.0",
50+
"@angular/platform-browser": "^15.0.0-rc.1",
51+
"@angular/platform-browser-dynamic": "^15.0.0-rc.1",
52+
"@angular/router": "^15.0.0-rc.1",
53+
"@angular/youtube-player": "^15.0.0-rc.0",
5454
"@stackblitz/sdk": "^1.5.2",
5555
"moment": "^2.29.1",
5656
"rxjs": "^6.6.7",
5757
"tslib": "^2.3.0",
5858
"zone.js": "~0.11.5"
5959
},
6060
"devDependencies": {
61-
"@angular-devkit/build-angular": "^15.0.0-next.4",
61+
"@angular-devkit/build-angular": "^15.0.0-rc.1",
6262
"@angular-eslint/builder": "^14.0.0",
6363
"@angular-eslint/eslint-plugin": "^14.0.0",
6464
"@angular-eslint/eslint-plugin-template": "^14.0.0",
6565
"@angular-eslint/template-parser": "^14.0.0",
66-
"@angular/cli": "^15.0.0-next.4",
67-
"@angular/compiler-cli": "^15.0.0-next.5",
66+
"@angular/cli": "^15.0.0-rc.1",
67+
"@angular/compiler-cli": "^15.0.0-rc.1",
6868
"@types/imagemin": "^7.0.0",
6969
"@types/jasmine": "^3.7.7",
7070
"@types/node": "^14.14.22",
@@ -81,8 +81,8 @@
8181
"imagemin-pngquant": "^9.0.2",
8282
"jasmine-core": "^3.7.1",
8383
"jasmine-spec-reporter": "^6.0.0",
84-
"karma": "~6.3.2",
85-
"karma-chrome-launcher": "^3.1.0",
84+
"karma": "~6.4.1",
85+
"karma-chrome-launcher": "^3.1.1",
8686
"karma-coverage-istanbul-reporter": "^3.0.3",
8787
"karma-firefox-launcher": "^2.1.0",
8888
"karma-jasmine": "^4.0.1",

src/app/app-module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ const prefersReducedMotion =
1919
BrowserAnimationsModule.withConfig({disableAnimations: prefersReducedMotion}),
2020
RouterModule.forRoot(MATERIAL_DOCS_ROUTES, {
2121
scrollPositionRestoration: 'enabled',
22-
anchorScrolling: 'enabled',
23-
relativeLinkResolution: 'corrected',
22+
anchorScrolling: 'enabled'
2423
}),
2524
NavBarModule,
2625
CookiePopupModule,

0 commit comments

Comments
 (0)