Refactor dependencies to devDependencies in package.json

Moved several libraries including @anthropic-ai/sdk and @babel-related packages from dependencies to devDependencies in package.json and bun.lock. This reduces the production bundle size by excluding unnecessary build-time dependencies.
This commit is contained in:
geoffsee
2025-05-27 14:56:50 -04:00
committed by Geoff Seemueller
parent 139b6e4d58
commit 6ce22d8ef2
3 changed files with 15 additions and 4559 deletions

684
bun.lock

File diff suppressed because it is too large Load Diff

View File

@@ -16,27 +16,16 @@
"tail:analytics-service": "wrangler tail -c workers/analytics/wrangler-analytics.toml",
"tail:session-proxy": "wrangler tail -c workers/session-proxy/wrangler-session-proxy.toml --env production"
},
"dependencies": {
"devDependencies": {
"@anthropic-ai/sdk": "^0.32.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.9",
"@chakra-ui/react": "^2.10.6",
"@cloudflare/workers-types": "^4.20241205.0",
"@emotion/react": "^11.13.5",
"@emotion/styled": "^11.13.5",
"@mdxeditor/editor": "^3.20.0",
"@types/marked": "^6.0.0",
"@vitejs/plugin-react": "^4.3.4",
"chokidar": "^4.0.1",
"framer-motion": "^11.13.1",
"gpt-tokenizer": "^2.7.0",
"hastscript": "^9.0.0",
"isomorphic-dompurify": "^2.19.0",
"itty-router": "^5.0.18",
"js-cookie": "^3.0.5",
@@ -58,7 +47,6 @@
"react-streaming": "^0.3.44",
"react-textarea-autosize": "^8.5.5",
"shiki": "^1.24.0",
"terser": "^5.39.0",
"typescript": "^5.7.2",
"vike": "0.4.193",
"vite": "^5.4.11",

3876
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff