Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/rude-hats-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/tanstack-start": minor
---

Migrate to `@tanstack/react-start` from `@tanstack/start`. This change follows TanStack's [official package rename](https://github.com/TanStack/router/discussions/2863#discussioncomment-12318045).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this and other nextjs integration template files got formatted 🤷🏼

Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
:root {
--max-width: 1100px;
--border-radius: 12px;
--font-mono: ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono',
'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;
--font-mono:
ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono', 'Ubuntu Monospace',
'Source Code Pro', 'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;

--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
Expand Down
5 changes: 3 additions & 2 deletions integration/templates/next-app-router/src/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
:root {
--max-width: 1100px;
--border-radius: 12px;
--font-mono: ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono',
'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;
--font-mono:
ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono', 'Ubuntu Monospace',
'Source Code Pro', 'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;

--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
Expand Down
5 changes: 3 additions & 2 deletions integration/templates/react-cra/src/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', sans-serif;
font-family:
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down
6 changes: 3 additions & 3 deletions integration/templates/tanstack-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-router": "^1.97.25",
"@tanstack/router-devtools": "^1.97.25",
"@tanstack/router-plugin": "^1.97.25",
"@tanstack/react-router": "^1.111.7",
"@tanstack/router-devtools": "^1.111.7",
"@tanstack/router-plugin": "^1.111.7",
"react": "18.3.1",
"react-dom": "18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion integration/templates/tanstack-start/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from '@tanstack/start/config'
import { defineConfig } from '@tanstack/react-start/config'
import tsConfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion integration/templates/tanstack-start/app/client.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { hydrateRoot } from 'react-dom/client'
import { StartClient } from '@tanstack/start'
import { StartClient } from '@tanstack/react-start'
import { createRouter } from './router'

const router = createRouter()
Expand Down
5 changes: 3 additions & 2 deletions integration/templates/tanstack-start/app/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import {
Outlet,
ScrollRestoration,
createRootRoute,
Scripts,
} from '@tanstack/react-router'
import { TanStackRouterDevtools } from '@tanstack/router-devtools'
import { Meta, Scripts } from '@tanstack/start'
import { HeadContent } from '@tanstack/react-start'
import * as React from 'react'
import { DefaultCatchBoundary } from '~/components/DefaultCatchBoundary'
import { NotFound } from '~/components/NotFound'
Expand Down Expand Up @@ -35,7 +36,7 @@ function RootDocument({ children }: { children: React.ReactNode }) {
<ClerkProvider>
<html>
<head>
<Meta />
<HeadContent />
</head>
<body>
{children}
Expand Down
4 changes: 2 additions & 2 deletions integration/templates/tanstack-start/app/ssr.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
createStartHandler,
defaultStreamHandler,
} from '@tanstack/start/server'
import { getRouterManifest } from '@tanstack/start/router-manifest'
} from '@tanstack/react-start/server'
import { getRouterManifest } from '@tanstack/react-start/router-manifest'
import { createRouter } from './router'
import { createClerkHandler } from '@clerk/tanstack-start/server'

Expand Down
8 changes: 4 additions & 4 deletions integration/templates/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"start": "vinxi start --port=$PORT"
},
"dependencies": {
"@tanstack/react-router": "^1.97.25",
"@tanstack/router-devtools": "^1.97.25",
"@tanstack/router-plugin": "^1.97.25",
"@tanstack/start": "^1.97.25",
"@tanstack/react-router": "^1.111.7",
"@tanstack/router-devtools": "^1.111.7",
"@tanstack/router-plugin": "^1.111.7",
"@tanstack/react-start": "^1.111.10",
"@typescript-eslint/parser": "^7.18.0",
"isbot": "^5.1.17",
"react": "18.3.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@
"vinxi": "^0.5.1"
},
"devDependencies": {
"@tanstack/react-router": "^1.97.25",
"@tanstack/start": "^1.97.25",
"@tanstack/react-router": "^1.111.7",
"@tanstack/react-start": "^1.111.10",
"esbuild-plugin-file-path-extensions": "^2.1.2"
},
"peerDependencies": {
"@tanstack/react-router": ">=1.85.9",
"@tanstack/start": ">=1.85.9",
"@tanstack/react-router": ">=1.111.7",
"@tanstack/react-start": ">=1.111.10",
"react": "catalog:peer-react",
"react-dom": "catalog:peer-react"
},
Expand Down
Loading
Loading