Skip to content

Phase 4-5: Frontend and Backend Package Updates #155

@eoln

Description

@eoln

Phase 4-5: Package Updates

Can run in parallel across packages

Phase 4: Frontend Updates (15 min)

4a: @hookform/resolvers 5.x

pnpm update @hookform/resolvers -r --filter="*-frontend"
pnpm test --filter="*-frontend"

Type Changes:

  • Generic signature: useForm<Input, Context, Output>()
  • Best practice: Let types be inferred from schema

4b: Other Frontend Updates

pnpm update @tanstack/react-query -r
pnpm update react-hook-form -r
pnpm update react-router-dom -r
pnpm update @playwright/test -Dw -r

Phase 5: Backend Updates (15 min)

5a: @graphql-tools/utils 11.x

# Check usage first
grep -rn "getDirectives" srv/ shared/
pnpm update @graphql-tools/utils -r

5b: @react-email/render 2.x

cd srv/email && pnpm update @react-email/render

Code Change: render() is now async

5c: Other Backend Updates

pnpm update @apollo/server -r
pnpm update hono -r
pnpm update @cloudflare/workers-types -r
pnpm update graphql-scalars -r

Verification

  • All frontend unit tests pass
  • All backend unit tests pass
  • No TypeScript errors

Estimate: 0.5 hours

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions