(chore) upgraded angular with migrations and cleaned up node packages
This commit is contained in:
1 parent
b57044dbdc
commit
3ebc771cb1
27 files changed
+1814
-1498
No files matched your search
+1
-2
@@ -17,8 +17,7 @@
|
||||
"index": "src/index.html",
|
||||
"browser": "src/main.ts",
|
||||
"polyfills": [
|
||||
"zone.js",
|
||||
"@angular/localize/init"
|
||||
"zone.js"
|
||||
],
|
||||
"tsConfig": "tsconfig.app.json",
|
||||
"assets": [
|
||||
|
||||
Generated
+1738
-1442
File diff suppressed because it is too large.
Load diff
+21
-22
@@ -9,39 +9,38 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^21.2.4",
|
||||
"@angular/common": "^21.2.4",
|
||||
"@angular/compiler": "^21.2.4",
|
||||
"@angular/core": "^21.2.4",
|
||||
"@angular/forms": "^21.2.4",
|
||||
"@angular/localize": "^21.2.4",
|
||||
"@angular/platform-browser": "^21.2.4",
|
||||
"@angular/router": "^21.2.4",
|
||||
"@angular/common": "^22.0.6",
|
||||
"@angular/compiler": "^22.0.6",
|
||||
"@angular/core": "^22.0.6",
|
||||
"@angular/forms": "^22.0.6",
|
||||
"@angular/platform-browser": "^22.0.6",
|
||||
"@angular/router": "^22.0.6",
|
||||
"@ngx-translate/core": "^16.0.4",
|
||||
"@ngx-translate/http-loader": "^16.0.1",
|
||||
"marked": "^17.0.4",
|
||||
"ngx-markdown": "^21.1.0",
|
||||
"ngx-markdown": "^22.0.0",
|
||||
"parallax-js": "^3.1.0",
|
||||
"rxjs": "~7.8.0",
|
||||
"tslib": "^2.3.0",
|
||||
"zone.js": "~0.15.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/build": "^21.2.2",
|
||||
"@angular/cli": "^21.2.2",
|
||||
"@angular/compiler-cli": "^21.2.4",
|
||||
"@types/node": "^18.18.0",
|
||||
"@angular/build": "^22.0.6",
|
||||
"@angular/cli": "^22.0.6",
|
||||
"@angular/compiler-cli": "^22.0.6",
|
||||
"@types/node": "^26.1.1",
|
||||
"@types/parallax-js": "^3.1.3",
|
||||
"typescript": "~5.9.3"
|
||||
"istanbul-lib-instrument": "^6.0.3",
|
||||
"typescript": "~6.0.3"
|
||||
},
|
||||
"overrides": {
|
||||
"@modelcontextprotocol/sdk": "^1.26.0",
|
||||
"tar": "^7.5.7",
|
||||
"hono": "^4.11.7",
|
||||
"ajv": "^8.17.1",
|
||||
"ajv-formats": "^3.0.1",
|
||||
"undici": "^7.23.0",
|
||||
"picomatch": "^4.0.3",
|
||||
"vite": "^7.3.1"
|
||||
"@babel/core": "^7.29.0",
|
||||
"esbuild": "^0.28.0"
|
||||
},
|
||||
"allowScripts": {
|
||||
"@parcel/watcher@2.5.6": true,
|
||||
"esbuild@0.28.1": true,
|
||||
"lmdb@3.5.4": true,
|
||||
"msgpackr-extract@3.0.4": true
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"extends": ["config:recommended", "security:only-security-updates"],
|
||||
"dependencyDashboard": true,
|
||||
"labels": ["security", "dependencies"]
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import {AfterViewInit, Component, ElementRef, HostListener, OnInit, ViewChild, ViewEncapsulation} from '@angular/core';
|
||||
import {AfterViewInit, Component, ElementRef, HostListener, OnInit, ViewChild, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {ViewportService} from '../shared/services/viewport.service';
|
||||
import {Title} from '@angular/platform-browser';
|
||||
import {TranslatePipe} from '@ngx-translate/core';
|
||||
@@ -18,6 +18,7 @@ import {TerminalEmulatorComponent} from '../shared/terminal-emulator/terminal-em
|
||||
FormsModule,
|
||||
TerminalEmulatorComponent
|
||||
],
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrls: ['./about.component.css']
|
||||
})
|
||||
export class AboutComponent implements OnInit, AfterViewInit {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnDestroy, OnInit} from '@angular/core';
|
||||
import {Component, OnDestroy, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {Router, RouterLink} from '@angular/router';
|
||||
import {ArticleService} from '../shared/services/article.service';
|
||||
import {UserService} from '../shared/services/user.service';
|
||||
@@ -29,6 +29,7 @@ interface Article {
|
||||
selector: 'app-admin',
|
||||
templateUrl: './admin.component.html',
|
||||
styleUrls: ['./admin.component.css'],
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
imports: [
|
||||
FormsModule,
|
||||
NgStyle,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {Component, ChangeDetectionStrategy} from '@angular/core';
|
||||
import { RouterOutlet} from '@angular/router';
|
||||
import {TranslateService} from '@ngx-translate/core';
|
||||
|
||||
@@ -6,6 +6,7 @@ import {TranslateService} from '@ngx-translate/core';
|
||||
selector: 'app-root',
|
||||
imports: [RouterOutlet],
|
||||
templateUrl: './app.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './app.component.css',
|
||||
})
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import {ApplicationConfig, importProvidersFrom, provideZoneChangeDetection} from '@angular/core';
|
||||
import {provideRouter, withInMemoryScrolling, withViewTransitions} from '@angular/router';
|
||||
import {routes} from './app.routes';
|
||||
import {provideClientHydration, withEventReplay} from '@angular/platform-browser';
|
||||
import {HttpClient, provideHttpClient} from '@angular/common/http';
|
||||
import {provideClientHydration, withEventReplay, withNoIncrementalHydration} from '@angular/platform-browser';
|
||||
import {HttpClient, provideHttpClient, withXhr} from '@angular/common/http';
|
||||
import {AuthService} from './shared/services/auth.service';
|
||||
import {AuthInterceptor} from './auth.interceptor';
|
||||
import {TranslateHttpLoader} from '@ngx-translate/http-loader';
|
||||
@@ -23,8 +23,8 @@ export const appConfig: ApplicationConfig = {
|
||||
anchorScrolling: 'enabled'
|
||||
})
|
||||
),
|
||||
provideClientHydration(withEventReplay()),
|
||||
provideHttpClient(),
|
||||
provideClientHydration(withEventReplay(), withNoIncrementalHydration()),
|
||||
provideHttpClient(withXhr()),
|
||||
provideMarkdown({
|
||||
markedOptions: {
|
||||
provide: MARKED_OPTIONS,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit, ViewEncapsulation} from '@angular/core';
|
||||
import {Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {DatePipe, NgClass, NgStyle} from '@angular/common';
|
||||
import {ArticleService} from '../../shared/services/article.service';
|
||||
import {ActivatedRoute} from '@angular/router';
|
||||
@@ -33,6 +33,7 @@ interface Article {
|
||||
NgClass
|
||||
],
|
||||
templateUrl: './article-page.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './article-page.component.css'
|
||||
})
|
||||
export class ArticlePageComponent implements OnInit {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {ViewportService} from '../shared/services/viewport.service'
|
||||
import {DatePipe, AsyncPipe, SlicePipe, NgStyle, NgClass} from '@angular/common';
|
||||
import { ArticleService } from '../shared/services/article.service';
|
||||
@@ -20,6 +20,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
NgClass
|
||||
],
|
||||
templateUrl: './blog.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './blog.component.css'
|
||||
})
|
||||
export class BlogComponent implements OnInit {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {AuthService} from '../shared/services/auth.service';
|
||||
import {Router} from '@angular/router';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
@@ -10,6 +10,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
selector: 'app-login',
|
||||
templateUrl: './login.component.html',
|
||||
styleUrls: ['./login.component.css'],
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
imports: [
|
||||
FormsModule,
|
||||
ParallaxComponent
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {Title} from '@angular/platform-browser';
|
||||
import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
|
||||
@@ -8,6 +8,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
ParallaxComponent
|
||||
],
|
||||
templateUrl: './not-found.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './not-found.component.css',
|
||||
})
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
animate.leave="modal-leave"
|
||||
(click)="$event.stopPropagation()"
|
||||
>
|
||||
<img [src]="selectedItem?.src" [alt]="selectedItem?.alt">
|
||||
<img [src]="$safeNavigationMigration(selectedItem?.src)" [alt]="$safeNavigationMigration(selectedItem?.alt)">
|
||||
<h2>{{ selectedItem?.label }}</h2>
|
||||
<button (click)="closeModal()">Close</button>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit, ViewEncapsulation} from '@angular/core';
|
||||
import {Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {ViewportService} from '../shared/services/viewport.service';
|
||||
import { CommonModule, NgStyle } from '@angular/common';
|
||||
import {Title} from '@angular/platform-browser';
|
||||
@@ -17,6 +17,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
ParallaxComponent
|
||||
],
|
||||
templateUrl: './portfolio.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './portfolio.component.css'
|
||||
})
|
||||
export class PortfolioComponent implements OnInit {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {AfterViewInit, Component, OnInit} from '@angular/core';
|
||||
import {AfterViewInit, Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {ViewportService} from '../shared/services/viewport.service';
|
||||
import {Title} from '@angular/platform-browser';
|
||||
import {TranslatePipe} from '@ngx-translate/core';
|
||||
@@ -11,6 +11,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
ParallaxComponent
|
||||
],
|
||||
templateUrl: './privacy.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './privacy.component.css'
|
||||
})
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, AfterViewInit, signal, OnInit} from '@angular/core';
|
||||
import {Component, AfterViewInit, signal, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {ViewportService} from '../services/viewport.service';
|
||||
import {NgClass} from '@angular/common';
|
||||
|
||||
@@ -16,6 +16,7 @@ declare global {
|
||||
NgClass
|
||||
],
|
||||
templateUrl: './audio-player.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './audio-player.component.css'
|
||||
})
|
||||
export class AudioPlayerComponent implements AfterViewInit, OnInit {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {Component, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {TranslatePipe} from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
@@ -7,6 +7,7 @@ import {TranslatePipe} from '@ngx-translate/core';
|
||||
TranslatePipe
|
||||
],
|
||||
templateUrl: './footer.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './footer.component.css'
|
||||
})
|
||||
export class FooterComponent {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, forwardRef, OnInit} from '@angular/core';
|
||||
import {Component, forwardRef, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
||||
import {MarkdownModule} from 'ngx-markdown';
|
||||
@@ -9,6 +9,7 @@ import { ViewportService} from '../services/viewport.service';
|
||||
imports: [CommonModule, FormsModule, MarkdownModule],
|
||||
templateUrl: './markdown-editor.component.html',
|
||||
styleUrl: './markdown-editor.component.css',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
providers: [
|
||||
{
|
||||
provide: NG_VALUE_ACCESSOR,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {ViewportService} from '../services/viewport.service';
|
||||
|
||||
import {NavigationEnd, Router, RouterLink} from '@angular/router';
|
||||
@@ -11,6 +11,7 @@ import {TranslatePipe, TranslateService} from '@ngx-translate/core';
|
||||
TranslatePipe
|
||||
],
|
||||
templateUrl: './mobile-navbar.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './mobile-navbar.component.css'
|
||||
})
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
||||
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'app-modal',
|
||||
templateUrl: './modal.component.html',
|
||||
styleUrls: ['./modal.component.css'],
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
imports: []
|
||||
})
|
||||
export class ModalComponent {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {NavigationEnd, Router, RouterLink} from '@angular/router';
|
||||
import {ViewportService} from '../services/viewport.service';
|
||||
import {filter} from 'rxjs/operators';
|
||||
@@ -8,6 +8,7 @@ import {TranslatePipe, TranslateService} from '@ngx-translate/core';
|
||||
selector: 'app-navbar',
|
||||
templateUrl: './navbar.component.html',
|
||||
styleUrls: ['./navbar.component.css'],
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
imports: [
|
||||
RouterLink,
|
||||
TranslatePipe
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {AfterViewInit, Component, ElementRef, Inject, OnDestroy, OnInit, PLATFORM_ID, ViewChild, Input} from '@angular/core';
|
||||
import {AfterViewInit, Component, ElementRef, Inject, OnDestroy, OnInit, PLATFORM_ID, ViewChild, Input, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {ViewportService} from '../services/viewport.service';
|
||||
import {isPlatformBrowser} from '@angular/common';
|
||||
import Parallax from 'parallax-js';
|
||||
@@ -7,6 +7,7 @@ import Parallax from 'parallax-js';
|
||||
selector: 'app-parallax',
|
||||
imports: [],
|
||||
templateUrl: './parallax.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './parallax.component.css',
|
||||
})
|
||||
export class ParallaxComponent implements OnInit, OnDestroy, AfterViewInit {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import { NavbarComponent } from '../navbar/navbar.component';
|
||||
import { MobileNavbarComponent } from '../mobile-navbar/mobile-navbar.component';
|
||||
@@ -9,6 +9,7 @@ import { ViewportService } from '../services/viewport.service';
|
||||
selector: 'app-public-layout',
|
||||
imports: [RouterOutlet, NavbarComponent, MobileNavbarComponent, FooterComponent],
|
||||
templateUrl: './public-layout.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './public-layout.component.css',
|
||||
})
|
||||
export class PublicLayoutComponent implements OnInit {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit, Input, Output, EventEmitter} from '@angular/core';
|
||||
import {Component, OnInit, Input, Output, EventEmitter, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {ShortenerService} from '../services/shortener.service';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import { SlicePipe } from '@angular/common';
|
||||
@@ -11,6 +11,7 @@ import {AuthService} from '../services/auth.service';
|
||||
SlicePipe
|
||||
],
|
||||
templateUrl: './shortener.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './shortener.component.css'
|
||||
})
|
||||
export class ShortenerComponent implements OnInit {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, ElementRef, Input, OnChanges, OnInit, SimpleChanges, TemplateRef, ViewChild, ViewEncapsulation} from '@angular/core';
|
||||
import {Component, ElementRef, Input, OnChanges, OnInit, SimpleChanges, TemplateRef, ViewChild, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { Router } from '@angular/router';
|
||||
import {TranslatePipe} from '@ngx-translate/core';
|
||||
@@ -23,6 +23,7 @@ interface TerminalEntry {
|
||||
standalone: true,
|
||||
imports: [FormsModule, TranslatePipe, NgTemplateOutlet],
|
||||
templateUrl: './terminal-emulator.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './terminal-emulator.component.css'
|
||||
})
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
|
||||
import {NgStyle} from '@angular/common';
|
||||
import {ViewportService} from '../shared/services/viewport.service';
|
||||
import {Title} from '@angular/platform-browser';
|
||||
@@ -13,6 +13,7 @@ import {ParallaxComponent} from '../shared/parallax/parallax.component';
|
||||
ParallaxComponent
|
||||
],
|
||||
templateUrl: './socials.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Eager,
|
||||
styleUrl: './socials.component.css'
|
||||
})
|
||||
export class SocialsComponent implements OnInit {
|
||||
|
||||
+9
-2
@@ -5,7 +5,6 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "./out-tsc/app",
|
||||
"types": [
|
||||
"@angular/localize"
|
||||
]
|
||||
},
|
||||
"files": [
|
||||
@@ -13,5 +12,13 @@
|
||||
],
|
||||
"include": [
|
||||
"src/**/*.d.ts"
|
||||
]
|
||||
],
|
||||
"angularCompilerOptions": {
|
||||
"extendedDiagnostics": {
|
||||
"checks": {
|
||||
"nullishCoalescingNotNullable": "suppress",
|
||||
"optionalChainNotNullable": "suppress"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user