Skip to content

Commit 61f7620

Browse files
authored
feat: support react 19 (#185)
1 parent 07ff31c commit 61f7620

File tree

5 files changed

+136
-129
lines changed

5 files changed

+136
-129
lines changed

package.json

+9-8
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,14 @@
103103
"@sanity/pkg-utils": "^6.11.14",
104104
"@sanity/ui": "^2.9.1",
105105
"@types/leaflet": "^1.9.15",
106-
"@types/react": "^18.3.14",
107-
"@types/react-dom": "^18.3.2",
106+
"@types/react": "^19.0.1",
107+
"@types/react-dom": "^19.0.1",
108108
"@types/refractor": "^3.4.1",
109109
"@types/ws": "^8.5.13",
110110
"@typescript-eslint/eslint-plugin": "^7.18.0",
111111
"@typescript-eslint/parser": "^7.18.0",
112112
"@vitejs/plugin-react": "^4.3.4",
113+
"babel-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
113114
"commitizen": "^4.3.1",
114115
"cz-conventional-changelog": "^3.3.0",
115116
"esbuild": "^0.24.0",
@@ -118,16 +119,16 @@
118119
"eslint-config-prettier": "^9.1.0",
119120
"eslint-config-sanity": "^7.1.3",
120121
"eslint-plugin-react": "^7.37.2",
121-
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
122-
"eslint-plugin-react-hooks": "^4.6.2",
122+
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
123+
"eslint-plugin-react-hooks": "^5.1.0",
123124
"husky": "^8.0.3",
124125
"leaflet": "^1.9.4",
125126
"npm-run-all2": "^5.0.2",
126127
"prettier": "^3.4.2",
127128
"prettier-plugin-packagejson": "^2.5.6",
128-
"react": "^18.3.1",
129-
"react-dom": "^18.3.1",
130-
"react-is": "^18.3.1",
129+
"react": "^19.0.0",
130+
"react-dom": "^19.0.0",
131+
"react-is": "^19.0.0",
131132
"react-leaflet": "^4.2.1",
132133
"react-refractor": "^2.2.0",
133134
"refractor": "^4.8.1",
@@ -139,7 +140,7 @@
139140
"vitest": "^1.6.0"
140141
},
141142
"peerDependencies": {
142-
"react": "^17 || ^18 || >=19.0.0-rc"
143+
"react": "^17 || ^18 || >=19.0.0-0"
143144
},
144145
"packageManager": "[email protected]",
145146
"engines": {

0 commit comments

Comments
 (0)