Skip to content

Commit

Permalink
chore: add use-sync-external-store as peer-dep for zustand v5
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteXyy committed Nov 10, 2024
1 parent 8c0d560 commit 3d53e72
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.8

- add `use-sync-external-store` as dev dependency as it's required in `zustand/traditional` in v5

## 0.5.7

- chore: upgrade dependencies
Expand Down
3 changes: 2 additions & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zoov",
"version": "0.5.7",
"version": "0.5.8",
"author": "InfiniteXyy",
"license": "MIT",
"main": "index.js",
Expand Down Expand Up @@ -71,6 +71,7 @@
"react": ">=16.8.0",
"react-tracked": ">=1.0.0",
"rxjs": ">=7.0.0",
"use-sync-external-store": ">=1",
"zustand": ">= 4.5"
},
"peerDependenciesMeta": {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"taze": "^0.18.0",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
"use-sync-external-store": "^1.2.2",
"vite": "^5.4.10",
"vitest": "^2.1.4",
"zustand": "^5.0.1"
Expand Down
21 changes: 18 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ export type InferModule<M> = M extends { getState(): infer S; getActions(): infe

export { defineModule, defineProvider, useScopeContext, useModule, useModuleActions, useModuleComputed };

export const VERSION = '0.5.7';
export const VERSION = '0.5.8';

0 comments on commit 3d53e72

Please sign in to comment.