mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
angular 11 upgrade
This commit is contained in:
parent
e39f35ca51
commit
77ac5e77cc
13 changed files with 2874 additions and 2141 deletions
|
@ -15,7 +15,6 @@
|
|||
"options": {
|
||||
"aot": true,
|
||||
"progress": true,
|
||||
"extractCss": true,
|
||||
"outputPath": "dist",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
|
@ -65,7 +64,6 @@
|
|||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": false,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
|
@ -99,8 +97,7 @@
|
|||
},
|
||||
"hmr": {
|
||||
"hmr": true,
|
||||
"browserTarget": "ombi:build:hmr",
|
||||
"hmrWarning": false
|
||||
"browserTarget": "ombi:build:hmr"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -9,22 +9,22 @@
|
|||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^9.1.7",
|
||||
"@angular/cdk": "^9.2.3",
|
||||
"@angular/common": "^9.1.7",
|
||||
"@angular/compiler": "^9.1.7",
|
||||
"@angular/core": "^9.1.7",
|
||||
"@angular/forms": "^9.1.7",
|
||||
"@angular/localize": "^11.0.2",
|
||||
"@angular/material": "^9.2.3",
|
||||
"@angular/platform-browser": "^9.1.7",
|
||||
"@angular/platform-browser-dynamic": "^9.1.7",
|
||||
"@angular/platform-server": "^9.1.7",
|
||||
"@angular/router": "^9.1.7",
|
||||
"@angular/animations": "^11.2.6",
|
||||
"@angular/cdk": "^11.2.5",
|
||||
"@angular/common": "^11.2.6",
|
||||
"@angular/compiler": "^11.2.6",
|
||||
"@angular/core": "^11.2.6",
|
||||
"@angular/forms": "^11.2.6",
|
||||
"@angular/localize": "^11.2.6",
|
||||
"@angular/material": "^11.2.5",
|
||||
"@angular/platform-browser": "^11.2.6",
|
||||
"@angular/platform-browser-dynamic": "^11.2.6",
|
||||
"@angular/platform-server": "^11.2.6",
|
||||
"@angular/router": "^11.2.6",
|
||||
"@angularclass/hmr": "^2.1.3",
|
||||
"@aspnet/signalr": "^1.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/daygrid": "^4.4.0",
|
||||
"@fullcalendar/interaction": "^4.2.0",
|
||||
|
@ -35,7 +35,7 @@
|
|||
"@yellowspot/ng-truncate": "^1.4.0",
|
||||
"angular-bootstrap-md": "^7.5.4",
|
||||
"angular-router-loader": "^0.8.5",
|
||||
"angularx-qrcode": "^2.1.0",
|
||||
"angularx-qrcode": "^11.0.0",
|
||||
"bootstrap": "^4.2.1",
|
||||
"chart.js": "2.9.4",
|
||||
"core-js": "^2.5.4",
|
||||
|
@ -52,26 +52,26 @@
|
|||
"please-wait": "^0.0.5",
|
||||
"popper.js": "^1.14.3",
|
||||
"primeicons": "^4.0.0",
|
||||
"primeng": "^11.0.0",
|
||||
"rxjs": "^6.5.2",
|
||||
"primeng": "^11.3.1",
|
||||
"rxjs": "^6.6.6",
|
||||
"sass-recursive-map-merge": "^1.0.1",
|
||||
"spinkit": "^1.2.5",
|
||||
"store": "^2.0.12",
|
||||
"ts-md5": "^1.2.7",
|
||||
"tslib": "^1.10.0",
|
||||
"tslint-angular": "^1.1.2",
|
||||
"zone.js": "~0.10.2"
|
||||
"zone.js": "~0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "~0.901.6",
|
||||
"@angular/cli": "~9.1.6",
|
||||
"@angular/compiler-cli": "^9.1.7",
|
||||
"@angular/language-service": "^9.1.7",
|
||||
"@types/jasmine": "~2.8.6",
|
||||
"@types/jasminewd2": "~2.0.3",
|
||||
"@types/node": "^12.11.1",
|
||||
"codelyzer": "^5.1.2",
|
||||
"typescript": "~3.8.3"
|
||||
"@angular-devkit/build-angular": "~0.1102.5",
|
||||
"@angular/cli": "~11.2.5",
|
||||
"@angular/compiler-cli": "^11.2.6",
|
||||
"@angular/language-service": "^11.2.6",
|
||||
"@types/jasmine": "~3.6.7",
|
||||
"@types/jasminewd2": "~2.0.8",
|
||||
"@types/node": "^14.14.35",
|
||||
"codelyzer": "^6.0.1",
|
||||
"typescript": "~4.1.5"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"node-sass": "^4.12.0",
|
||||
|
|
|
@ -82,7 +82,7 @@ export class AppComponent implements OnInit {
|
|||
}
|
||||
|
||||
public ngOnInit() {
|
||||
window["loading_screen"].finish();
|
||||
// window["loading_screen"].finish();
|
||||
|
||||
this.settingsService.getCustomization().subscribe(x => {
|
||||
this.customizationSettings = x;
|
||||
|
|
|
@ -23,11 +23,6 @@ export const components: any[] = [
|
|||
CarouselListComponent,
|
||||
];
|
||||
|
||||
|
||||
export const entryComponents: any[] = [
|
||||
DiscoverCardDetailsComponent
|
||||
];
|
||||
|
||||
export const providers: any[] = [
|
||||
SearchService,
|
||||
MatDialog,
|
||||
|
|
|
@ -24,9 +24,6 @@ import * as fromComponents from './components';
|
|||
declarations: [
|
||||
...fromComponents.components
|
||||
],
|
||||
entryComponents: [
|
||||
...fromComponents.entryComponents
|
||||
],
|
||||
exports: [
|
||||
RouterModule,
|
||||
],
|
||||
|
|
|
@ -45,15 +45,6 @@ export const components: any[] = [
|
|||
TvRequestGridComponent,
|
||||
];
|
||||
|
||||
export const entryComponents: any[] = [
|
||||
YoutubeTrailerComponent,
|
||||
DenyDialogComponent,
|
||||
MovieAdvancedOptionsComponent,
|
||||
TvAdvancedOptionsComponent,
|
||||
NewIssueComponent,
|
||||
RequestBehalfComponent,
|
||||
];
|
||||
|
||||
export const providers: any[] = [
|
||||
SearchService,
|
||||
RequestService,
|
||||
|
|
|
@ -34,9 +34,6 @@ const routes: Routes = [
|
|||
exports: [
|
||||
RouterModule,
|
||||
],
|
||||
entryComponents: [
|
||||
...fromComponents.entryComponents
|
||||
],
|
||||
providers: [
|
||||
...fromComponents.providers
|
||||
],
|
||||
|
|
|
@ -17,10 +17,6 @@ export const components: any[] = [
|
|||
AlbumsGridComponent
|
||||
];
|
||||
|
||||
export const entryComponents: any[] = [
|
||||
RequestOptionsComponent
|
||||
];
|
||||
|
||||
export const providers: any[] = [
|
||||
RequestService,
|
||||
RequestServiceV2,
|
||||
|
|
|
@ -27,9 +27,6 @@ const routes: Routes = [
|
|||
exports: [
|
||||
RouterModule,
|
||||
],
|
||||
entryComponents: [
|
||||
...fromComponents.entryComponents
|
||||
],
|
||||
providers: [
|
||||
...fromComponents.providers
|
||||
],
|
||||
|
|
|
@ -76,10 +76,6 @@ import { DetailsGroupComponent } from "../issues/components/details-group/detail
|
|||
MatStepperModule,
|
||||
MatSnackBarModule,
|
||||
],
|
||||
entryComponents: [
|
||||
EpisodeRequestComponent,
|
||||
DetailsGroupComponent,
|
||||
],
|
||||
exports: [
|
||||
TranslateModule,
|
||||
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.topLevelCard.realHover();
|
||||
|
||||
card.requestButton.should("not.be.visible");
|
||||
card.requestButton.should("not.exist");
|
||||
card.availabilityText.should('have.text','Available');
|
||||
card.statusClass.should('have.class','available');
|
||||
});
|
||||
|
@ -165,7 +165,7 @@ describe("Discover Cards Tests", () => {
|
|||
|
||||
card.topLevelCard.realHover();
|
||||
|
||||
card.requestButton.should("not.be.visible");
|
||||
card.requestButton.should("not.exist");
|
||||
card.availabilityText.should('have.text','Pending');
|
||||
card.statusClass.should('have.class','requested');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue