Skip to content

Commit

Permalink
feat: update to Angular 19
Browse files Browse the repository at this point in the history
  • Loading branch information
kyubisation committed Nov 22, 2024
1 parent 927f8d3 commit 22cc0de
Show file tree
Hide file tree
Showing 16 changed files with 3,752 additions and 4,062 deletions.
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"t9n"
],
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"ng": "ng",
"start": "ng serve",
"clean": "rimraf --glob coverage \"{bin,builders,schematics,server}/**/index.{js,d.ts}\"",
Expand All @@ -31,7 +31,7 @@
"xi18n": "yarn -s xi18n:xlf && yarn -s xi18n:xlf2",
"t9n:xlf": "ng run angular-t9n:t9n -c xlf",
"t9n:xlf2": "ng run angular-t9n:t9n",
"release": "standard-version --tag-prefix=\"\""
"release": "commit-and-tag-version --tag-prefix=\"\""
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -61,26 +61,26 @@
"rxjs": "~7.8.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.0.1",
"@angular-eslint/builder": "17.5.1",
"@angular-eslint/eslint-plugin": "17.5.1",
"@angular-eslint/eslint-plugin-template": "17.5.1",
"@angular-eslint/schematics": "17.5.1",
"@angular-eslint/template-parser": "17.5.1",
"@angular/animations": "^18.0.0",
"@angular/cdk": "^18.0.0",
"@angular/cli": "^18.0.1",
"@angular/common": "^18.0.0",
"@angular/compiler": "^18.0.0",
"@angular/compiler-cli": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/forms": "^18.0.0",
"@angular/language-service": "^18.0.0",
"@angular/localize": "^18.0.0",
"@angular/material": "^18.0.0",
"@angular/platform-browser": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/router": "^18.0.0",
"@angular-devkit/build-angular": "^19.0.1",
"@angular-eslint/builder": "19.0.0-alpha.1",
"@angular-eslint/eslint-plugin": "19.0.0-alpha.1",
"@angular-eslint/eslint-plugin-template": "19.0.0-alpha.1",
"@angular-eslint/schematics": "19.0.0-alpha.1",
"@angular-eslint/template-parser": "19.0.0-alpha.1",
"@angular/animations": "^19.0.0",
"@angular/cdk": "^19.0.0",
"@angular/cli": "^19.0.1",
"@angular/common": "^19.0.0",
"@angular/compiler": "^19.0.0",
"@angular/compiler-cli": "^19.0.0",
"@angular/core": "^19.0.0",
"@angular/forms": "^19.0.0",
"@angular/language-service": "^19.0.0",
"@angular/localize": "^19.0.0",
"@angular/material": "^19.0.0",
"@angular/platform-browser": "^19.0.0",
"@angular/platform-browser-dynamic": "^19.0.0",
"@angular/router": "^19.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.2.0",
"@types/express": "^4.17.20",
Expand All @@ -91,6 +91,7 @@
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"commit-and-tag-version": "^12.5.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.0",
"husky": "^9.0.11",
Expand All @@ -106,14 +107,13 @@
"rimraf": "^5.0.5",
"rollup": "^4.3.0",
"rollup-plugin-ts": "^3.4.5",
"standard-version": "^9.3.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.4.0",
"tsconfig-paths": "^4.2.0",
"tslib": "^2.6.2",
"typescript": "~5.4.5",
"tslib": "^2.8.1",
"typescript": "~5.6.3",
"xlsx": "^0.18.5",
"zone.js": "~0.14.2"
"zone.js": "~0.15.0"
},
"schematics": "./schematics/collection.json",
"builders": "./builders/builders.json",
Expand Down
1 change: 0 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { WebsocketService } from './core/websocket.service';
selector: 't9n-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
standalone: true,
imports: [
MatToolbarModule,
MatButtonModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { TranslationService } from '../../core/translation.service';
selector: 't9n-add-language-modal',
templateUrl: './add-language-modal.component.html',
styleUrls: ['./add-language-modal.component.scss'],
standalone: true,
imports: [
MatDialogModule,
ReactiveFormsModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/overview/overview/overview.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { AddLanguageModalComponent } from '../add-language-modal/add-language-mo
templateUrl: './overview.component.html',
styleUrls: ['./overview.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
AsyncPipe,
MatButtonModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { SourceOrphansService } from '../core/source-orphans.service';
templateUrl: './auto-migrate.component.html',
styleUrls: ['./auto-migrate.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
ReactiveFormsModule,
MatFormFieldModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/source-orphans/migrate/migrate.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { MigrateDataSource } from './migrate-datasource';
templateUrl: './migrate.component.html',
styleUrls: ['./migrate.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
MatTableModule,
MatSortModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { SourceOrphansService } from '../core/source-orphans.service';
templateUrl: './source-orphan.component.html',
styleUrls: ['./source-orphan.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
NgIf,
MatTableModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { RouterLink, RouterLinkActive, RouterOutlet } from '@angular/router';
templateUrl: './source-orphans.component.html',
styleUrls: ['./source-orphans.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
MatSidenavModule,
MatListModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/target/export/export.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { ExportService } from '../core/export.service';
styleUrls: ['./export.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [ExportService],
standalone: true,
imports: [
ReactiveFormsModule,
MatFormFieldModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/target/import/import.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { ImportService } from '../core/import.service';
styleUrls: ['./import.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [ImportService],
standalone: true,
imports: [
RouterLink,
MatFormFieldModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/target/orphan/orphan.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { TranslationTargetService } from '../core/translation-target.service';
templateUrl: './orphan.component.html',
styleUrls: ['./orphan.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
NgIf,
MatTableModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/target/orphans/orphans.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { OrphansDataSource } from './orphans-datasource';
templateUrl: './orphans.component.html',
styleUrls: ['./orphans.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
MatTableModule,
MatSortModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/target/target/target.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { TranslationTargetService } from '../core/translation-target.service';
styleUrls: ['./target.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [TranslationTargetService],
standalone: true,
imports: [
MatSidenavModule,
MatListModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/target/translate/translate.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import { TranslateDataSource } from './translate-datasource';
templateUrl: './translate.component.html',
styleUrls: ['./translate.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
MatTableModule,
MatSortModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/target/unit/unit.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { TranslationTargetService } from '../core/translation-target.service';
templateUrl: './unit.component.html',
styleUrls: ['./unit.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
NgIf,
ReactiveFormsModule,
Expand Down
Loading

0 comments on commit 22cc0de

Please sign in to comment.