diff --git a/package-lock.json b/package-lock.json index f428268..87db089 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,6 +25,7 @@ "@tanstack/eslint-config": "^0.3.0", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.2.0", + "@types/node": "^24.3.1", "@types/react": "^19.0.8", "@types/react-dom": "^19.0.3", "@vitejs/plugin-react": "^4.3.4", @@ -2627,6 +2628,16 @@ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", "license": "MIT" }, + "node_modules/@types/node": { + "version": "24.3.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.3.1.tgz", + "integrity": "sha512-3vXmQDXy+woz+gnrTvuvNrPzekOi+Ds0ReMxw0LzBiK3a+1k0kQn9f2NWk+lgD4rJehFUmYy2gMhJ2ZI+7YP9g==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "undici-types": "~7.10.0" + } + }, "node_modules/@types/react": { "version": "19.1.11", "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.11.tgz", @@ -7717,6 +7728,13 @@ "typescript": ">=4.8.4 <6.0.0" } }, + "node_modules/undici-types": { + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.10.0.tgz", + "integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==", + "devOptional": true, + "license": "MIT" + }, "node_modules/unified": { "version": "11.0.5", "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", diff --git a/package.json b/package.json index c2d60df..7a61f92 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "@tanstack/eslint-config": "^0.3.0", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.2.0", + "@types/node": "^24.3.1", "@types/react": "^19.0.8", "@types/react-dom": "^19.0.3", "@vitejs/plugin-react": "^4.3.4", diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 3a21587..59f3eae 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -1,11 +1,7 @@ import { Outlet, createRootRouteWithContext } from '@tanstack/react-router' -import { TanStackRouterDevtoolsPanel } from '@tanstack/react-router-devtools' -import { TanstackDevtools } from '@tanstack/react-devtools' import Header from '../components/Header' -import TanStackQueryDevtools from '../integrations/tanstack-query/devtools' - import type { QueryClient } from '@tanstack/react-query' interface MyRouterContext { @@ -18,18 +14,6 @@ export const Route = createRootRouteWithContext()({ <>
- , - }, - TanStackQueryDevtools, - ]} - /> ) }, diff --git a/vite.config.ts b/vite.config.ts index e88f616..8b8d46c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,7 +3,7 @@ import viteReact from '@vitejs/plugin-react' import tailwindcss from '@tailwindcss/vite' import tanstackRouter from '@tanstack/router-plugin/vite' -import { resolve } from 'node:path' +import { resolve } from 'path' @@ -14,10 +14,6 @@ export default defineConfig({ viteReact(), tailwindcss(), ], - test: { - globals: true, - environment: 'jsdom', - }, resolve: { alias: { '@': resolve(__dirname, './src'),