Skip to content

Commit

Permalink
chore: rename start to react-start
Browse files Browse the repository at this point in the history
  • Loading branch information
schiller-manuel committed Feb 28, 2025
1 parent 8672e57 commit f7395aa
Show file tree
Hide file tree
Showing 9 changed files with 404 additions and 340 deletions.
2 changes: 1 addition & 1 deletion examples/react/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 examples/react/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
2 changes: 1 addition & 1 deletion examples/react/tanstack-start/app/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
ScrollRestoration,
createRootRoute,
} from '@tanstack/react-router'
import { Meta, Scripts } from '@tanstack/start'
import { Meta, Scripts } from '@tanstack/react-start'
import * as React from 'react'

export const Route = createRootRoute({
Expand Down
4 changes: 2 additions & 2 deletions examples/react/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'

Expand Down
4 changes: 2 additions & 2 deletions examples/react/tanstack-start/app/utils/form.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { createServerFn } from '@tanstack/start'
import { createServerFn } from '@tanstack/react-start'
import { formOptions } from '@tanstack/react-form'
import {
ServerValidateError,
createServerValidate,
getFormData,
} from '@tanstack/react-form/start'
import { setResponseStatus } from 'vinxi/http'
import { setResponseStatus } from '@tanstack/react-start/server'

export const formOpts = formOptions({
defaultValues: {
Expand Down
4 changes: 2 additions & 2 deletions examples/react/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"dependencies": {
"@tanstack/form-core": "^0.45.1",
"@tanstack/react-form": "^0.45.1",
"@tanstack/react-router": "^1.95.6",
"@tanstack/react-router": "^1.112.0",
"@tanstack/react-store": "^0.7.0",
"@tanstack/start": "^1.95.7",
"@tanstack/react-start": "^1.112.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vinxi": "^0.5.1"
Expand Down
2 changes: 1 addition & 1 deletion knip.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreDependencies": ["@tanstack/start", "vinxi"],
"ignoreDependencies": ["@tanstack/react-start", "vinxi"],
"ignoreWorkspaces": ["examples/**"]
}
6 changes: 3 additions & 3 deletions packages/react-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"decode-formdata": "^0.8.0"
},
"devDependencies": {
"@tanstack/start": "^1.95.7",
"@tanstack/react-start": "^1.112.0",
"@types/react": "^19.0.7",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
Expand All @@ -99,12 +99,12 @@
"vite": "^6.1.1"
},
"peerDependencies": {
"@tanstack/start": "^1.81.6",
"@tanstack/react-start": "^1.112.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"vinxi": "^0.5.0"
},
"peerDependenciesMeta": {
"@tanstack/start": {
"@tanstack/react-start": {
"optional": true
},
"vinxi": {
Expand Down
718 changes: 391 additions & 327 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit f7395aa

Please sign in to comment.