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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +12 -1
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # zustand-mutable
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/zustand-mutable.svg)](https://www.npmjs.com/package/zustand-mutable)
4
- [![test](https://github.com/zustandjs/zustand-mutable/actions/workflows/test.yml/badge.svg)](https://github.com/zustandjs/zustand-mutable/actions/workflows/test.yml)
5
- [![license](https://img.shields.io/npm/l/zustand-mutable.svg)](https://github.com/zustandjs/zustand-mutable/blob/main/LICENSE)
3
+ [![build](https://img.shields.io/github/actions/workflow/status/zustandjs/zustand-mutable/test.yml?branch=main)](https://github.com/zustandjs/zustand-mutable/actions?query=workflow%3ACI)
4
+ [![npm](https://img.shields.io/npm/v/zustand-mutable)](https://www.npmjs.com/package/zustand-mutable)
5
+ [![size](https://img.shields.io/bundlephobia/minzip/zustand-mutable)](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` >= 5.0.9 (peer dependency)
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.1.1",
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
  }