Skip to content

Commit 8d70cd1

Browse files
authored
feat(core): Refactor store and update Angular dependencies (#130)
Enhance the Store class with initialization and clear methods, and update data types to allow null. Add return types to methods in the EntityStore and Store classes. Update Angular dependencies to the latest patch versions.
2 parents e2f3edb + fb6a579 commit 8d70cd1

File tree

4 files changed

+2204
-2681
lines changed

4 files changed

+2204
-2681
lines changed

package.json

Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,86 @@
11
{
2-
"name": "ng-kit",
3-
"version": "20.3.1",
4-
"scripts": {
5-
"ng": "ng",
6-
"start": "ng serve --watch --hmr --port=4300",
7-
"build": "ng build ng-kit --configuration=production",
8-
"build:ng-kit-demo": "ng build ng-kit-demo --configuration=production",
9-
"watch": "ng build --watch --configuration development",
10-
"test": "ng test --watch=false --browsers=ChromeHeadless",
11-
"test:store": "ng test --include='**/store/*.spec.ts'",
12-
"bundle:report": "ng build --configuration production --source-map=true && source-map-explorer dist/pres/**/*.js",
13-
"e2e": "CI=true URL=http://localhost:4300 npx playwright test",
14-
"lint": "ng lint ng-kit"
15-
},
16-
"release": {
17-
"branches": [
18-
"main"
19-
],
20-
"plugins": [
21-
"@semantic-release/commit-analyzer",
22-
"@semantic-release/release-notes-generator",
23-
[
24-
"@semantic-release/npm",
25-
{
26-
"pkgRoot": "dist/ng-kit"
27-
}
28-
],
29-
"@semantic-release/git",
30-
"@semantic-release/github"
31-
]
32-
},
33-
"private": false,
34-
"dependencies": {
35-
"@angular/animations": "^20.0.0",
36-
"@angular/cdk": "20.0.0",
37-
"@angular/common": "^20.0.0",
38-
"@angular/compiler": "^20.0.0",
39-
"@angular/core": "^20.0.0",
40-
"@angular/forms": "^20.0.0",
41-
"@angular/material": "20.0.0",
42-
"@angular/platform-browser": "^20.0.0",
43-
"@angular/platform-browser-dynamic": "^20.0.0",
44-
"@angular/router": "^20.0.0",
45-
"bootstrap": "^5.3.6",
46-
"rxjs": "~7.8.2",
47-
"tslib": "^2.8.1",
48-
"zone.js": "~0.15.1"
49-
},
50-
"devDependencies": {
51-
"@angular-devkit/build-angular": "^20.0.0",
52-
"@angular-devkit/core": "^20.0.0",
53-
"@angular-devkit/schematics": "^20.0.0",
54-
"@angular/cli": "^20.0.0",
55-
"@angular/compiler-cli": "^20.0.0",
56-
"@eslint/js": "^9.27.0",
57-
"@playwright/test": "^1.49.1",
58-
"@schematics/angular": "^19.1.1",
59-
"@semantic-release/exec": "^6.0.3",
60-
"@semantic-release/git": "^10.0.1",
61-
"@semantic-release/npm": "^12.0.1",
62-
"@sonar/scan": "^4.3.0",
63-
"@types/jasmine": "^5.1.7",
64-
"@types/node": "^22.10.7",
65-
"@typescript-eslint/eslint-plugin": "^8.20.0",
66-
"@typescript-eslint/parser": "^8.20.0",
67-
"angular-eslint": "19.4.0",
68-
"eslint": "^9.27.0",
69-
"eslint-config-prettier": "^10.0.1",
70-
"eslint-import-resolver-typescript": "^4.3.5",
71-
"eslint-plugin-import": "^2.31.0",
72-
"eslint-plugin-jsdoc": "^50.6.1",
73-
"eslint-plugin-prefer-arrow": "^1.2.3",
74-
"jasmine-core": "^5.6.0",
75-
"karma": "^6.4.4",
76-
"karma-chrome-launcher": "^3.2.0",
77-
"karma-coverage": "^2.2.1",
78-
"karma-jasmine": "^5.1.0",
79-
"karma-jasmine-html-reporter": "^2.1.0",
80-
"ng-packagr": "^20.0.0",
81-
"prettier": "^3.4.2",
82-
"semantic-release": "^24.2.1",
83-
"typescript": "~5.8.3",
84-
"typescript-eslint": "8.32.0"
85-
}
2+
"name": "ng-kit",
3+
"version": "20.3.0",
4+
"scripts": {
5+
"ng": "ng",
6+
"start": "ng serve --watch --hmr --port=4300",
7+
"build": "ng build ng-kit --configuration=production",
8+
"build:ng-kit-demo": "ng build ng-kit-demo --configuration=production",
9+
"watch": "ng build --watch --configuration development",
10+
"test": "ng test --watch=false --browsers=ChromeHeadless",
11+
"test:store": "ng test --include='**/store/*.spec.ts'",
12+
"bundle:report": "ng build --configuration production --source-map=true && source-map-explorer dist/pres/**/*.js",
13+
"e2e": "CI=true URL=http://localhost:4300 npx playwright test",
14+
"lint": "ng lint ng-kit"
15+
},
16+
"release": {
17+
"branches": [
18+
"main"
19+
],
20+
"plugins": [
21+
"@semantic-release/commit-analyzer",
22+
"@semantic-release/release-notes-generator",
23+
[
24+
"@semantic-release/npm",
25+
{
26+
"pkgRoot": "dist/ng-kit"
27+
}
28+
],
29+
"@semantic-release/git",
30+
"@semantic-release/github"
31+
]
32+
},
33+
"private": false,
34+
"dependencies": {
35+
"@angular/animations": "^20.1.0",
36+
"@angular/cdk": "20.1.0",
37+
"@angular/common": "^20.1.0",
38+
"@angular/compiler": "^20.1.0",
39+
"@angular/core": "^20.1.0",
40+
"@angular/forms": "^20.1.0",
41+
"@angular/material": "20.1.0",
42+
"@angular/platform-browser": "^20.1.0",
43+
"@angular/platform-browser-dynamic": "^20.1.0",
44+
"@angular/router": "^20.1.0",
45+
"bootstrap": "^5.3.6",
46+
"rxjs": "~7.8.2",
47+
"tslib": "^2.8.1",
48+
"zone.js": "~0.15.1"
49+
},
50+
"devDependencies": {
51+
"@angular-devkit/build-angular": "^20.1.0",
52+
"@angular-devkit/core": "^20.1.0",
53+
"@angular-devkit/schematics": "^20.1.0",
54+
"@angular/cli": "^20.1.0",
55+
"@angular/compiler-cli": "^20.1.0",
56+
"@eslint/js": "^9.30.1",
57+
"@playwright/test": "^1.54.0",
58+
"@schematics/angular": "^19.1.1",
59+
"@semantic-release/exec": "^7.1.0",
60+
"@semantic-release/git": "^10.0.1",
61+
"@semantic-release/npm": "^12.0.2",
62+
"@sonar/scan": "^4.3.0",
63+
"@types/jasmine": "^5.1.8",
64+
"@types/node": "^24.0.13",
65+
"@typescript-eslint/eslint-plugin": "^8.36.0",
66+
"@typescript-eslint/parser": "^8.36.0",
67+
"angular-eslint": "20.1.1",
68+
"eslint": "^9.30.1",
69+
"eslint-config-prettier": "^10.1.5",
70+
"eslint-import-resolver-typescript": "^4.4.4",
71+
"eslint-plugin-import": "^2.32.0",
72+
"eslint-plugin-jsdoc": "^51.3.4",
73+
"eslint-plugin-prefer-arrow": "^1.2.3",
74+
"jasmine-core": "^5.8.0",
75+
"karma": "^6.4.4",
76+
"karma-chrome-launcher": "^3.2.0",
77+
"karma-coverage": "^2.2.1",
78+
"karma-jasmine": "^5.1.0",
79+
"karma-jasmine-html-reporter": "^2.1.0",
80+
"ng-packagr": "^20.1.0",
81+
"prettier": "^3.6.2",
82+
"semantic-release": "^24.2.6",
83+
"typescript": "~5.8.3",
84+
"typescript-eslint": "8.36.0"
85+
}
8686
}

0 commit comments

Comments
 (0)