Skip to content

Commit 180d0b9

Browse files
committed
chore: bump Angular to 22
1 parent e62ded7 commit 180d0b9

14 files changed

Lines changed: 10035 additions & 11412 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: true
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
ci:
1720
runs-on: ubuntu-latest
1821
steps:
19-
- uses: actions/checkout@v4
20-
- uses: actions/setup-node@v4
22+
- uses: actions/checkout@v6
23+
- uses: actions/setup-node@v6
2124
with:
22-
node-version: 22
25+
node-version: 24
2326
cache: 'npm'
2427
- run: npm ci
25-
- run: npx playwright install-deps
26-
- run: npx playwright install
28+
- run: npx playwright install --with-deps
2729
- run: npm run ci

demos/app-angular-ssr/angular.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"styles": [],
2424
"server": "src/main.server.ts",
2525
"outputMode": "server",
26+
"security": {
27+
"allowedHosts": ["localhost"]
28+
},
2629
"ssr": {
2730
"entry": "src/server.ts"
2831
}
@@ -43,10 +46,10 @@
4346
"builder": "@angular/build:dev-server",
4447
"configurations": {
4548
"production": {
46-
"buildTarget": "app-angular-ssr-2:build:production"
49+
"buildTarget": "app-angular-ssr:build:production"
4750
},
4851
"development": {
49-
"buildTarget": "app-angular-ssr-2:build:development"
52+
"buildTarget": "app-angular-ssr:build:development"
5053
}
5154
},
5255
"defaultConfiguration": "development"

demos/app-angular-ssr/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@
5959
}
6060
},
6161
"dependencies": {
62-
"@angular/platform-server": "^21.0.0",
63-
"@angular/ssr": "^21.0.0",
64-
"express": "^5.1.0"
62+
"@angular/platform-server": "^22.0.0",
63+
"@angular/ssr": "^22.0.0",
64+
"express": "^5.2.1"
6565
},
6666
"devDependencies": {
67-
"@types/express": "^5.0.1",
68-
"@types/node": "^20.19.19"
67+
"@types/express": "^5.0.6",
68+
"@types/node": "^25.9.2"
6969
}
7070
}

demos/app-angular-ssr/src/app/app.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import {
66
import { provideRouter } from '@angular/router';
77

88
import { routes } from './app.routes';
9-
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
9+
import { provideClientHydration } from '@angular/platform-browser';
1010

1111
export const appConfig: ApplicationConfig = {
1212
providers: [
1313
provideBrowserGlobalErrorListeners(),
1414
provideZonelessChangeDetection(),
1515
provideRouter(routes),
16-
provideClientHydration(withEventReplay()),
16+
provideClientHydration(),
1717
],
1818
};

0 commit comments

Comments
 (0)