Skip to content

chore(frontend): update all frontend dependencies to latest #219

Description

@karutoil

Summary

Bring all catalyst-frontend dependencies (runtime + dev) up to their latest compatible versions, then verify the app still builds, lints, and passes tests.

This is a full refresh beyond Dependabot's weekly grouped minor/patch PRs — include major bumps where feasible, with intentional decisions documented for anything we intentionally pin or defer.

Scope

Item Path
Package catalyst-frontend/package.json
Lockfile root pnpm-lock.yaml (pnpm workspace)
Workspace root tools that affect FE root package.json (e.g. TypeScript) if needed for alignment

Key stacks to refresh

  • React / React DOM / React Router
  • Vite, Vitest, Playwright, TypeScript, ESLint
  • TanStack Query / Virtual
  • Radix UI primitives
  • Tailwind CSS / PostCSS
  • better-auth (+ passkey)
  • Zod, React Hook Form, Framer Motion, Recharts, Monaco, Zustand

Acceptance criteria

  • Audit current vs latest for every dependency in catalyst-frontend/package.json (pnpm outdated --filter catalyst-frontend or equivalent).
  • Update all feasible packages to latest; document any intentionally skipped majors (reason + follow-up issue if needed).
  • pnpm install succeeds; lockfile updated at repo root.
  • pnpm --filter catalyst-frontend run lint passes.
  • pnpm --filter catalyst-frontend run build passes.
  • pnpm --filter catalyst-frontend run test passes.
  • Spot-check critical UI flows (auth, server list, console/files, settings) if major framework bumps land.
  • No new security advisories introduced; prefer fixes for any known CVEs.
  • PR notes call out breaking changes and any required code migrations (e.g. Zod / React Router / Vite majors).

Suggested approach

  1. Run pnpm outdated --filter catalyst-frontend and capture the baseline.
  2. Update patch/minor first; then tackle majors one stack at a time (Vite/TS → React ecosystem → UI libs → auth).
  3. Fix compile/type/lint fallout per stack before moving on.
  4. Run full FE test suite + a short manual smoke.
  5. Open a single PR (or stacked PRs if a major is large).

Notes

  • Repo already has Dependabot for weekly npm updates at / (see .github/dependabot.yml). This issue is the deliberate full-upgrade pass, including majors Dependabot may not auto-merge/group.
  • Keep engines.node (>=20) in mind; do not drop Node 20 support unless coordinated repo-wide.
  • Align shared packages (better-auth, zod, typescript) with backend where versions are intentionally shared.

Related

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:frontendFrontend / UI workdependenciesPull requests that update a dependency fileenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions