updating angular core and cli

step 1 of update Angular 10 -> 11
This commit is contained in:
2020-11-23 11:31:45 +01:00
parent 96bf08431f
commit 398774dbd8
15 changed files with 618 additions and 1197 deletions

View File

@@ -44,7 +44,6 @@
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,

1729
pdb-js/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,37 +12,37 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^10.2.3", "@angular/animations": "^11.0.2",
"@angular/cdk": "^10.2.7", "@angular/cdk": "^10.2.7",
"@angular/common": "^10.2.3", "@angular/common": "^11.0.2",
"@angular/compiler": "^10.2.3", "@angular/compiler": "^11.0.2",
"@angular/core": "^10.2.3", "@angular/core": "^11.0.2",
"@angular/forms": "^10.2.3", "@angular/forms": "^11.0.2",
"@angular/material": "^10.2.7", "@angular/material": "^10.2.7",
"@angular/platform-browser": "^10.2.3", "@angular/platform-browser": "^11.0.2",
"@angular/platform-browser-dynamic": "^10.2.3", "@angular/platform-browser-dynamic": "^11.0.2",
"@angular/router": "^10.2.3", "@angular/router": "^11.0.2",
"moment": "^2.29.1", "moment": "^2.29.1",
"rxjs": "^6.6.3", "rxjs": "^6.6.3",
"rxjs-compat": "^6.6.3", "rxjs-compat": "^6.6.3",
"tslib": "^2.0.3", "tslib": "^2.0.0",
"zone.js": "~0.10.2" "zone.js": "~0.10.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^0.1100.1", "@angular-devkit/build-angular": "^0.1100.2",
"@angular/cli": "^10.2.0", "@angular/cli": "^11.0.2",
"@angular/compiler-cli": "^10.2.3", "@angular/compiler-cli": "^11.0.2",
"@angular/language-service": "^10.2.3", "@angular/language-service": "^11.0.2",
"@types/jasmine": "^3.6.1", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.8", "@types/jasminewd2": "~2.0.8",
"@types/node": "^12.19.4", "@types/node": "^12.19.4",
"codelyzer": "^6.0.1", "codelyzer": "^6.0.0",
"jasmine-core": "~3.5.0", "jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0", "jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0", "karma": "~5.1.1",
"karma-chrome-launcher": "~3.1.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2", "karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0", "karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0", "karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0", "protractor": "~7.0.0",
"ts-node": "~8.5.4", "ts-node": "~8.5.4",

View File

@@ -16,10 +16,7 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forRoot( RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })
routes,
//{ enableTracing: true } // <-- debugging purposes only
)
], ],
//declarations: [VisualizationPageComponent], //declarations: [VisualizationPageComponent],
declarations: [], declarations: [],

View File

@@ -1,9 +1,9 @@
import { TestBed, async } from '@angular/core/testing'; import { TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing'; import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
describe('AppComponent', () => { describe('AppComponent', () => {
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
imports: [ imports: [
RouterTestingModule RouterTestingModule

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { GalleryViewComponent } from './gallery-view.component'; import { GalleryViewComponent } from './gallery-view.component';
@@ -6,7 +6,7 @@ describe('GalleryViewComponent', () => {
let component: GalleryViewComponent; let component: GalleryViewComponent;
let fixture: ComponentFixture<GalleryViewComponent>; let fixture: ComponentFixture<GalleryViewComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ GalleryViewComponent ] declarations: [ GalleryViewComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { HelpPageComponent } from './help-page.component'; import { HelpPageComponent } from './help-page.component';
@@ -6,7 +6,7 @@ describe('HelpPageComponent', () => {
let component: HelpPageComponent; let component: HelpPageComponent;
let fixture: ComponentFixture<HelpPageComponent>; let fixture: ComponentFixture<HelpPageComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ HelpPageComponent ] declarations: [ HelpPageComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { ImageToggleComponent } from './image-toggle.component'; import { ImageToggleComponent } from './image-toggle.component';
@@ -6,7 +6,7 @@ describe('ImageToggleComponent', () => {
let component: ImageToggleComponent; let component: ImageToggleComponent;
let fixture: ComponentFixture<ImageToggleComponent>; let fixture: ComponentFixture<ImageToggleComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ ImageToggleComponent ] declarations: [ ImageToggleComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { LimitByComponent } from './limit-by.component'; import { LimitByComponent } from './limit-by.component';
@@ -6,7 +6,7 @@ describe('LimitByComponent', () => {
let component: LimitByComponent; let component: LimitByComponent;
let fixture: ComponentFixture<LimitByComponent>; let fixture: ComponentFixture<LimitByComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ LimitByComponent ] declarations: [ LimitByComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { MainPageComponent } from './main-page.component'; import { MainPageComponent } from './main-page.component';
@@ -6,7 +6,7 @@ describe('MainPageComponent', () => {
let component: MainPageComponent; let component: MainPageComponent;
let fixture: ComponentFixture<MainPageComponent>; let fixture: ComponentFixture<MainPageComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ MainPageComponent ] declarations: [ MainPageComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { PlotViewComponent } from './plot-view.component'; import { PlotViewComponent } from './plot-view.component';
@@ -6,7 +6,7 @@ describe('PlotViewComponent', () => {
let component: PlotViewComponent; let component: PlotViewComponent;
let fixture: ComponentFixture<PlotViewComponent>; let fixture: ComponentFixture<PlotViewComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ PlotViewComponent ] declarations: [ PlotViewComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { QueryAutocompleteComponent } from './query-autocomplete.component'; import { QueryAutocompleteComponent } from './query-autocomplete.component';
@@ -6,7 +6,7 @@ describe('QueryAutocompleteComponent', () => {
let component: QueryAutocompleteComponent; let component: QueryAutocompleteComponent;
let fixture: ComponentFixture<QueryAutocompleteComponent>; let fixture: ComponentFixture<QueryAutocompleteComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ QueryAutocompleteComponent ] declarations: [ QueryAutocompleteComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { UploadPageComponent } from './upload-page.component'; import { UploadPageComponent } from './upload-page.component';
@@ -6,7 +6,7 @@ describe('UploadPageComponent', () => {
let component: UploadPageComponent; let component: UploadPageComponent;
let fixture: ComponentFixture<UploadPageComponent>; let fixture: ComponentFixture<UploadPageComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ UploadPageComponent ] declarations: [ UploadPageComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { VisualizationPageComponent } from './visualization-page.component'; import { VisualizationPageComponent } from './visualization-page.component';
@@ -6,7 +6,7 @@ describe('VisualizationPageComponent', () => {
let component: VisualizationPageComponent; let component: VisualizationPageComponent;
let fixture: ComponentFixture<VisualizationPageComponent>; let fixture: ComponentFixture<VisualizationPageComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ VisualizationPageComponent ] declarations: [ VisualizationPageComponent ]
}) })

View File

@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { YAxisDefinitionComponent } from './y-axis-definition.component'; import { YAxisDefinitionComponent } from './y-axis-definition.component';
@@ -6,7 +6,7 @@ describe('YAxisDefinitionComponent', () => {
let component: YAxisDefinitionComponent; let component: YAxisDefinitionComponent;
let fixture: ComponentFixture<YAxisDefinitionComponent>; let fixture: ComponentFixture<YAxisDefinitionComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ YAxisDefinitionComponent ] declarations: [ YAxisDefinitionComponent ]
}) })