Skip to content

Commit eb5a3b6

Browse files
committed
refactor: update Angular to v19
1 parent c07ec62 commit eb5a3b6

File tree

10 files changed

+3240
-2842
lines changed

10 files changed

+3240
-2842
lines changed

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,37 +22,37 @@
2222
"private": true,
2323
"dependencies": {
2424
"@acrodata/gui": "^2.4.0",
25-
"@angular/animations": "^18.2.8",
26-
"@angular/cdk": "^18.2.8",
27-
"@angular/common": "^18.2.8",
28-
"@angular/compiler": "^18.2.8",
29-
"@angular/core": "^18.2.8",
30-
"@angular/forms": "^18.2.8",
31-
"@angular/material": "^18.2.8",
32-
"@angular/platform-browser": "^18.2.8",
33-
"@angular/platform-browser-dynamic": "^18.2.8",
34-
"@angular/router": "^18.2.8",
25+
"@angular/animations": "^19.2.15",
26+
"@angular/cdk": "^19.2.19",
27+
"@angular/common": "^19.2.15",
28+
"@angular/compiler": "^19.2.15",
29+
"@angular/core": "^19.2.15",
30+
"@angular/forms": "^19.2.15",
31+
"@angular/material": "^19.2.19",
32+
"@angular/platform-browser": "^19.2.15",
33+
"@angular/platform-browser-dynamic": "^19.2.15",
34+
"@angular/router": "^19.2.15",
3535
"@codemirror/language-data": "^6.5.1",
3636
"@codemirror/merge": "^6.10.0",
3737
"@codemirror/theme-one-dark": "^6.1.2",
38-
"@ng-matero/extensions": "^18.4.0",
38+
"@ng-matero/extensions": "^19.3.0",
3939
"codemirror": "^6.0.1",
4040
"lodash-es": "^4.17.21",
4141
"rxjs": "~7.8.0",
4242
"tslib": "^2.3.0",
43-
"zone.js": "~0.14.10"
43+
"zone.js": "~0.15.1"
4444
},
4545
"devDependencies": {
46-
"@angular-devkit/build-angular": "^18.2.8",
47-
"@angular/cli": "^18.2.8",
48-
"@angular/compiler-cli": "^18.2.8",
46+
"@angular-devkit/build-angular": "^19.2.19",
47+
"@angular/cli": "^19.2.19",
48+
"@angular/compiler-cli": "^19.2.15",
4949
"@commitlint/cli": "^19.5.0",
5050
"@commitlint/config-conventional": "^19.5.0",
5151
"@types/jasmine": "~5.1.0",
5252
"@types/lodash-es": "^4.17.10",
5353
"@types/node": "^20.12.0",
5454
"angular-cli-ghpages": "^2.0.0",
55-
"angular-eslint": "^18.3.1",
55+
"angular-eslint": "^19.3.0",
5656
"eslint": "^9.12.0",
5757
"husky": "^9.1.6",
5858
"jasmine-core": "~5.1.0",
@@ -62,12 +62,12 @@
6262
"karma-jasmine": "~5.1.0",
6363
"karma-jasmine-html-reporter": "~2.1.0",
6464
"lint-staged": "^15.2.0",
65-
"ng-packagr": "^18.2.1",
66-
"prettier": "^3.2.0",
65+
"ng-packagr": "^19.2.2",
66+
"prettier": "^3.6.0",
6767
"stylelint": "^16.5.0",
6868
"stylelint-config-recommended-scss": "^14.0.0",
6969
"stylelint-config-standard": "^36.0.0",
70-
"typescript": "~5.4.5",
70+
"typescript": "~5.8.3",
7171
"typescript-eslint": "^8.8.1"
7272
}
7373
}

projects/code-editor/code-editor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export const External = Annotation.define<boolean>();
3737

3838
@Component({
3939
selector: 'code-editor',
40-
standalone: true,
4140
template: ``,
4241
styles: `
4342
.code-editor {

projects/code-editor/diff-editor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export interface DiffEditorModel {
3434

3535
@Component({
3636
selector: 'diff-editor',
37-
standalone: true,
3837
template: ``,
3938
styles: `
4039
.diff-editor {

projects/dev-app/src/app/app.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { RouterOutlet } from '@angular/router';
33

44
@Component({
55
selector: 'app-root',
6-
standalone: true,
76
imports: [RouterOutlet],
87
templateUrl: './app.component.html',
98
styleUrl: './app.component.scss',

projects/dev-app/src/app/diff/diff.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { unifiedMergeView } from '@codemirror/merge';
55

66
@Component({
77
selector: 'app-diff',
8-
standalone: true,
98
imports: [DiffEditor, CodeEditor, FormsModule, ReactiveFormsModule],
109
templateUrl: './diff.component.html',
1110
styleUrl: './diff.component.scss',

projects/dev-app/src/app/home/home.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { unifiedMergeView } from '@codemirror/merge';
1010

1111
@Component({
1212
selector: 'app-home',
13-
standalone: true,
1413
imports: [FormsModule, ReactiveFormsModule, CodeEditor, DiffEditor, GuiForm, MatButtonModule],
1514
templateUrl: './home.component.html',
1615
styleUrl: './home.component.scss',

projects/dev-app/src/app/layout/layout.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { RouterOutlet } from '@angular/router';
55

66
@Component({
77
selector: 'app-layout',
8-
standalone: true,
98
imports: [RouterOutlet, MatToolbarModule, MatButtonModule],
109
templateUrl: './layout.component.html',
1110
styleUrl: './layout.component.scss',

projects/dev-app/src/styles.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
@use '@angular/material' as mat;
33
@use '@ng-matero/extensions' as mtx;
44

5-
@include mat.core();
5+
@include mat.elevation-classes();
6+
@include mat.app-background();
67

78
$primary: mat.m2-define-palette(mat.$m2-indigo-palette, 500);
89
$accent: mat.m2-define-palette(mat.$m2-pink-palette, A200, A100, A400);

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"baseUrl": "./",
66
"outDir": "./dist/out-tsc",
77
"forceConsistentCasingInFileNames": true,
8+
"esModuleInterop": true,
89
"strict": true,
910
"noImplicitOverride": true,
1011
"noPropertyAccessFromIndexSignature": true,
1112
"noImplicitReturns": true,
1213
"noFallthroughCasesInSwitch": true,
1314
"sourceMap": true,
1415
"declaration": false,
15-
"downlevelIteration": true,
1616
"experimentalDecorators": true,
1717
"moduleResolution": "node",
1818
"importHelpers": true,

0 commit comments

Comments
 (0)