chore: remove Vercel dependencies and config files
- Remove @vercel/analytics dependency and usage - Remove vercel CLI dependency - Delete vercel.json configuration file - Delete .vercel cache directory - Site now fully configured for Cloudflare Pages deployment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c2a56f08e1
commit
f963152238
|
|
@ -35,7 +35,6 @@
|
|||
"@types/markdown-it": "^14.1.1",
|
||||
"@types/marked": "^5.0.2",
|
||||
"@uiw/react-md-editor": "^4.0.5",
|
||||
"@vercel/analytics": "^1.2.2",
|
||||
"@xenova/transformers": "^2.17.2",
|
||||
"ai": "^4.1.0",
|
||||
"ajv": "^8.17.1",
|
||||
|
|
@ -63,7 +62,6 @@
|
|||
"recoil": "^0.7.7",
|
||||
"tldraw": "^3.15.4",
|
||||
"use-whisper": "^0.0.1",
|
||||
"vercel": "^39.1.1",
|
||||
"webcola": "^3.4.0",
|
||||
"webnative": "^0.36.3"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ import { Board } from "./routes/Board"
|
|||
import { Inbox } from "./routes/Inbox"
|
||||
import { Presentations } from "./routes/Presentations"
|
||||
import { Resilience } from "./routes/Resilience"
|
||||
import { inject } from "@vercel/analytics"
|
||||
import { createRoot } from "react-dom/client"
|
||||
import { DailyProvider } from "@daily-co/daily-react"
|
||||
import Daily from "@daily-co/daily-js"
|
||||
|
|
@ -35,8 +34,6 @@ import { ErrorBoundary } from './components/ErrorBoundary';
|
|||
import CryptoLogin from './components/auth/CryptoLogin';
|
||||
import CryptoDebug from './components/auth/CryptoDebug';
|
||||
|
||||
inject();
|
||||
|
||||
// Initialize Daily.co call object with error handling
|
||||
let callObject: any = null;
|
||||
try {
|
||||
|
|
|
|||
47
vercel.json
47
vercel.json
|
|
@ -1,47 +0,0 @@
|
|||
{
|
||||
"buildCommand": "npm run build",
|
||||
"installCommand": "npm install",
|
||||
"framework": "vite",
|
||||
"outputDirectory": "dist",
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/board/(.*)",
|
||||
"destination": "/"
|
||||
},
|
||||
{
|
||||
"source": "/board",
|
||||
"destination": "/"
|
||||
},
|
||||
{
|
||||
"source": "/inbox",
|
||||
"destination": "/"
|
||||
},
|
||||
{
|
||||
"source": "/contact",
|
||||
"destination": "/"
|
||||
},
|
||||
{
|
||||
"source": "/presentations",
|
||||
"destination": "/"
|
||||
},
|
||||
{
|
||||
"source": "/presentations",
|
||||
"destination": "/resilience"
|
||||
},
|
||||
{
|
||||
"source": "/dashboard",
|
||||
"destination": "/"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"source": "/assets/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "public, max-age=31536000, immutable"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue