Skip to content

Commit aab765f

Browse files
alan-agius4alxhub
authored andcommitted
build: update cross-repo angular dependencies (angular#60485)
See associated pull request for more information. Closes angular#60474 as a pr takeover PR Close angular#60485
1 parent 911ad40 commit aab765f

3 files changed

Lines changed: 108 additions & 128 deletions

File tree

adev/src/app/app.config.server.ts

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

99
import {mergeApplicationConfig, ApplicationConfig} from '@angular/core';
10-
import {provideServerRendering} from '@angular/platform-server';
11-
import {provideServerRouting, RenderMode} from '@angular/ssr';
10+
import {provideServerRendering, withRoutes, RenderMode} from '@angular/ssr';
1211
import {appConfig} from './app.config';
1312

1413
const serverConfig: ApplicationConfig = {
15-
providers: [
16-
provideServerRendering(),
17-
provideServerRouting([{path: '**', renderMode: RenderMode.Prerender}]),
18-
],
14+
providers: [provideServerRendering(withRoutes([{path: '**', renderMode: RenderMode.Prerender}]))],
1915
};
2016

2117
export const config = mergeApplicationConfig(appConfig, serverConfig);

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@
4747
},
4848
"// 1": "dependencies are used locally and by bazel",
4949
"dependencies": {
50-
"@angular-devkit/build-angular": "20.0.0-next.1",
51-
"@angular-devkit/core": "20.0.0-next.1",
52-
"@angular-devkit/schematics": "20.0.0-next.1",
53-
"@angular/build": "20.0.0-next.1",
50+
"@angular-devkit/build-angular": "20.0.0-next.2",
51+
"@angular-devkit/core": "20.0.0-next.2",
52+
"@angular-devkit/schematics": "20.0.0-next.2",
53+
"@angular/build": "20.0.0-next.2",
5454
"@angular/cdk": "20.0.0-next.2",
55-
"@angular/cli": "20.0.0-next.1",
55+
"@angular/cli": "20.0.0-next.2",
5656
"@angular/material": "20.0.0-next.2",
57-
"@angular/ssr": "20.0.0-next.1",
57+
"@angular/ssr": "20.0.0-next.2",
5858
"@babel/cli": "7.26.4",
5959
"@babel/core": "7.26.10",
6060
"@babel/generator": "7.26.10",
@@ -71,7 +71,7 @@
7171
"@rollup/plugin-babel": "^6.0.0",
7272
"@rollup/plugin-commonjs": "^28.0.0",
7373
"@rollup/plugin-node-resolve": "^13.0.4",
74-
"@schematics/angular": "20.0.0-next.1",
74+
"@schematics/angular": "20.0.0-next.2",
7575
"@stackblitz/sdk": "^1.11.0",
7676
"@types/angular": "^1.6.47",
7777
"@types/babel__core": "7.20.5",
@@ -159,7 +159,7 @@
159159
"devDependencies": {
160160
"@actions/core": "^1.10.0",
161161
"@actions/github": "^6.0.0",
162-
"@angular-devkit/architect-cli": "0.2000.0-next.1",
162+
"@angular-devkit/architect-cli": "0.2000.0-next.2",
163163
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#ce04ec6cf7604014191821a637e60964a1a3bb4a",
164164
"@angular/core": "^20.0.0-next",
165165
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#d25ced20c12ad010c2b5b560acb78065f8d6564e",

0 commit comments

Comments
 (0)