Skip to content

Commit 88ed237

Browse files
authored
Add support for react19 (#315)
* upgrade dependencies * fix typescript error * add support for react 19
1 parent 9b1fec7 commit 88ed237

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,10 @@
5555
"watch:url": "NODE_ENV=development nodemon bin/cli.js https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet"
5656
},
5757
"dependencies": {
58-
"hightable": "0.19.4",
58+
"hightable": "0.19.5",
5959
"hyparquet": "1.18.0",
6060
"hyparquet-compressors": "1.1.1",
61-
"icebird": "0.3.0",
62-
"react": "18.3.1",
63-
"react-dom": "18.3.1"
61+
"icebird": "0.3.0"
6462
},
6563
"devDependencies": {
6664
"@eslint/js": "9.35.0",
@@ -69,7 +67,7 @@
6967
"@types/node": "24.5.1",
7068
"@types/react": "19.1.13",
7169
"@types/react-dom": "19.1.9",
72-
"@vitejs/plugin-react": "5.0.2",
70+
"@vitejs/plugin-react": "5.0.3",
7371
"@vitest/coverage-v8": "3.2.4",
7472
"eslint": "9.35.0",
7573
"eslint-plugin-react": "7.37.5",
@@ -80,12 +78,18 @@
8078
"jsdom": "27.0.0",
8179
"nodemon": "3.1.10",
8280
"npm-run-all": "4.1.5",
81+
"react": "19.1.1",
82+
"react-dom": "19.1.1",
8383
"storybook": "9.1.6",
8484
"typescript": "5.8.3",
8585
"typescript-eslint": "8.44.0",
8686
"vite": "7.1.5",
8787
"vitest": "3.2.4"
8888
},
89+
"peerDependencies": {
90+
"react": "^18.3.1 || ^19",
91+
"react-dom": "^18.3.1 || ^19"
92+
},
8993
"eslintConfig": {
9094
"extends": [
9195
"plugin:storybook/recommended"

vite.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import react from '@vitejs/plugin-react'
2-
import { defineConfig } from 'vite'
2+
import { defineConfig } from 'vitest/config'
33

4-
// https://vite.dev/config/
4+
// https://vite.dev/config/ and
5+
// https://vitest.dev/config/#configuring-vitest
56
export default defineConfig({
67
plugins: [react()],
78
build: {

0 commit comments

Comments
 (0)