From 0dc9d687b9d675dc5b54577c25fc4aafb51dcdcc Mon Sep 17 00:00:00 2001 From: Cucumberrbob <128094686+Cucumberrbob@users.noreply.github.com> Date: Fri, 28 Feb 2025 13:10:56 +0000 Subject: [PATCH] Uninstall flex layout --- client/package-lock.json | 25 ---------------- client/package.json | 3 +- client/src/app/app.module.ts | 56 +++++++++++++++++------------------- 3 files changed, 28 insertions(+), 56 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index 27b0956..ade1c52 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -13,7 +13,6 @@ "@angular/common": "^19.2.0", "@angular/compiler": "^19.2.0", "@angular/core": "^19.2.0", - "@angular/flex-layout": "^15.0.0-beta.42", "@angular/forms": "^19.2.0", "@angular/platform-browser": "^19.2.0", "@angular/platform-browser-dynamic": "^19.2.0", @@ -569,22 +568,6 @@ "zone.js": "~0.15.0" } }, - "node_modules/@angular/flex-layout": { - "version": "15.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-15.0.0-beta.42.tgz", - "integrity": "sha512-cTAPVMMxnyIFwpZwdq0PL5mdP9Qh+R8MB7ZBezVaN3Rz2fRrkagzKpLvPX3TFzepXrvHBdpKsU4b8u+NxEC/6g==", - "deprecated": "This package has been deprecated. Please see https://blog.angular.io/modern-css-in-angular-layouts-4a259dca9127", - "dependencies": { - "tslib": "^2.3.0" - }, - "peerDependencies": { - "@angular/cdk": ">=15.0.0", - "@angular/common": ">=15.0.2", - "@angular/core": ">=15.0.2", - "@angular/platform-browser": ">=15.0.2", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, "node_modules/@angular/forms": { "version": "19.2.0", "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.0.tgz", @@ -9828,14 +9811,6 @@ "tslib": "^2.3.0" } }, - "@angular/flex-layout": { - "version": "15.0.0-beta.42", - "resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-15.0.0-beta.42.tgz", - "integrity": "sha512-cTAPVMMxnyIFwpZwdq0PL5mdP9Qh+R8MB7ZBezVaN3Rz2fRrkagzKpLvPX3TFzepXrvHBdpKsU4b8u+NxEC/6g==", - "requires": { - "tslib": "^2.3.0" - } - }, "@angular/forms": { "version": "19.2.0", "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.0.tgz", diff --git a/client/package.json b/client/package.json index 4a1f388..e074a85 100644 --- a/client/package.json +++ b/client/package.json @@ -17,7 +17,6 @@ "@angular/common": "^19.2.0", "@angular/compiler": "^19.2.0", "@angular/core": "^19.2.0", - "@angular/flex-layout": "^15.0.0-beta.42", "@angular/forms": "^19.2.0", "@angular/platform-browser": "^19.2.0", "@angular/platform-browser-dynamic": "^19.2.0", @@ -51,4 +50,4 @@ "prettier": "^3.0.3", "typescript": "5.7.3" } -} \ No newline at end of file +} diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 3268d7a..8ccbf8f 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts @@ -2,7 +2,6 @@ import { ClipboardModule } from '@angular/cdk/clipboard'; import { APP_BASE_HREF } from '@angular/common'; import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; import { NgModule } from '@angular/core'; -import { FlexLayoutModule } from '@angular/flex-layout'; import { FormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { curray } from 'curray'; @@ -27,32 +26,31 @@ import { SortPipe } from './sort.pipe'; curray(); -@NgModule({ declarations: [ - AppComponent, - MainLayoutComponent, - NavbarComponent, - AddNewTorrentComponent, - TorrentTableComponent, - SettingsComponent, - TorrentStatusPipe, - DownloadStatusPipe, - LoginComponent, - SetupComponent, - TorrentComponent, - DecodeURIPipe, - ProfileComponent, - Nl2BrPipe, - SortPipe, - ], - bootstrap: [AppComponent], imports: [BrowserModule, - AppRoutingModule, - FormsModule, - NgxFilesizeModule, - FlexLayoutModule, - ClipboardModule], providers: [ - FileSizePipe, - { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true }, - { provide: APP_BASE_HREF, useValue: (window as any)['_app_base'] || '/' }, - provideHttpClient(withInterceptorsFromDi()), - ] }) +@NgModule({ + declarations: [ + AppComponent, + MainLayoutComponent, + NavbarComponent, + AddNewTorrentComponent, + TorrentTableComponent, + SettingsComponent, + TorrentStatusPipe, + DownloadStatusPipe, + LoginComponent, + SetupComponent, + TorrentComponent, + DecodeURIPipe, + ProfileComponent, + Nl2BrPipe, + SortPipe, + ], + bootstrap: [AppComponent], + imports: [BrowserModule, AppRoutingModule, FormsModule, NgxFilesizeModule, ClipboardModule], + providers: [ + FileSizePipe, + { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true }, + { provide: APP_BASE_HREF, useValue: (window as any)['_app_base'] || '/' }, + provideHttpClient(withInterceptorsFromDi()), + ], +}) export class AppModule {}