diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json index f64517096..f3946efd2 100644 --- a/apps/website/tsconfig.json +++ b/apps/website/tsconfig.json @@ -5,6 +5,7 @@ "compilerOptions": { "paths": { "@/*": ["./src/*"] - } + }, + "ignoreDeprecations": "6.0" } } diff --git a/docker/Dockerfile b/docker/Dockerfile index 86da3f98d..c5502fa8d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,7 +8,7 @@ RUN apk add --no-cache python3 make g++ git WORKDIR /usr/src/app COPY .npmrc ./ -COPY package.json pnpm-lock.yaml ./ +COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ COPY patches ./patches # Node 25 unbundled Corepack, so `corepack enable` cannot be the way pnpm gets diff --git a/libs/playlist/m3u/feature-player/src/lib/m3u-vod-detail/m3u-vod-detail.component.ts b/libs/playlist/m3u/feature-player/src/lib/m3u-vod-detail/m3u-vod-detail.component.ts index 253b91bb6..3ed046a76 100644 --- a/libs/playlist/m3u/feature-player/src/lib/m3u-vod-detail/m3u-vod-detail.component.ts +++ b/libs/playlist/m3u/feature-player/src/lib/m3u-vod-detail/m3u-vod-detail.component.ts @@ -7,6 +7,7 @@ import { output, signal, untracked, + ChangeDetectionStrategy, } from '@angular/core'; import { MatIcon } from '@angular/material/icon'; import { TranslatePipe } from '@ngx-translate/core'; @@ -59,6 +60,7 @@ import { M3uVodMetadataService } from './m3u-vod-metadata.service'; TranslatePipe, ], templateUrl: './m3u-vod-detail.component.html', + changeDetection: ChangeDetectionStrategy.Eager, styleUrls: ['./m3u-vod-detail.component.scss'], }) export class M3uVodDetailComponent { diff --git a/libs/playlist/shared/ui/src/lib/source-health/source-cleanup-dialog.component.ts b/libs/playlist/shared/ui/src/lib/source-health/source-cleanup-dialog.component.ts index d61019e16..347cefaac 100644 --- a/libs/playlist/shared/ui/src/lib/source-health/source-cleanup-dialog.component.ts +++ b/libs/playlist/shared/ui/src/lib/source-health/source-cleanup-dialog.component.ts @@ -1,4 +1,11 @@ -import { Component, DestroyRef, computed, effect, inject } from '@angular/core'; +import { + Component, + DestroyRef, + computed, + effect, + inject, + ChangeDetectionStrategy, +} from '@angular/core'; import { DatePipe } from '@angular/common'; import { MAT_DIALOG_DATA, @@ -107,7 +114,9 @@ export interface SourceCleanupDialogData extends SourceCleanupContext { @if (entry.status === 'ready') { {{ 'SOURCE_HEALTH.REASON.' + - entry.health?.reason | translate + $safeNavigationMigration( + entry.health?.reason + ) | translate }} } @else { {{ @@ -117,8 +126,9 @@ export interface SourceCleanupDialogData extends SourceCleanupContext { } @if (entry.health?.checkedAt) { } @if (entry.warning) { @@ -170,6 +180,7 @@ export interface SourceCleanupDialogData extends SourceCleanupContext { } `, + changeDetection: ChangeDetectionStrategy.Eager, styles: [ ` :host { diff --git a/libs/playlist/shared/ui/src/lib/source-health/source-health-indicator.component.ts b/libs/playlist/shared/ui/src/lib/source-health/source-health-indicator.component.ts index eee37e0c5..3637c056a 100644 --- a/libs/playlist/shared/ui/src/lib/source-health/source-health-indicator.component.ts +++ b/libs/playlist/shared/ui/src/lib/source-health/source-health-indicator.component.ts @@ -6,6 +6,7 @@ import { inject, input, untracked, + ChangeDetectionStrategy, } from '@angular/core'; import { MatTooltip } from '@angular/material/tooltip'; import { TranslateService } from '@ngx-translate/core'; @@ -28,6 +29,7 @@ import { PlaylistMeta, sourceHealthType } from '@iptvnator/shared/interfaces'; role="img" > }`, + changeDetection: ChangeDetectionStrategy.Eager, styles: [ ` :host { diff --git a/libs/portal/xtream/feature/src/lib/live-stream-layout/live-stream-layout.sidebar-levels.spec.ts b/libs/portal/xtream/feature/src/lib/live-stream-layout/live-stream-layout.sidebar-levels.spec.ts index 009de836b..523dfbc9e 100644 --- a/libs/portal/xtream/feature/src/lib/live-stream-layout/live-stream-layout.sidebar-levels.spec.ts +++ b/libs/portal/xtream/feature/src/lib/live-stream-layout/live-stream-layout.sidebar-levels.spec.ts @@ -1,6 +1,13 @@ import { EpgArchiveDownloadService } from '@iptvnator/ui/epg'; import { EpgArchiveCopyService } from '@iptvnator/ui/epg'; -import { Component, Directive, input, output, signal } from '@angular/core'; +import { + Component, + Directive, + input, + output, + signal, + ChangeDetectionStrategy, +} from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { ActivatedRoute, Router, convertToParamMap } from '@angular/router'; @@ -40,6 +47,7 @@ import { LiveStreamLayoutComponent } from './live-stream-layout.component'; @Component({ selector: 'app-portal-channels-list', standalone: true, + changeDetection: ChangeDetectionStrategy.Eager, template: '', }) class StubPortalChannelsListComponent { @@ -56,13 +64,19 @@ class StubPortalChannelsListComponent { @Component({ selector: 'app-channel-list-hidden-state', standalone: true, + changeDetection: ChangeDetectionStrategy.Eager, template: '
', }) class StubChannelListHiddenStateComponent { readonly restore = output