fix: restore frontend typecheck and CI dependencies#19
Merged
Conversation
There was a problem hiding this comment.
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.tsxto the react-day-picker v9formatMonthDropdown(monthNumber, locale)signature and drop the removedrootRefprop on the customRootcomponent. - Update
components/ui/resizable.tsxto use react-resizable-panels v2 named exports (Panel,PanelGroup,PanelResizeHandle) instead of the previousResizablePrimitive.Group/Panel/Separatornamespace 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
testenvironment so GitHub Actions can run migrations with the existing DB_* env vars.Verification