Skip to content

fix: restore frontend typecheck and CI dependencies#19

Merged
thunderavi merged 2 commits into
mainfrom
codex/fix-frontend-typecheck
May 19, 2026
Merged

fix: restore frontend typecheck and CI dependencies#19
thunderavi merged 2 commits into
mainfrom
codex/fix-frontend-typecheck

Conversation

@thunderavi
Copy link
Copy Markdown
Owner

@thunderavi thunderavi commented May 19, 2026

Summary

  • Add the frontend/UI packages and optional provider SDKs that the checked-in TypeScript code imports, so clean CI installs can resolve them.
  • Update the Calendar wrapper for the installed react-day-picker v9 formatter/custom root API.
  • Update the Resizable wrapper to use react-resizable-panels named exports.
  • Add a Knex test environment so GitHub Actions can run migrations with the existing DB_* env vars.

Verification

  • npm ci
  • npm run verify
  • npm run lint:easy
  • npm run typecheck
  • npm run validate:production
  • npm run test:coverage
  • npm run test:live:adapters (skips locally without LIVE_ADAPTERS; GitHub CI runs it with Redis/Postgres/Mongo services)
  • npm test -- tests/unit/migrationManager.test.js --runInBand

Copilot AI review requested due to automatic review settings May 19, 2026 07:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR restores the project's frontend TypeScript typecheck and CI installability. It adds the UI/frontend packages and optional provider SDKs that checked-in TypeScript code imports as devDependencies (so npm ci + tsc --noEmit pass cleanly), and updates two shadcn-style wrappers to match the currently-installed major versions of their underlying libraries.

Changes:

  • Add ~50 devDependencies (Radix UI, Next, React 18, react-day-picker v9, react-resizable-panels v2, AWS/OpenAI/Anthropic/etc. SDKs, Tailwind helpers) and bump @types/react/add @types/react-dom.
  • Update components/ui/calendar.tsx to the react-day-picker v9 formatMonthDropdown(monthNumber, locale) signature and drop the removed rootRef prop on the custom Root component.
  • Update components/ui/resizable.tsx to use react-resizable-panels v2 named exports (Panel, PanelGroup, PanelResizeHandle) instead of the previous ResizablePrimitive.Group/Panel/Separator namespace usage.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Adds frontend + optional provider SDK packages as devDependencies and bumps React type packages so CI installs/typechecks pass.
components/ui/calendar.tsx Adapts formatMonthDropdown and the custom Root component to react-day-picker v9's API.
components/ui/resizable.tsx Switches to react-resizable-panels v2 named exports and renames the handle to PanelResizeHandle.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@thunderavi thunderavi merged commit 23d3a8f into main May 19, 2026
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.

2 participants