Skip to content

Commit 315429f

Browse files
authored
Merge pull request #10 from brettkolodny/brett/backend-deploy
feat: vercel backend and share button
2 parents d225a41 + 3221b21 commit 315429f

29 files changed

+2635
-140
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
26+
.vercel
27+
.env*.local

index.html

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

package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,30 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "tsc -b && vite build",
8+
"build": "tsc -b && vite build && vite build --mode=client",
99
"lint": "eslint .",
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
1313
"@fontsource-variable/inter": "^5.2.5",
1414
"@fontsource/dm-mono": "^5.2.5",
15+
"@hono/valibot-validator": "^0.5.2",
1516
"@microlink/react-json-view": "^1.26.2",
1617
"@radix-ui/react-dialog": "^1.1.14",
1718
"@radix-ui/react-dropdown-menu": "^2.1.15",
1819
"@radix-ui/react-slot": "^1.2.3",
1920
"@radix-ui/react-tabs": "^1.1.12",
2021
"@radix-ui/react-tooltip": "^1.2.7",
2122
"@tailwindcss/typography": "^0.5.16",
23+
"@universal-middleware/core": "^0.4.7",
24+
"@universal-middleware/hono": "^0.4.12",
25+
"@vercel/blob": "^1.1.1",
2226
"class-variance-authority": "^0.7.1",
2327
"clsx": "^2.1.1",
28+
"hono": "^4.7.11",
2429
"lucide-react": "^0.511.0",
2530
"motion": "^12.15.0",
31+
"nanoid": "^5.1.5",
2632
"prismjs": "^1.30.0",
2733
"react": "^19.1.0",
2834
"react-dom": "^19.1.0",
@@ -36,6 +42,7 @@
3642
},
3743
"devDependencies": {
3844
"@eslint/js": "^9.25.0",
45+
"@hono/vite-dev-server": "^0.19.1",
3946
"@types/node": "^22.15.21",
4047
"@types/prismjs": "^1.26.5",
4148
"@types/react": "^19.1.2",
@@ -51,6 +58,8 @@
5158
"tailwindcss": "3",
5259
"typescript": "~5.8.3",
5360
"typescript-eslint": "^8.30.1",
54-
"vite": "^6.3.5"
61+
"vercel": "^42.3.0",
62+
"vite": "^6.3.5",
63+
"vite-plugin-vercel": "^9.0.7"
5564
}
5665
}

0 commit comments

Comments
 (0)