Skip to content
Snippets Groups Projects
Commit f68c4b0e authored by Dimitrios Chalepakis's avatar Dimitrios Chalepakis
Browse files

angular core to 15

parent 0b953f3e
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -16,16 +16,16 @@ ...@@ -16,16 +16,16 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^14.3.0", "@angular/animations": "^15.2.10",
"@angular/cdk": "^14.2.7", "@angular/cdk": "^14.2.7",
"@angular/common": "^14.3.0", "@angular/common": "^15.2.10",
"@angular/compiler": "^14.3.0", "@angular/compiler": "^15.2.10",
"@angular/core": "^14.3.0", "@angular/core": "^15.2.10",
"@angular/forms": "^14.3.0", "@angular/forms": "^15.2.10",
"@angular/material": "^14.2.7", "@angular/material": "^14.2.7",
"@angular/platform-browser": "^14.3.0", "@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^14.3.0", "@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^14.3.0", "@angular/router": "^15.2.10",
"@auth0/angular-jwt": "3.0.0", "@auth0/angular-jwt": "3.0.0",
"bootstrap": "3.4.1", "bootstrap": "3.4.1",
"classlist.js": "1.1.20150312", "classlist.js": "1.1.20150312",
...@@ -39,9 +39,9 @@ ...@@ -39,9 +39,9 @@
"zone.js": "~0.11.8" "zone.js": "~0.11.8"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^14.2.13", "@angular-devkit/build-angular": "^15.2.10",
"@angular/cli": "^14.2.13", "@angular/cli": "^15.2.10",
"@angular/compiler-cli": "^14.3.0", "@angular/compiler-cli": "^15.2.10",
"@types/jasmine": "2.5.38", "@types/jasmine": "2.5.38",
"@types/jquery": "3.5.19", "@types/jquery": "3.5.19",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
...@@ -58,6 +58,6 @@ ...@@ -58,6 +58,6 @@
"protractor": "~7.0.0", "protractor": "~7.0.0",
"ts-node": "2.0.0", "ts-node": "2.0.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "4.6.4" "typescript": "4.9.5"
} }
} }
\ No newline at end of file
...@@ -25,7 +25,6 @@ import { ...@@ -25,7 +25,6 @@ import {
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. // Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
declare var __karma__: any; declare var __karma__: any;
declare var require: any;
// Prevent Karma from running prematurely. // Prevent Karma from running prematurely.
__karma__.loaded = function () {}; __karma__.loaded = function () {};
...@@ -35,9 +34,5 @@ getTestBed().initTestEnvironment( ...@@ -35,9 +34,5 @@ getTestBed().initTestEnvironment(
BrowserDynamicTestingModule, BrowserDynamicTestingModule,
platformBrowserDynamicTesting() platformBrowserDynamicTesting()
); );
// Then we find all the tests.
const context = require.context('../src', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
// Finally, start Karma to run the tests. // Finally, start Karma to run the tests.
__karma__.start(); __karma__.start();
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es2020", "target": "ES2022",
"typeRoots": [ "typeRoots": [
"node_modules/@types" "node_modules/@types"
], ],
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"es2016", "es2016",
"dom" "dom"
], ],
"module": "es2020" "module": "es2020",
"useDefineForClassFields": false
}, },
"angularCompilerOptions": { "angularCompilerOptions": {
"preserveWhitespaces": "off", "preserveWhitespaces": "off",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment