Skip to content

Commit

Permalink
Angular 19
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Nov 24, 2024
1 parent 2b66a72 commit 9c53344
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { HealthModalComponent } from './modal/health-modal.component';
selector: 'jhi-health',
templateUrl: './health.component.html',
imports: [CommonModule, MatDialogModule, MatIconModule, MatButtonModule, MatTableModule],
standalone: true,
styleUrl: './health.component.css',
})
export default class HealthComponent implements OnInit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { HealthDetails } from '../health.model';
selector: 'jhi-health-modal',
templateUrl: './health-modal.component.html',
imports: [CommonModule, MatDialogModule, MatIconModule, MatButtonModule, MatTableModule],
standalone: true,
styleUrl: './health-modal.component.css',
})
export class HealthModalComponent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { MatToolbarModule } from '@angular/material/toolbar';
selector: 'jhi-root',
templateUrl: './app.component.html',
imports: [CommonModule, RouterModule, MatMenuModule, MatToolbarModule, MatIconModule, MatButtonModule, NgOptimizedImage],
standalone: true,
styleUrl: './app.component.css',
})
export class AppComponent implements OnInit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictStandalone": true,
"strictTemplates": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { MatInputModule } from '@angular/material/input';
selector: 'jhi-login',
templateUrl: './login.component.html',
imports: [CommonModule, MatButtonModule, MatInputModule, MatCardModule, ReactiveFormsModule],
standalone: true,
styleUrl: './login.component.css',
})
export default class LoginComponent implements OnInit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { MatButtonModule } from '@angular/material/button';
selector: 'jhi-login',
templateUrl: './login.component.html',
imports: [CommonModule, MatButtonModule],
standalone: true,
})
export default class LoginComponent {
private readonly oauth2AuthService = inject(Oauth2AuthService);
Expand Down
18 changes: 9 additions & 9 deletions src/main/resources/generator/dependencies/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"dependencies": {
"@angular-builders/jest": "18.0.0",
"@angular/build": "18.2.12",
"@angular/cdk": "18.2.14",
"@angular/cli": "18.2.12",
"@angular/compiler-cli": "18.2.12",
"@angular/core": "18.2.12",
"@angular/material": "18.2.14",
"@angular/build": "19.0.1",
"@angular/cdk": "19.0.0",
"@angular/cli": "19.0.1",
"@angular/compiler-cli": "19.0.0",
"@angular/core": "19.0.0",
"@angular/material": "19.0.0",
"angular-eslint": "18.4.1",
"jest-environment-jsdom": "29.7.0",
"jest-preset-angular": "14.3.2",
"jest-preset-angular": "14.4.0-rc.0",
"jest-sonar-reporter": "2.0.0",
"rxjs": "7.8.1",
"tslib": "2.8.1",
"typescript": "5.5.4",
"zone.js": "0.14.10"
"typescript": "5.6.3",
"zone.js": "0.15.0"
}
}
1 change: 0 additions & 1 deletion src/test/resources/projects/angular/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { MatToolbarModule } from '@angular/material/toolbar';
selector: 'jhi-root',
templateUrl: './app.component.html',
imports: [CommonModule, RouterModule, MatMenuModule, MatToolbarModule, MatIconModule, MatButtonModule, NgOptimizedImage],
standalone: true,
styleUrl: './app.component.css',
})
export class AppComponent implements OnInit {
Expand Down

0 comments on commit 9c53344

Please sign in to comment.