Skip to content

Commit 71a750b

Browse files
authored
update dependencies (#17)
* update dependencies * fix issue in dev
1 parent 36cb6d2 commit 71a750b

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@
1414
},
1515
"dependencies": {
1616
"@huggingface/hub": "1.1.2",
17-
"hyperparam": "0.2.29",
18-
"hightable": "0.13.2",
17+
"hyperparam": "0.2.30",
18+
"hightable": "0.13.3",
1919
"react": "18.3.1",
2020
"react-dom": "18.3.1"
2121
},
2222
"devDependencies": {
2323
"@types/react": "18.3.18",
2424
"@types/react-dom": "18.3.1",
2525
"@vitejs/plugin-react": "4.3.4",
26-
"@vitest/coverage-v8": "3.0.9",
26+
"@vitest/coverage-v8": "3.1.1",
2727
"eslint": "9.23.0",
2828
"eslint-plugin-react": "7.37.4",
2929
"eslint-plugin-react-hooks": "5.2.0",
3030
"eslint-plugin-react-refresh": "0.4.19",
3131
"globals": "16.0.0",
3232
"typescript": "5.8.2",
33-
"typescript-eslint": "8.28.0",
34-
"vite": "6.2.3",
35-
"vitest": "3.0.9"
33+
"typescript-eslint": "8.29.0",
34+
"vite": "6.2.4",
35+
"vitest": "3.1.1"
3636
}
3737
}

vite.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,17 @@ import { defineConfig } from 'vite'
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7+
server: {
8+
fs: {
9+
// Otherwise, when using npm run dev (not the built version),
10+
// http://localhost:5173/?url=... will not work, because it
11+
// expects http://localhost:5173/index.html?url=...
12+
// (while http://localhost:5173 and http://localhost:5173/ work)
13+
// Does it mean that vite thinks that http://localhost:5173/?url=...
14+
// refers to the filesystem root /?
15+
// TODO(SL): find a better solution
16+
strict: false,
17+
}
18+
},
719
base:'./',
820
})

0 commit comments

Comments
 (0)