angular 11 upgrade

pull/4104/head
tidusjar 4 years ago
parent e39f35ca51
commit 77ac5e77cc

@ -15,7 +15,6 @@
"options": { "options": {
"aot": true, "aot": true,
"progress": true, "progress": true,
"extractCss": true,
"outputPath": "dist", "outputPath": "dist",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
@ -65,7 +64,6 @@
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"aot": true, "aot": true,
"extractLicenses": true, "extractLicenses": true,
@ -99,8 +97,7 @@
}, },
"hmr": { "hmr": {
"hmr": true, "hmr": true,
"browserTarget": "ombi:build:hmr", "browserTarget": "ombi:build:hmr"
"hmrWarning": false
} }
} }
}, },

@ -9,22 +9,22 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^9.1.7", "@angular/animations": "^11.2.6",
"@angular/cdk": "^9.2.3", "@angular/cdk": "^11.2.5",
"@angular/common": "^9.1.7", "@angular/common": "^11.2.6",
"@angular/compiler": "^9.1.7", "@angular/compiler": "^11.2.6",
"@angular/core": "^9.1.7", "@angular/core": "^11.2.6",
"@angular/forms": "^9.1.7", "@angular/forms": "^11.2.6",
"@angular/localize": "^11.0.2", "@angular/localize": "^11.2.6",
"@angular/material": "^9.2.3", "@angular/material": "^11.2.5",
"@angular/platform-browser": "^9.1.7", "@angular/platform-browser": "^11.2.6",
"@angular/platform-browser-dynamic": "^9.1.7", "@angular/platform-browser-dynamic": "^11.2.6",
"@angular/platform-server": "^9.1.7", "@angular/platform-server": "^11.2.6",
"@angular/router": "^9.1.7", "@angular/router": "^11.2.6",
"@angularclass/hmr": "^2.1.3", "@angularclass/hmr": "^2.1.3",
"@aspnet/signalr": "^1.1.0", "@aspnet/signalr": "^1.1.0",
"@auth0/angular-jwt": "^2.1.0", "@auth0/angular-jwt": "^2.1.0",
"@fortawesome/fontawesome-free": "^5.15.2", "@fortawesome/fontawesome-free": "^5.15.3",
"@fullcalendar/core": "^4.2.0", "@fullcalendar/core": "^4.2.0",
"@fullcalendar/daygrid": "^4.4.0", "@fullcalendar/daygrid": "^4.4.0",
"@fullcalendar/interaction": "^4.2.0", "@fullcalendar/interaction": "^4.2.0",
@ -35,7 +35,7 @@
"@yellowspot/ng-truncate": "^1.4.0", "@yellowspot/ng-truncate": "^1.4.0",
"angular-bootstrap-md": "^7.5.4", "angular-bootstrap-md": "^7.5.4",
"angular-router-loader": "^0.8.5", "angular-router-loader": "^0.8.5",
"angularx-qrcode": "^2.1.0", "angularx-qrcode": "^11.0.0",
"bootstrap": "^4.2.1", "bootstrap": "^4.2.1",
"chart.js": "2.9.4", "chart.js": "2.9.4",
"core-js": "^2.5.4", "core-js": "^2.5.4",
@ -52,26 +52,26 @@
"please-wait": "^0.0.5", "please-wait": "^0.0.5",
"popper.js": "^1.14.3", "popper.js": "^1.14.3",
"primeicons": "^4.0.0", "primeicons": "^4.0.0",
"primeng": "^11.0.0", "primeng": "^11.3.1",
"rxjs": "^6.5.2", "rxjs": "^6.6.6",
"sass-recursive-map-merge": "^1.0.1", "sass-recursive-map-merge": "^1.0.1",
"spinkit": "^1.2.5", "spinkit": "^1.2.5",
"store": "^2.0.12", "store": "^2.0.12",
"ts-md5": "^1.2.7", "ts-md5": "^1.2.7",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"tslint-angular": "^1.1.2", "tslint-angular": "^1.1.2",
"zone.js": "~0.10.2" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.901.6", "@angular-devkit/build-angular": "~0.1102.5",
"@angular/cli": "~9.1.6", "@angular/cli": "~11.2.5",
"@angular/compiler-cli": "^9.1.7", "@angular/compiler-cli": "^11.2.6",
"@angular/language-service": "^9.1.7", "@angular/language-service": "^11.2.6",
"@types/jasmine": "~2.8.6", "@types/jasmine": "~3.6.7",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.8",
"@types/node": "^12.11.1", "@types/node": "^14.14.35",
"codelyzer": "^5.1.2", "codelyzer": "^6.0.1",
"typescript": "~3.8.3" "typescript": "~4.1.5"
}, },
"optionalDependencies": { "optionalDependencies": {
"node-sass": "^4.12.0", "node-sass": "^4.12.0",

@ -82,7 +82,7 @@ export class AppComponent implements OnInit {
} }
public ngOnInit() { public ngOnInit() {
window["loading_screen"].finish(); // window["loading_screen"].finish();
this.settingsService.getCustomization().subscribe(x => { this.settingsService.getCustomization().subscribe(x => {
this.customizationSettings = x; this.customizationSettings = x;

@ -23,11 +23,6 @@ export const components: any[] = [
CarouselListComponent, CarouselListComponent,
]; ];
export const entryComponents: any[] = [
DiscoverCardDetailsComponent
];
export const providers: any[] = [ export const providers: any[] = [
SearchService, SearchService,
MatDialog, MatDialog,

@ -24,9 +24,6 @@ import * as fromComponents from './components';
declarations: [ declarations: [
...fromComponents.components ...fromComponents.components
], ],
entryComponents: [
...fromComponents.entryComponents
],
exports: [ exports: [
RouterModule, RouterModule,
], ],

@ -45,15 +45,6 @@ export const components: any[] = [
TvRequestGridComponent, TvRequestGridComponent,
]; ];
export const entryComponents: any[] = [
YoutubeTrailerComponent,
DenyDialogComponent,
MovieAdvancedOptionsComponent,
TvAdvancedOptionsComponent,
NewIssueComponent,
RequestBehalfComponent,
];
export const providers: any[] = [ export const providers: any[] = [
SearchService, SearchService,
RequestService, RequestService,

@ -34,9 +34,6 @@ const routes: Routes = [
exports: [ exports: [
RouterModule, RouterModule,
], ],
entryComponents: [
...fromComponents.entryComponents
],
providers: [ providers: [
...fromComponents.providers ...fromComponents.providers
], ],

@ -17,10 +17,6 @@ export const components: any[] = [
AlbumsGridComponent AlbumsGridComponent
]; ];
export const entryComponents: any[] = [
RequestOptionsComponent
];
export const providers: any[] = [ export const providers: any[] = [
RequestService, RequestService,
RequestServiceV2, RequestServiceV2,

@ -27,9 +27,6 @@ const routes: Routes = [
exports: [ exports: [
RouterModule, RouterModule,
], ],
entryComponents: [
...fromComponents.entryComponents
],
providers: [ providers: [
...fromComponents.providers ...fromComponents.providers
], ],

@ -76,10 +76,6 @@ import { DetailsGroupComponent } from "../issues/components/details-group/detail
MatStepperModule, MatStepperModule,
MatSnackBarModule, MatSnackBarModule,
], ],
entryComponents: [
EpisodeRequestComponent,
DetailsGroupComponent,
],
exports: [ exports: [
TranslateModule, TranslateModule,
CommonModule, CommonModule,

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -132,7 +132,7 @@ describe("Discover Cards Tests", () => {
card.verifyTitle(title); card.verifyTitle(title);
card.topLevelCard.realHover(); card.topLevelCard.realHover();
card.requestButton.should("not.be.visible"); card.requestButton.should("not.exist");
card.availabilityText.should('have.text','Available'); card.availabilityText.should('have.text','Available');
card.statusClass.should('have.class','available'); card.statusClass.should('have.class','available');
}); });
@ -165,7 +165,7 @@ describe("Discover Cards Tests", () => {
card.topLevelCard.realHover(); card.topLevelCard.realHover();
card.requestButton.should("not.be.visible"); card.requestButton.should("not.exist");
card.availabilityText.should('have.text','Pending'); card.availabilityText.should('have.text','Pending');
card.statusClass.should('have.class','requested'); card.statusClass.should('have.class','requested');
}); });

Loading…
Cancel
Save