Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ describe('EntityCollectionReducerRegistry', () => {
EntityDefinitionService,
{ provide: ENTITY_METADATA_TOKEN, multi: true, useValue: metadata },
{ provide: ENTITY_COLLECTION_META_REDUCERS, useValue: metaReducers },
{ provide: Logger, useValue: logger },
{ provide: Logger, useValue: logger! },
],
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ import { Store } from '@ngrx/store';
@Component({
selector: 'app-foo',
standalone: false,

templateUrl: './foo.component.html',
styleUrl: './foo.component.css'
})
Expand Down
7 changes: 6 additions & 1 deletion modules/signals/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*", "schematics-core"],
"ignorePatterns": [
"!**/*",
"schematics-core",
"**/vite.config.*.timestamp*",
"**/vitest.config.*.timestamp*"
],
"overrides": [
{
"files": ["*.ts"],
Expand Down
4 changes: 2 additions & 2 deletions modules/signals/spec/types/signal-state.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ describe('signalState', () => {

expectSnippet(snippet).toInfer(
'uintArrayStateKeys',
'unique symbol | keyof Signal<Uint8ClampedArray>'
'unique symbol | keyof Signal<Uint8ClampedArray<ArrayBuffer>>'
);
});

Expand Down Expand Up @@ -307,7 +307,7 @@ describe('signalState', () => {

expectSnippet(snippet).toInfer(
'state4',
'SignalState<{ foo: Record<string, { bar: boolean; } | number>; }>'
'SignalState<{ foo: Record<string, number | { bar: boolean; }>; }>'
);

expectSnippet(snippet).toInfer(
Expand Down
10 changes: 5 additions & 5 deletions modules/signals/spec/types/signal-store.types.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('signalStore', () => {

expectSnippet(snippet).toInfer(
'Store',
'Type<{ foo: Signal<string>; bar: Signal<number[]>; } & StateSource<{ foo: string; bar: number[]; }>>'
'Type$1<{ foo: Signal<string>; bar: Signal<number[]>; } & StateSource<{ foo: string; bar: number[]; }>>'
);
});

Expand Down Expand Up @@ -234,7 +234,7 @@ describe('signalStore', () => {

expectSnippet(snippet).toSucceed();

expectSnippet(snippet).toInfer('Store', 'Type<{} & StateSource<{}>>');
expectSnippet(snippet).toInfer('Store', 'Type$1<{} & StateSource<{}>>');
});

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

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

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

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

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

expectSnippet(snippet3).toInfer(
'Store',
'Type<{ length: Signal<number>; caller: Signal<undefined>; } & StateSource<{ length: number; caller: undefined; }>>'
'Type$1<{ length: Signal<number>; caller: Signal<undefined>; } & StateSource<{ length: number; caller: undefined; }>>'
);
});

Expand Down
79 changes: 40 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@
]
},
"dependencies": {
"@angular/animations": "19.0.0",
"@angular/cdk": "19.0.0",
"@angular/common": "19.0.0",
"@angular/compiler": "19.0.0",
"@angular/core": "19.0.0",
"@angular/forms": "19.0.0",
"@angular/material": "19.0.0",
"@angular/platform-browser": "19.0.0",
"@angular/platform-browser-dynamic": "19.0.0",
"@angular/platform-server": "19.0.0",
"@angular/router": "19.0.0",
"@nx/angular": "20.3.1",
"@angular/animations": "19.2.3",
"@angular/cdk": "19.2.6",
"@angular/common": "19.2.3",
"@angular/compiler": "19.2.3",
"@angular/core": "19.2.3",
"@angular/forms": "19.2.3",
"@angular/material": "19.2.6",
"@angular/platform-browser": "19.2.3",
"@angular/platform-browser-dynamic": "19.2.3",
"@angular/platform-server": "19.2.3",
"@angular/router": "19.2.3",
"@nx/angular": "20.6.2",
"ajv-formats": "^2.1.1",
"core-js": "^2.5.4",
"opencollective": "^1.0.3",
Expand All @@ -90,28 +90,28 @@
"devDependencies": {
"@analogjs/vite-plugin-angular": "1.10.3",
"@analogjs/vitest-angular": "1.10.3",
"@angular-devkit/build-angular": "19.0.0",
"@angular-devkit/core": "19.0.0",
"@angular-devkit/schematics": "19.0.0",
"@angular-eslint/builder": "18.4.0",
"@angular-eslint/eslint-plugin": "18.4.0",
"@angular-eslint/eslint-plugin-template": "18.4.0",
"@angular-eslint/schematics": "18.4.0",
"@angular-eslint/template-parser": "18.4.0",
"@angular-eslint/test-utils": "18.4.0",
"@angular/build": "19.0.0",
"@angular/cli": "~19.0.0",
"@angular/compiler-cli": "19.0.0",
"@angular/language-service": "19.0.0",
"@nx/cypress": "20.3.1",
"@nx/eslint": "20.3.1",
"@nx/eslint-plugin": "20.3.1",
"@nx/jest": "20.3.1",
"@nx/node": "20.3.1",
"@nx/vite": "20.3.1",
"@nx/workspace": "20.3.1",
"@angular-devkit/build-angular": "19.2.4",
"@angular-devkit/core": "19.2.4",
"@angular-devkit/schematics": "19.2.4",
"@angular-eslint/builder": "19.2.0",
"@angular-eslint/eslint-plugin": "19.2.0",
"@angular-eslint/eslint-plugin-template": "19.2.0",
"@angular-eslint/schematics": "19.2.0",
"@angular-eslint/template-parser": "19.2.0",
"@angular-eslint/test-utils": "19.2.0",
"@angular/build": "19.2.4",
"@angular/cli": "~19.2.0",
"@angular/compiler-cli": "19.2.3",
"@angular/language-service": "19.2.3",
"@nx/cypress": "20.6.2",
"@nx/eslint": "20.6.2",
"@nx/eslint-plugin": "20.6.2",
"@nx/jest": "20.6.2",
"@nx/node": "20.6.2",
"@nx/vite": "20.6.2",
"@nx/workspace": "20.6.2",
"@octokit/rest": "^15.17.0",
"@schematics/angular": "19.0.0",
"@schematics/angular": "19.2.4",
"@testing-library/cypress": "9.0.0",
"@types/eslint": "8.56.10",
"@types/fs-extra": "^2.1.0",
Expand Down Expand Up @@ -143,7 +143,7 @@
"eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "2.14.0",
"eslint-plugin-import": "2.26.0",
"express": "^4.16.4",
"express": "4.21.2",
"fs-extra": "^10.1.0",
"glob": "^7.1.2",
"husky": "^8.0.1",
Expand All @@ -155,6 +155,7 @@
"jest-environment-jsdom": "29.7.0",
"jest-jasmine2": "29.7.0",
"jest-preset-angular": "14.4.2",
"jiti": "2.4.2",
"jsdom": "^22.0.0",
"karma": "6.4.0",
"karma-chrome-launcher": "3.1.0",
Expand All @@ -165,9 +166,9 @@
"lint-staged": "^8.0.0",
"mkdirp": "^3.0.1",
"ncp": "^2.0.0",
"ng-packagr": "19.0.0",
"ng-packagr": "19.2.0",
"npm-run-all": "^4.1.5",
"nx": "20.3.1",
"nx": "20.6.2",
"nyc": "^10.1.2",
"ora": "^1.3.0",
"prettier": "^2.7.1",
Expand All @@ -190,10 +191,10 @@
"tsconfig-paths": "^3.1.3",
"tsickle": "^0.37.0",
"tsutils": "2.27.2",
"typescript": "5.6.2",
"typescript-eslint": "8.15.0",
"typescript": "5.7.3",
"typescript-eslint": "8.19.0",
"uglify-js": "^3.1.9",
"vite": "^5.0.0",
"vite": "6.0.0",
"vitest": "^2.0.0"
},
"collective": {
Expand Down
Loading