chore(angular-15): update to angular 15

This commit is contained in:
d.strigo 2023-10-26 18:02:56 +02:00
parent e06d9bd02d
commit 00097a4c07
4 changed files with 2625 additions and 2412 deletions

4997
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -30,16 +30,16 @@
"postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points --tsconfig \"./src/tsconfig.app.json\"" "postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points --tsconfig \"./src/tsconfig.app.json\""
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^14.2.12", "@angular/animations": "^15.2.10",
"@angular/cdk": "12.1.0", "@angular/cdk": "12.1.0",
"@angular/common": "^14.2.12", "@angular/common": "^15.2.10",
"@angular/compiler": "^14.2.12", "@angular/compiler": "^15.2.10",
"@angular/core": "^14.2.12", "@angular/core": "^15.2.10",
"@angular/forms": "^14.2.12", "@angular/forms": "^15.2.10",
"@angular/google-maps": "^12.2.13", "@angular/google-maps": "^12.2.13",
"@angular/platform-browser": "^14.2.12", "@angular/platform-browser": "^15.2.10",
"@angular/platform-browser-dynamic": "^14.2.12", "@angular/platform-browser-dynamic": "^15.2.10",
"@angular/router": "^14.2.12", "@angular/router": "^15.2.10",
"@asymmetrik/ngx-leaflet": "3.0.1", "@asymmetrik/ngx-leaflet": "3.0.1",
"@nebular/auth": "10.0.0", "@nebular/auth": "10.0.0",
"@nebular/eva-icons": "10.0.0", "@nebular/eva-icons": "10.0.0",
@ -77,15 +77,15 @@
"zone.js": "~0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^14.2.10", "@angular-devkit/build-angular": "^15.2.10",
"@angular-eslint/builder": "14.4.0", "@angular-eslint/builder": "14.4.0",
"@angular-eslint/eslint-plugin": "14.4.0", "@angular-eslint/eslint-plugin": "14.4.0",
"@angular-eslint/eslint-plugin-template": "14.4.0", "@angular-eslint/eslint-plugin-template": "14.4.0",
"@angular-eslint/schematics": "14.4.0", "@angular-eslint/schematics": "14.4.0",
"@angular-eslint/template-parser": "14.4.0", "@angular-eslint/template-parser": "14.4.0",
"@angular/cli": "^14.2.10", "@angular/cli": "^15.2.10",
"@angular/compiler-cli": "^14.2.12", "@angular/compiler-cli": "^15.2.10",
"@angular/language-service": "14.2.12", "@angular/language-service": "15.2.10",
"@compodoc/compodoc": "1.0.1", "@compodoc/compodoc": "1.0.1",
"@fortawesome/fontawesome-free": "^5.2.0", "@fortawesome/fontawesome-free": "^5.2.0",
"@types/d3-color": "1.0.5", "@types/d3-color": "1.0.5",
@ -114,6 +114,6 @@
"ts-node": "3.2.2", "ts-node": "3.2.2",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"tslint-language-service": "^0.9.9", "tslint-language-service": "^0.9.9",
"typescript": "~4.6.4" "typescript": "~4.9.5"
} }
} }

View file

@ -20,7 +20,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 const __karma__: any; declare const __karma__: any;
declare const require: any;
// Prevent Karma from running prematurely. // Prevent Karma from running prematurely.
__karma__.loaded = function () {}; __karma__.loaded = function () {};
@ -32,9 +31,5 @@ getTestBed().initTestEnvironment(
teardown: { destroyAfterEach: false }, teardown: { destroyAfterEach: false },
}, },
); );
// 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. // Finally, start Karma to run the tests.
__karma__.start(); __karma__.start();

View file

@ -8,7 +8,7 @@
"declaration": false, "declaration": false,
"moduleResolution": "node", "moduleResolution": "node",
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es2020", "target": "ES2022",
"typeRoots": [ "typeRoots": [
"node_modules/@types" "node_modules/@types"
], ],
@ -17,7 +17,10 @@
"dom" "dom"
], ],
"plugins": [ "plugins": [
{ "name": "tslint-language-service"} {
] "name": "tslint-language-service"
}
],
"useDefineForClassFields": false
} }
} }