[frontend] Version bump angular/core and angular/cli to 15

This commit is contained in:
ogdbd3h5qze42igcv8wcrqk3 2023-03-18 15:30:46 +01:00
parent 401b4f32b1
commit 038a4bf976
5 changed files with 1324 additions and 1551 deletions

File diff suppressed because it is too large Load diff

View file

@ -12,27 +12,27 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^14.3.0",
"@angular/animations": "^15.2.3",
"@angular/cdk": "^14.2.7",
"@angular/common": "^14.3.0",
"@angular/compiler": "^14.3.0",
"@angular/core": "^14.3.0",
"@angular/forms": "^14.3.0",
"@angular/localize": "^14.3.0",
"@angular/common": "^15.2.3",
"@angular/compiler": "^15.2.3",
"@angular/core": "^15.2.3",
"@angular/forms": "^15.2.3",
"@angular/localize": "^15.2.3",
"@angular/material": "^14.2.7",
"@angular/platform-browser": "^14.3.0",
"@angular/platform-browser-dynamic": "^14.3.0",
"@angular/router": "^14.3.0",
"@angular/platform-browser": "^15.2.3",
"@angular/platform-browser-dynamic": "^15.2.3",
"@angular/router": "^15.2.3",
"ng2-search-filter": "^0.5.1",
"rxjs": "~6.5.4",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.2.11",
"@angular/cli": "^14.2.11",
"@angular/compiler-cli": "^14.3.0",
"@angular/language-service": "^14.3.0",
"@angular-devkit/build-angular": "^15.2.4",
"@angular/cli": "^15.2.4",
"@angular/compiler-cli": "^15.2.3",
"@angular/language-service": "^15.2.3",
"@openapitools/openapi-generator-cli": "^1.0.18-5.0.0-beta2",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
@ -49,6 +49,6 @@
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.6.4"
"typescript": "~4.9.5"
}
}

View file

@ -28,7 +28,7 @@ const routes: Routes = [
];
@NgModule({
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' }), SharedModule],
imports: [RouterModule.forRoot(routes, {}), SharedModule],
exports: [RouterModule],
})
export class AppRoutingModule {}

View file

@ -7,13 +7,6 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: {
context(path: string, deep?: boolean, filter?: RegExp): {
keys(): string[];
<T>(id: string): T;
};
};
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
@ -21,7 +14,3 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);

View file

@ -10,11 +10,12 @@
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2020",
"target": "ES2022",
"lib": [
"es2018",
"dom"
]
],
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,