diff --git a/.knip.json b/.knip.json index 1a893ed..6e85425 100644 --- a/.knip.json +++ b/.knip.json @@ -1,4 +1,5 @@ { "$schema": "https://unpkg.com/knip@5/schema.json", + "ignore": ["src/route-tree.gen.ts"], "ignoreDependencies": ["gitzy", "@iconify-json/*"] } diff --git a/bun.lockb b/bun.lockb index 7cf2c91..9f2452f 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 021e124..2198028 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ }, "prettier": "@jimmy.codes/prettier-config", "dependencies": { - "@tanstack/react-query": "5.54.1", - "@tanstack/react-router": "1.56.1", + "@tanstack/react-query": "5.56.2", + "@tanstack/react-router": "1.58.3", "clsx": "2.1.1", "react": "18.3.1", "react-dom": "18.3.1", @@ -34,52 +34,52 @@ }, "devDependencies": { "@iconify-json/logos": "1.2.0", - "@iconify-json/lucide": "1.2.2", + "@iconify-json/lucide": "1.2.4", "@iconify/tailwind": "1.1.3", "@jimmy.codes/eslint-config": "1.9.0", "@jimmy.codes/prettier-config": "1.1.0", - "@playwright/test": "1.47.0", - "@storybook/addon-a11y": "8.2.9", - "@storybook/addon-essentials": "8.2.9", - "@storybook/addon-interactions": "8.2.9", - "@storybook/addon-links": "8.2.9", - "@storybook/addon-themes": "8.2.9", - "@storybook/react": "8.2.9", - "@storybook/react-vite": "8.2.9", + "@playwright/test": "1.47.1", + "@storybook/addon-a11y": "8.3.1", + "@storybook/addon-essentials": "8.3.1", + "@storybook/addon-interactions": "8.3.1", + "@storybook/addon-links": "8.3.1", + "@storybook/addon-themes": "8.3.1", + "@storybook/react": "8.3.1", + "@storybook/react-vite": "8.3.1", "@tailwindcss/typography": "0.5.15", - "@tanstack/react-query-devtools": "5.54.1", - "@tanstack/router-devtools": "1.56.1", - "@tanstack/router-vite-plugin": "1.56.1", + "@tanstack/react-query-devtools": "5.56.2", + "@tanstack/router-devtools": "1.58.3", + "@tanstack/router-vite-plugin": "1.58.3", "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.5.0", "@testing-library/react": "16.0.1", "@testing-library/user-event": "14.5.2", "@total-typescript/ts-reset": "0.6.1", - "@types/bun": "1.1.8", - "@types/react": "18.3.5", + "@types/bun": "1.1.9", + "@types/react": "18.3.7", "@types/react-dom": "18.3.0", "@vitejs/plugin-react-swc": "3.7.0", - "@vitest/coverage-v8": "2.0.5", - "@vitest/ui": "2.0.5", + "@vitest/coverage-v8": "2.1.1", + "@vitest/ui": "2.1.1", "autoprefixer": "10.4.20", "daisyui": "4.12.10", "eslint": "8.57.0", "eslint-plugin-storybook": "0.9.0--canary.156.ed236ca.0", "gitzy": "5.4.0", - "happy-dom": "15.7.3", + "happy-dom": "15.7.4", "is-ci": "3.0.1", - "knip": "5.29.2", + "knip": "5.30.2", "lefthook": "1.7.15", - "msw": "2.4.2", - "postcss": "8.4.45", + "msw": "2.4.8", + "postcss": "8.4.47", "prettier": "3.3.3", - "storybook": "8.2.9", - "tailwindcss": "3.4.10", - "turbo": "2.1.1", + "storybook": "8.3.1", + "tailwindcss": "3.4.12", + "turbo": "2.1.2", "typescript": "5.4.5", - "vite": "5.4.3", + "vite": "5.4.6", "vite-tsconfig-paths": "5.0.1", - "vitest": "2.0.5" + "vitest": "2.1.1" }, - "packageManager": "bun@1.1.26" + "packageManager": "bun@1.1.28" } diff --git a/src/route-tree.gen.ts b/src/route-tree.gen.ts index 6d4e69b..af95962 100644 --- a/src/route-tree.gen.ts +++ b/src/route-tree.gen.ts @@ -36,28 +36,29 @@ declare module "@tanstack/react-router" { // Create and export the route tree -interface FileRoutesByFullPath { +export interface FileRoutesByFullPath { "/": typeof IndexRoute; } -interface FileRoutesByTo { +export interface FileRoutesByTo { "/": typeof IndexRoute; } -interface FileRoutesById { +export interface FileRoutesById { + "__root__": typeof rootRoute; "/": typeof IndexRoute; } -interface FileRouteTypes { +export interface FileRouteTypes { fileRoutesByFullPath: FileRoutesByFullPath; fullPaths: "/"; fileRoutesByTo: FileRoutesByTo; to: "/"; - id: "/"; + id: "__root__" | "/"; fileRoutesById: FileRoutesById; } -interface RootRouteChildren { +export interface RootRouteChildren { IndexRoute: typeof IndexRoute; }