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
1,293 changes: 788 additions & 505 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions rsbuild/tanstack-start-rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"start": "node server.js"
},
"dependencies": {
"@tanstack/react-router": "^1.170.11",
"@tanstack/react-router-devtools": "^1.167.0",
"@tanstack/react-start": "^1.168.19",
"@tanstack/react-router": "^1.170.31",
"@tanstack/react-router-devtools": "^1.167.1",
"@tanstack/react-start": "^1.168.48",
"dexie": "^4.0.10",
"react": "^19.2.7",
"react-dom": "^19.2.7",
Expand Down
5 changes: 0 additions & 5 deletions rsbuild/tanstack-start-rsc/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ import { pluginTailwindcss } from '@rsbuild/plugin-tailwindcss';
import { tanstackStart } from '@tanstack/react-start/plugin/rsbuild';

export default defineConfig({
source: {
// RSC needs SWC to compile dependencies so directives like "use client" can be detected.
// The TanStack Rsbuild plugin will add this automatically when RSC is enabled in the future.
include: [{ not: /[\\/]core-js[\\/]/ }],
},
plugins: [
pluginReact(),
pluginTailwindcss(),
Expand Down
72 changes: 36 additions & 36 deletions rsbuild/tanstack-start-rsc/src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,36 @@
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

import { Route as rootRouteImport } from './routes/__root'
import { Route as PokemonRscRouteImport } from './routes/pokemon-rsc'
import { Route as PokemonRouteImport } from './routes/pokemon'
import { Route as LowLevelApiRouteImport } from './routes/low-level-api'
import { Route as ECommerceRouteImport } from './routes/e-commerce'
import { Route as IndexRouteImport } from './routes/index'
import { Route as ECommerceRouteImport } from './routes/e-commerce'
import { Route as LowLevelApiRouteImport } from './routes/low-level-api'
import { Route as PokemonRouteImport } from './routes/pokemon'
import { Route as PokemonRscRouteImport } from './routes/pokemon-rsc'
import { Route as ApiRscRouteImport } from './routes/api/rsc'

const PokemonRscRoute = PokemonRscRouteImport.update({
id: '/pokemon-rsc',
path: '/pokemon-rsc',
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const PokemonRoute = PokemonRouteImport.update({
id: '/pokemon',
path: '/pokemon',
const ECommerceRoute = ECommerceRouteImport.update({
id: '/e-commerce',
path: '/e-commerce',
getParentRoute: () => rootRouteImport,
} as any)
const LowLevelApiRoute = LowLevelApiRouteImport.update({
id: '/low-level-api',
path: '/low-level-api',
getParentRoute: () => rootRouteImport,
} as any)
const ECommerceRoute = ECommerceRouteImport.update({
id: '/e-commerce',
path: '/e-commerce',
const PokemonRoute = PokemonRouteImport.update({
id: '/pokemon',
path: '/pokemon',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
const PokemonRscRoute = PokemonRscRouteImport.update({
id: '/pokemon-rsc',
path: '/pokemon-rsc',
getParentRoute: () => rootRouteImport,
} as any)
const ApiRscRoute = ApiRscRouteImport.update({
Expand Down Expand Up @@ -110,18 +110,18 @@ export interface RootRouteChildren {

declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/pokemon-rsc': {
id: '/pokemon-rsc'
path: '/pokemon-rsc'
fullPath: '/pokemon-rsc'
preLoaderRoute: typeof PokemonRscRouteImport
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/pokemon': {
id: '/pokemon'
path: '/pokemon'
fullPath: '/pokemon'
preLoaderRoute: typeof PokemonRouteImport
'/e-commerce': {
id: '/e-commerce'
path: '/e-commerce'
fullPath: '/e-commerce'
preLoaderRoute: typeof ECommerceRouteImport
parentRoute: typeof rootRouteImport
}
'/low-level-api': {
Expand All @@ -131,18 +131,18 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LowLevelApiRouteImport
parentRoute: typeof rootRouteImport
}
'/e-commerce': {
id: '/e-commerce'
path: '/e-commerce'
fullPath: '/e-commerce'
preLoaderRoute: typeof ECommerceRouteImport
'/pokemon': {
id: '/pokemon'
path: '/pokemon'
fullPath: '/pokemon'
preLoaderRoute: typeof PokemonRouteImport
parentRoute: typeof rootRouteImport
}
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
'/pokemon-rsc': {
id: '/pokemon-rsc'
path: '/pokemon-rsc'
fullPath: '/pokemon-rsc'
preLoaderRoute: typeof PokemonRscRouteImport
parentRoute: typeof rootRouteImport
}
'/api/rsc': {
Expand Down
6 changes: 3 additions & 3 deletions rsbuild/tanstack-start-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"start": "srvx --prod -s ../client dist/server/index.js"
},
"dependencies": {
"@tanstack/solid-router": "^1.170.11",
"@tanstack/solid-router-devtools": "^1.167.0",
"@tanstack/solid-start": "^1.168.19",
"@tanstack/solid-router": "^1.170.29",
"@tanstack/solid-router-devtools": "^1.167.1",
"@tanstack/solid-start": "^1.168.46",
"solid-js": "^1.9.12",
"srvx": "^0.11.16",
"tailwindcss": "^4.3.0"
Expand Down
26 changes: 13 additions & 13 deletions rsbuild/tanstack-start-solid/src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

import { Route as rootRouteImport } from './routes/__root'
import { Route as AboutRouteImport } from './routes/about'
import { Route as IndexRouteImport } from './routes/index'
import { Route as AboutRouteImport } from './routes/about'

const AboutRoute = AboutRouteImport.update({
id: '/about',
path: '/about',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const AboutRoute = AboutRouteImport.update({
id: '/about',
path: '/about',
getParentRoute: () => rootRouteImport,
} as any)

export interface FileRoutesByFullPath {
'/': typeof IndexRoute
Expand Down Expand Up @@ -51,20 +51,20 @@ export interface RootRouteChildren {

declare module '@tanstack/solid-router' {
interface FileRoutesByPath {
'/about': {
id: '/about'
path: '/about'
fullPath: '/about'
preLoaderRoute: typeof AboutRouteImport
parentRoute: typeof rootRouteImport
}
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/about': {
id: '/about'
path: '/about'
fullPath: '/about'
preLoaderRoute: typeof AboutRouteImport
parentRoute: typeof rootRouteImport
}
}
}

Expand Down
8 changes: 4 additions & 4 deletions rsbuild/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"start": "srvx --prod -s ../client dist/server/index.js"
},
"dependencies": {
"@tanstack/react-devtools": "^0.10.5",
"@tanstack/react-router": "^1.170.11",
"@tanstack/react-router-devtools": "^1.167.0",
"@tanstack/react-start": "^1.168.19",
"@tanstack/react-devtools": "^0.10.12",
"@tanstack/react-router": "^1.170.31",
"@tanstack/react-router-devtools": "^1.167.1",
"@tanstack/react-start": "^1.168.48",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"srvx": "^0.11.16",
Expand Down
26 changes: 13 additions & 13 deletions rsbuild/tanstack-start/src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.

import { Route as rootRouteImport } from './routes/__root'
import { Route as AboutRouteImport } from './routes/about'
import { Route as IndexRouteImport } from './routes/index'
import { Route as AboutRouteImport } from './routes/about'

const AboutRoute = AboutRouteImport.update({
id: '/about',
path: '/about',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const AboutRoute = AboutRouteImport.update({
id: '/about',
path: '/about',
getParentRoute: () => rootRouteImport,
} as any)

export interface FileRoutesByFullPath {
'/': typeof IndexRoute
Expand Down Expand Up @@ -51,20 +51,20 @@ export interface RootRouteChildren {

declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/about': {
id: '/about'
path: '/about'
fullPath: '/about'
preLoaderRoute: typeof AboutRouteImport
parentRoute: typeof rootRouteImport
}
'/': {
id: '/'
path: '/'
fullPath: '/'
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/about': {
id: '/about'
path: '/about'
fullPath: '/about'
preLoaderRoute: typeof AboutRouteImport
parentRoute: typeof rootRouteImport
}
}
}

Expand Down
Loading