Skip to content

Commit f4cf0a5

Browse files
authored
feat(collections): add SignalMap and SignalSet utility (#657)
* feat(collections): add `SignalMap` utility with comprehensive tests and documentation Introduced the `SignalMap` utility within the `ngxtension/collections` library to provide fine-grained reactive map functionality using Angular's signals system. Includes rich API capabilities, thorough test coverage, and extensive documentation. * feat(collections): add `SignalSet` utility with detailed tests and documentation Introduced the `SignalSet` utility to the `ngxtension/collections` library for reactive set management using Angular's signals system. Completed with a full API, extensive documentation, and comprehensive test suite.
1 parent e34d67b commit f4cf0a5

File tree

11 files changed

+2921
-0
lines changed

11 files changed

+2921
-0
lines changed

docs/src/content/docs/utilities/Collections/signal-map.md

Lines changed: 500 additions & 0 deletions
Large diffs are not rendered by default.

docs/src/content/docs/utilities/Collections/signal-set.md

Lines changed: 610 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ngxtension/collections
2+
3+
Secondary entry point of `ngxtension`. It can be used by importing from `ngxtension/collections`.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"lib": {
3+
"entryFile": "src/index.ts"
4+
}
5+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "ngxtension/collections",
3+
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
4+
"projectType": "library",
5+
"sourceRoot": "libs/ngxtension/collections/src",
6+
"targets": {
7+
"test": {
8+
"executor": "@nx/jest:jest",
9+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
10+
"options": {
11+
"jestConfig": "libs/ngxtension/jest.config.ts",
12+
"testPathPattern": ["collections"],
13+
"passWithNoTests": true
14+
},
15+
"configurations": {
16+
"ci": {
17+
"ci": true,
18+
"codeCoverage": true
19+
}
20+
}
21+
},
22+
"lint": {
23+
"executor": "@nx/eslint:lint",
24+
"outputs": ["{options.outputFile}"]
25+
}
26+
}
27+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { SignalMap } from './signal-map';
2+
export { SignalSet } from './signal-set';

0 commit comments

Comments
 (0)