Skip to content

fix: Vercel build — inline backend schemas, fix TS types - #33

Merged
willwearing merged 1 commit into
mainfrom
fix/vercel-build-errors
Mar 22, 2026
Merged

fix: Vercel build — inline backend schemas, fix TS types#33
willwearing merged 1 commit into
mainfrom
fix/vercel-build-errors

Conversation

@willwearing

Copy link
Copy Markdown
Owner

Summary

Fixes Vercel deployment build failures:

  • TS2307 module not found: Backend schema files were re-exporting from @graspful/shared, but Vercel doesn't build the shared package. Restored inline schemas.
  • TS7006 implicit any: Added type annotations in review.service.ts
  • Removed unused @graspful/shared dependency from backend

Test plan

  • cd backend && bun run build succeeds
  • Backend schemas are self-contained (no external deps)

🤖 Generated with Claude Code

- Revert backend schema files from @graspful/shared re-exports to inline
  (Vercel doesn't build shared package, causing TS2307 module not found)
- Remove @graspful/shared dependency from backend package.json
- Fix implicit any on review.service.ts line 115 (prerequisite filter)
- Fix unknown type on review.service.ts line 145 (Set iteration)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graspful Error Error Mar 22, 2026 2:43pm
web Error Error Mar 22, 2026 2:43pm

@willwearing
willwearing merged commit 283f5b1 into main Mar 22, 2026
1 of 3 checks passed
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