Skip to content

Commit fbecf8a

Browse files
alan-agius4devversion
authored andcommitted
build: update cross-repo angular dependencies to v21.0.0-next.6
See associated pull request for more information.
1 parent 54af331 commit fbecf8a

File tree

9 files changed

+135
-129
lines changed

9 files changed

+135
-129
lines changed

apps/code-of-conduct/app/account/account.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {CdkAccordionModule} from '@angular/cdk/accordion';
2-
import {Overlay, OverlayModule} from '@angular/cdk/overlay';
2+
import {Overlay, OverlayModule, OverlayRef} from '@angular/cdk/overlay';
33
import {TemplatePortal} from '@angular/cdk/portal';
44
import {CommonModule} from '@angular/common';
55
import {Component, TemplateRef, ViewChild, ViewContainerRef} from '@angular/core';
@@ -28,7 +28,7 @@ import {AccountService} from './account.service.js';
2828
})
2929
export class AccountComponent {
3030
/** The overlay used to display the account menu. */
31-
private overlayRef = this.overlay.create();
31+
private overlayRef: OverlayRef;
3232

3333
/** The projected content provided to the template for insertion into the account menu. */
3434
@ViewChild('menuContent', {static: true}) private projected!: TemplateRef<any>;
@@ -40,7 +40,9 @@ export class AccountComponent {
4040
private vcr: ViewContainerRef,
4141
private overlay: Overlay,
4242
public account: AccountService,
43-
) {}
43+
) {
44+
this.overlayRef = overlay.create();
45+
}
4446

4547
ngOnInit() {
4648
/** Create the template portal using the template from the component template. */

apps/code-of-conduct/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"dependencies": {
3-
"@angular/animations": "21.0.0-next.5",
4-
"@angular/cdk": "21.0.0-next.5",
5-
"@angular/common": "21.0.0-next.5",
6-
"@angular/compiler": "21.0.0-next.5",
7-
"@angular/core": "21.0.0-next.5",
3+
"@angular/animations": "21.0.0-next.6",
4+
"@angular/cdk": "21.0.0-next.6",
5+
"@angular/common": "21.0.0-next.6",
6+
"@angular/compiler": "21.0.0-next.6",
7+
"@angular/core": "21.0.0-next.6",
88
"@angular/fire": "20.0.1",
9-
"@angular/forms": "21.0.0-next.5",
10-
"@angular/material": "21.0.0-next.5",
11-
"@angular/platform-browser": "21.0.0-next.5",
12-
"@angular/platform-browser-dynamic": "21.0.0-next.5",
13-
"@angular/router": "21.0.0-next.5",
9+
"@angular/forms": "21.0.0-next.6",
10+
"@angular/material": "21.0.0-next.6",
11+
"@angular/platform-browser": "21.0.0-next.6",
12+
"@angular/platform-browser-dynamic": "21.0.0-next.6",
13+
"@angular/router": "21.0.0-next.6",
1414
"@octokit/rest": "",
1515
"rxjs": "7.8.2",
1616
"zone.js": "0.15.1"

apps/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"esModuleInterop": true,
1212
"strict": true,
1313
"noFallthroughCasesInSwitch": true,
14-
"moduleResolution": "node",
14+
"moduleResolution": "bundler",
1515
"module": "esnext",
16-
"target": "es2020",
16+
"target": "es2022",
1717
"lib": ["es2021", "dom"],
1818
"skipLibCheck": true,
1919
"types": ["node", "jasmine"],

bazel/spec-bundling/test/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ts_config(
1111
deps = [
1212
":node_modules/@types/jasmine",
1313
":node_modules/@types/node",
14+
":package.json", # Needed due to the { "type": "module" } field.
1415
],
1516
)
1617

bazel/spec-bundling/test/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"dependencies": {
3-
"@angular/compiler": "21.0.0-next.5",
4-
"@angular/core": "21.0.0-next.5",
5-
"@angular/platform-browser": "21.0.0-next.5",
3+
"@angular/compiler": "21.0.0-next.6",
4+
"@angular/core": "21.0.0-next.6",
5+
"@angular/platform-browser": "21.0.0-next.6",
66
"@types/jasmine": "5.1.9",
77
"@types/jsdom": "21.1.7",
88
"@types/node": "24.5.2",

bazel/spec-bundling/test/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"compilerOptions": {
33
"declaration": true,
44
"strict": true,
5+
"module": "node16",
6+
"moduleResolution": "node16",
57
"types": ["node", "jasmine"]
68
}
79
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"devDependencies": {
24-
"@angular/compiler-cli": "21.0.0-next.5",
24+
"@angular/compiler-cli": "21.0.0-next.6",
2525
"@bazel/bazelisk": "1.26.0",
2626
"@bazel/buildifier": "8.2.1",
2727
"firebase-tools": "14.17.0",

pnpm-lock.yaml

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

tools/defaults.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def _determine_tsconfig(testonly):
2727
if native.package_name().startswith("apps"):
2828
return "//apps:tsconfig"
2929

30+
fail("Failing... a tsconfig value must be provided.")
31+
3032
def ts_project(
3133
name,
3234
srcs = [],

0 commit comments

Comments
 (0)