Update to Angular 15

This commit is contained in:
Nathanael Anderson
2024-02-22 15:23:51 -06:00
parent 6c3ef0c7f4
commit fa9d3744e0
5 changed files with 1061 additions and 1216 deletions
+14 -14
View File
@@ -17,15 +17,15 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^14.3.0",
"@angular/common": "^14.3.0",
"@angular/compiler": "^14.3.0",
"@angular/core": "^14.3.0",
"@angular/forms": "^14.3.0",
"@angular/platform-browser": "^14.3.0",
"@angular/platform-browser-dynamic": "^14.3.0",
"@angular/platform-server": "^14.3.0",
"@angular/router": "^14.3.0",
"@angular/animations": "^15.2.10",
"@angular/common": "^15.2.10",
"@angular/compiler": "^15.2.10",
"@angular/core": "^15.2.10",
"@angular/forms": "^15.2.10",
"@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^15.2.10",
"@angular/platform-server": "^15.2.10",
"@angular/router": "^15.2.10",
"@simonwep/pickr": "^1.0.0-beta",
"@types/hammerjs": "^2.0.45",
"@types/jquery": "^3.5.29",
@@ -47,10 +47,10 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.2.13",
"@angular/cli": "^14.2.13",
"@angular/compiler-cli": "^14.3.0",
"@angular/language-service": "^14.3.0",
"@angular-devkit/build-angular": "^15.2.10",
"@angular/cli": "^15.2.10",
"@angular/compiler-cli": "^15.2.10",
"@angular/language-service": "^15.2.10",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
@@ -68,7 +68,7 @@
"rxjs-tslint": "^0.1.7",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "4.6.4",
"typescript": "4.9.5",
"webpack": "^5.90.3"
}
}
+1 -1
View File
@@ -57,7 +57,7 @@ import { StreamOptionsComponent } from './stream-options/stream-options.componen
BrowserModule,
DragulaModule.forRoot(),
FormsModule,
RouterModule.forRoot(AppRoutes, { useHash: true, relativeLinkResolution: 'legacy' }),
RouterModule.forRoot(AppRoutes, { useHash: true }),
MzTooltipModule,
MzModalModule,
MzButtonModule,
-6
View File
@@ -7,8 +7,6 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
@@ -16,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);
+3 -2
View File
@@ -8,7 +8,7 @@
"module": "es2020",
"moduleResolution": "node",
"experimentalDecorators": true,
"target": "es2020",
"target": "ES2022",
"typeRoots": [
"node_modules/@types"
],
@@ -24,6 +24,7 @@
"lib": [
"es2017",
"dom"
]
],
"useDefineForClassFields": false
}
}
+1043 -1193
View File
File diff suppressed because it is too large Load Diff