udpate angular core and cli to 15
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
|
|
||||||
# For additional information regarding the format and rule options, please see:
|
|
||||||
# https://github.com/browserslist/browserslist#queries
|
|
||||||
|
|
||||||
# For the full list of supported browsers by the Angular framework, please see:
|
|
||||||
# https://angular.io/guide/browser-support
|
|
||||||
|
|
||||||
# You can see what browsers were selected by your queries by running:
|
|
||||||
# npx browserslist
|
|
||||||
|
|
||||||
last 1 Chrome version
|
|
||||||
last 1 Firefox version
|
|
||||||
last 2 Edge major versions
|
|
||||||
last 2 Safari major versions
|
|
||||||
last 2 iOS major versions
|
|
||||||
Firefox ESR
|
|
||||||
5508
pdb-js/package-lock.json
generated
5508
pdb-js/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -13,16 +13,16 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^14.2.5",
|
"@angular/animations": "^15.0.2",
|
||||||
"@angular/cdk": "^14.2.4",
|
"@angular/cdk": "^14.2.4",
|
||||||
"@angular/common": "^14.2.5",
|
"@angular/common": "^15.0.2",
|
||||||
"@angular/compiler": "^14.2.5",
|
"@angular/compiler": "^15.0.2",
|
||||||
"@angular/core": "^14.2.5",
|
"@angular/core": "^15.0.2",
|
||||||
"@angular/forms": "^14.2.5",
|
"@angular/forms": "^15.0.2",
|
||||||
"@angular/material": "^14.2.4",
|
"@angular/material": "^14.2.4",
|
||||||
"@angular/platform-browser": "^14.2.5",
|
"@angular/platform-browser": "^15.0.2",
|
||||||
"@angular/platform-browser-dynamic": "^14.2.5",
|
"@angular/platform-browser-dynamic": "^15.0.2",
|
||||||
"@angular/router": "^14.2.5",
|
"@angular/router": "^15.0.2",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"rxjs": "~7.5.0",
|
"rxjs": "~7.5.0",
|
||||||
"rxjs-compat": "^6.6.7",
|
"rxjs-compat": "^6.6.7",
|
||||||
@@ -30,9 +30,9 @@
|
|||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^14.2.5",
|
"@angular-devkit/build-angular": "^15.0.2",
|
||||||
"@angular/cli": "^14.2.5",
|
"@angular/cli": "^15.0.2",
|
||||||
"@angular/compiler-cli": "^14.2.5",
|
"@angular/compiler-cli": "^15.0.2",
|
||||||
"@types/jasmine": "~3.10.0",
|
"@types/jasmine": "~3.10.0",
|
||||||
"@types/node": "^12.11.1",
|
"@types/node": "^12.11.1",
|
||||||
"jasmine-core": "~3.10.0",
|
"jasmine-core": "~3.10.0",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const routes: Routes = [
|
|||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })
|
RouterModule.forRoot(routes, {})
|
||||||
],
|
],
|
||||||
//declarations: [VisualizationPageComponent],
|
//declarations: [VisualizationPageComponent],
|
||||||
declarations: [],
|
declarations: [],
|
||||||
|
|||||||
@@ -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): {
|
|
||||||
<T>(id: string): T;
|
|
||||||
keys(): string[];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
// 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);
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user