Skip to content

Commit a98f0c5

Browse files
authored
feat: migrate to valtio v2 (#10)
* wip: valtio v2 * update deps and prefer userEvent * fix(atomWithProxy): update promise * update valtio * update react latest * update other deps * chor
1 parent d68103b commit a98f0c5

File tree

5 files changed

+1400
-1178
lines changed

5 files changed

+1400
-1178
lines changed

package.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -57,35 +57,35 @@
5757
"singleQuote": true
5858
},
5959
"devDependencies": {
60-
"@testing-library/jest-dom": "^6.4.5",
61-
"@testing-library/react": "^15.0.7",
60+
"@testing-library/jest-dom": "^6.6.3",
61+
"@testing-library/react": "^16.1.0",
6262
"@testing-library/user-event": "^14.5.2",
63-
"@types/node": "^20.12.12",
64-
"@types/react": "^18.3.3",
65-
"@types/react-dom": "^18.3.0",
66-
"@typescript-eslint/eslint-plugin": "^7.10.0",
67-
"@typescript-eslint/parser": "^7.10.0",
68-
"eslint": "^8.57.0",
63+
"@types/node": "^22.10.2",
64+
"@types/react": "^19.0.2",
65+
"@types/react-dom": "^19.0.2",
66+
"@typescript-eslint/eslint-plugin": "^8.18.1",
67+
"@typescript-eslint/parser": "^8.18.1",
68+
"eslint": "8.57.0",
6969
"eslint-config-prettier": "^9.1.0",
70-
"eslint-import-resolver-typescript": "^3.6.1",
71-
"eslint-plugin-import": "^2.29.1",
72-
"eslint-plugin-jsx-a11y": "^6.8.0",
73-
"eslint-plugin-react": "^7.34.1",
74-
"eslint-plugin-react-hooks": "^4.6.2",
75-
"happy-dom": "^14.11.0",
76-
"jotai": "^2.8.1",
77-
"jotai-valtio": "link:.",
78-
"prettier": "^3.2.5",
79-
"react": "^18.3.1",
80-
"react-dom": "^18.3.1",
70+
"eslint-import-resolver-typescript": "^3.7.0",
71+
"eslint-plugin-import": "^2.31.0",
72+
"eslint-plugin-jsx-a11y": "^6.10.2",
73+
"eslint-plugin-react": "^7.37.2",
74+
"eslint-plugin-react-hooks": "^5.1.0",
75+
"happy-dom": "^15.11.7",
76+
"jotai": "^2.10.4",
77+
"jotai-valtio": "link:",
78+
"prettier": "^3.4.2",
79+
"react": "^19.0.0",
80+
"react-dom": "^19.0.0",
8181
"ts-expect": "^1.3.0",
82-
"typescript": "^5.4.5",
83-
"valtio": "^1.13.2",
84-
"vite": "^5.2.11",
85-
"vitest": "^1.6.0"
82+
"typescript": "^5.7.2",
83+
"valtio": "^2.1.2",
84+
"vite": "^6.0.4",
85+
"vitest": "^2.1.8"
8686
},
8787
"peerDependencies": {
8888
"jotai": ">=2.0.0",
89-
"valtio": ">=1.0.0"
89+
"valtio": ">=2.0.0"
9090
}
9191
}

0 commit comments

Comments
 (0)