mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 18:26:41 +02:00
feat(shared-stores): add createViewStore factory for view/filter/sort
Generic factory that eliminates ~110 LOC boilerplate per module for view mode, sort, filters, and saved filter presets with localStorage persistence. Includes 23 tests covering all store operations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
de8335277a
commit
934f3337e3
7 changed files with 548 additions and 3 deletions
|
|
@ -9,11 +9,16 @@
|
|||
".": "./src/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"type-check": "echo 'Skipping: shared-stores uses Svelte 5 runes, type-checked at build time'"
|
||||
"type-check": "echo 'Skipping: shared-stores uses Svelte 5 runes, type-checked at build time'",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^7.0.0",
|
||||
"jsdom": "^29.0.1",
|
||||
"svelte": "^5.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
"typescript": "^5.0.0",
|
||||
"vitest": "^4.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@manacore/local-store": "workspace:*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue