Skip to content

Commit 28fe00a

Browse files
chore: update Nx and Angular to latest (#4729)
1 parent 01c2327 commit 28fe00a

File tree

11 files changed

+3228
-1717
lines changed

11 files changed

+3228
-1717
lines changed

modules/data/spec/reducers/entity-collection-reducer-registry.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ describe('EntityCollectionReducerRegistry', () => {
222222
EntityDefinitionService,
223223
{ provide: ENTITY_METADATA_TOKEN, multi: true, useValue: metadata },
224224
{ provide: ENTITY_COLLECTION_META_REDUCERS, useValue: metaReducers },
225-
{ provide: Logger, useValue: logger },
225+
{ provide: Logger, useValue: logger! },
226226
],
227227
});
228228

modules/schematics/src/container/__snapshots__/index.spec.ts.snap

-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ import { Store } from '@ngrx/store';
136136
@Component({
137137
selector: 'app-foo',
138138
standalone: false,
139-
140139
templateUrl: './foo.component.html',
141140
styleUrl: './foo.component.css'
142141
})

modules/signals/.eslintrc.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"extends": ["../../.eslintrc.json"],
3-
"ignorePatterns": ["!**/*", "schematics-core"],
3+
"ignorePatterns": [
4+
"!**/*",
5+
"schematics-core",
6+
"**/vite.config.*.timestamp*",
7+
"**/vitest.config.*.timestamp*"
8+
],
49
"overrides": [
510
{
611
"files": ["*.ts"],

modules/signals/spec/types/signal-state.types.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ describe('signalState', () => {
152152

153153
expectSnippet(snippet).toInfer(
154154
'uintArrayStateKeys',
155-
'unique symbol | keyof Signal<Uint8ClampedArray>'
155+
'unique symbol | keyof Signal<Uint8ClampedArray<ArrayBuffer>>'
156156
);
157157
});
158158

@@ -307,7 +307,7 @@ describe('signalState', () => {
307307

308308
expectSnippet(snippet).toInfer(
309309
'state4',
310-
'SignalState<{ foo: Record<string, { bar: boolean; } | number>; }>'
310+
'SignalState<{ foo: Record<string, number | { bar: boolean; }>; }>'
311311
);
312312

313313
expectSnippet(snippet).toInfer(

modules/signals/spec/types/signal-store.types.spec.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('signalStore', () => {
3434

3535
expectSnippet(snippet).toInfer(
3636
'Store',
37-
'Type<{ foo: Signal<string>; bar: Signal<number[]>; } & StateSource<{ foo: string; bar: number[]; }>>'
37+
'Type$1<{ foo: Signal<string>; bar: Signal<number[]>; } & StateSource<{ foo: string; bar: number[]; }>>'
3838
);
3939
});
4040

@@ -234,7 +234,7 @@ describe('signalStore', () => {
234234

235235
expectSnippet(snippet).toSucceed();
236236

237-
expectSnippet(snippet).toInfer('Store', 'Type<{} & StateSource<{}>>');
237+
expectSnippet(snippet).toInfer('Store', 'Type$1<{} & StateSource<{}>>');
238238
});
239239

240240
it('succeeds when state slices are union types', () => {
@@ -305,7 +305,7 @@ describe('signalStore', () => {
305305

306306
expectSnippet(snippet1).toInfer(
307307
'Store',
308-
'Type<{ name: DeepSignal<{ x: { y: string; }; }>; arguments: Signal<number[]>; call: Signal<boolean>; } & StateSource<{ name: { x: { y: string; }; }; arguments: number[]; call: boolean; }>>'
308+
'Type$1<{ name: DeepSignal<{ x: { y: string; }; }>; arguments: Signal<number[]>; call: Signal<boolean>; } & StateSource<{ name: { x: { y: string; }; }; arguments: number[]; call: boolean; }>>'
309309
);
310310

311311
const snippet2 = `
@@ -322,7 +322,7 @@ describe('signalStore', () => {
322322

323323
expectSnippet(snippet2).toInfer(
324324
'Store',
325-
'Type<{ apply: Signal<string>; bind: DeepSignal<{ foo: string; }>; prototype: Signal<string[]>; } & StateSource<{ apply: string; bind: { foo: string; }; prototype: string[]; }>>'
325+
'Type$1<{ apply: Signal<string>; bind: DeepSignal<{ foo: string; }>; prototype: Signal<string[]>; } & StateSource<{ apply: string; bind: { foo: string; }; prototype: string[]; }>>'
326326
);
327327

328328
const snippet3 = `
@@ -338,7 +338,7 @@ describe('signalStore', () => {
338338

339339
expectSnippet(snippet3).toInfer(
340340
'Store',
341-
'Type<{ length: Signal<number>; caller: Signal<undefined>; } & StateSource<{ length: number; caller: undefined; }>>'
341+
'Type$1<{ length: Signal<number>; caller: Signal<undefined>; } & StateSource<{ length: number; caller: undefined; }>>'
342342
);
343343
});
344344

package.json

+40-39
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,18 @@
6666
]
6767
},
6868
"dependencies": {
69-
"@angular/animations": "19.0.0",
70-
"@angular/cdk": "19.0.0",
71-
"@angular/common": "19.0.0",
72-
"@angular/compiler": "19.0.0",
73-
"@angular/core": "19.0.0",
74-
"@angular/forms": "19.0.0",
75-
"@angular/material": "19.0.0",
76-
"@angular/platform-browser": "19.0.0",
77-
"@angular/platform-browser-dynamic": "19.0.0",
78-
"@angular/platform-server": "19.0.0",
79-
"@angular/router": "19.0.0",
80-
"@nx/angular": "20.3.1",
69+
"@angular/animations": "19.2.3",
70+
"@angular/cdk": "19.2.6",
71+
"@angular/common": "19.2.3",
72+
"@angular/compiler": "19.2.3",
73+
"@angular/core": "19.2.3",
74+
"@angular/forms": "19.2.3",
75+
"@angular/material": "19.2.6",
76+
"@angular/platform-browser": "19.2.3",
77+
"@angular/platform-browser-dynamic": "19.2.3",
78+
"@angular/platform-server": "19.2.3",
79+
"@angular/router": "19.2.3",
80+
"@nx/angular": "20.6.2",
8181
"ajv-formats": "^2.1.1",
8282
"core-js": "^2.5.4",
8383
"opencollective": "^1.0.3",
@@ -90,28 +90,28 @@
9090
"devDependencies": {
9191
"@analogjs/vite-plugin-angular": "1.10.3",
9292
"@analogjs/vitest-angular": "1.10.3",
93-
"@angular-devkit/build-angular": "19.0.0",
94-
"@angular-devkit/core": "19.0.0",
95-
"@angular-devkit/schematics": "19.0.0",
96-
"@angular-eslint/builder": "18.4.0",
97-
"@angular-eslint/eslint-plugin": "18.4.0",
98-
"@angular-eslint/eslint-plugin-template": "18.4.0",
99-
"@angular-eslint/schematics": "18.4.0",
100-
"@angular-eslint/template-parser": "18.4.0",
101-
"@angular-eslint/test-utils": "18.4.0",
102-
"@angular/build": "19.0.0",
103-
"@angular/cli": "~19.0.0",
104-
"@angular/compiler-cli": "19.0.0",
105-
"@angular/language-service": "19.0.0",
106-
"@nx/cypress": "20.3.1",
107-
"@nx/eslint": "20.3.1",
108-
"@nx/eslint-plugin": "20.3.1",
109-
"@nx/jest": "20.3.1",
110-
"@nx/node": "20.3.1",
111-
"@nx/vite": "20.3.1",
112-
"@nx/workspace": "20.3.1",
93+
"@angular-devkit/build-angular": "19.2.4",
94+
"@angular-devkit/core": "19.2.4",
95+
"@angular-devkit/schematics": "19.2.4",
96+
"@angular-eslint/builder": "19.2.0",
97+
"@angular-eslint/eslint-plugin": "19.2.0",
98+
"@angular-eslint/eslint-plugin-template": "19.2.0",
99+
"@angular-eslint/schematics": "19.2.0",
100+
"@angular-eslint/template-parser": "19.2.0",
101+
"@angular-eslint/test-utils": "19.2.0",
102+
"@angular/build": "19.2.4",
103+
"@angular/cli": "~19.2.0",
104+
"@angular/compiler-cli": "19.2.3",
105+
"@angular/language-service": "19.2.3",
106+
"@nx/cypress": "20.6.2",
107+
"@nx/eslint": "20.6.2",
108+
"@nx/eslint-plugin": "20.6.2",
109+
"@nx/jest": "20.6.2",
110+
"@nx/node": "20.6.2",
111+
"@nx/vite": "20.6.2",
112+
"@nx/workspace": "20.6.2",
113113
"@octokit/rest": "^15.17.0",
114-
"@schematics/angular": "19.0.0",
114+
"@schematics/angular": "19.2.4",
115115
"@testing-library/cypress": "9.0.0",
116116
"@types/eslint": "8.56.10",
117117
"@types/fs-extra": "^2.1.0",
@@ -143,7 +143,7 @@
143143
"eslint-config-prettier": "9.0.0",
144144
"eslint-plugin-cypress": "2.14.0",
145145
"eslint-plugin-import": "2.26.0",
146-
"express": "^4.16.4",
146+
"express": "4.21.2",
147147
"fs-extra": "^10.1.0",
148148
"glob": "^7.1.2",
149149
"husky": "^8.0.1",
@@ -155,6 +155,7 @@
155155
"jest-environment-jsdom": "29.7.0",
156156
"jest-jasmine2": "29.7.0",
157157
"jest-preset-angular": "14.4.2",
158+
"jiti": "2.4.2",
158159
"jsdom": "^22.0.0",
159160
"karma": "6.4.0",
160161
"karma-chrome-launcher": "3.1.0",
@@ -165,9 +166,9 @@
165166
"lint-staged": "^8.0.0",
166167
"mkdirp": "^3.0.1",
167168
"ncp": "^2.0.0",
168-
"ng-packagr": "19.0.0",
169+
"ng-packagr": "19.2.0",
169170
"npm-run-all": "^4.1.5",
170-
"nx": "20.3.1",
171+
"nx": "20.6.2",
171172
"nyc": "^10.1.2",
172173
"ora": "^1.3.0",
173174
"prettier": "^2.7.1",
@@ -190,10 +191,10 @@
190191
"tsconfig-paths": "^3.1.3",
191192
"tsickle": "^0.37.0",
192193
"tsutils": "2.27.2",
193-
"typescript": "5.6.2",
194-
"typescript-eslint": "8.15.0",
194+
"typescript": "5.7.3",
195+
"typescript-eslint": "8.19.0",
195196
"uglify-js": "^3.1.9",
196-
"vite": "^5.0.0",
197+
"vite": "6.0.0",
197198
"vitest": "^2.0.0"
198199
},
199200
"collective": {

0 commit comments

Comments
 (0)