Skip to content

Commit

Permalink
Merge pull request #11389 from qmonmert/angular19
Browse files Browse the repository at this point in the history
Angular 19
  • Loading branch information
pascalgrimaud authored Dec 9, 2024
2 parents 497b207 + b429880 commit 8408066
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 14 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
16 changes: 8 additions & 8 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-builders/jest": "19.0.0-beta.1",
"@angular/build": "19.0.4",
"@angular/cdk": "19.0.2",
"@angular/cli": "19.0.4",
"@angular/compiler-cli": "19.0.3",
"@angular/core": "19.0.3",
"@angular/material": "19.0.2",
"angular-eslint": "19.0.0",
"jest-environment-jsdom": "29.7.0",
"jest-preset-angular": "14.4.2",
"jest-sonar-reporter": "2.0.0",
"rxjs": "7.8.1",
"tslib": "2.8.1",
"typescript": "5.5.4",
"zone.js": "0.14.10"
"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 8408066

Please sign in to comment.