Skip to content

Commit 6f0d3b9

Browse files
authored
upgrade solid examples (#208)
1 parent fb27c8b commit 6f0d3b9

File tree

17 files changed

+106
-33
lines changed

17 files changed

+106
-33
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "node_modules/wrangler/config-schema.json",
3+
"name": "tanstack-start-app",
4+
"compatibility_date": "2025-09-02",
5+
"compatibility_flags": [
6+
"nodejs_compat"
7+
],
8+
"main": "@tanstack/solid-start/server-entry"
9+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Cloudflare",
3+
"description": "Cloudflare deployment setup",
4+
"link": "https://developers.cloudflare.com/workers/vite-plugin/",
5+
"phase": "add-on",
6+
"modes": ["file-router", "code-router"],
7+
"type": "host",
8+
"priority": 200,
9+
"integrations": [
10+
{
11+
"type": "vite-plugin",
12+
"import": "import { cloudflare } from '@cloudflare/vite-plugin'",
13+
"code": "cloudflare({ viteEnvironment: { name: 'ssr' } })"
14+
}
15+
]
16+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"scripts": {
3+
"deploy": "wrangler deploy"
4+
},
5+
"dependencies": {
6+
"@cloudflare/vite-plugin": "^1.13.8"
7+
},
8+
"devDependencies": {
9+
"wrangler": "^4.40.3"
10+
}
11+
}
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
command = "vite build"
3+
dir = "dist/client"
4+
[dev]
5+
command = "vite dev"
6+
port = 3000
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Netlify",
3+
"description": "Netlify deployment setup",
4+
"link": "https://docs.netlify.com",
5+
"phase": "add-on",
6+
"modes": ["file-router", "code-router"],
7+
"type": "host",
8+
"priority": 180,
9+
"integrations": [
10+
{
11+
"type": "vite-plugin",
12+
"import": "import netlify from '@netlify/vite-plugin-tanstack-start'",
13+
"code": "netlify()"
14+
}
15+
]
16+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"dependencies": {
3+
"@netlify/vite-plugin-tanstack-start": "^1.0.2"
4+
}
5+
}
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"@tanstack/nitro-v2-vite-plugin": "^1.132.31"
3+
"@tanstack/nitro-v2-vite-plugin": "^1.133.19"
44
}
55
}

frameworks/solid/project/base/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"test": "vitest run"
1010
},
1111
"dependencies": {
12-
"@tanstack/solid-router": "^1.132.25",
13-
"@tanstack/solid-router-devtools": "^1.132.25",
14-
"@tanstack/solid-start": "^1.132.25",
15-
"solid-js": "^1.9.5"
12+
"@tanstack/solid-router": "^1.133.20",
13+
"@tanstack/solid-router-devtools": "^1.133.20",
14+
"@tanstack/solid-start": "^1.133.20",
15+
"solid-js": "^1.9.9"
1616
},
1717
"devDependencies": {
18-
"vite-plugin-solid": "^2.11.2",
18+
"vite-plugin-solid": "^2.11.10",
1919
"typescript": "^5.7.2",
2020
"vite": "^7.1.7"
2121
}

0 commit comments

Comments
 (0)