Skip to content

Commit 4f43d45

Browse files
pumanoedbzn
andauthored
chore: update angular to version 19 (#691)
Co-authored-by: Edouard Bozon <bozonedouard@gmail.com>
1 parent de39122 commit 4f43d45

File tree

14 files changed

+1665
-2065
lines changed

14 files changed

+1665
-2065
lines changed

apps/game-of-life/.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"prefix": "jc",
2525
"style": "kebab-case"
2626
}
27-
]
27+
],
28+
"@angular-eslint/prefer-standalone": "warn"
2829
}
2930
},
3031
{

apps/game-of-life/src/app/app.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { GameOfLifeModule } from './game-of-life.component';
55
@Component({
66
selector: 'jc-app',
77
template: `<jc-game-of-life></jc-game-of-life>`,
8+
standalone: false,
89
})
910
export class AppComponent {}
1011

apps/game-of-life/src/app/cell.component.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,18 @@ import { GameOfLife } from './game-of-life.service';
2929
}
3030
`,
3131
],
32+
standalone: false,
3233
})
3334
export class CellComponent implements OnInit {
3435
@Input() col?: number = undefined;
3536
@Input() row?: number = undefined;
3637

3738
color?: string = undefined;
3839

39-
constructor(private _gol: GameOfLife, private _cdr: ChangeDetectorRef) {}
40+
constructor(
41+
private _gol: GameOfLife,
42+
private _cdr: ChangeDetectorRef,
43+
) {}
4044

4145
ngOnInit() {
4246
if (this.row == null || this.col == null) {

apps/game-of-life/src/app/game-of-life.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import { GameOfLife, range } from './game-of-life.service';
3737
}
3838
`,
3939
],
40+
standalone: false,
4041
})
4142
export class GameOfLifeComponent implements OnDestroy, OnInit {
4243
colCount = 100;

apps/sandbox/.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"prefix": "jc",
2525
"style": "kebab-case"
2626
}
27-
]
27+
],
28+
"@angular-eslint/prefer-standalone": "warn"
2829
}
2930
},
3031
{

apps/sandbox/src/app/app.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { TitleModule } from './title.component';
1010
<jc-sandbox-title></jc-sandbox-title>
1111
<jc-sandbox-form></jc-sandbox-form>
1212
`,
13+
standalone: false,
1314
})
1415
export class AppComponent {}
1516

apps/sandbox/src/app/form.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { MatFormFieldModule } from '@angular/material/form-field';
1616
`,
1717
styles: [``],
1818
changeDetection: ChangeDetectionStrategy.OnPush,
19+
standalone: false,
1920
})
2021
export class FormComponent {}
2122

apps/sandbox/src/app/title.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
55
changeDetection: ChangeDetectionStrategy.OnPush,
66
selector: 'jc-sandbox-title',
77
template: `<h1>🚀 Let's test!</h1>`,
8+
standalone: false,
89
})
910
export class TitleComponent {}
1011

package.json

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
},
3434
"private": true,
3535
"dependencies": {
36-
"@angular/animations": "18.2.9",
37-
"@angular/cdk": "18.2.9",
38-
"@angular/common": "18.2.9",
39-
"@angular/compiler": "18.2.9",
40-
"@angular/core": "18.2.9",
41-
"@angular/forms": "18.2.9",
42-
"@angular/material": "18.2.9",
43-
"@angular/platform-browser": "18.2.9",
44-
"@angular/platform-browser-dynamic": "18.2.9",
45-
"@angular/router": "18.2.9",
36+
"@angular/animations": "19.0.3",
37+
"@angular/cdk": "19.0.2",
38+
"@angular/common": "19.0.3",
39+
"@angular/compiler": "19.0.3",
40+
"@angular/core": "19.0.3",
41+
"@angular/forms": "19.0.3",
42+
"@angular/material": "19.0.2",
43+
"@angular/platform-browser": "19.0.3",
44+
"@angular/platform-browser-dynamic": "19.0.3",
45+
"@angular/router": "19.0.3",
4646
"@babel/core": "7.26.0",
4747
"@babel/helper-plugin-utils": "^7.25.9",
4848
"@types/babel__helper-plugin-utils": "^7.10.3",
@@ -51,45 +51,45 @@
5151
"zone.js": "0.15.0"
5252
},
5353
"devDependencies": {
54-
"@analogjs/vite-plugin-angular": "1.9.4",
55-
"@angular-devkit/build-angular": "18.2.9",
56-
"@angular-devkit/core": "18.2.9",
57-
"@angular-devkit/schematics": "18.2.9",
58-
"@angular-eslint/eslint-plugin": "18.4.1",
59-
"@angular-eslint/eslint-plugin-template": "18.4.1",
60-
"@angular-eslint/template-parser": "18.4.1",
61-
"@angular/cli": "~18.2.0",
62-
"@angular/compiler-cli": "18.2.9",
63-
"@angular/language-service": "18.2.9",
64-
"@commitlint/cli": "^19.0.0",
65-
"@commitlint/config-angular": "^19.0.0",
54+
"@analogjs/vite-plugin-angular": "1.10.1",
55+
"@angular-devkit/build-angular": "19.0.4",
56+
"@angular-devkit/core": "19.0.4",
57+
"@angular-devkit/schematics": "19.0.4",
58+
"@angular-eslint/eslint-plugin": "19.0.1",
59+
"@angular-eslint/eslint-plugin-template": "19.0.1",
60+
"@angular-eslint/template-parser": "19.0.1",
61+
"@angular/cli": "~19.0.4",
62+
"@angular/compiler-cli": "19.0.3",
63+
"@angular/language-service": "19.0.3",
64+
"@commitlint/cli": "^19.6.0",
65+
"@commitlint/config-angular": "^19.6.0",
6666
"@jscutlery/playwright-ct-angular": "link:dist/packages/playwright-ct-angular",
6767
"@jscutlery/swc-angular": "link:dist/packages/swc-angular",
6868
"@jscutlery/swc-angular-plugin": "link:dist/packages/swc-angular-plugin",
6969
"@monodon/rust": "2.1.1",
70-
"@nx/angular": "20.1.4",
71-
"@nx/cypress": "20.1.4",
72-
"@nx/devkit": "20.1.4",
73-
"@nx/eslint": "20.1.4",
74-
"@nx/eslint-plugin": "20.1.4",
75-
"@nx/jest": "20.1.4",
76-
"@nx/js": "20.1.4",
77-
"@nx/node": "20.1.4",
78-
"@nx/plugin": "20.1.4",
79-
"@nx/rollup": "20.1.4",
80-
"@nx/vite": "20.1.4",
81-
"@nx/web": "20.1.4",
82-
"@nx/workspace": "20.1.4",
70+
"@nx/angular": "20.2.1",
71+
"@nx/cypress": "20.2.1",
72+
"@nx/devkit": "20.2.1",
73+
"@nx/eslint": "20.2.1",
74+
"@nx/eslint-plugin": "20.2.1",
75+
"@nx/jest": "20.2.1",
76+
"@nx/js": "20.2.1",
77+
"@nx/node": "20.2.1",
78+
"@nx/plugin": "20.2.1",
79+
"@nx/rollup": "20.2.1",
80+
"@nx/vite": "20.2.1",
81+
"@nx/web": "20.2.1",
82+
"@nx/workspace": "20.2.1",
8383
"@playwright/experimental-ct-core": "1.49.0",
8484
"@playwright/test": "1.49.0",
85-
"@schematics/angular": "18.2.12",
85+
"@schematics/angular": "19.0.4",
8686
"@swc-node/register": "1.10.9",
8787
"@swc/core": "1.9.3",
8888
"@swc/helpers": "0.5.15",
8989
"@swc/jest": "0.2.37",
9090
"@types/babel__core": "^7.20.5",
9191
"@types/jest": "29.5.14",
92-
"@types/node": "^22.0.0",
92+
"@types/node": "^22.10.1",
9393
"@typescript-eslint/eslint-plugin": "7.18.0",
9494
"@typescript-eslint/parser": "7.18.0",
9595
"@typescript-eslint/utils": "^7.18.0",
@@ -107,17 +107,17 @@
107107
"jest": "29.7.0",
108108
"jest-environment-jsdom": "29.7.0",
109109
"jest-preset-angular": "14.4.2",
110-
"mock-fs": "^5.1.1",
110+
"mock-fs": "^5.4.1",
111111
"ng-packagr": "19.0.1",
112-
"nx": "20.1.4",
113-
"postcss": "^8.4.5",
112+
"nx": "20.2.1",
113+
"postcss": "^8.4.49",
114114
"postcss-import": "16.1.0",
115115
"postcss-preset-env": "~10.1.0",
116116
"postcss-url": "10.1.3",
117117
"prettier": "3.4.2",
118118
"ts-jest": "29.2.5",
119119
"ts-node": "10.9.2",
120-
"typescript": "5.5.4",
120+
"typescript": "5.6.3",
121121
"unplugin-swc": "1.5.1",
122122
"vite": "6.0.3",
123123
"vitest": "2.1.8"

packages/microwave/.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"prefix": "jscutlery",
2525
"style": "kebab-case"
2626
}
27-
]
27+
],
28+
"@angular-eslint/prefer-standalone": "warn"
2829
}
2930
},
3031
{

0 commit comments

Comments
 (0)