diff --git a/ponyracer/package.json b/ponyracer/package.json index 9bccd16..c0ee4d5 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -6,7 +6,8 @@ "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", - "test": "ng test" + "test": "ng test", + "serve:ssr:ponyracer": "node dist/ponyracer/server/server.mjs" }, "private": true, "dependencies": { @@ -19,15 +20,15 @@ "@angular/platform-browser-dynamic": "^17.0.0", "@angular/platform-server": "^17.0.0", "@angular/router": "^17.0.0", - "@angular/ssr": "^17.0.0", + "@angular/ssr": "^17.0.1", "express": "^4.18.2", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.2" }, "devDependencies": { - "@angular-devkit/build-angular": "^17.0.0", - "@angular/cli": "^17.0.0", + "@angular-devkit/build-angular": "^17.0.1", + "@angular/cli": "^17.0.1", "@angular/compiler-cli": "^17.0.0", "@types/express": "^4.17.17", "@types/jasmine": "~5.1.0", diff --git a/ponyracer/src/app/app.component.html b/ponyracer/src/app/app.component.html index 390d3bf..1b7f2c3 100644 --- a/ponyracer/src/app/app.component.html +++ b/ponyracer/src/app/app.component.html @@ -227,7 +227,7 @@

Hello, {{ title }}

Congratulations! Your app is running. 🎉

- +
@@ -240,7 +240,7 @@

Hello, {{ title }}

]; track item.title) { diff --git a/ponyracer/src/app/app.component.ts b/ponyracer/src/app/app.component.ts index 1376724..3efc02f 100644 --- a/ponyracer/src/app/app.component.ts +++ b/ponyracer/src/app/app.component.ts @@ -7,7 +7,7 @@ import { RouterOutlet } from '@angular/router'; standalone: true, imports: [CommonModule, RouterOutlet], templateUrl: './app.component.html', - styleUrls: ['./app.component.css'] + styleUrl: './app.component.css' }) export class AppComponent { title = 'ponyracer'; diff --git a/ponyracer/tsconfig.json b/ponyracer/tsconfig.json index 994784b..678336b 100644 --- a/ponyracer/tsconfig.json +++ b/ponyracer/tsconfig.json @@ -12,7 +12,6 @@ "esModuleInterop": true, "sourceMap": true, "declaration": false, - "downlevelIteration": true, "experimentalDecorators": true, "moduleResolution": "node", "importHelpers": true,