Skip to content
Snippets Groups Projects
Commit d21373b9 authored by Kawtar Laariche's avatar Kawtar Laariche
Browse files

#19: :arrow_up: upgrade to Angular 18

parent 12b09147
No related branches found
No related tags found
1 merge request!12Features/user auth manage my models
This diff is collapsed.
...@@ -13,25 +13,25 @@ ...@@ -13,25 +13,25 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^17.0.2", "@angular/animations": "^18.0.2",
"@angular/cdk": "^17.0.0", "@angular/cdk": "^17.0.0",
"@angular/common": "^17.0.2", "@angular/common": "^18.0.2",
"@angular/compiler": "^17.0.2", "@angular/compiler": "^18.0.2",
"@angular/core": "^17.0.2", "@angular/core": "^18.0.2",
"@angular/forms": "^17.0.2", "@angular/forms": "^18.0.2",
"@angular/material": "^17.0.0", "@angular/material": "^17.0.0",
"@angular/platform-browser": "^17.0.2", "@angular/platform-browser": "^18.0.2",
"@angular/platform-browser-dynamic": "^17.0.2", "@angular/platform-browser-dynamic": "^18.0.2",
"@angular/router": "^17.0.2", "@angular/router": "^18.0.2",
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
"rxjs": "~7.8.1", "rxjs": "~7.8.1",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"zone.js": "~0.14.2" "zone.js": "~0.14.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^17.0.0", "@angular-devkit/build-angular": "^18.0.3",
"@angular/cli": "^17.0.0", "@angular/cli": "^18.0.3",
"@angular/compiler-cli": "^17.0.2", "@angular/compiler-cli": "^18.0.2",
"@types/jasmine": "~5.1.2", "@types/jasmine": "~5.1.2",
"eslint": "^8.53.0", "eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-base": "^15.0.0",
...@@ -50,6 +50,6 @@ ...@@ -50,6 +50,6 @@
"karma-jasmine-html-reporter": "~2.1.0", "karma-jasmine-html-reporter": "~2.1.0",
"prettier": "3.1.0", "prettier": "3.1.0",
"puppeteer": "^21.5.1", "puppeteer": "^21.5.1",
"typescript": "~5.2.2" "typescript": "~5.4.5"
} }
} }
\ No newline at end of file
import { inject } from '@angular/core'; import { inject } from '@angular/core';
import { import { HttpHandlerFn, HttpInterceptorFn, HttpRequest } from '@angular/common/http';
HttpHandlerFn,
HttpInterceptorFn,
HttpRequest,
} from '@angular/common/http';
import { switchMap } from 'rxjs/operators'; import { switchMap } from 'rxjs/operators';
import { environment } from 'src/environments/environment'; import { environment } from 'src/environments/environment';
import { JwtTokenService } from '../services/auth/jwt-token.service'; import { JwtTokenService } from '../services/auth/jwt-token.service';
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"baseUrl": "./", "baseUrl": "./",
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"strict": true, "strict": true,
"noImplicitOverride": true, "noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true, "noPropertyAccessFromIndexSignature": true,
...@@ -12,7 +13,6 @@ ...@@ -12,7 +13,6 @@
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment