Skip to content

Commit c205246

Browse files
update apps/angular to Angular 19
1 parent dbb07e2 commit c205246

File tree

6 files changed

+1688
-502
lines changed

6 files changed

+1688
-502
lines changed

apps/angular/angular.json

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,22 @@
1111
"schematics": {},
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:browser",
14+
"builder": "@angular-devkit/build-angular:application",
1515
"options": {
16-
"outputPath": "dist/sandbox",
16+
"outputPath": {
17+
"base": "dist/sandbox"
18+
},
1719
"index": "src/index.html",
18-
"main": "src/main.ts",
19-
"polyfills": "src/polyfills.ts",
20+
"polyfills": [
21+
"src/polyfills.ts"
22+
],
2023
"tsConfig": "src/tsconfig.app.json",
2124
"styles": [
2225
"node_modules/devextreme/dist/css/dx.common.css",
2326
"node_modules/devextreme/dist/css/dx.light.css"
2427
],
25-
"scripts": []
28+
"scripts": [],
29+
"browser": "src/main.ts"
2630
},
2731
"configurations": {
2832
"production": {
@@ -35,12 +39,9 @@
3539
"optimization": true,
3640
"outputHashing": "all",
3741
"sourceMap": false,
38-
"extractCss": true,
3942
"namedChunks": false,
4043
"aot": true,
4144
"extractLicenses": true,
42-
"vendorChunk": false,
43-
"buildOptimizer": true,
4445
"budgets": [
4546
{
4647
"type": "initial",
@@ -53,26 +54,23 @@
5354
"optimization": false,
5455
"outputHashing": "none",
5556
"sourceMap": true,
56-
"extractCss": true,
5757
"namedChunks": false,
5858
"aot": true,
59-
"extractLicenses": true,
60-
"vendorChunk": false,
61-
"buildOptimizer": false
59+
"extractLicenses": true
6260
}
6361
}
6462
},
6563
"serve": {
6664
"builder": "@angular-devkit/build-angular:dev-server",
6765
"options": {
68-
"browserTarget": "sandbox:build"
66+
"buildTarget": "sandbox:build"
6967
},
7068
"configurations": {
7169
"production": {
72-
"browserTarget": "sandbox:build:production"
70+
"buildTarget": "sandbox:build:production"
7371
},
7472
"dev": {
75-
"browserTarget": "sandbox:build:dev"
73+
"buildTarget": "sandbox:build:dev"
7674
}
7775
}
7876
},
@@ -93,6 +91,5 @@
9391
}
9492
}
9593
}
96-
},
97-
"defaultProject": "sandbox"
94+
}
9895
}

apps/angular/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@
66
"author": "Developer Express Inc.",
77
"license": "MIT",
88
"dependencies": {
9-
"@angular/animations": "18.2.14",
10-
"@angular/common": "18.2.14",
11-
"@angular/compiler": "18.2.14",
12-
"@angular/compiler-cli": "18.2.14",
13-
"@angular/core": "18.2.14",
14-
"@angular/forms": "18.2.14",
15-
"@angular/platform-browser": "18.2.14",
16-
"@angular/platform-browser-dynamic": "18.2.14",
17-
"@angular/router": "18.2.14",
9+
"@angular/animations": "19.2.17",
10+
"@angular/common": "19.2.17",
11+
"@angular/compiler": "19.2.17",
12+
"@angular/compiler-cli": "19.2.17",
13+
"@angular/core": "19.2.17",
14+
"@angular/forms": "19.2.17",
15+
"@angular/platform-browser": "19.2.17",
16+
"@angular/platform-browser-dynamic": "19.2.17",
17+
"@angular/router": "19.2.17",
1818
"core-js": "^2.6.12",
1919
"devextreme": "25.1.7",
2020
"devextreme-angular": "25.1.7",
2121
"rxjs": "7.8.1",
2222
"tslib": "^2.6.1",
23-
"zone.js": "0.14.10"
23+
"zone.js": "0.15.1"
2424
},
2525
"devDependencies": {
26-
"@angular-devkit/build-angular": "18.2.21",
27-
"@angular/cli": "18.2.21",
28-
"@angular/language-service": "18.2.14",
29-
"@angular/platform-server": "18.2.14",
26+
"@angular-devkit/build-angular": "19.2.19",
27+
"@angular/cli": "19.2.19",
28+
"@angular/language-service": "19.2.17",
29+
"@angular/platform-server": "19.2.17",
3030
"@types/jasmine": "5.1.4",
3131
"@types/node": "20.11.17",
3232
"cross-env": "7.0.3",
3333
"ts-node": "10.9.2",
34-
"typescript": "5.4.5"
34+
"typescript": "5.8.3"
3535
},
3636
"scripts": {
3737
"ng": "ng",

apps/angular/src/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* tslint:disable:component-selector */
2-
32
import {
43
Component,
54
OnInit,
@@ -95,7 +94,8 @@ import ArrayStore from 'devextreme/data/array_store';
9594
CustomerService,
9695
AppointmentService,
9796
OwnerService
98-
]
97+
],
98+
standalone: false
9999
})
100100
export class AppComponent implements OnInit, AfterViewInit {
101101
@ViewChild(DxPopoverComponent) popover: DxPopoverComponent;

apps/angular/src/app/app.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { BrowserModule } from '@angular/platform-browser';
33
import { ReactiveFormsModule } from '@angular/forms';
44
import { AppComponent } from './app.component';
55

6-
76
import { DevExtremeModule } from 'devextreme-angular';
87

98
@NgModule({

apps/angular/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"compilerOptions": {
55
"outDir": "./dist/out-tsc",
66
"sourceMap": true,
7+
"esModuleInterop": true,
78
"declaration": false,
89
"module": "es2015",
910
"moduleResolution": "node",

0 commit comments

Comments
 (0)