Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d751bfc

Browse files
committed
fix: upgrade deps
1 parent ec2b61f commit d751bfc

File tree

5 files changed

+140
-181
lines changed

5 files changed

+140
-181
lines changed

app.config.ts

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
import { sentryVitePlugin } from '@sentry/vite-plugin'
22
import { defineConfig } from '@tanstack/start/config'
3-
import { TanStackRouterVite } from '@tanstack/router-vite-plugin'
3+
import tsConfigPaths from 'vite-tsconfig-paths'
44

55
export default defineConfig({
66
vite: {
7-
plugins: () => [
8-
TanStackRouterVite({
9-
experimental: {
10-
enableCodeSplitting: true,
11-
},
12-
}),
13-
sentryVitePlugin({
14-
authToken: process.env.SENTRY_AUTH_TOKEN,
15-
org: 'tanstack',
16-
project: 'tanstack-com',
17-
}),
18-
],
7+
plugins: () => [tsConfigPaths()],
8+
},
9+
routers: {
10+
client: {
11+
vite: {
12+
plugins: () => [
13+
sentryVitePlugin({
14+
authToken: process.env.SENTRY_AUTH_TOKEN,
15+
org: 'tanstack',
16+
project: 'tanstack-com',
17+
}),
18+
],
19+
},
20+
},
1921
},
2022
})

app/components/DocsLayout.tsx

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -544,32 +544,27 @@ export function DocsLayout({
544544
)}
545545
>
546546
{children}
547-
<div
548-
className="fixed bottom-0 left-0 right-[70px]
549-
lg:pl-[250px] z-10"
550-
>
551-
<div className="p-4 flex justify-center gap-4">
547+
<div className="fixed flex items-center flex-wrap bottom-2 left-0 lg:left-[250px] z-10 right-0 text-xs md:text-sm px-1">
548+
<div className="w-1/2 px-1 flex justify-end flex-wrap">
552549
{prevItem ? (
553550
<Link
554551
to={prevItem.to}
555552
params
556-
className="flex gap-2 items-center py-1 px-2 text-sm self-start rounded-md
557-
bg-white text-gray-600 dark:bg-black dark:text-gray-400
558-
shadow-lg dark:border dark:border-gray-800
559-
lg:text-lg"
553+
className="py-1 px-2 bg-white/70 text-black dark:bg-gray-500/40 dark:text-white shadow-lg shadow-black/20 flex items-center justify-center backdrop-blur-sm z-20 rounded-lg overflow-hidden"
560554
>
561-
<FaArrowLeft /> {prevItem.label}
555+
<div className="flex gap-2 items-center font-bold">
556+
<FaArrowLeft />
557+
{prevItem.label}
558+
</div>
562559
</Link>
563560
) : null}
561+
</div>
562+
<div className="w-1/2 px-1 flex justify-start flex-wrap">
564563
{nextItem ? (
565564
<Link
566565
to={nextItem.to}
567566
params
568-
className="py-1 px-2 text-sm self-end rounded-md
569-
bg-white dark:bg-black
570-
shadow-lg dark:border dark:border-gray-800
571-
lg:text-lg
572-
"
567+
className="py-1 px-2 bg-white/70 text-black dark:bg-gray-500/40 dark:text-white shadow-lg shadow-black/20 flex items-center justify-center backdrop-blur-sm z-20 rounded-lg overflow-hidden"
573568
>
574569
<div className="flex gap-2 items-center font-bold">
575570
<span

app/routeTree.gen.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -334,64 +334,64 @@ declare module '@tanstack/react-router' {
334334
}
335335
'/_libraries/config/$version/': {
336336
id: '/_libraries/config/$version/'
337-
path: '/config/$version/'
338-
fullPath: '/config/$version/'
337+
path: '/config/$version'
338+
fullPath: '/config/$version'
339339
preLoaderRoute: typeof LibrariesConfigVersionIndexImport
340340
parentRoute: typeof LibrariesImport
341341
}
342342
'/_libraries/form/$version/': {
343343
id: '/_libraries/form/$version/'
344-
path: '/form/$version/'
345-
fullPath: '/form/$version/'
344+
path: '/form/$version'
345+
fullPath: '/form/$version'
346346
preLoaderRoute: typeof LibrariesFormVersionIndexImport
347347
parentRoute: typeof LibrariesImport
348348
}
349349
'/_libraries/query/$version/': {
350350
id: '/_libraries/query/$version/'
351-
path: '/query/$version/'
352-
fullPath: '/query/$version/'
351+
path: '/query/$version'
352+
fullPath: '/query/$version'
353353
preLoaderRoute: typeof LibrariesQueryVersionIndexImport
354354
parentRoute: typeof LibrariesImport
355355
}
356356
'/_libraries/ranger/$version/': {
357357
id: '/_libraries/ranger/$version/'
358-
path: '/ranger/$version/'
359-
fullPath: '/ranger/$version/'
358+
path: '/ranger/$version'
359+
fullPath: '/ranger/$version'
360360
preLoaderRoute: typeof LibrariesRangerVersionIndexImport
361361
parentRoute: typeof LibrariesImport
362362
}
363363
'/_libraries/router/$version/': {
364364
id: '/_libraries/router/$version/'
365-
path: '/router/$version/'
366-
fullPath: '/router/$version/'
365+
path: '/router/$version'
366+
fullPath: '/router/$version'
367367
preLoaderRoute: typeof LibrariesRouterVersionIndexImport
368368
parentRoute: typeof LibrariesImport
369369
}
370370
'/_libraries/start/$version/': {
371371
id: '/_libraries/start/$version/'
372-
path: '/start/$version/'
373-
fullPath: '/start/$version/'
372+
path: '/start/$version'
373+
fullPath: '/start/$version'
374374
preLoaderRoute: typeof LibrariesStartVersionIndexImport
375375
parentRoute: typeof LibrariesImport
376376
}
377377
'/_libraries/store/$version/': {
378378
id: '/_libraries/store/$version/'
379-
path: '/store/$version/'
380-
fullPath: '/store/$version/'
379+
path: '/store/$version'
380+
fullPath: '/store/$version'
381381
preLoaderRoute: typeof LibrariesStoreVersionIndexImport
382382
parentRoute: typeof LibrariesImport
383383
}
384384
'/_libraries/table/$version/': {
385385
id: '/_libraries/table/$version/'
386-
path: '/table/$version/'
387-
fullPath: '/table/$version/'
386+
path: '/table/$version'
387+
fullPath: '/table/$version'
388388
preLoaderRoute: typeof LibrariesTableVersionIndexImport
389389
parentRoute: typeof LibrariesImport
390390
}
391391
'/_libraries/virtual/$version/': {
392392
id: '/_libraries/virtual/$version/'
393-
path: '/virtual/$version/'
394-
fullPath: '/virtual/$version/'
393+
path: '/virtual/$version'
394+
fullPath: '/virtual/$version'
395395
preLoaderRoute: typeof LibrariesVirtualVersionIndexImport
396396
parentRoute: typeof LibrariesImport
397397
}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
"@orama/searchbox": "1.0.0-rc27",
2424
"@oramacloud/client": "^1.1.5",
2525
"@remix-run/node": "^2.8.1",
26-
"@sentry/react": "^8.0.0",
26+
"@sentry/react": "^8.2.1",
2727
"@sentry/vite-plugin": "^2.16.1",
2828
"@tailwindcss/typography": "^0.5.13",
29-
"@tanstack/react-router": "1.32.5",
30-
"@tanstack/router-devtools": "1.32.5",
31-
"@tanstack/router-vite-plugin": "1.32.2",
32-
"@tanstack/start": "1.32.7",
29+
"@tanstack/react-router": "1.33.2",
30+
"@tanstack/router-devtools": "1.33.2",
31+
"@tanstack/router-vite-plugin": "1.32.17",
32+
"@tanstack/start": "1.33.2",
3333
"@typescript-eslint/parser": "^7.2.0",
3434
"@vercel/analytics": "^1.2.2",
3535
"@vercel/speed-insights": "^1.0.10",

0 commit comments

Comments
 (0)