Update Docker builds#85
Merged
Merged
Conversation
- Add --legacy-peer-deps flag to GitHub workflow npm ci commands to resolve React 19 peer dependency conflicts - Update react-image-gallery to 1.4.0 for React 19 compatibility - Fix AutocompleteSearch Configure component to remove TypeScript any usage - Remove deprecated yarn.lock file in favor of package-lock.json This resolves the ERESOLVE peer dependency errors preventing successful CI/CD builds.
- Replace react-query@3.39.3 with @tanstack/react-query@5.85.5 - Update all query hooks to use new TanStack Query v5 API (queryKey/queryFn object format) - Replace Hydrate with HydrationBoundary component - Add initialPageParam to useInfiniteQuery for v5 compatibility - Document that --legacy-peer-deps is only needed for react-select-search This is the idiomatic solution for React 19 compatibility, replacing the deprecated react-query package with the modern, actively maintained TanStack Query.
…tibility - Remove react-select-search@4.1.6 (React 18 only) and install react-select@5.10.2 - Upgrade react-share@5.1.0 → 5.2.2 for React 19 support - Update MobileFilter component to use react-select API with proper TypeScript types - Remove --legacy-peer-deps flag from GitHub workflow - no longer needed - Add dark theme styling for react-select to match existing UI This completes the idiomatic React 19 upgrade by replacing all incompatible packages with modern alternatives.
This ensures Docker builds use the clean dependency tree with @tanstack/react-query instead of the deprecated react-query package.
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.
Docker builds use the clean dependency tree with @tanstack/react-query instead of the deprecated react-query package.