upgrade ng 14 to 15: update core packages

This commit is contained in:
bmartins 2023-03-15 16:14:05 +01:00
parent 3658132ec6
commit bae08734f1
4 changed files with 798 additions and 1350 deletions

View File

@ -36,17 +36,17 @@
}, },
"private": false, "private": false,
"dependencies": { "dependencies": {
"@angular/animations": "^14.3.0", "@angular/animations": "^15.2.2",
"@angular/cdk": "^14.2.7", "@angular/cdk": "^14.2.7",
"@angular/common": "^14.3.0", "@angular/common": "^15.2.2",
"@angular/compiler": "^14.3.0", "@angular/compiler": "^15.2.2",
"@angular/core": "^14.3.0", "@angular/core": "^15.2.2",
"@angular/forms": "^14.3.0", "@angular/forms": "^15.2.2",
"@angular/localize": "^14.3.0", "@angular/localize": "^15.2.2",
"@angular/material": "^14.2.7", "@angular/material": "^14.2.7",
"@angular/platform-browser": "^14.3.0", "@angular/platform-browser": "^15.2.2",
"@angular/platform-browser-dynamic": "^14.3.0", "@angular/platform-browser-dynamic": "^15.2.2",
"@angular/router": "^14.3.0", "@angular/router": "^15.2.2",
"@biesbjerg/ngx-translate-extract": "^7.0.3", "@biesbjerg/ngx-translate-extract": "^7.0.3",
"@biesbjerg/ngx-translate-po-http-loader": "^3.1.0", "@biesbjerg/ngx-translate-po-http-loader": "^3.1.0",
"@fullcalendar/core": "^4.4.0", "@fullcalendar/core": "^4.4.0",
@ -79,10 +79,10 @@
}, },
"devDependencies": { "devDependencies": {
"@angular-builders/jest": "^9.0.1", "@angular-builders/jest": "^9.0.1",
"@angular-devkit/build-angular": "^14.2.10", "@angular-devkit/build-angular": "^15.2.3",
"@angular/cli": "^14.2.10", "@angular/cli": "^15.2.3",
"@angular/compiler-cli": "^14.3.0", "@angular/compiler-cli": "^15.2.2",
"@angular/language-service": "^14.3.0", "@angular/language-service": "^15.2.2",
"@babel/core": "^7.9.0", "@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5", "@babel/preset-env": "^7.9.5",
"@babel/preset-typescript": "^7.9.0", "@babel/preset-typescript": "^7.9.0",
@ -108,7 +108,7 @@
"ts-jest": "^26.0.0", "ts-jest": "^26.0.0",
"ts-mockito": "^2.5.0", "ts-mockito": "^2.5.0",
"ts-node": "^8.10.1", "ts-node": "^8.10.1",
"typescript": "4.6.4" "typescript": "4.9.5"
}, },
"husky": { "husky": {
"hooks": { "hooks": {

View File

@ -7,7 +7,6 @@ import { routes } from './routes-framadate';
RouterModule.forRoot(routes, { RouterModule.forRoot(routes, {
useHash: true, useHash: true,
anchorScrolling: 'enabled', anchorScrolling: 'enabled',
relativeLinkResolution: 'legacy',
}), }),
], ],
exports: [RouterModule], exports: [RouterModule],

View File

@ -1,19 +1,25 @@
{ {
"compileOnSave": false, "compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"baseUrl": "./", "baseUrl": "./",
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"downlevelIteration": true, "downlevelIteration": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"module": "es2020", "module": "es2020",
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,
"target": "es2020", "target": "ES2022",
"types": ["node", "jest"], "types": [
"typeRoots": ["node_modules/@types"] "node",
}, "jest"
],
"typeRoots": [
"node_modules/@types"
],
"useDefineForClassFields": false
},
"angularCompilerOptions": { "angularCompilerOptions": {
"fullTemplateTypeCheck": true, "fullTemplateTypeCheck": true,
"strictInjectionParameters": true, "strictInjectionParameters": true,

2087
yarn.lock

File diff suppressed because it is too large Load Diff