Skip to content

Commit

Permalink
remove pnpmlock; update dependencies; address scrollrestoration compo…
Browse files Browse the repository at this point in the history
…nent deprecation
  • Loading branch information
alexisintech committed Feb 3, 2025
1 parent 68a1653 commit ff1c69c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9,878 deletions.
1 change: 1 addition & 0 deletions app/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export function createRouter() {
const router = createTanStackRouter({
routeTree,
defaultPreload: 'intent',
scrollRestoration: true,
})

return router
Expand Down
3 changes: 1 addition & 2 deletions app/routes/__root.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Outlet, ScrollRestoration, createRootRoute } from '@tanstack/react-router'
import { Outlet, createRootRoute } from '@tanstack/react-router'
import { Meta, Scripts } from '@tanstack/start'
import type * as React from 'react'
import { ClerkProvider } from '@clerk/tanstack-start'
Expand All @@ -22,7 +22,6 @@ function RootDocument({ children }: { children: React.ReactNode }) {
</head>
<body>
{children}
<ScrollRestoration />
<Scripts />
</body>
</html>
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
"format": "prettier --write '**/*' --ignore-unknown"
},
"dependencies": {
"@clerk/tanstack-start": "^0.9.0",
"@clerk/tanstack-start": "^0.9.2",
"@tanstack/react-router": "^1.99.0",
"@tanstack/router-devtools": "^1.99.0",
"@tanstack/start": "^1.99.2",
"@typescript-eslint/parser": "^8.14.0",
"@tanstack/start": "^1.99.3",
"@typescript-eslint/parser": "^8.23.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vinxi": "0.5.1"
},
"devDependencies": {
"@types/node": "^22.5.4",
"@types/node": "^22.13.0",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.10.0",
"eslint": "^8.0.0",
"eslint-config-react-app": "^7.0.1",
"prettier": "^3.3.3",
"typescript": "^5.7.2",
"prettier": "^3.4.2",
"typescript": "^5.7.3",
"vite-tsconfig-paths": "^5.1.4"
}
}
Loading

0 comments on commit ff1c69c

Please sign in to comment.