feat(store): add shared Zustand store package with counter example

- Create packages/store with @multica/store package
- Add zustand to pnpm catalog for version consistency
- Add counter store as cross-platform state example
- Integrate counter into ComponentExample for verification
- Add tsconfig path mappings for web and desktop
- Add @multica/store to Next.js transpilePackages
- Add @multica/store dependency to packages/ui

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Naiyuan Qing 2026-01-30 10:52:54 +08:00
parent eb5c388a80
commit d7d2861a79
11 changed files with 133 additions and 3 deletions

View file

@ -9,3 +9,4 @@ catalog:
"@types/react-dom": "^19"
"@types/node": "^25.0.10"
typescript: "^5.9.3"
zustand: "^5.0.0"