diff --git a/ponyracer/package.json b/ponyracer/package.json index dafb122..d94785d 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -19,14 +19,14 @@ "@angular/platform-browser": "^22.1.0", "@angular/platform-server": "^22.1.0", "@angular/router": "^22.1.0", - "@angular/ssr": "^22.1.4", + "@angular/ssr": "^22.1.5", "express": "^5.1.0", "rxjs": "~7.8.0", "tslib": "^2.3.0" }, "devDependencies": { - "@angular/build": "^22.1.4", - "@angular/cli": "^22.1.4", + "@angular/build": "^22.1.5", + "@angular/cli": "^22.1.5", "@angular/compiler-cli": "^22.1.0", "@types/express": "^5.0.1", "@types/node": "^20.17.19", diff --git a/ponyracer/src/app/app.config.ts b/ponyracer/src/app/app.config.ts index 0f4fd64..10e386d 100644 --- a/ponyracer/src/app/app.config.ts +++ b/ponyracer/src/app/app.config.ts @@ -1,6 +1,5 @@ import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core'; import { provideRouter } from '@angular/router'; - import { routes } from './app.routes'; import { provideClientHydration } from '@angular/platform-browser'; diff --git a/ponyracer/src/app/app.spec.ts b/ponyracer/src/app/app.spec.ts index 1c33840..217c180 100644 --- a/ponyracer/src/app/app.spec.ts +++ b/ponyracer/src/app/app.spec.ts @@ -5,7 +5,8 @@ describe('App', () => { beforeEach(async () => { await TestBed.configureTestingModule({ imports: [App], - }).compileComponents(); + }) + .compileComponents(); }); it('should create the app', () => { diff --git a/ponyracer/src/app/app.ts b/ponyracer/src/app/app.ts index c6fdc7f..15e5c4c 100644 --- a/ponyracer/src/app/app.ts +++ b/ponyracer/src/app/app.ts @@ -2,10 +2,10 @@ import { Component, signal } from '@angular/core'; import { RouterOutlet } from '@angular/router'; @Component({ - selector: 'app-root', imports: [RouterOutlet], + selector: 'app-root', + styleUrl: './app.css', templateUrl: './app.html', - styleUrl: './app.css' }) export class App { protected readonly title = signal('ponyracer');