From 30b37a14ddeb8df76b89abe282c07372dfc216d9 Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Fri, 3 Jan 2025 16:20:51 +0000 Subject: [PATCH] chore: version 18.0.0-next.2 --- ponyracer/package.json | 6 +++--- ponyracer/server.ts | 2 +- ponyracer/src/app/app.config.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ponyracer/package.json b/ponyracer/package.json index c2caf44..821ed66 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -20,15 +20,15 @@ "@angular/platform-browser-dynamic": "^18.0.0-next.0", "@angular/platform-server": "^18.0.0-next.0", "@angular/router": "^18.0.0-next.0", - "@angular/ssr": "^18.0.0-next.1", + "@angular/ssr": "^18.0.0-next.2", "express": "^4.18.2", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.3" }, "devDependencies": { - "@angular-devkit/build-angular": "^18.0.0-next.1", - "@angular/cli": "^18.0.0-next.1", + "@angular-devkit/build-angular": "^18.0.0-next.2", + "@angular/cli": "^18.0.0-next.2", "@angular/compiler-cli": "^18.0.0-next.0", "@types/express": "^4.17.17", "@types/jasmine": "~5.1.0", diff --git a/ponyracer/server.ts b/ponyracer/server.ts index 721d0d4..7083b14 100644 --- a/ponyracer/server.ts +++ b/ponyracer/server.ts @@ -44,7 +44,7 @@ export function app(): express.Express { } function run(): void { - const port = process.env['SSR_PORT'] || 4000; + const port = process.env['PORT'] || 4000; // Start up the Node server const server = app(); diff --git a/ponyracer/src/app/app.config.ts b/ponyracer/src/app/app.config.ts index e5a3cf1..52cd710 100644 --- a/ponyracer/src/app/app.config.ts +++ b/ponyracer/src/app/app.config.ts @@ -1,9 +1,9 @@ -import { ApplicationConfig } from '@angular/core'; +import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; import { provideClientHydration } from '@angular/platform-browser'; export const appConfig: ApplicationConfig = { - providers: [provideRouter(routes), provideClientHydration()] + providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes), provideClientHydration()] };