diff --git a/ponyracer/angular.json b/ponyracer/angular.json index f1b4ae1..3b6fb20 100644 --- a/ponyracer/angular.json +++ b/ponyracer/angular.json @@ -1,6 +1,9 @@ { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, + "cli": { + "packageManager": "npm" + }, "newProjectRoot": "projects", "projects": { "ponyracer": { @@ -14,9 +17,6 @@ "builder": "@angular/build:application", "options": { "browser": "src/main.ts", - "polyfills": [ - "zone.js" - ], "tsConfig": "tsconfig.app.json", "assets": [ { @@ -75,10 +75,6 @@ "test": { "builder": "@angular/build:karma", "options": { - "polyfills": [ - "zone.js", - "zone.js/testing" - ], "tsConfig": "tsconfig.spec.json", "assets": [ { diff --git a/ponyracer/package.json b/ponyracer/package.json index 4424074..0705c3e 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -22,6 +22,7 @@ ] }, "private": true, + "packageManager": "npm@10.9.3", "dependencies": { "@angular/common": "^21.0.0-next.0", "@angular/compiler": "^21.0.0-next.0", @@ -30,15 +31,14 @@ "@angular/platform-browser": "^21.0.0-next.0", "@angular/platform-server": "^21.0.0-next.0", "@angular/router": "^21.0.0-next.0", - "@angular/ssr": "^21.0.0-next.4", + "@angular/ssr": "^21.0.0-next.5", "express": "^5.1.0", "rxjs": "~7.8.0", - "tslib": "^2.3.0", - "zone.js": "~0.15.0" + "tslib": "^2.3.0" }, "devDependencies": { - "@angular/build": "^21.0.0-next.4", - "@angular/cli": "^21.0.0-next.4", + "@angular/build": "^21.0.0-next.5", + "@angular/cli": "^21.0.0-next.5", "@angular/compiler-cli": "^21.0.0-next.0", "@types/express": "^5.0.1", "@types/jasmine": "~5.1.0", diff --git a/ponyracer/src/app/app.config.ts b/ponyracer/src/app/app.config.ts index 969812a..797642e 100644 --- a/ponyracer/src/app/app.config.ts +++ b/ponyracer/src/app/app.config.ts @@ -1,4 +1,4 @@ -import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZoneChangeDetection } from '@angular/core'; +import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; @@ -7,7 +7,6 @@ import { provideClientHydration, withEventReplay } from '@angular/platform-brows export const appConfig: ApplicationConfig = { providers: [ provideBrowserGlobalErrorListeners(), - provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes), provideClientHydration(withEventReplay()) ] };