create-start-app 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mcp.js CHANGED
@@ -180,7 +180,7 @@ export default async function runServer(sse) {
180
180
  });
181
181
  const port = process.env.PORT || 8080;
182
182
  app.listen(port, () => {
183
- console.log(`Server is running on port http://localhost:${port}`);
183
+ console.log(`Server is running on port http://localhost:${port}/sse`);
184
184
  });
185
185
  }
186
186
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-start-app",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Tanstack Application Builder",
5
5
  "bin": "./dist/index.js",
6
6
  "type": "module",
package/src/mcp.ts CHANGED
@@ -220,7 +220,7 @@ export default async function runServer(sse: boolean) {
220
220
 
221
221
  const port = process.env.PORT || 8080
222
222
  app.listen(port, () => {
223
- console.log(`Server is running on port http://localhost:${port}`)
223
+ console.log(`Server is running on port http://localhost:${port}/sse`)
224
224
  })
225
225
  } else {
226
226
  const transport = new StdioServerTransport()
@@ -1,4 +1,4 @@
1
- import { createIsomorphicFn } from '@tanstack/start'
1
+ import { createIsomorphicFn } from '@tanstack/react-start'
2
2
  import * as Sentry from "@sentry/react";
3
3
  import * as SentryServer from "@sentry/node";
4
4
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  import * as fs from 'node:fs/promises'
10
10
  import { createFileRoute } from '@tanstack/react-router'
11
- import { createServerFn } from '@tanstack/start'
11
+ import { createServerFn } from '@tanstack/react-start'
12
12
  import * as Sentry from '@sentry/react'
13
13
  import * as SentryServer from '@sentry/node'
14
14
  import { useState, useEffect, useRef } from 'react'
@@ -1,4 +1,4 @@
1
- import { defineConfig } from '@tanstack/start/config'
1
+ import { defineConfig } from '@tanstack/react-start/config'
2
2
  import viteTsConfigPaths from 'vite-tsconfig-paths'
3
3
 
4
4
  export default defineConfig({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createStartAPIHandler,
3
3
  defaultAPIFileRouteHandler,
4
- } from '@tanstack/start/api'
4
+ } from '@tanstack/react-start/api'
5
5
 
6
6
  export default createStartAPIHandler(defaultAPIFileRouteHandler)
@@ -1,5 +1,5 @@
1
1
  import { hydrateRoot } from 'react-dom/client'
2
- import { StartClient } from '@tanstack/start'
2
+ import { StartClient } from '@tanstack/react-start'
3
3
 
4
4
  import { createRouter } from './router'
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { createRouter as createTanstackRouter } from '@tanstack/react-router'<% if (addOnEnabled.sentry) { %>
2
2
  import * as Sentry from '@sentry/react'
3
3
  import * as SentryServer from '@sentry/node'
4
- import { createIsomorphicFn } from '@tanstack/start'
4
+ import { createIsomorphicFn } from '@tanstack/react-start'
5
5
  <% } %>
6
6
 
7
7
  // Import the generated route tree
@@ -1,4 +1,4 @@
1
- import { createAPIFileRoute } from '@tanstack/start/api'
1
+ import { createAPIFileRoute } from '@tanstack/react-start/api'
2
2
 
3
3
  export const APIRoute = createAPIFileRoute('/demo/start/api/names')({
4
4
  GET: async ({ request }) => {
@@ -1,6 +1,6 @@
1
1
  import * as fs from 'fs'
2
2
  import { createFileRoute, useRouter } from '@tanstack/react-router'
3
- import { createServerFn } from '@tanstack/start'
3
+ import { createServerFn } from '@tanstack/react-start'
4
4
 
5
5
  const filePath = 'count.txt'
6
6
 
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createStartHandler,
3
3
  defaultStreamHandler,
4
- } from '@tanstack/start/server'
5
- import { getRouterManifest } from '@tanstack/start/router-manifest'
4
+ } from '@tanstack/react-start/server'
5
+ import { getRouterManifest } from '@tanstack/react-start/router-manifest'
6
6
 
7
7
  import { createRouter } from './router'
8
8
 
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "dependencies": {
8
8
  "@tailwindcss/postcss": "^4.0.7",
9
- "@tanstack/start": "^1.106.0",
9
+ "@tanstack/react-start": "^1.111.12",
10
10
  "postcss": "^8.5.2",
11
11
  "vinxi": "^0.5.3",
12
12
  "vite-tsconfig-paths": "^5.1.4"
@@ -1,4 +1,4 @@
1
- import { createServerFn } from '@tanstack/start'
1
+ import { createServerFn } from '@tanstack/react-start'
2
2
  import { Anthropic } from '@anthropic-ai/sdk'
3
3
 
4
4
  export interface Message {