Skip to content

Remove root dependencies only used by the deleted Vercel handlers - #32

Merged
southbayjay merged 1 commit into
mainfrom
devin/1790178605-prune-root-deps
Sep 23, 2026
Merged

southbayjay merged 1 commit into
mainfrom
devin/1790178605-prune-root-deps

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Follow-up flagged in #29: cors, dotenv, express, @types/cors, @types/express in the root package.json were only imported by the Vercel api/* handlers that #29 deleted. Root now keeps just what functions/api/* (Cloudflare) needs — openai, zod — plus concurrently/typescript/@types/node for the root scripts.

The server workspace declares its own copies of all five, so the lockfile still hoists them into node_modules/ for the Express server; net lockfile change is 5 lines.

Verified: npm test (15 pass), tsc -p server/tsconfig.eslint.json, client + server build, production server /api/health → 200.

Link to Devin session: https://app.devin.ai/sessions/9385fb134d5f4dacb30bc28bd6bede11
Open in Devin Desktop: https://app.devin.ai/desktop/session/9385fb134d5f4dacb30bc28bd6bede11?variant=devin
Requested by: @southbayjay

cors/dotenv/express and their @types were only imported by api/*, removed
in #29. The server workspace declares its own copies, so the lockfile
still hoists them for server/.

Co-Authored-By: Jason Maycock <jason@southbaycreations.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@southbayjay
southbayjay merged commit be6fd76 into main Sep 23, 2026
1 check passed

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant