Skip to content

Commit bfd4a07

Browse files
committed
Update npm packages on angular app
1 parent 9b8ccb2 commit bfd4a07

File tree

4 files changed

+1771
-1657
lines changed

4 files changed

+1771
-1657
lines changed

angular/angular.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
"src/assets/freeze-ui/freeze-ui.css",
3737
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
3838
"node_modules/admin-lte-css-only/css/adminlte.min.css",
39-
"src/shared/core.less",
40-
"node_modules/primeng/resources/primeng.min.css",
41-
"node_modules/primeng/resources/themes/bootstrap4-light-blue/theme.css"
39+
"src/shared/core.less"
4240
],
4341
"scripts": [
4442
"node_modules/moment/min/moment.min.js",

angular/package.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,28 @@
1313
"test": "ng test"
1414
},
1515
"dependencies": {
16-
"@angular/animations": "^18.1.2",
17-
"@angular/common": "^18.1.2",
18-
"@angular/compiler": "^18.1.2",
19-
"@angular/core": "^18.1.2",
20-
"@angular/forms": "^18.1.2",
21-
"@angular/platform-browser": "^18.1.2",
22-
"@angular/platform-browser-dynamic": "^18.1.2",
23-
"@angular/router": "^18.1.2",
16+
"@angular/animations": "^19.2.1",
17+
"@angular/common": "^19.2.1",
18+
"@angular/compiler": "^19.2.1",
19+
"@angular/core": "^19.2.1",
20+
"@angular/forms": "^19.2.1",
21+
"@angular/platform-browser": "^19.2.1",
22+
"@angular/platform-browser-dynamic": "^19.2.1",
23+
"@angular/router": "^19.2.1",
2424
"@fortawesome/fontawesome-free": "^6.7.2",
2525
"@microsoft/signalr": "^8.0.7",
2626
"abp-ng2-module": "12.1.0",
2727
"abp-web-resources": "^6.1.0",
2828
"admin-lte-css-only": "^3.2.0",
29-
"core-js": "^3.40.0",
29+
"core-js": "^3.41.0",
3030
"famfamfam-flags": "^1.0.0",
3131
"lodash-es": "^4.17.21",
3232
"moment": "2.30.1",
3333
"moment-timezone": "0.5.47",
3434
"ngx-bootstrap": "^19.0.2",
3535
"ngx-pagination": "^6.0.3",
36-
"primeng": "^17.18.11",
36+
"primeng": "^19.0.9",
37+
"@primeng/themes": "^19.0.9",
3738
"push.js": "1.0.12",
3839
"rtl-detect": "^1.1.2",
3940
"rxjs": "^7.8.2",
@@ -42,14 +43,14 @@
4243
"tslib": "^2.8.1"
4344
},
4445
"devDependencies": {
45-
"@angular-devkit/build-angular": "^18.1.2",
46-
"@angular/cli": "^18.1.2",
47-
"@angular/compiler-cli": "^18.1.2",
46+
"@angular-devkit/build-angular": "^19.2.1",
47+
"@angular/cli": "^19.2.1",
48+
"@angular/compiler-cli": "^19.2.1",
4849
"@angularclass/hmr": "^3.0.0",
4950
"@types/jasmine": "~5.1.7",
5051
"@types/lodash-es": "^4.17.12",
5152
"@types/moment-timezone": "^0.5.30",
52-
"@types/node": "^22.13.5",
53+
"@types/node": "^22.13.10",
5354
"jasmine-core": "~5.6.0",
5455
"jasmine-spec-reporter": "~7.0.0",
5556
"karma": "~6.4.4",
@@ -62,7 +63,7 @@
6263
"protractor": "~7.0.0",
6364
"ts-node": "^10.9.2",
6465
"tslint": "~6.1.3",
65-
"typescript": "5.5.3",
66+
"typescript": "5.8.2",
6667
"webpack-bundle-analyzer": "^4.10.2"
6768
},
6869
"angular-cli": {}

angular/src/main.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import { TabsModule } from 'ngx-bootstrap/tabs';
2020
import { ServiceProxyModule } from '@shared/service-proxies/service-proxy.module';
2121
import { RootRoutingModule } from './root-routing.module';
2222
import { RootComponent } from './root.component';
23+
import { providePrimeNG } from 'primeng/config';
24+
import Lara from '@primeng/themes/lara';
2325

2426
if (environment.production) {
2527
enableProdMode();
@@ -45,6 +47,11 @@ const bootstrap = () => {
4547
},
4648
provideAnimations(),
4749
provideHttpClient(withInterceptorsFromDi()),
50+
providePrimeNG({
51+
theme: {
52+
preset: Lara
53+
}
54+
}),
4855
]
4956
});
5057
};

0 commit comments

Comments
 (0)