Skip to content

Commit 7d5226a

Browse files
committed
chore: upgrade repo to Angular 19
1 parent bfb53d7 commit 7d5226a

File tree

3 files changed

+2986
-1471
lines changed

3 files changed

+2986
-1471
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@
2424
},
2525
"private": true,
2626
"dependencies": {
27-
"@angular/animations": "^18.2.0",
28-
"@angular/common": "^18.2.0",
29-
"@angular/compiler": "^18.2.0",
30-
"@angular/core": "^18.2.0",
31-
"@angular/forms": "^18.2.0",
32-
"@angular/platform-browser": "^18.2.0",
33-
"@angular/platform-browser-dynamic": "^18.2.0",
34-
"@angular/router": "^18.2.0",
27+
"@angular/animations": "^19.0.0",
28+
"@angular/common": "^19.0.0",
29+
"@angular/compiler": "^19.0.0",
30+
"@angular/core": "^19.0.0",
31+
"@angular/forms": "^19.0.0",
32+
"@angular/platform-browser": "^19.0.0",
33+
"@angular/platform-browser-dynamic": "^19.0.0",
34+
"@angular/router": "^19.0.0",
3535
"@reduxjs/toolkit": "^2.2.7",
3636
"redux": "^5.0.1",
3737
"rxjs": "~7.8.0",
3838
"tslib": "^2.3.0",
39-
"zone.js": "~0.14.10"
39+
"zone.js": "~0.15.0"
4040
},
4141
"devDependencies": {
42-
"@angular-devkit/build-angular": "^18.2.2",
43-
"@angular/cli": "^18.2.2",
44-
"@angular/compiler-cli": "^18.2.0",
42+
"@angular-devkit/build-angular": "^19.0.1",
43+
"@angular/cli": "^19.0.1",
44+
"@angular/compiler-cli": "^19.0.0",
4545
"@testing-library/angular": "^17.3.1",
4646
"@testing-library/dom": "^10.0.0",
4747
"@testing-library/jest-dom": "^6.4.8",
@@ -54,7 +54,7 @@
5454
"jasmine-core": "~5.2.0",
5555
"jest": "^29.7.0",
5656
"jest-environment-jsdom": "^29.7.0",
57-
"ng-packagr": "^18.2.0",
57+
"ng-packagr": "^19.0.1",
5858
"prettier": "^3.3.3",
5959
"ts-jest": "^29.2.5",
6060
"typescript": "~5.5.2"

projects/angular-redux/src/tests/inject-selector.spec.ts

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,14 @@ describe('injectSelector lifecycle interactions', () => {
119119
}
120120

121121
@Component({
122-
selector: 'app-root',
123-
standalone: true,
124-
imports: [Child],
125-
template: `
122+
selector: 'app-root',
123+
imports: [Child],
124+
template: `
126125
@if (count() === 1) {
127126
<child-root />
128127
}
129-
`,
130-
})
128+
`
129+
})
131130
class Parent {
132131
contextVal = injectReduxAndAssignApp();
133132
count = injectNormalSelector((s) => s.count);
@@ -167,15 +166,14 @@ describe('injectSelector lifecycle interactions', () => {
167166
}
168167

169168
@Component({
170-
selector: 'app-root',
171-
standalone: true,
172-
imports: [Child],
173-
template: `
169+
selector: 'app-root',
170+
imports: [Child],
171+
template: `
174172
@if (count() === 0) {
175173
<child-root />
176174
}
177-
`,
178-
})
175+
`
176+
})
179177
class Parent {
180178
contextVal = injectReduxAndAssignApp();
181179
count = injectNormalSelector((s) => s.count);
@@ -265,14 +263,13 @@ describe('performance optimizations and bail-outs', () => {
265263
}
266264

267265
@Component({
268-
selector: 'app-root',
269-
standalone: true,
270-
imports: [Comp, Comp2],
271-
template: `
266+
selector: 'app-root',
267+
imports: [Comp, Comp2],
268+
template: `
272269
<app-comp />
273270
<app-other />
274-
`,
275-
})
271+
`
272+
})
276273
class App {}
277274

278275
await render(App, {

0 commit comments

Comments
 (0)