diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..7b5f3a6 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +route-tree.gen.ts diff --git a/bun.lockb b/bun.lockb index e50ac59..5c5aba3 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 392c879..91eb223 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "prettier": "@jimmy.codes/prettier-config", "dependencies": { "@tanstack/react-query": "5.59.16", - "@tanstack/react-router": "1.77.9", + "@tanstack/react-router": "1.78.0", "clsx": "2.1.1", "react": "18.3.1", "react-dom": "18.3.1", @@ -36,20 +36,20 @@ "@iconify-json/logos": "1.2.3", "@iconify-json/lucide": "1.2.11", "@iconify/tailwind": "1.1.3", - "@jimmy.codes/eslint-config": "3.2.1", + "@jimmy.codes/eslint-config": "3.3.0", "@jimmy.codes/prettier-config": "1.1.0", "@playwright/test": "1.48.2", - "@storybook/addon-a11y": "8.4.0", - "@storybook/addon-essentials": "8.4.0", - "@storybook/addon-interactions": "8.4.0", - "@storybook/addon-links": "8.4.0", - "@storybook/addon-themes": "8.4.0", - "@storybook/react": "8.4.0", - "@storybook/react-vite": "8.4.0", + "@storybook/addon-a11y": "8.4.1", + "@storybook/addon-essentials": "8.4.1", + "@storybook/addon-interactions": "8.4.1", + "@storybook/addon-links": "8.4.1", + "@storybook/addon-themes": "8.4.1", + "@storybook/react": "8.4.1", + "@storybook/react-vite": "8.4.1", "@tailwindcss/typography": "0.5.15", "@tanstack/react-query-devtools": "5.59.16", - "@tanstack/router-devtools": "1.77.9", - "@tanstack/router-vite-plugin": "1.77.7", + "@tanstack/router-devtools": "1.78.0", + "@tanstack/router-vite-plugin": "1.78.0", "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.0.1", @@ -63,18 +63,18 @@ "@vitest/ui": "2.1.4", "autoprefixer": "10.4.20", "daisyui": "4.12.14", - "eslint": "9.13.0", - "eslint-plugin-storybook": "0.10.1", + "eslint": "9.14.0", + "eslint-plugin-storybook": "0.10.2", "gitzy": "5.4.0", - "happy-dom": "15.7.4", + "happy-dom": "15.8.0", "is-ci": "3.0.1", - "jiti": "2.3.3", - "knip": "5.36.0", + "jiti": "2.4.0", + "knip": "5.36.1", "lefthook": "1.8.2", "msw": "2.6.0", "postcss": "8.4.47", "prettier": "3.3.3", - "storybook": "8.4.0", + "storybook": "8.4.1", "tailwindcss": "3.4.14", "turbo": "2.2.3", "typescript": "5.6.3", diff --git a/src/main.tsx b/src/main.tsx index c51bb98..edade52 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -9,7 +9,7 @@ import { createRoot } from "react-dom/client"; import queryClient from "./query.client"; import { router } from "./router"; -const root = document.getElementById("root"); +const root = document.querySelector("#root"); if (root) { createRoot(root).render( diff --git a/src/route-tree.gen.ts b/src/route-tree.gen.ts index 1fe29fb..fd01c2c 100644 --- a/src/route-tree.gen.ts +++ b/src/route-tree.gen.ts @@ -1,12 +1,12 @@ -/* prettier-ignore-start */ - /* eslint-disable */ // @ts-nocheck // noinspection JSUnusedGlobalSymbols -// This file is auto-generated by TanStack Router +// This file was automatically generated by TanStack Router. +// You should NOT make any changes in this file as it will be overwritten. +// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. // Import Routes @@ -46,7 +46,7 @@ export interface FileRoutesByTo { } export interface FileRoutesById { - "__root__": typeof rootRoute; + __root__: typeof rootRoute; "/": typeof IndexRoute; } @@ -71,8 +71,6 @@ export const routeTree = rootRoute ._addFileChildren(rootRouteChildren) ._addFileTypes(); -/* prettier-ignore-end */ - /* ROUTE_MANIFEST_START { "routes": {