@octanejs/valtio 0.1.32 → 0.1.34
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 +7 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
[Valtio](https://github.com/pmndrs/valtio) for the
|
|
4
4
|
[Octane](https://github.com/octanejs/octane) UI framework.
|
|
5
5
|
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
npm install @octanejs/valtio
|
|
10
|
+
pnpm add @octanejs/valtio
|
|
11
|
+
```
|
|
12
|
+
|
|
6
13
|
The package reuses Valtio's framework-independent `valtio/vanilla` core and
|
|
7
14
|
reimplements only `useSnapshot` with Octane hooks. Existing Valtio components
|
|
8
15
|
can usually migrate by changing the import:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/valtio",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"valtio": "^2.3.2"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"octane": "0.1.
|
|
48
|
+
"octane": "0.1.51"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@tsrx/react": "^0.2.61",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"react": "^19.2.7",
|
|
54
54
|
"react-dom": "^19.2.7",
|
|
55
55
|
"vitest": "^4.1.10",
|
|
56
|
-
"octane": "0.1.
|
|
56
|
+
"octane": "0.1.51"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"test": "vitest run --root ../.. --project valtio && vitest run --root ../.. --project valtio-differential"
|