update to angular 15

This commit is contained in:
2023-09-07 15:41:38 -05:00
parent 3368536d85
commit 0ab3646c88
4 changed files with 2543 additions and 2686 deletions
+2530 -2662
View File
File diff suppressed because it is too large Load Diff
+10 -10
View File
@@ -10,21 +10,21 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^14.2.10", "@angular/animations": "^15.2.9",
"@angular/common": "^14.2.10", "@angular/common": "^15.2.9",
"@angular/compiler": "^14.2.10", "@angular/compiler": "^15.2.9",
"@angular/core": "^14.2.10", "@angular/core": "^15.2.9",
"@angular/platform-browser": "^14.2.10", "@angular/platform-browser": "^15.2.9",
"@angular/platform-browser-dynamic": "^14.2.10", "@angular/platform-browser-dynamic": "^15.2.9",
"luxon": "^2.5.0", "luxon": "^2.5.0",
"rxjs": "~7.4.0", "rxjs": "~7.4.0",
"tslib": "^2.4.1", "tslib": "^2.4.1",
"zone.js": "^0.11.8" "zone.js": "^0.11.8"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^14.2.9", "@angular-devkit/build-angular": "^15.2.9",
"@angular/cli": "^14.2.9", "@angular/cli": "^15.2.9",
"@angular/compiler-cli": "^14.2.10", "@angular/compiler-cli": "^15.2.9",
"@types/jasmine": "^3.10.6", "@types/jasmine": "^3.10.6",
"@types/luxon": "^2.4.0", "@types/luxon": "^2.4.0",
"@types/node": "^12.20.55", "@types/node": "^12.20.55",
@@ -36,4 +36,4 @@
"karma-jasmine-html-reporter": "~1.7.0", "karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.8.4" "typescript": "~4.8.4"
} }
} }
-12
View File
@@ -7,20 +7,8 @@ import {
platformBrowserDynamicTesting platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing'; } 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. // First, initialize the Angular testing environment.
getTestBed().initTestEnvironment( getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting(), platformBrowserDynamicTesting(),
); );
// 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
@@ -16,12 +16,13 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,
"target": "es2020", "target": "ES2022",
"module": "es2020", "module": "es2020",
"lib": [ "lib": [
"es2020", "es2020",
"dom" "dom"
] ],
"useDefineForClassFields": false
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false, "enableI18nLegacyMessageIdFormat": false,