From e5b9b85e153a753955e48f470562006be342b6b8 Mon Sep 17 00:00:00 2001 From: Lennart Date: Fri, 15 Nov 2024 15:34:18 +0100 Subject: [PATCH] chore(tanstack-start): Update deps & integration tests (#4575) --- .changeset/beige-parrots-yawn.md | 7 + .../templates/tanstack-start/app/client.tsx | 2 +- .../tanstack-start/app/routeTree.gen.ts | 135 +++++++++--------- .../tanstack-start/app/routes/__root.tsx | 14 +- .../templates/tanstack-start/package.json | 17 ++- packages/tanstack-start/package.json | 8 +- pnpm-lock.yaml | 107 ++++++++------ 7 files changed, 158 insertions(+), 132 deletions(-) create mode 100644 .changeset/beige-parrots-yawn.md diff --git a/.changeset/beige-parrots-yawn.md b/.changeset/beige-parrots-yawn.md new file mode 100644 index 0000000000..1d9359998b --- /dev/null +++ b/.changeset/beige-parrots-yawn.md @@ -0,0 +1,7 @@ +--- +'@clerk/tanstack-start': minor +--- + +**Breaking change:** Update `@tanstack/react-router` peer dependency from `>=1.49.1` to `>=1.81.9`. Also update `@tanstack/start` peer dependency from `>=1.49.1` to `>=1.81.9`. This update coincides with the [changed server function syntax & server middleware](https://github.com/TanStack/router/pull/2513) that will allow the SDK more functionality in the future. + +When updating your `@clerk/tanstack-start` version you'll need to change various pieces in your code, Clerk's documentation ([quickstart](https://clerk.com/docs/quickstarts/tanstack-start), [reference](https://clerk.com/docs/references/tanstack-start/overview)) has been updated to account for that. diff --git a/integration/templates/tanstack-start/app/client.tsx b/integration/templates/tanstack-start/app/client.tsx index f16ba73f62..b887037fc4 100644 --- a/integration/templates/tanstack-start/app/client.tsx +++ b/integration/templates/tanstack-start/app/client.tsx @@ -4,4 +4,4 @@ import { createRouter } from './router' const router = createRouter() -hydrateRoot(document.getElementById('root')!, ) +hydrateRoot(document!, ) diff --git a/integration/templates/tanstack-start/app/routeTree.gen.ts b/integration/templates/tanstack-start/app/routeTree.gen.ts index 1c53fc04ba..397ca1ab87 100644 --- a/integration/templates/tanstack-start/app/routeTree.gen.ts +++ b/integration/templates/tanstack-start/app/routeTree.gen.ts @@ -1,49 +1,39 @@ -/* 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 import { Route as rootRoute } from './routes/__root' +import { Route as SignInImport } from './routes/sign-in' import { Route as LayoutImport } from './routes/_layout' import { Route as IndexImport } from './routes/index' -import { Route as LayoutLayout2Import } from './routes/_layout/_layout-2' -import { Route as LayoutLayout2LayoutBImport } from './routes/_layout/_layout-2/layout-b' -import { Route as LayoutLayout2LayoutAImport } from './routes/_layout/_layout-2/layout-a' // Create/Update Routes +const SignInRoute = SignInImport.update({ + id: '/sign-in', + path: '/sign-in', + getParentRoute: () => rootRoute, +} as any) + const LayoutRoute = LayoutImport.update({ id: '/_layout', getParentRoute: () => rootRoute, } as any) const IndexRoute = IndexImport.update({ + id: '/', path: '/', getParentRoute: () => rootRoute, } as any) -const LayoutLayout2Route = LayoutLayout2Import.update({ - id: '/_layout-2', - getParentRoute: () => LayoutRoute, -} as any) - -const LayoutLayout2LayoutBRoute = LayoutLayout2LayoutBImport.update({ - path: '/layout-b', - getParentRoute: () => LayoutLayout2Route, -} as any) - -const LayoutLayout2LayoutARoute = LayoutLayout2LayoutAImport.update({ - path: '/layout-a', - getParentRoute: () => LayoutLayout2Route, -} as any) - // Populate the FileRoutesByPath interface declare module '@tanstack/react-router' { @@ -62,43 +52,61 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof LayoutImport parentRoute: typeof rootRoute } - '/_layout/_layout-2': { - id: '/_layout/_layout-2' - path: '' - fullPath: '' - preLoaderRoute: typeof LayoutLayout2Import - parentRoute: typeof LayoutImport - } - '/_layout/_layout-2/layout-a': { - id: '/_layout/_layout-2/layout-a' - path: '/layout-a' - fullPath: '/layout-a' - preLoaderRoute: typeof LayoutLayout2LayoutAImport - parentRoute: typeof LayoutLayout2Import - } - '/_layout/_layout-2/layout-b': { - id: '/_layout/_layout-2/layout-b' - path: '/layout-b' - fullPath: '/layout-b' - preLoaderRoute: typeof LayoutLayout2LayoutBImport - parentRoute: typeof LayoutLayout2Import + '/sign-in': { + id: '/sign-in' + path: '/sign-in' + fullPath: '/sign-in' + preLoaderRoute: typeof SignInImport + parentRoute: typeof rootRoute } } } // Create and export the route tree -export const routeTree = rootRoute.addChildren({ - IndexRoute, - LayoutRoute: LayoutRoute.addChildren({ - LayoutLayout2Route: LayoutLayout2Route.addChildren({ - LayoutLayout2LayoutARoute, - LayoutLayout2LayoutBRoute, - }), - }), -}) +export interface FileRoutesByFullPath { + '/': typeof IndexRoute + '': typeof LayoutRoute + '/sign-in': typeof SignInRoute +} + +export interface FileRoutesByTo { + '/': typeof IndexRoute + '': typeof LayoutRoute + '/sign-in': typeof SignInRoute +} + +export interface FileRoutesById { + __root__: typeof rootRoute + '/': typeof IndexRoute + '/_layout': typeof LayoutRoute + '/sign-in': typeof SignInRoute +} + +export interface FileRouteTypes { + fileRoutesByFullPath: FileRoutesByFullPath + fullPaths: '/' | '' | '/sign-in' + fileRoutesByTo: FileRoutesByTo + to: '/' | '' | '/sign-in' + id: '__root__' | '/' | '/_layout' | '/sign-in' + fileRoutesById: FileRoutesById +} + +export interface RootRouteChildren { + IndexRoute: typeof IndexRoute + LayoutRoute: typeof LayoutRoute + SignInRoute: typeof SignInRoute +} + +const rootRouteChildren: RootRouteChildren = { + IndexRoute: IndexRoute, + LayoutRoute: LayoutRoute, + SignInRoute: SignInRoute, +} -/* prettier-ignore-end */ +export const routeTree = rootRoute + ._addFileChildren(rootRouteChildren) + ._addFileTypes() /* ROUTE_MANIFEST_START { @@ -107,33 +115,18 @@ export const routeTree = rootRoute.addChildren({ "filePath": "__root.tsx", "children": [ "/", - "/_layout" + "/_layout", + "/sign-in" ] }, "/": { "filePath": "index.tsx" }, "/_layout": { - "filePath": "_layout.tsx", - "children": [ - "/_layout/_layout-2" - ] - }, - "/_layout/_layout-2": { - "filePath": "_layout/_layout-2.tsx", - "parent": "/_layout", - "children": [ - "/_layout/_layout-2/layout-a", - "/_layout/_layout-2/layout-b" - ] - }, - "/_layout/_layout-2/layout-a": { - "filePath": "_layout/_layout-2/layout-a.tsx", - "parent": "/_layout/_layout-2" + "filePath": "_layout.tsx" }, - "/_layout/_layout-2/layout-b": { - "filePath": "_layout/_layout-2/layout-b.tsx", - "parent": "/_layout/_layout-2" + "/sign-in": { + "filePath": "sign-in.tsx" } } } diff --git a/integration/templates/tanstack-start/app/routes/__root.tsx b/integration/templates/tanstack-start/app/routes/__root.tsx index a74ca909ae..ef8c5a8f04 100644 --- a/integration/templates/tanstack-start/app/routes/__root.tsx +++ b/integration/templates/tanstack-start/app/routes/__root.tsx @@ -4,7 +4,7 @@ import { createRootRoute, } from '@tanstack/react-router' import { TanStackRouterDevtools } from '@tanstack/router-devtools' -import { Body, Head, Html, Meta, Scripts } from '@tanstack/start' +import { Meta, Scripts } from '@tanstack/start' import * as React from 'react' import { DefaultCatchBoundary } from '~/components/DefaultCatchBoundary' import { NotFound } from '~/components/NotFound' @@ -33,17 +33,17 @@ export const Route = createRootRoute({ function RootDocument({ children }: { children: React.ReactNode }) { return ( - - + + - - + + {children} - - + + ) } diff --git a/integration/templates/tanstack-start/package.json b/integration/templates/tanstack-start/package.json index bd48abbd3d..2b87e24741 100644 --- a/integration/templates/tanstack-start/package.json +++ b/integration/templates/tanstack-start/package.json @@ -8,23 +8,22 @@ "start": "vinxi start --port=$PORT" }, "dependencies": { - "@tanstack/react-router": "^1.46.4", - "@tanstack/router-devtools": "^1.46.5", - "@tanstack/router-plugin": "^1.45.13", - "@tanstack/start": "^1.46.4", + "@tanstack/react-router": "^1.81.9", + "@tanstack/router-devtools": "^1.81.9", + "@tanstack/router-plugin": "^1.81.9", + "@tanstack/start": "^1.81.9", "@typescript-eslint/parser": "^7.18.0", - "@vitejs/plugin-react": "^4.3.1", - "isbot": "^5.1.14", + "isbot": "^5.1.17", "react": "18.3.1", "react-dom": "18.3.1", - "tailwind-merge": "^2.4.0", - "vinxi": "0.4.1" + "tailwind-merge": "^2.5.4", + "vinxi": "0.4.3" }, "devDependencies": { "@types/node": "^20.12.11", "@types/react": "18.3.12", "@types/react-dom": "18.3.1", - "@vitejs/plugin-react": "^4.3.1", + "@vitejs/plugin-react": "^4.3.3", "autoprefixer": "^10.4.20", "postcss": "^8.4.47", "prettier": "^3.3.3", diff --git a/packages/tanstack-start/package.json b/packages/tanstack-start/package.json index 4a1ddf621e..ac10b56cf5 100644 --- a/packages/tanstack-start/package.json +++ b/packages/tanstack-start/package.json @@ -62,8 +62,8 @@ }, "devDependencies": { "@clerk/eslint-config-custom": "workspace:*", - "@tanstack/react-router": "^1.49.1", - "@tanstack/start": "^1.49.1", + "@tanstack/react-router": "^1.81.9", + "@tanstack/start": "^1.81.9", "@types/node": "^18.19.43", "@types/react": "18.3.12", "@types/react-dom": "18.3.1", @@ -72,8 +72,8 @@ "vinxi": "^0.4.1" }, "peerDependencies": { - "@tanstack/react-router": ">=1.49.1", - "@tanstack/start": ">=1.49.1", + "@tanstack/react-router": ">=1.81.9", + "@tanstack/start": ">=1.81.9", "react": ">=18 || >=19.0.0-beta", "react-dom": ">=18 || >=19.0.0-beta" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2ca5a0291d..c660f25bab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1028,11 +1028,11 @@ importers: specifier: workspace:* version: link:../eslint-config-custom '@tanstack/react-router': - specifier: ^1.49.1 - version: 1.79.0(@tanstack/router-generator@1.79.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^1.81.9 + version: 1.81.9(@tanstack/router-generator@1.81.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/start': - specifier: ^1.49.1 - version: 1.79.0(@types/node@18.19.63)(ioredis@5.4.1)(magicast@0.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.31.1)(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.94.0) + specifier: ^1.81.9 + version: 1.81.9(@types/node@18.19.63)(ioredis@5.4.1)(magicast@0.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.31.1)(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.94.0) '@types/node': specifier: ^18.19.43 version: 18.19.63 @@ -2780,7 +2780,7 @@ packages: '@expo/bunyan@4.0.1': resolution: {integrity: sha512-+Lla7nYSiHZirgK+U/uYzsLv/X+HaJienbD5AKX1UQZHYfWaP+9uuQluRB4GrEVWF0GZ7vEVp/jzaOT9k/SQlg==} - engines: {node: '>=0.10.0'} + engines: {'0': node >=0.10.0} '@expo/cli@0.18.30': resolution: {integrity: sha512-V90TUJh9Ly8stYo8nwqIqNWCsYjE28GlVFWEhAFCUOp99foiQr8HSTpiiX5GIrprcPoWmlGoY+J5fQA29R4lFg==} @@ -5329,21 +5329,21 @@ packages: '@swc/helpers@0.5.5': resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} - '@tanstack/history@1.61.1': - resolution: {integrity: sha512-2CqERleeqO3hkhJmyJm37tiL3LYgeOpmo8szqdjgtnnG0z7ZpvzkZz6HkfOr9Ca/ha7mhAiouSvLYuLkM37AMg==} + '@tanstack/history@1.81.9': + resolution: {integrity: sha512-9MPknhhnvZKifK4jSvva6NDqYQwsNaptrRzO4ejk6yCLyi4koVG4u3C4VCeClYZY5etLEQbO8wXU9knEFZpMeg==} engines: {node: '>=12'} - '@tanstack/react-cross-context@1.74.5': - resolution: {integrity: sha512-a4BoKe1umpt4mmol2fUc7S11ilYIrn60ysoLot0NE+BeRsML83MvgPsLTAx7h1fTp0gmLjtpMjjubIJ8GlDIQg==} + '@tanstack/react-cross-context@1.81.9': + resolution: {integrity: sha512-5p1xgYEmW4qLkNE0BZNxOtu0xBdztJ7fQ32tZl5UB4PVCBL2ht+7mOJiQmhtnZIoY6gfaDk1Ie5nwqmb9guwBQ==} peerDependencies: react: '>=18' react-dom: '>=18' - '@tanstack/react-router@1.79.0': - resolution: {integrity: sha512-v+0+Y3mCsd6waphnG0dloU9cDtSbB5k/LwbkhqXd2uGhwZyI1/nvvOcSOnuTB8CDEvC6WFNBt+fKOPVqNZ3ezw==} + '@tanstack/react-router@1.81.9': + resolution: {integrity: sha512-vQV9ZL6ik+OR8sLrkeuDvgB3gDxVd6nDX+PJ/LHMrpUDTFvnXh+rsjisiL9O1EKlVKaGQ/gq0nUSHreFLuatgQ==} engines: {node: '>=12'} peerDependencies: - '@tanstack/router-generator': 1.79.0 + '@tanstack/router-generator': 1.81.9 react: '>=18' react-dom: '>=18' peerDependenciesMeta: @@ -5356,12 +5356,12 @@ packages: react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 - '@tanstack/router-generator@1.79.0': - resolution: {integrity: sha512-HJxmYs7GAA1AJQzyfy4Hiygmg93qCCDiAxQ//zCRMbzVntwpqtZ96o9UGOPjT3Lw0SxbyzbKgpo3zqCdwlv8Ew==} + '@tanstack/router-generator@1.81.9': + resolution: {integrity: sha512-HiInbc11+E65tg5xlgg0z/hqQJkQBUpr4RCEQeEoortlgQ38Yi+PSuoc2IO+n03XPGSqPMhCS6Q1MiMgfRfwZw==} engines: {node: '>=12'} - '@tanstack/router-plugin@1.79.0': - resolution: {integrity: sha512-dY81YyKxON9KhZQlrkkuxsl688pGpZ4HAF5w40ZkJa+nwmEJdg0b2td+MPXWbtmSd1t1cbYlFvc68k+PUSHN/A==} + '@tanstack/router-plugin@1.81.9': + resolution: {integrity: sha512-u12ibRFI/RpWzUmuFEy8HeyjRObkH8NqzOqEGt8xNa/mSQK3sFQLvfXf+lEFwIqg+C5lnrZtl2RvdmoQpRLwHw==} engines: {node: '>=12'} peerDependencies: '@rsbuild/core': '>=1.0.2' @@ -5375,12 +5375,12 @@ packages: webpack: optional: true - '@tanstack/start-vite-plugin@1.79.0': - resolution: {integrity: sha512-1qvAWdVpo4ad5EUKPZq4wdroCQggw3wcxsDf+JNTSnEp/9ucB515mGNS1FhKGVc6TQOcqGYt6u/7kVFKiNOW4A==} + '@tanstack/start-vite-plugin@1.81.9': + resolution: {integrity: sha512-kiD8z6W/nZsx3A83DXBSQCLisXkZ2FpEneQRNk+62V828LbttWZ/6SkeRiO1pP9DklfZiCFjm9/LoBY95biHkQ==} engines: {node: '>=12'} - '@tanstack/start@1.79.0': - resolution: {integrity: sha512-aAx3k8VOy9MoMOJE+k2Nok83HzvffmqaRXxEDl3msR/CU+UXcGz+YLA2GWbGYgrfMhgtmlbwebAedu6rluMRUg==} + '@tanstack/start@1.81.9': + resolution: {integrity: sha512-9n7Ci2ru4f7N8y4pZnrl6UEbV39yCGyBy32PRm4lRPHhchkZx9YIICshp+AaA5tp+ZbHoXDh/GkYe6eyxXJeDA==} engines: {node: '>=12'} peerDependencies: react: '>=18.0.0 || >=19.0.0' @@ -5389,8 +5389,8 @@ packages: '@tanstack/store@0.5.5': resolution: {integrity: sha512-EOSrgdDAJExbvRZEQ/Xhh9iZchXpMN+ga1Bnk8Nmygzs8TfiE6hbzThF+Pr2G19uHL6+DTDTHhJ8VQiOd7l4tA==} - '@tanstack/virtual-file-routes@1.64.0': - resolution: {integrity: sha512-soW+gE9QTmMaqXM17r7y1p8NiQVIIECjdTaYla8BKL5Flj030m3KuxEQoiG1XgjtA0O7ayznFz2YvPcXIy3qDg==} + '@tanstack/virtual-file-routes@1.81.9': + resolution: {integrity: sha512-jV5mWJrsh3QXHpb/by6udSqwva0qK50uYHpIXvKsLaxnlbjbLfflfPjFyRWXbMtZsnzCjSUqp5pm5/p+Wpaerg==} engines: {node: '>=12'} '@testing-library/dom@10.1.0': @@ -5476,6 +5476,9 @@ packages: '@types/aria-query@5.0.1': resolution: {integrity: sha512-XTIieEY+gvJ39ChLcB4If5zHtPxt3Syj5rgZR+e1ctpmK8NjPf0zFqsz4JpLJT0xla9GFDKjy8Cpu331nrmE1Q==} + '@types/babel__code-frame@7.0.6': + resolution: {integrity: sha512-Anitqkl3+KrzcW2k77lRlg/GfLZLWXBuNgbEcIOU6M92yw42vsd3xV/Z/yAHEj8m+KUjL6bWOVOFqX8PFPJ4LA==} + '@types/babel__core@7.20.5': resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} @@ -6022,6 +6025,12 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 + '@vitejs/plugin-react@4.3.3': + resolution: {integrity: sha512-NooDe9GpHGqNns1i8XDERg0Vsg5SSYRhRxxyTGogUdkdNt47jal+fbuYi+Yfq6pzRCKXyoPcWisfxE6RIM3GKA==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.2.0 || ^5.0.0 + '@vitest/coverage-v8@2.1.4': resolution: {integrity: sha512-FPKQuJfR6VTfcNMcGpqInmtJuVXFSCd9HQltYncfR01AzXhLucMEtQ5SinPdZxsT5x/5BK7I5qFJ5/ApGCmyTQ==} peerDependencies: @@ -20818,23 +20827,24 @@ snapshots: '@swc/counter': 0.1.3 tslib: 2.4.1 - '@tanstack/history@1.61.1': {} + '@tanstack/history@1.81.9': {} - '@tanstack/react-cross-context@1.74.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-cross-context@1.81.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@tanstack/react-router@1.79.0(@tanstack/router-generator@1.79.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-router@1.81.9(@tanstack/router-generator@1.81.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@tanstack/history': 1.61.1 + '@tanstack/history': 1.81.9 '@tanstack/react-store': 0.5.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + jsesc: 3.0.2 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) tiny-invariant: 1.3.3 tiny-warning: 1.0.3 optionalDependencies: - '@tanstack/router-generator': 1.79.0 + '@tanstack/router-generator': 1.81.9 '@tanstack/react-store@0.5.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: @@ -20843,14 +20853,14 @@ snapshots: react-dom: 18.3.1(react@18.3.1) use-sync-external-store: 1.2.2(react@18.3.1) - '@tanstack/router-generator@1.79.0': + '@tanstack/router-generator@1.81.9': dependencies: - '@tanstack/virtual-file-routes': 1.64.0 + '@tanstack/virtual-file-routes': 1.81.9 prettier: 3.3.3 tsx: 4.19.2 zod: 3.23.8 - '@tanstack/router-plugin@1.79.0(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.94.0)': + '@tanstack/router-plugin@1.81.9(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.94.0)': dependencies: '@babel/core': 7.26.0 '@babel/generator': 7.26.2 @@ -20860,8 +20870,8 @@ snapshots: '@babel/template': 7.25.9 '@babel/traverse': 7.25.9 '@babel/types': 7.26.0 - '@tanstack/router-generator': 1.79.0 - '@tanstack/virtual-file-routes': 1.64.0 + '@tanstack/router-generator': 1.81.9 + '@tanstack/virtual-file-routes': 1.81.9 '@types/babel__core': 7.20.5 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 @@ -20877,8 +20887,9 @@ snapshots: - supports-color - webpack-sources - '@tanstack/start-vite-plugin@1.79.0': + '@tanstack/start-vite-plugin@1.81.9': dependencies: + '@babel/code-frame': 7.25.7 '@babel/core': 7.26.0 '@babel/generator': 7.26.2 '@babel/parser': 7.26.2 @@ -20887,25 +20898,28 @@ snapshots: '@babel/template': 7.25.9 '@babel/traverse': 7.25.9 '@babel/types': 7.26.0 + '@types/babel__code-frame': 7.0.6 '@types/babel__core': 7.20.5 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.6 babel-dead-code-elimination: 1.0.6 + tiny-invariant: 1.3.3 transitivePeerDependencies: - supports-color - '@tanstack/start@1.79.0(@types/node@18.19.63)(ioredis@5.4.1)(magicast@0.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.31.1)(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.94.0)': + '@tanstack/start@1.81.9(@types/node@18.19.63)(ioredis@5.4.1)(magicast@0.3.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.31.1)(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.94.0)': dependencies: - '@tanstack/react-cross-context': 1.74.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tanstack/react-router': 1.79.0(@tanstack/router-generator@1.79.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tanstack/router-generator': 1.79.0 - '@tanstack/router-plugin': 1.79.0(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.94.0) - '@tanstack/start-vite-plugin': 1.79.0 + '@tanstack/react-cross-context': 1.81.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tanstack/react-router': 1.81.9(@tanstack/router-generator@1.81.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tanstack/router-generator': 1.81.9 + '@tanstack/router-plugin': 1.81.9(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))(webpack-sources@3.2.3)(webpack@5.94.0) + '@tanstack/start-vite-plugin': 1.81.9 '@vinxi/react': 0.2.5 '@vinxi/react-server-dom': 0.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1)) '@vinxi/server-components': 0.4.3(vinxi@0.4.3(@types/node@18.19.63)(ioredis@5.4.1)(magicast@0.3.5)(terser@5.31.1)(webpack-sources@3.2.3)) '@vinxi/server-functions': 0.4.3(vinxi@0.4.3(@types/node@18.19.63)(ioredis@5.4.1)(magicast@0.3.5)(terser@5.31.1)(webpack-sources@3.2.3)) + '@vitejs/plugin-react': 4.3.3(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1)) import-meta-resolve: 4.1.0 isbot: 5.1.17 jsesc: 3.0.2 @@ -20952,7 +20966,7 @@ snapshots: '@tanstack/store@0.5.5': {} - '@tanstack/virtual-file-routes@1.64.0': {} + '@tanstack/virtual-file-routes@1.81.9': {} '@testing-library/dom@10.1.0': dependencies: @@ -21033,6 +21047,8 @@ snapshots: '@types/aria-query@5.0.1': {} + '@types/babel__code-frame@7.0.6': {} + '@types/babel__core@7.20.5': dependencies: '@babel/parser': 7.26.2 @@ -21814,6 +21830,17 @@ snapshots: transitivePeerDependencies: - supports-color + '@vitejs/plugin-react@4.3.3(vite@5.4.10(@types/node@20.17.5)(terser@5.31.1))': + dependencies: + '@babel/core': 7.26.0 + '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.26.0) + '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.26.0) + '@types/babel__core': 7.20.5 + react-refresh: 0.14.2 + vite: 5.4.10(@types/node@20.17.5)(terser@5.31.1) + transitivePeerDependencies: + - supports-color + '@vitest/coverage-v8@2.1.4(vitest@2.1.4(@edge-runtime/vm@4.0.4)(@types/node@20.17.5)(jsdom@24.1.3)(terser@5.31.1))': dependencies: '@ampproject/remapping': 2.3.0