Skip to content

Commit 728dd52

Browse files
chore: upgrade to angular v21 and node v24
1 parent 8a453a3 commit 728dd52

7 files changed

Lines changed: 1556 additions & 1135 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: '20'
16+
node-version: '24'
1717
cache: 'npm'
1818
- run: npm ci
1919
- run: npm run lint

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: '20'
22+
node-version: '24'
2323
cache: 'npm'
2424
- run: npm ci
2525
- run: npm run test -- --watch=false --progress=false --browsers=ChromeHeadless

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine
1+
FROM node:24-alpine
22

33
WORKDIR /usr/src/app
44
COPY package*.json ./

client/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import { provideZoneChangeDetection } from "@angular/core";
12
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
23

34
import { AppModule } from './app/app.module';
45

56

6-
platformBrowserDynamic().bootstrapModule(AppModule)
7+
platformBrowserDynamic().bootstrapModule(AppModule, { applicationProviders: [provideZoneChangeDetection()], })
78
.catch(err => console.error(err));

0 commit comments

Comments
 (0)