Skip to content

Commit 4b9da7d

Browse files
authored
angular: update to Angular v19 (#28114)
1 parent ca25a9d commit 4b9da7d

File tree

61 files changed

+43
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+43
-90
lines changed

generators/angular/resources/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
{
22
"dependencies": {
3-
"@angular/common": "18.2.12",
4-
"@fortawesome/angular-fontawesome": "0.15.0",
3+
"@angular/common": "19.0.3",
4+
"@fortawesome/angular-fontawesome": "1.0.0",
55
"@fortawesome/fontawesome-svg-core": "6.7.1",
66
"@fortawesome/free-solid-svg-icons": "6.7.1",
7-
"@ng-bootstrap/ng-bootstrap": "17.0.1",
7+
"@ng-bootstrap/ng-bootstrap": "18.0.0-rc.0",
88
"@ngx-translate/core": "16.0.3",
99
"@ngx-translate/http-loader": "16.0.0",
1010
"@popperjs/core": "2.11.8",
1111
"@stomp/rx-stomp": "2.0.0",
1212
"bootstrap": "5.3.3",
1313
"bootswatch": "5.3.3",
14-
"ngx-cookie-service": "18.0.0",
15-
"ngx-infinite-scroll": "18.0.0",
14+
"ngx-cookie-service": "19.0.0",
15+
"ngx-infinite-scroll": "19.0.0",
1616
"rxjs": "7.8.1",
1717
"sockjs-client": "1.6.1",
1818
"tslib": "2.8.1",
19-
"zone.js": "0.14.10"
19+
"zone.js": "0.15.0"
2020
},
2121
"devDependencies": {
2222
"@angular-architects/module-federation": "18.0.6",
2323
"@angular-architects/module-federation-runtime": "18.0.6",
24-
"@angular-builders/custom-esbuild": "18.0.0",
25-
"@angular-builders/custom-webpack": "18.0.0",
26-
"@angular-builders/jest": "18.0.0",
27-
"@angular/cli": "18.2.12",
24+
"@angular-builders/custom-esbuild": "19.0.0-beta.0",
25+
"@angular-builders/custom-webpack": "19.0.0-beta.0",
26+
"@angular-builders/jest": "19.0.0-beta.0",
27+
"@angular/cli": "19.0.4",
2828
"@eslint/js": "9.16.0",
2929
"@types/jest": "29.5.14",
3030
"@types/node": "20.11.25",
3131
"@types/sockjs-client": "1.5.4",
32-
"angular-eslint": "18.4.2",
32+
"angular-eslint": "19.0.2",
3333
"browser-sync": "3.0.3",
3434
"browser-sync-webpack-plugin": "2.3.0",
3535
"buffer": "6.0.3",
@@ -51,7 +51,7 @@
5151
"postcss-rtlcss": "5.5.1",
5252
"rimraf": "5.0.8",
5353
"ts-jest": "29.2.5",
54-
"typescript": "5.5.4",
54+
"typescript": "5.6.3",
5555
"typescript-eslint": "8.18.0",
5656
"webpack": "5.97.1",
5757
"webpack-bundle-analyzer": "4.10.2",

generators/angular/templates/src/main/webapp/app/account/activate/activate.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import SharedModule from 'app/shared/shared.module';
2424
import { ActivateService } from './activate.service';
2525

2626
@Component({
27-
standalone: true,
2827
selector: '<%= jhiPrefixDashed %>-activate',
2928
imports: [SharedModule, RouterModule],
3029
templateUrl: './activate.component.html',

generators/angular/templates/src/main/webapp/app/account/password-reset/finish/password-reset-finish.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import SharedModule from 'app/shared/shared.module';
2525
import { PasswordResetFinishService } from './password-reset-finish.service';
2626

2727
@Component({
28-
standalone: true,
2928
selector: '<%= jhiPrefixDashed %>-password-reset-finish',
3029
imports: [SharedModule, RouterModule, FormsModule, ReactiveFormsModule, PasswordStrengthBarComponent],
3130
templateUrl: './password-reset-finish.component.html',

generators/angular/templates/src/main/webapp/app/account/password-reset/init/password-reset-init.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import SharedModule from 'app/shared/shared.module';
2323
import { PasswordResetInitService } from './password-reset-init.service';
2424

2525
@Component({
26-
standalone: true,
2726
selector: '<%= jhiPrefixDashed %>-password-reset-init',
2827
imports: [SharedModule, FormsModule, ReactiveFormsModule],
2928
templateUrl: './password-reset-init.component.html',

generators/angular/templates/src/main/webapp/app/account/password/password-strength-bar/password-strength-bar.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import { Component, ElementRef, inject, Input, Renderer2 } from '@angular/core';
2121
import SharedModule from 'app/shared/shared.module';
2222

2323
@Component({
24-
standalone: true,
2524
selector: '<%= jhiPrefixDashed %>-password-strength-bar',
2625
imports: [SharedModule],
2726
templateUrl: './password-strength-bar.component.html',

generators/angular/templates/src/main/webapp/app/account/password/password.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import { PasswordService } from './password.service';
2727
import PasswordStrengthBarComponent from './password-strength-bar/password-strength-bar.component';
2828

2929
@Component({
30-
standalone: true,
3130
selector: '<%= jhiPrefixDashed %>-password',
3231
imports: [SharedModule, FormsModule, ReactiveFormsModule, PasswordStrengthBarComponent],
3332
templateUrl: './password.component.html',

generators/angular/templates/src/main/webapp/app/account/register/register.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import SharedModule from 'app/shared/shared.module';
3030
import PasswordStrengthBarComponent from '../password/password-strength-bar/password-strength-bar.component';
3131

3232
@Component({
33-
standalone: true,
3433
selector: '<%= jhiPrefixDashed %>-register',
3534
imports: [SharedModule, RouterModule, FormsModule, ReactiveFormsModule, PasswordStrengthBarComponent],
3635
templateUrl: './register.component.html',

generators/angular/templates/src/main/webapp/app/account/sessions/sessions.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import { SessionsService } from './sessions.service';
2525
import { Account } from 'app/core/auth/account.model';
2626

2727
@Component({
28-
standalone: true,
2928
selector: '<%= jhiPrefixDashed %>-sessions',
3029
imports: [SharedModule],
3130
templateUrl: './sessions.component.html',

generators/angular/templates/src/main/webapp/app/account/settings/settings.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import { LANGUAGES } from 'app/config/language.constants';
3232
const initialAccount: Account = {} as Account;
3333

3434
@Component({
35-
standalone: true,
3635
selector: '<%= jhiPrefixDashed %>-settings',
3736
imports: [SharedModule, FormsModule, ReactiveFormsModule],
3837
templateUrl: './settings.component.html',

generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.component.ts.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import { ConfigurationService } from './configuration.service';
2525
import { Bean, PropertySource } from './configuration.model';
2626

2727
@Component({
28-
standalone: true,
2928
selector: '<%= jhiPrefixDashed %>-configuration',
3029
templateUrl: './configuration.component.html',
3130
imports: [SharedModule, FormsModule, SortDirective, SortByDirective],

0 commit comments

Comments
 (0)