@twoabove/cue 0.4.5 → 0.4.6
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 +3 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -37,9 +37,11 @@ console.log(await counter.read.value()); // 5
|
|
|
37
37
|
## Installation
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
npm install @twoabove/cue
|
|
40
|
+
npm install @twoabove/cue immer
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
> **Note:** `immer` is a peer dependency and must be installed alongside cue.
|
|
44
|
+
|
|
43
45
|
## Quick Start
|
|
44
46
|
|
|
45
47
|
```typescript
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
|
-
"version": "0.4.
|
|
7
|
+
"version": "0.4.6",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
@@ -46,9 +46,11 @@
|
|
|
46
46
|
"LICENSE"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"immer": "^10.2.0",
|
|
50
49
|
"superjson": "^2.2.3"
|
|
51
50
|
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"immer": ">=10.0.0"
|
|
53
|
+
},
|
|
52
54
|
"scripts": {
|
|
53
55
|
"prepare": "bun run build",
|
|
54
56
|
"test:e2e": "sh ./scripts/e2e-test.sh",
|
|
@@ -60,6 +62,7 @@
|
|
|
60
62
|
"devDependencies": {
|
|
61
63
|
"@biomejs/biome": "2.3.1",
|
|
62
64
|
"@types/node": "^24.9.1",
|
|
65
|
+
"immer": "^10.2.0",
|
|
63
66
|
"@types/pg": "^8.15.5",
|
|
64
67
|
"@vitest/coverage-v8": "^4.0.4",
|
|
65
68
|
"expect-type": "^1.2.2",
|