Skip to content

Commit 209030c

Browse files
committed
fix: start setup issue and versioning
1 parent 24ea6ba commit 209030c

File tree

13 files changed

+20
-68
lines changed

13 files changed

+20
-68
lines changed

templates/react/add-on/start/assets/src/routes/api.demo-names.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

templates/react/add-on/start/assets/src/routes/demo.start.api-request.tsx.ejs

Lines changed: 0 additions & 33 deletions
This file was deleted.

templates/react/add-on/start/info.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
{
1010
"url": "/demo/start/server-funcs",
1111
"name": "Start - Server Functions"
12-
},
13-
{
14-
"url": "/demo/start/api-request",
15-
"name": "Start - API Request"
1612
}
1713
]
1814
}

templates/react/add-on/start/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"dependencies": {
88
"@tailwindcss/postcss": "^4.0.7",
9-
"@tanstack/react-start": "^1.112.1",
9+
"@tanstack/react-start": "^1.114.3",
1010
"postcss": "^8.5.2",
1111
"vinxi": "^0.5.3",
1212
"vite-tsconfig-paths": "^5.1.4"

templates/react/base/README.md.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Here is an example layout that includes a header:
153153
154154
```tsx
155155
import { createRootRoute, Outlet } from '@tanstack/react-router'
156-
import { TanStackRouterDevtools } from '@tanstack/router-devtools'
156+
import { TanStackRouterDevtools } from '@tanstack/react-router-devtools'
157157
158158
import { Link } from "@tanstack/react-router";
159159
@@ -215,7 +215,7 @@ Then you'll need to create a `src/routes/__root.<%= jsx %>` file with the conten
215215
216216
```tsx
217217
import { createRootRoute, Outlet } from "@tanstack/react-router";
218-
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
218+
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
219219
220220
export const Route = createRootRoute({
221221
component: () => (

templates/react/base/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"test": "vitest run"
1010
},
1111
"dependencies": {
12-
"@tanstack/react-router": "^1.112.0",
13-
"@tanstack/router-devtools": "^1.112.0",
12+
"@tanstack/react-router": "^1.114.3",
13+
"@tanstack/react-router-devtools": "^1.114.3",
1414
"react": "^19.0.0",
1515
"react-dom": "^19.0.0"
1616
},

templates/react/code-router/src/main.tsx.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
createRoute,
88
createRouter,
99
} from "@tanstack/react-router";
10-
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
10+
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
1111
<% for(const route of routes) { %>import <%= route.name %> from "<%= route.path %>";
1212
<% } %><% if (routes.length > 0) { %>
1313
import Header from "./components/Header";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"@tanstack/router-plugin": "^1.112.0"
3+
"@tanstack/router-plugin": "^1.114.3"
44
}
55
}

templates/react/file-router/src/routes/__root.tsx.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createRootRoute, Outlet<% if (addOnEnabled.start) { %>
22
,HeadContent, Scripts<% } %> } from '@tanstack/react-router'
3-
import { TanStackRouterDevtools } from '@tanstack/router-devtools'
3+
import { TanStackRouterDevtools } from '@tanstack/react-router-devtools'
44
<% if (addOns.length) { %>
55
import Header from '../components/Header'
66
<% } %><% for(const integration of integrations.filter(i => i.type === 'layout' || i.type === 'provider')) { %>

tests/snapshots/cra/cr-js-npm.json

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)