zustand-mutable 0.1.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +12 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# zustand-mutable
|
|
2
2
|
|
|
3
|
-
[](https://github.com/zustandjs/zustand-mutable/actions?query=workflow%3ACI)
|
|
4
|
+
[](https://www.npmjs.com/package/zustand-mutable)
|
|
5
|
+
[](https://bundlephobia.com/result?p=zustand-mutable)
|
|
6
6
|
|
|
7
7
|
A sweet way to use immer-like mutable updates with Zustand.
|
|
8
8
|
|
|
@@ -212,7 +212,7 @@ set((state) => {
|
|
|
212
212
|
|
|
213
213
|
## Requirements
|
|
214
214
|
|
|
215
|
-
- `zustand`
|
|
215
|
+
- `zustand`
|
|
216
216
|
- One of: `immer`, `mutative`, or `limu`
|
|
217
217
|
|
|
218
218
|
## License
|
package/package.json
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zustand-mutable",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A sweet way to use immer-like mutable updates",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"immer",
|
|
8
|
+
"immer-like",
|
|
9
|
+
"limu",
|
|
10
|
+
"middleware",
|
|
11
|
+
"mutable",
|
|
12
|
+
"mutative",
|
|
13
|
+
"zustand"
|
|
14
|
+
],
|
|
6
15
|
"author": "Danilo Britto",
|
|
7
16
|
"repository": {
|
|
8
17
|
"type": "git",
|
|
@@ -53,7 +62,9 @@
|
|
|
53
62
|
"test": "pnpm run \"/^test:.*/\"",
|
|
54
63
|
"test:types": "tsc --noEmit",
|
|
55
64
|
"test:lint": "oxlint",
|
|
65
|
+
"test:lint:fix": "oxlint --fix",
|
|
56
66
|
"test:fmt": "oxfmt --check",
|
|
67
|
+
"test:fmt:fix": "oxfmt --write",
|
|
57
68
|
"test:spec": "vitest run",
|
|
58
69
|
"release": "release publish"
|
|
59
70
|
}
|