Skip to content

Commit 98e1d9f

Browse files
committed
build: update Angular FW packages
Update Fw packages to latest patch version.
1 parent 4d6f734 commit 98e1d9f

File tree

13 files changed

+150
-188
lines changed

13 files changed

+150
-188
lines changed

goldens/public-api/angular/ssr/index.api.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import { ApplicationRef } from '@angular/core';
88
import { StaticProvider } from '@angular/core';
9+
import { BootstrapContext } from '@angular/platform-browser';
910
import { Type } from '@angular/core';
1011

1112
// @public
@@ -16,14 +17,14 @@ export class CommonEngine {
1617

1718
// @public (undocumented)
1819
export interface CommonEngineOptions {
19-
bootstrap?: Type<{}> | (() => Promise<ApplicationRef>);
20+
bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>);
2021
enablePerformanceProfiler?: boolean;
2122
providers?: StaticProvider[];
2223
}
2324

2425
// @public (undocumented)
2526
export interface CommonEngineRenderOptions {
26-
bootstrap?: Type<{}> | (() => Promise<ApplicationRef>);
27+
bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>);
2728
// (undocumented)
2829
document?: string;
2930
// (undocumented)

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,23 @@
5252
},
5353
"devDependencies": {
5454
"@ampproject/remapping": "2.3.0",
55-
"@angular/animations": "18.2.0",
55+
"@angular/animations": "18.2.14",
5656
"@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=71bd2e043e076365effdb6076f33b2d8d6bd6d02#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch",
5757
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#8128c8cc982b49ca12490da8d97692143aefd026",
5858
"@angular/cdk": "18.1.3",
59-
"@angular/common": "18.2.0",
60-
"@angular/compiler": "18.2.0",
61-
"@angular/compiler-cli": "18.2.0",
62-
"@angular/core": "18.2.0",
63-
"@angular/forms": "18.2.0",
64-
"@angular/localize": "18.2.0",
59+
"@angular/common": "18.2.14",
60+
"@angular/compiler": "18.2.14",
61+
"@angular/compiler-cli": "18.2.14",
62+
"@angular/core": "18.2.14",
63+
"@angular/forms": "18.2.14",
64+
"@angular/localize": "18.2.14",
6565
"@angular/material": "18.1.3",
6666
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#871fbcb75819dba4dfc6c8971c7aec1c57a8de0c",
67-
"@angular/platform-browser": "18.2.0",
68-
"@angular/platform-browser-dynamic": "18.2.0",
69-
"@angular/platform-server": "18.2.0",
70-
"@angular/router": "18.2.0",
71-
"@angular/service-worker": "18.2.0",
67+
"@angular/platform-browser": "18.2.14",
68+
"@angular/platform-browser-dynamic": "18.2.14",
69+
"@angular/platform-server": "18.2.14",
70+
"@angular/router": "18.2.14",
71+
"@angular/service-worker": "18.2.14",
7272
"@babel/core": "7.26.10",
7373
"@babel/generator": "7.26.10",
7474
"@babel/helper-annotate-as-pure": "7.25.9",
@@ -164,7 +164,7 @@
164164
"magic-string": "0.30.11",
165165
"mini-css-extract-plugin": "2.9.0",
166166
"mrmime": "2.0.0",
167-
"ng-packagr": "18.2.0-next.0",
167+
"ng-packagr": "^18.2.0",
168168
"npm": "^10.8.1",
169169
"npm-package-arg": "11.0.3",
170170
"npm-pick-manifest": "9.1.0",

packages/angular/ssr/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
load("@npm//@angular/build-tooling/bazel/api-golden:index.bzl", "api_golden_test_npm_package")
12
load("@rules_pkg//:pkg.bzl", "pkg_tar")
23
load("//tools:defaults.bzl", "ng_package", "ts_library")
3-
load("@npm//@angular/build-tooling/bazel/api-golden:index.bzl", "api_golden_test_npm_package")
44

55
package(default_visibility = ["//visibility:public"])
66

@@ -14,6 +14,7 @@ ts_library(
1414
module_name = "@angular/ssr",
1515
deps = [
1616
"@npm//@angular/core",
17+
"@npm//@angular/platform-browser",
1718
"@npm//@angular/platform-server",
1819
"@npm//@types/node",
1920
"@npm//critters",

packages/angular/ssr/node/src/common-engine/common-engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface CommonEngineOptions {
3434

3535
export interface CommonEngineRenderOptions {
3636
/** A method that when invoked returns a promise that returns an `ApplicationRef` instance once resolved or an NgModule. */
37-
bootstrap?: Type<{}> | (() => Promise<ApplicationRef>);
37+
bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>);
3838

3939
/** A set of platform level providers for the current request. */
4040
providers?: StaticProvider[];

packages/angular/ssr/src/common-engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface CommonEngineOptions {
3333

3434
export interface CommonEngineRenderOptions {
3535
/** A method that when invoked returns a promise that returns an `ApplicationRef` instance once resolved or an NgModule. */
36-
bootstrap?: Type<{}> | (() => Promise<ApplicationRef>);
36+
bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>);
3737
/** A set of platform level providers for the current request. */
3838
providers?: StaticProvider[];
3939
url?: string;

packages/angular_devkit/build_angular/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ ts_library(
133133
"@npm//@angular/compiler-cli",
134134
"@npm//@angular/core",
135135
"@npm//@angular/localize",
136+
"@npm//@angular/platform-browser",
136137
"@npm//@angular/platform-server",
137138
"@npm//@angular/service-worker",
138139
"@npm//@babel/core",

packages/angular_devkit/build_angular/src/builders/app-shell/render-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interface ServerBundleExports {
3434
renderApplication?: typeof renderApplication;
3535

3636
/** Standalone application bootstrapping function. */
37-
default?: () => Promise<ApplicationRef>;
37+
default?: (context: BootstrapContext) => Promise<ApplicationRef>;
3838
}
3939

4040
/**

packages/angular_devkit/build_angular/src/builders/prerender/render-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ interface ServerBundleExports {
4343
renderApplication?: typeof renderApplication;
4444

4545
/** Standalone application bootstrapping function. */
46-
default?: (() => Promise<ApplicationRef>) | Type<unknown>;
46+
default?: ((context: BootstrapContext) => Promise<ApplicationRef>) | Type<unknown>;
4747
}
4848

4949
/**

packages/angular_devkit/build_angular/src/builders/prerender/routes-extractor-worker.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88

99
import type { ApplicationRef, Type } from '@angular/core';
10+
import type { BootstrapContext } from '@angular/platform-browser';
1011
import assert from 'node:assert';
1112
import * as fs from 'node:fs';
1213
import * as path from 'node:path';
@@ -24,11 +25,13 @@ interface ServerBundleExports {
2425
AppServerModule?: Type<unknown>;
2526

2627
/** Standalone application bootstrapping function. */
27-
default?: (() => Promise<ApplicationRef>) | Type<unknown>;
28+
default?: ((context: BootstrapContext) => Promise<ApplicationRef>) | Type<unknown>;
2829

2930
/** Method to extract routes from the router config. */
3031
extractRoutes(
31-
bootstrapFunctionOrModule: (() => Promise<ApplicationRef>) | Type<unknown>,
32+
bootstrapFunctionOrModule:
33+
| ((context: BootstrapContext) => Promise<ApplicationRef>)
34+
| Type<unknown>,
3235
document: string,
3336
): AsyncIterable<{ success: boolean; route: string }>;
3437
}

packages/ngtools/webpack/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
},
2828
"devDependencies": {
2929
"@angular-devkit/core": "0.0.0-PLACEHOLDER",
30-
"@angular/compiler": "18.2.0-rc.0",
31-
"@angular/compiler-cli": "18.2.0-rc.0",
30+
"@angular/compiler": "18.2.14",
31+
"@angular/compiler-cli": "18.2.14",
3232
"typescript": "5.5.4",
3333
"webpack": "5.93.0"
3434
}

0 commit comments

Comments
 (0)