From c38f4cb97caf03cb7544f815578729eb202efea7 Mon Sep 17 00:00:00 2001 From: Amit Moryossef Date: Mon, 7 Oct 2024 15:47:47 +0200 Subject: [PATCH] lint(angular): format control flow --- functions/package.json | 6 +-- package.json | 44 +++++++++---------- .../about-hero/about-hero.component.html | 2 +- .../about-hero/about-hero.component.spec.ts | 1 - .../landing-footer.component.scss | 3 ++ .../landing-footer.component.spec.ts | 1 - src/app/pages/landing/landing.module.ts | 1 - .../signed-to-spoken.component.ts | 2 +- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/functions/package.json b/functions/package.json index ac843171..1d1c11c2 100644 --- a/functions/package.json +++ b/functions/package.json @@ -23,16 +23,16 @@ "@firebase/database-types": "1.0.5", "@google-cloud/storage": "7.13.0", "@sign-mt/browsermt": "0.2.3", - "@unkey/api": "0.26.1", + "@unkey/api": "0.26.2", "cors": "2.8.5", "express": "4.21.0", "express-async-errors": "3.1.1", "firebase-admin": "12.6.0", "firebase-functions": "6.0.1", "http-errors": "2.0.0", - "http-proxy-middleware": "^3.0.2", + "http-proxy-middleware": "^3.0.3", "node-fetch": "2.6.7", - "openai": "4.66.1" + "openai": "4.67.1" }, "devDependencies": { "@firebase/firestore-types": "3.0.2", diff --git a/package.json b/package.json index 3a7f11a1..81a84766 100644 --- a/package.json +++ b/package.json @@ -38,19 +38,19 @@ }, "private": true, "dependencies": { - "@angular/animations": "18.2.6", - "@angular/cdk": "18.2.6", - "@angular/common": "18.2.6", - "@angular/compiler": "18.2.6", - "@angular/core": "18.2.6", - "@angular/forms": "18.2.6", - "@angular/material": "18.2.6", - "@angular/platform-browser": "18.2.6", - "@angular/platform-browser-dynamic": "18.2.6", - "@angular/platform-server": "18.2.6", - "@angular/router": "18.2.6", - "@angular/service-worker": "18.2.6", - "@angular/ssr": "18.2.6", + "@angular/animations": "18.2.7", + "@angular/cdk": "18.2.7", + "@angular/common": "18.2.7", + "@angular/compiler": "18.2.7", + "@angular/core": "18.2.7", + "@angular/forms": "18.2.7", + "@angular/material": "18.2.7", + "@angular/platform-browser": "18.2.7", + "@angular/platform-browser-dynamic": "18.2.7", + "@angular/platform-server": "18.2.7", + "@angular/router": "18.2.7", + "@angular/service-worker": "18.2.7", + "@angular/ssr": "18.2.7", "@asymmetrik/ngx-leaflet": "18.0.1", "@capacitor-firebase/analytics": "6.1.0", "@capacitor-firebase/app": "6.1.0", @@ -68,7 +68,7 @@ "@capacitor/splash-screen": "6.0.2", "@ctrl/ngx-github-buttons": "9.0.0", "@google/model-viewer": "3.5.0", - "@ionic/angular": "8.3.1", + "@ionic/angular": "8.3.2", "@mediapipe/drawing_utils": "0.3.1675466124", "@mediapipe/holistic": "0.5.1675471629", "@mediapipe/tasks-text": "0.10.16", @@ -107,24 +107,24 @@ "zone.js": "0.15.0" }, "devDependencies": { - "@angular-devkit/architect": "0.1802.6", - "@angular-devkit/build-angular": "18.2.6", + "@angular-devkit/architect": "0.1802.7", + "@angular-devkit/build-angular": "18.2.7", "@angular-eslint/builder": "18.3.1", "@angular-eslint/eslint-plugin": "18.3.1", "@angular-eslint/eslint-plugin-template": "18.3.1", "@angular-eslint/schematics": "18.3.1", "@angular-eslint/template-parser": "18.3.1", - "@angular/cli": "18.2.6", - "@angular/compiler-cli": "18.2.6", + "@angular/cli": "18.2.7", + "@angular/compiler-cli": "18.2.7", "@capacitor/assets": "3.0.5", "@capacitor/cli": "6.1.2", - "@ionic/angular-server": "8.3.1", + "@ionic/angular-server": "8.3.2", "@playwright/test": "1.47.2", "@sign-mt/configuration": "git://github.com/sign/.github.git", "@trapezedev/project": "7.0.10", - "@types/dom-mediacapture-transform": "0.1.9", + "@types/dom-mediacapture-transform": "0.1.10", "@types/dom-speech-recognition": "0.0.4", - "@types/dom-webcodecs": "0.1.11", + "@types/dom-webcodecs": "0.1.12", "@types/jasmine": "5.1.4", "@types/jasminewd2": "2.0.13", "@types/offscreencanvas": "2019.7.3", @@ -140,7 +140,7 @@ "eslint": "8.57.0", "fuzzy": "0.1.3", "husky": "9.1.6", - "inquirer": "11.1.0", + "inquirer": "12.0.0", "inquirer-autocomplete-prompt": "3.0.1", "jasmine-axe": "1.1.0", "jasmine-core": "5.3.0", diff --git a/src/app/pages/landing/about/about-hero/about-hero.component.html b/src/app/pages/landing/about/about-hero/about-hero.component.html index f231b329..7d029cdc 100644 --- a/src/app/pages/landing/about/about-hero/about-hero.component.html +++ b/src/app/pages/landing/about/about-hero/about-hero.component.html @@ -13,7 +13,7 @@

Try it out - Discover Competition + Discover Competition diff --git a/src/app/pages/landing/about/about-hero/about-hero.component.spec.ts b/src/app/pages/landing/about/about-hero/about-hero.component.spec.ts index 3682d83f..432fbb35 100644 --- a/src/app/pages/landing/about/about-hero/about-hero.component.spec.ts +++ b/src/app/pages/landing/about/about-hero/about-hero.component.spec.ts @@ -3,7 +3,6 @@ import {axe, toHaveNoViolations} from 'jasmine-axe'; import {AboutHeroComponent} from './about-hero.component'; import {AppTranslocoTestingModule} from '../../../../core/modules/transloco/transloco-testing.module'; -import {StoresComponent} from '../../../../components/stores/stores.component'; import {IonicModule} from '@ionic/angular'; import {NoopAnimationsModule} from '@angular/platform-browser/animations'; diff --git a/src/app/pages/landing/landing-footer/landing-footer.component.scss b/src/app/pages/landing/landing-footer/landing-footer.component.scss index e32865b8..a9c06443 100644 --- a/src/app/pages/landing/landing-footer/landing-footer.component.scss +++ b/src/app/pages/landing/landing-footer/landing-footer.component.scss @@ -21,12 +21,15 @@ footer { 'legal social'; } } + .brand { grid-area: brand; } + .legal { grid-area: legal; } + .social { grid-area: social; } diff --git a/src/app/pages/landing/landing-footer/landing-footer.component.spec.ts b/src/app/pages/landing/landing-footer/landing-footer.component.spec.ts index 15be4f03..a55b3ce6 100644 --- a/src/app/pages/landing/landing-footer/landing-footer.component.spec.ts +++ b/src/app/pages/landing/landing-footer/landing-footer.component.spec.ts @@ -7,7 +7,6 @@ import {NoopAnimationsModule} from '@angular/platform-browser/animations'; import {axe, toHaveNoViolations} from 'jasmine-axe'; import {I18NLanguageSelectorComponent} from '../../../components/i18n-language-selector/i18n-language-selector.component'; import {RouterModule} from '@angular/router'; -import {AboutComponent} from '../about/about.component'; describe('LandingFooterComponent', () => { let component: LandingFooterComponent; diff --git a/src/app/pages/landing/landing.module.ts b/src/app/pages/landing/landing.module.ts index d9e7531e..acefbd62 100644 --- a/src/app/pages/landing/landing.module.ts +++ b/src/app/pages/landing/landing.module.ts @@ -27,7 +27,6 @@ import {IonicModule} from '@ionic/angular'; import {I18NLanguageSelectorComponent} from '../../components/i18n-language-selector/i18n-language-selector.component'; import {TermsComponent} from './terms/terms.component'; import {PrivacyComponent} from './privacy/privacy.component'; -import {MatTabsModule} from '@angular/material/tabs'; import {MermaidChartComponent} from './mermaid-chart/mermaid-chart.component'; import {LandingFooterComponent} from './landing-footer/landing-footer.component'; import {ReactiveFormsModule} from '@angular/forms'; diff --git a/src/app/pages/translate/signed-to-spoken/signed-to-spoken.component.ts b/src/app/pages/translate/signed-to-spoken/signed-to-spoken.component.ts index a226d0d1..83b66f58 100644 --- a/src/app/pages/translate/signed-to-spoken/signed-to-spoken.component.ts +++ b/src/app/pages/translate/signed-to-spoken/signed-to-spoken.component.ts @@ -1,7 +1,7 @@ import {Component, OnInit} from '@angular/core'; import {Store} from '@ngxs/store'; import {VideoStateModel} from '../../../core/modules/ngxs/store/video/video.state'; -import {InputMode, SignWritingObj} from '../../../modules/translate/translate.state'; +import {InputMode} from '../../../modules/translate/translate.state'; import { CopySpokenLanguageText, SetSignWritingText,