Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@orpc/tanstack-query": "^1.9.4",
"@remixicon/react": "^4.7.0",
"@tanstack/query-db-collection": "0.2.37",
"@tanstack/react-db": "0.1.36",
"@tanstack/react-db": "0.1.69",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The package.json bumps @tanstack/react-db to 0.1.69 but an overrides entry still pins it to 0.1.1, which will cause installation failures.
Severity: HIGH

Suggested Fix

The overrides entry for @tanstack/react-db should be updated to match the new version in the dependencies section (0.1.69) or removed entirely if it is no longer needed. This will resolve the version conflict and ensure the correct package version is installed.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: apps/admin/package.json#L24

Potential issue: The `package.json` file updates the `@tanstack/react-db` dependency to
version `0.1.69`. However, the `overrides` section still contains a pin for this same
package at version `0.1.1`. This version mismatch will likely cause a dependency
resolution failure when `bun install` is next executed, preventing the application from
building or running. If the package manager were to install the overridden version
`0.1.1`, the application would likely crash at runtime, as the codebase uses APIs that
may not exist in that older version. The override appears to be a leftover from a
previous configuration and was not updated along with the dependency bump.

Did we get this right? 👍 / 👎 to inform future reviews.

"date-fns": "^4.1.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
Expand Down
Loading