Angular 22 upgrade
All checks were successful
Deploy dzanan.net / deploy (push) Successful in 52s

This commit is contained in:
amar.dzanan
2026-09-06 20:16:55 +02:00
parent e64239fbae
commit 886292aca9
6 changed files with 2736 additions and 2873 deletions

View File

5472
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,56 +1,57 @@
{
"name": "dzanan.net",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"serve:ssr:dzanan.net": "node dist/dzanan.net/server/server.mjs"
},
"prettier": {
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
},
"private": true,
"dependencies": {
"@angular/cdk": "^21.2.11",
"@angular/common": "^21.2.13",
"@angular/compiler": "^21.2.13",
"@angular/core": "^21.2.13",
"@angular/forms": "^21.2.13",
"@angular/platform-browser": "^21.2.13",
"@angular/platform-server": "^21.2.13",
"@angular/router": "^21.2.13",
"@angular/ssr": "^21.2.11",
"@tailwindcss/postcss": "^4.1.17",
"express": "^5.1.0",
"postcss": "^8.5.6",
"rxjs": "~7.8.0",
"tailwindcss": "^4.1.17",
"tslib": "^2.3.0"
},
"devDependencies": {
"@angular/build": "^21.2.11",
"@angular/cli": "^21.2.11",
"@angular/compiler-cli": "^21.2.13",
"@types/express": "^5.0.1",
"@types/jasmine": "~5.1.0",
"@types/node": "^20.17.19",
"jasmine-core": "~5.8.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"postcss": "^8.5.3",
"typescript": "~5.9.3"
}
}
{
"name": "dzanan.net",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"serve:ssr:dzanan.net": "node dist/dzanan.net/server/server.mjs"
},
"prettier": {
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
},
"private": true,
"dependencies": {
"@angular/cdk": "^22.1.5",
"@angular/common": "^22.1.5",
"@angular/compiler": "^22.1.5",
"@angular/core": "^22.1.5",
"@angular/forms": "^22.1.5",
"@angular/platform-browser": "^22.1.5",
"@angular/platform-server": "^22.1.5",
"@angular/router": "^22.1.5",
"@angular/ssr": "^22.1.7",
"@tailwindcss/postcss": "^4.1.17",
"express": "^5.1.0",
"postcss": "^8.5.6",
"rxjs": "~7.8.0",
"tailwindcss": "^4.1.17",
"tslib": "^2.3.0"
},
"devDependencies": {
"@angular/build": "^22.1.7",
"@angular/cli": "^22.1.7",
"@angular/compiler-cli": "^22.1.5",
"@types/express": "^5.0.1",
"@types/jasmine": "~5.1.0",
"@types/node": "^20.17.19",
"istanbul-lib-instrument": "^6.0.3",
"jasmine-core": "~5.8.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"postcss": "^8.5.3",
"typescript": "~6.0.3"
}
}

View File

@@ -2,7 +2,7 @@ import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZonelessC
import { provideRouter, withInMemoryScrolling } from '@angular/router';
import { routes } from './app.routes';
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
import { provideClientHydration, withEventReplay, withNoIncrementalHydration } from '@angular/platform-browser';
export const appConfig: ApplicationConfig = {
providers: [
@@ -14,6 +14,6 @@ export const appConfig: ApplicationConfig = {
scrollPositionRestoration: 'enabled'
})
),
provideClientHydration(withEventReplay())
provideClientHydration(withEventReplay(), withNoIncrementalHydration())
]
};

View File

@@ -13,5 +13,13 @@
],
"exclude": [
"src/**/*.spec.ts"
]
],
"angularCompilerOptions": {
"extendedDiagnostics": {
"checks": {
"nullishCoalescingNotNullable": "suppress",
"optionalChainNotNullable": "suppress"
}
}
}
}

View File

@@ -10,5 +10,13 @@
},
"include": [
"src/**/*.ts"
]
],
"angularCompilerOptions": {
"extendedDiagnostics": {
"checks": {
"nullishCoalescingNotNullable": "suppress",
"optionalChainNotNullable": "suppress"
}
}
}
}