Skip to content

Commit

Permalink
angular version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
wardviaene committed May 5, 2023
1 parent 2efd7ae commit e609bb2
Show file tree
Hide file tree
Showing 8 changed files with 13,877 additions and 11,914 deletions.
7 changes: 0 additions & 7 deletions webapp/.browserslistrc

This file was deleted.

25,732 changes: 13,853 additions & 11,879 deletions webapp/package-lock.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
},
"private": true,
"dependencies": {
"@angular-devkit/build-angular": "^14.2.4",
"@angular/animations": "^14.2.12",
"@angular/cdk": "^14.0.4",
"@angular/common": "^14.2.12",
"@angular/compiler": "^14.2.12",
"@angular/core": "^14.2.12",
"@angular/forms": "^14.2.12",
"@angular/localize": "^14.2.12",
"@angular/material": "^14.0.4",
"@angular/platform-browser": "^14.2.12",
"@angular/platform-browser-dynamic": "^14.2.12",
"@angular/platform-server": "^14.2.12",
"@angular/router": "^14.2.12",
"@ng-bootstrap/ng-bootstrap": "^13.0.0-beta.1",
"@angular-devkit/build-angular": "^15.2.8",
"@angular/animations": "^15.2.9",
"@angular/cdk": "^15.2.9",
"@angular/common": "^15.2.9",
"@angular/compiler": "^15.2.9",
"@angular/core": "^15.2.9",
"@angular/forms": "^15.2.9",
"@angular/localize": "^15.2.9",
"@angular/material": "^15.2.9",
"@angular/platform-browser": "^15.2.9",
"@angular/platform-browser-dynamic": "^15.2.9",
"@angular/platform-server": "^15.2.9",
"@angular/router": "^15.2.9",
"@ng-bootstrap/ng-bootstrap": "^14.1.1",
"@schematics/angular": "^8.3.29",
"awesome-bootstrap-checkbox": "^1.0.1",
"bootstrap": "^4.4.1",
Expand All @@ -49,9 +49,9 @@
"terser": ">=5.14.2"
},
"devDependencies": {
"@angular/cli": "^14.2.4",
"@angular/compiler-cli": "^14.2.12",
"@angular/language-service": "^14.2.12",
"@angular/cli": "^15.2.8",
"@angular/compiler-cli": "^15.2.9",
"@angular/language-service": "^15.2.9",
"@types/jasmine": "^3.3.16",
"@types/jasminewd2": "^2.0.8",
"@types/node": "^12.11.1",
Expand All @@ -69,7 +69,7 @@
"protractor": "^7.0.0",
"ts-node": "~7.0.1",
"tslint": "^6.1.3",
"typescript": "^4.7.4",
"typescript": "^4.9.5",
"webpack-subresource-integrity": "^1.5.2",
"terser": ">=5.14.2"
}
Expand Down
3 changes: 2 additions & 1 deletion webapp/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ const appRoutes: Routes = [
FormsModule,
RouterModule.forRoot(
appRoutes,
{ enableTracing: false, relativeLinkResolution: 'legacy' } // <-- debugging purposes only
{ enableTracing: false } // <-- debugging purposes only
// <-- debugging purposes only
// <-- debugging purposes only
),
NgbModule
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/app/service-detail/service-detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export class ServiceDetailComponent implements OnInit {
this.sds.getServiceLog(params).subscribe(data => {
this.loadingLogs = false
if("error" in data) {
let errorMsg: string = data["error"]
let errorMsg: string = data["error"] as string
if(errorMsg == "") {
this.alertService.error("Error, but error message was empty");
} else {
Expand Down
5 changes: 0 additions & 5 deletions webapp/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {

// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
declare const __karma__: any;
declare const require: any;

// Prevent Karma from running prematurely.
__karma__.loaded = function () {};
Expand All @@ -24,9 +23,5 @@ getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
// Finally, start Karma to run the tests.
__karma__.start();
1 change: 0 additions & 1 deletion webapp/src/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"outDir": "../out-tsc/spec",
"baseUrl": "./",
"target": "es2020",
"types": [
"jasmine",
"node"
Expand Down
5 changes: 3 additions & 2 deletions webapp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"declaration": false,
"moduleResolution": "node",
"experimentalDecorators": true,
"target": "es2020",
"target": "ES2022",
"typeRoots": [
"node_modules/@types"
],
Expand All @@ -15,6 +15,7 @@
"dom"
],
"module": "esnext",
"baseUrl": "./"
"baseUrl": "./",
"useDefineForClassFields": false
}
}

0 comments on commit e609bb2

Please sign in to comment.